Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-07 23:59:02.706071
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-07 23:59:32.102948
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
  port_id : 21130749
  datou_current_id : 2646420
in upload_from_sqlite, uploading in 21130749
in upload_photo_and_update_logs, uploading 4 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/07032025/23/58/image_07032025_23_59_06_30231.jpg', 2), ('/home/nano/Desktop/images/07032025/23/58/image_07032025_23_58_35_29351.jpg', 2), ('/home/nano/Desktop/images/07032025/23/57/image_07032025_23_58_06_30509.jpg', 2), ('/home/nano/Desktop/images/07032025/23/57/image_07032025_23_57_35_29392.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/07032025/23/58/image_07032025_23_59_06_30231.jpg', '/home/nano/Desktop/images/07032025/23/58/image_07032025_23_58_35_29351.jpg', '/home/nano/Desktop/images/07032025/23/57/image_07032025_23_58_06_30509.jpg', '/home/nano/Desktop/images/07032025/23/57/image_07032025_23_57_35_29392.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2646420&datou=0
/home/nano/Desktop/images/07032025/23/58/image_07032025_23_59_06_30231.jpg
/home/nano/Desktop/images/07032025/23/58/image_07032025_23_58_35_29351.jpg
/home/nano/Desktop/images/07032025/23/57/image_07032025_23_58_06_30509.jpg
/home/nano/Desktop/images/07032025/23/57/image_07032025_23_57_35_29392.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341629349","1341629277","1341629322","1341629415"],"photo_ids_order":["1341629277","1341629322","1341629349","1341629415"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/382284a143a9f04e9a41830a9bde0b5b.jpg","text":"TemporaryFile(/tmp/multipartBody7470580737478531881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741388432714,"filename":"image_07032025_23_58_06_30509.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/c5ef8f51302c97cca2ac9869922906eb.jpg","text":"TemporaryFile(/tmp/multipartBody3044822279816778520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741388432714,"filename":"image_07032025_23_59_06_30231.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/a0c0a0a6da0324e894a53735afe5b695.jpg","text":"TemporaryFile(/tmp/multipartBody556175491635272634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741388432714,"filename":"image_07032025_23_58_35_29351.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/945a045358685fa3aafffabc9b4852d3.jpg","text":"TemporaryFile(/tmp/multipartBody6997276810256716895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741388432714,"filename":"image_07032025_23_57_35_29392.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341629349","file1":"1341629322","file0":"1341629277","file3":"1341629415"},"map_files_photo_id_array":[{"photo_id":"1341629349","filename":"file2"},{"photo_id":"1341629322","filename":"file1"},{"photo_id":"1341629277","filename":"file0"},{"photo_id":"1341629415","filename":"file3"}],"portfolio_id":21130749,"hashtag_by_photo_ids":[{"1341629349":["hashtag1","hashtag2"]},{"1341629277":["hashtag1","hashtag2"]},{"1341629322":["hashtag1","hashtag2"]},{"1341629415":["hashtag1","hashtag2"]}],"comms":"Portfolio 21130749 used, photo_id : ArrayBuffer(1341629349, 1341629277, 1341629322, 1341629415)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 24.243786573410034 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 00:00:02.887178
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
  port_id : 21130749
  datou_current_id : 2646420
in upload_from_sqlite, uploading in 21130749
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/07032025/23/59/image_07032025_23_59_36_30446.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/07032025/23/59/image_07032025_23_59_36_30446.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2646420&datou=0
/home/nano/Desktop/images/07032025/23/59/image_07032025_23_59_36_30446.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.5612151622772217 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 marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 00:00:32.267516
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_TEST_aec_metal_0225_08032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
533
2650154
533
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/07032025/23/59/image_08032025_00_00_05_29413.jpg', 2)]
{'portfolio_id': 21163824, 'actiontaken': ['Created new portfolio'], 'error': 'Photos id not exist !', 'updated_at': 1741388492000}
in upload media
 Upload medias :  ['/home/nano/Desktop/images/07032025/23/59/image_08032025_00_00_05_29413.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/07032025/23/59/image_08032025_00_00_05_29413.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341629568"],"photo_id":"1341629568","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/7aedec2d292f49c068ccccad36bf19d2.jpg","text":"TemporaryFile(/tmp/multipartBody5370898871308880170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741388493378,"filename":"image_08032025_00_00_05_29413.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1341629568"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1341629568"}],"hashtags":[],"portfolio_id":"21163824","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 10.671994686126709 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 00:01:02.973677
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
  port_id : 21130749
  datou_current_id : 2646420
in upload_from_sqlite, uploading in 21130749
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/07032025/23/59/image_07032025_23_59_36_30446.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/07032025/23/59/image_07032025_23_59_36_30446.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2646420&datou=0
/home/nano/Desktop/images/07032025/23/59/image_07032025_23_59_36_30446.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341629740"],"photo_id":"1341629740","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/22c81ab03e73369a548e6d454172c9be.jpg","text":"TemporaryFile(/tmp/multipartBody3555168513674532903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741388523473,"filename":"image_07032025_23_59_36_30446.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1341629740"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1341629740"}],"hashtags":[],"portfolio_id":"21130749","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 10.256547451019287 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 00:01:32.379745
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/00/00/image_08032025_00_01_05_29518.jpg', 2), ('/home/nano/Desktop/images/08032025/00/00/image_08032025_00_00_36_30494.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/00/00/image_08032025_00_01_05_29518.jpg', '/home/nano/Desktop/images/08032025/00/00/image_08032025_00_00_36_30494.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/00/00/image_08032025_00_01_05_29518.jpg
/home/nano/Desktop/images/08032025/00/00/image_08032025_00_00_36_30494.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341629923","1341629898"],"photo_ids_order":["1341629898","1341629923"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/11885b92ae991efe7d87644ad8735f3a.jpg","text":"TemporaryFile(/tmp/multipartBody2248784000005092658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741388552721,"filename":"image_08032025_00_00_36_30494.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/74ee72e9730528150b48b8217dad4ba7.jpg","text":"TemporaryFile(/tmp/multipartBody2990860746895748440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741388552721,"filename":"image_08032025_00_01_05_29518.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341629923","file0":"1341629898"},"map_files_photo_id_array":[{"photo_id":"1341629923","filename":"file1"},{"photo_id":"1341629898","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341629923":["hashtag1","hashtag2"]},{"1341629898":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341629923, 1341629898)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 16.51006245613098 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 00:02:02.915570
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 00:02:32.466265
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/00/01/image_08032025_00_02_06_30227.jpg', 2), ('/home/nano/Desktop/images/08032025/00/01/image_08032025_00_01_36_30405.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/00/01/image_08032025_00_02_06_30227.jpg', '/home/nano/Desktop/images/08032025/00/01/image_08032025_00_01_36_30405.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/00/01/image_08032025_00_02_06_30227.jpg
/home/nano/Desktop/images/08032025/00/01/image_08032025_00_01_36_30405.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341630246","1341630220"],"photo_ids_order":["1341630220","1341630246"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/c368b3e5cace95d2dd0586936b52a9a9.jpg","text":"TemporaryFile(/tmp/multipartBody8542025381769715363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741388612805,"filename":"image_08032025_00_01_36_30405.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/5046d8d38ae9ba3651457a597f097112.jpg","text":"TemporaryFile(/tmp/multipartBody8997664126415370951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741388612805,"filename":"image_08032025_00_02_06_30227.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341630246","file0":"1341630220"},"map_files_photo_id_array":[{"photo_id":"1341630246","filename":"file1"},{"photo_id":"1341630220","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341630246":["hashtag1","hashtag2"]},{"1341630220":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341630246, 1341630220)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.422656059265137 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 00:03:03.106540
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 00:03:32.549393
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/00/02/image_08032025_00_03_06_30270.jpg', 2), ('/home/nano/Desktop/images/08032025/00/02/image_08032025_00_02_36_29552.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/00/02/image_08032025_00_03_06_30270.jpg', '/home/nano/Desktop/images/08032025/00/02/image_08032025_00_02_36_29552.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/00/02/image_08032025_00_03_06_30270.jpg
/home/nano/Desktop/images/08032025/00/02/image_08032025_00_02_36_29552.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341630790","1341630888"],"photo_ids_order":["1341630790","1341630888"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/3692f4d5cddad6d8de4dec71feb0b8a7.jpg","text":"TemporaryFile(/tmp/multipartBody2813090320985846969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741388672953,"filename":"image_08032025_00_03_06_30270.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/f3d0f43f31eb1867032ae934a9d14cde.jpg","text":"TemporaryFile(/tmp/multipartBody7304114817388199973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741388672953,"filename":"image_08032025_00_02_36_29552.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341630888","file0":"1341630790"},"map_files_photo_id_array":[{"photo_id":"1341630888","filename":"file1"},{"photo_id":"1341630790","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341630790":["hashtag1","hashtag2"]},{"1341630888":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341630790, 1341630888)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.137828350067139 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 00:04:03.358436
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 00:04:32.640737
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/00/03/image_08032025_00_04_05_29365.jpg', 2), ('/home/nano/Desktop/images/08032025/00/03/image_08032025_00_03_36_30065.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/00/03/image_08032025_00_04_05_29365.jpg', '/home/nano/Desktop/images/08032025/00/03/image_08032025_00_03_36_30065.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/00/03/image_08032025_00_04_05_29365.jpg
/home/nano/Desktop/images/08032025/00/03/image_08032025_00_03_36_30065.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341631580","1341631557"],"photo_ids_order":["1341631557","1341631580"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/d3fa49564cadbf96b59621de08773acd.jpg","text":"TemporaryFile(/tmp/multipartBody6620311936470551842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741388732981,"filename":"image_08032025_00_03_36_30065.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/3b5de116419383ac8cedc7a4b29065bb.jpg","text":"TemporaryFile(/tmp/multipartBody9114095068068487830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741388732981,"filename":"image_08032025_00_04_05_29365.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341631580","file0":"1341631557"},"map_files_photo_id_array":[{"photo_id":"1341631580","filename":"file1"},{"photo_id":"1341631557","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341631580":["hashtag1","hashtag2"]},{"1341631557":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341631580, 1341631557)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 16.265626907348633 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 00:05:03.246552
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 00:05:32.757369
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/00/04/image_08032025_00_05_05_29379.jpg', 2), ('/home/nano/Desktop/images/08032025/00/04/image_08032025_00_04_36_30517.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/00/04/image_08032025_00_05_05_29379.jpg', '/home/nano/Desktop/images/08032025/00/04/image_08032025_00_04_36_30517.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/00/04/image_08032025_00_05_05_29379.jpg
/home/nano/Desktop/images/08032025/00/04/image_08032025_00_04_36_30517.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341631951","1341631953"],"photo_ids_order":["1341631951","1341631953"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/74cc8ff1df2631f1315ed3bd0e8ba8c5.jpg","text":"TemporaryFile(/tmp/multipartBody6845324984185192900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741388793125,"filename":"image_08032025_00_05_05_29379.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/8388082268dbd0d94b250aa58035f8fb.jpg","text":"TemporaryFile(/tmp/multipartBody3503302064909894720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741388793125,"filename":"image_08032025_00_04_36_30517.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341631953","file0":"1341631951"},"map_files_photo_id_array":[{"photo_id":"1341631953","filename":"file1"},{"photo_id":"1341631951","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341631951":["hashtag1","hashtag2"]},{"1341631953":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341631951, 1341631953)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.462599277496338 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 00:06:02.483119
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 00:06:31.928616
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/00/05/image_08032025_00_06_06_30423.jpg', 2), ('/home/nano/Desktop/images/08032025/00/05/image_08032025_00_05_35_30276.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/00/05/image_08032025_00_06_06_30423.jpg', '/home/nano/Desktop/images/08032025/00/05/image_08032025_00_05_35_30276.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/00/05/image_08032025_00_06_06_30423.jpg
/home/nano/Desktop/images/08032025/00/05/image_08032025_00_05_35_30276.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.26738548278808594 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 marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 00:07:02.577491
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/00/05/image_08032025_00_06_06_30423.jpg', 2), ('/home/nano/Desktop/images/08032025/00/05/image_08032025_00_05_35_30276.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/00/05/image_08032025_00_06_06_30423.jpg', '/home/nano/Desktop/images/08032025/00/05/image_08032025_00_05_35_30276.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/00/05/image_08032025_00_06_06_30423.jpg
/home/nano/Desktop/images/08032025/00/05/image_08032025_00_05_35_30276.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341632155","1341632186"],"photo_ids_order":["1341632155","1341632186"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/3da73578835868bdcbf48c0b161caede.jpg","text":"TemporaryFile(/tmp/multipartBody321909102787280826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741388882908,"filename":"image_08032025_00_06_06_30423.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/cdb26241e844d18ea5f960879f61c04c.jpg","text":"TemporaryFile(/tmp/multipartBody7937328280334824178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741388882908,"filename":"image_08032025_00_05_35_30276.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341632186","file0":"1341632155"},"map_files_photo_id_array":[{"photo_id":"1341632186","filename":"file1"},{"photo_id":"1341632155","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341632155":["hashtag1","hashtag2"]},{"1341632186":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341632155, 1341632186)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 16.111960411071777 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 00:07:32.021465
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/00/06/image_08032025_00_07_06_30368.jpg', 2), ('/home/nano/Desktop/images/08032025/00/06/image_08032025_00_06_35_29350.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/00/06/image_08032025_00_07_06_30368.jpg', '/home/nano/Desktop/images/08032025/00/06/image_08032025_00_06_35_29350.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/00/06/image_08032025_00_07_06_30368.jpg
/home/nano/Desktop/images/08032025/00/06/image_08032025_00_06_35_29350.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341632347","1341632352"],"photo_ids_order":["1341632347","1341632352"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/8af14e77a1b8ec2eb1a6eaf009b2fbe2.jpg","text":"TemporaryFile(/tmp/multipartBody5946443992471810618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741388912343,"filename":"image_08032025_00_07_06_30368.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/bccf173d548d68c527e9d7ce1ea462b3.jpg","text":"TemporaryFile(/tmp/multipartBody5282946482005160598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741388912343,"filename":"image_08032025_00_06_35_29350.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341632352","file0":"1341632347"},"map_files_photo_id_array":[{"photo_id":"1341632352","filename":"file1"},{"photo_id":"1341632347","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341632347":["hashtag1","hashtag2"]},{"1341632352":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341632347, 1341632352)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.795345544815063 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 00:08:02.642630
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 00:08:32.226809
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/00/07/image_08032025_00_08_06_29631.jpg', 2), ('/home/nano/Desktop/images/08032025/00/07/image_08032025_00_07_36_30345.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/00/07/image_08032025_00_08_06_29631.jpg', '/home/nano/Desktop/images/08032025/00/07/image_08032025_00_07_36_30345.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/00/07/image_08032025_00_08_06_29631.jpg
/home/nano/Desktop/images/08032025/00/07/image_08032025_00_07_36_30345.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341632563","1341632561"],"photo_ids_order":["1341632561","1341632563"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/e2a79c4a9df750fe94efb098c2a34194.jpg","text":"TemporaryFile(/tmp/multipartBody3117101176019104338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741388972581,"filename":"image_08032025_00_07_36_30345.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/b0f13a5cc299f894fbbd104d57d580b5.jpg","text":"TemporaryFile(/tmp/multipartBody3149649835676706812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741388972581,"filename":"image_08032025_00_08_06_29631.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341632563","file0":"1341632561"},"map_files_photo_id_array":[{"photo_id":"1341632563","filename":"file1"},{"photo_id":"1341632561","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341632563":["hashtag1","hashtag2"]},{"1341632561":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341632563, 1341632561)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.760165214538574 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 00:09:03.024271
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 00:09:32.305972
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/00/08/image_08032025_00_09_05_29485.jpg', 2), ('/home/nano/Desktop/images/08032025/00/08/image_08032025_00_08_36_30414.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/00/08/image_08032025_00_09_05_29485.jpg', '/home/nano/Desktop/images/08032025/00/08/image_08032025_00_08_36_30414.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/00/08/image_08032025_00_09_05_29485.jpg
/home/nano/Desktop/images/08032025/00/08/image_08032025_00_08_36_30414.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341632681","1341632684"],"photo_ids_order":["1341632681","1341632684"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/6b95c1ac716516c6fa9647111fbef796.jpg","text":"TemporaryFile(/tmp/multipartBody3340650196811884681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741389032655,"filename":"image_08032025_00_09_05_29485.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/c0bf120a937a502a5c29c5b4f45998e9.jpg","text":"TemporaryFile(/tmp/multipartBody6676516344716928920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741389032655,"filename":"image_08032025_00_08_36_30414.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341632684","file0":"1341632681"},"map_files_photo_id_array":[{"photo_id":"1341632684","filename":"file1"},{"photo_id":"1341632681","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341632681":["hashtag1","hashtag2"]},{"1341632684":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341632681, 1341632684)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.32469367980957 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 00:10:02.918983
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 00:10:32.396470
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/00/09/image_08032025_00_10_05_29429.jpg', 2), ('/home/nano/Desktop/images/08032025/00/09/image_08032025_00_09_36_30329.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/00/09/image_08032025_00_10_05_29429.jpg', '/home/nano/Desktop/images/08032025/00/09/image_08032025_00_09_36_30329.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/00/09/image_08032025_00_10_05_29429.jpg
/home/nano/Desktop/images/08032025/00/09/image_08032025_00_09_36_30329.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341632934","1341632913"],"photo_ids_order":["1341632913","1341632934"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/b7e8b6e6de775359489da3a5997cfe20.jpg","text":"TemporaryFile(/tmp/multipartBody6796772303092356657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741389092715,"filename":"image_08032025_00_09_36_30329.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/0d5922950abd1599e2755c9d60e3aa01.jpg","text":"TemporaryFile(/tmp/multipartBody1785453208826716049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741389092715,"filename":"image_08032025_00_10_05_29429.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341632934","file0":"1341632913"},"map_files_photo_id_array":[{"photo_id":"1341632934","filename":"file1"},{"photo_id":"1341632913","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341632934":["hashtag1","hashtag2"]},{"1341632913":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341632934, 1341632913)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.702898263931274 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 00:11:02.979499
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 00:11:32.489012
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/00/10/image_08032025_00_11_06_30486.jpg', 2), ('/home/nano/Desktop/images/08032025/00/10/image_08032025_00_10_35_30254.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/00/10/image_08032025_00_11_06_30486.jpg', '/home/nano/Desktop/images/08032025/00/10/image_08032025_00_10_35_30254.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/00/10/image_08032025_00_11_06_30486.jpg
/home/nano/Desktop/images/08032025/00/10/image_08032025_00_10_35_30254.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341633147","1341633149"],"photo_ids_order":["1341633147","1341633149"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/d941071c987700366c2b494c21cdd60e.jpg","text":"TemporaryFile(/tmp/multipartBody5632094810749249686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741389152821,"filename":"image_08032025_00_11_06_30486.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/f5ef5382696230532f8f44156035bd92.jpg","text":"TemporaryFile(/tmp/multipartBody8920477546718219524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741389152821,"filename":"image_08032025_00_10_35_30254.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341633149","file0":"1341633147"},"map_files_photo_id_array":[{"photo_id":"1341633149","filename":"file1"},{"photo_id":"1341633147","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341633147":["hashtag1","hashtag2"]},{"1341633149":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341633147, 1341633149)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.346136093139648 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 00:12:03.213960
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 00:12:32.618046
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/00/11/image_08032025_00_12_06_30554.jpg', 2), ('/home/nano/Desktop/images/08032025/00/11/image_08032025_00_11_35_29361.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/00/11/image_08032025_00_12_06_30554.jpg', '/home/nano/Desktop/images/08032025/00/11/image_08032025_00_11_35_29361.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/00/11/image_08032025_00_12_06_30554.jpg
/home/nano/Desktop/images/08032025/00/11/image_08032025_00_11_35_29361.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341633584","1341633629"],"photo_ids_order":["1341633584","1341633629"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/9f1de559df08ff70e50310c760bcad09.jpg","text":"TemporaryFile(/tmp/multipartBody1102992657647719143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741389212942,"filename":"image_08032025_00_12_06_30554.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/15a869a3f12df02a8a47645fd949f376.jpg","text":"TemporaryFile(/tmp/multipartBody7631242290222284001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741389212942,"filename":"image_08032025_00_11_35_29361.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341633629","file0":"1341633584"},"map_files_photo_id_array":[{"photo_id":"1341633629","filename":"file1"},{"photo_id":"1341633584","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341633584":["hashtag1","hashtag2"]},{"1341633629":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341633584, 1341633629)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.499866485595703 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 00:13:03.270206
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 00:13:32.738933
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/00/12/image_08032025_00_13_06_30319.jpg', 2), ('/home/nano/Desktop/images/08032025/00/12/image_08032025_00_12_35_29337.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/00/12/image_08032025_00_13_06_30319.jpg', '/home/nano/Desktop/images/08032025/00/12/image_08032025_00_12_35_29337.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/00/12/image_08032025_00_13_06_30319.jpg
/home/nano/Desktop/images/08032025/00/12/image_08032025_00_12_35_29337.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341633829","1341633837"],"photo_ids_order":["1341633829","1341633837"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/57aae064d26f80d7cf5bc84c2f5b8bf0.jpg","text":"TemporaryFile(/tmp/multipartBody8311182813446411946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741389273094,"filename":"image_08032025_00_13_06_30319.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/6fb894ba19b93cda59978fdffa2c3e0b.jpg","text":"TemporaryFile(/tmp/multipartBody4098137945849478912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741389273094,"filename":"image_08032025_00_12_35_29337.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341633837","file0":"1341633829"},"map_files_photo_id_array":[{"photo_id":"1341633837","filename":"file1"},{"photo_id":"1341633829","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341633829":["hashtag1","hashtag2"]},{"1341633837":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341633829, 1341633837)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.486706018447876 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 00:14:02.593782
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 00:14:31.847179
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/00/13/image_08032025_00_14_05_29505.jpg', 2), ('/home/nano/Desktop/images/08032025/00/13/image_08032025_00_13_36_30390.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/00/13/image_08032025_00_14_05_29505.jpg', '/home/nano/Desktop/images/08032025/00/13/image_08032025_00_13_36_30390.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/00/13/image_08032025_00_14_05_29505.jpg
/home/nano/Desktop/images/08032025/00/13/image_08032025_00_13_36_30390.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341634126","1341634131"],"photo_ids_order":["1341634126","1341634131"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/ee6a68c91d4ac339f79dc72938ef931e.jpg","text":"TemporaryFile(/tmp/multipartBody640500049927158427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741389332170,"filename":"image_08032025_00_14_05_29505.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/549f54ada463937562f0c94dda90a1e8.jpg","text":"TemporaryFile(/tmp/multipartBody1978882260032672185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741389332170,"filename":"image_08032025_00_13_36_30390.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341634131","file0":"1341634126"},"map_files_photo_id_array":[{"photo_id":"1341634131","filename":"file1"},{"photo_id":"1341634126","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341634126":["hashtag1","hashtag2"]},{"1341634131":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341634126, 1341634131)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.772609949111938 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 00:15:02.595874
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 00:15:31.947604
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/00/14/image_08032025_00_15_05_29380.jpg', 2), ('/home/nano/Desktop/images/08032025/00/14/image_08032025_00_14_36_30294.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/00/14/image_08032025_00_15_05_29380.jpg', '/home/nano/Desktop/images/08032025/00/14/image_08032025_00_14_36_30294.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/00/14/image_08032025_00_15_05_29380.jpg
/home/nano/Desktop/images/08032025/00/14/image_08032025_00_14_36_30294.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341634167","1341634177"],"photo_ids_order":["1341634167","1341634177"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/bd71ddcf7cb6c960d6a6df100d71bb95.jpg","text":"TemporaryFile(/tmp/multipartBody2257564595774478840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741389392288,"filename":"image_08032025_00_15_05_29380.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/398823c950ae0e162f8cf84491ab1bef.jpg","text":"TemporaryFile(/tmp/multipartBody6814372815119979660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741389392288,"filename":"image_08032025_00_14_36_30294.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341634177","file0":"1341634167"},"map_files_photo_id_array":[{"photo_id":"1341634177","filename":"file1"},{"photo_id":"1341634167","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341634167":["hashtag1","hashtag2"]},{"1341634177":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341634167, 1341634177)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.494762659072876 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 00:16:02.549742
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 00:16:32.057947
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/00/15/image_08032025_00_16_06_30421.jpg', 2), ('/home/nano/Desktop/images/08032025/00/15/image_08032025_00_15_36_30468.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/00/15/image_08032025_00_16_06_30421.jpg', '/home/nano/Desktop/images/08032025/00/15/image_08032025_00_15_36_30468.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/00/15/image_08032025_00_16_06_30421.jpg
/home/nano/Desktop/images/08032025/00/15/image_08032025_00_15_36_30468.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341634286","1341634283"],"photo_ids_order":["1341634283","1341634286"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/d92baa583834a34ae5594c756a1ae8e1.jpg","text":"TemporaryFile(/tmp/multipartBody7397370121227253643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741389452405,"filename":"image_08032025_00_15_36_30468.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/9f47a1f85660f48cb4324fe78f08218c.jpg","text":"TemporaryFile(/tmp/multipartBody6211566495728766461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741389452405,"filename":"image_08032025_00_16_06_30421.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341634286","file0":"1341634283"},"map_files_photo_id_array":[{"photo_id":"1341634286","filename":"file1"},{"photo_id":"1341634283","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341634286":["hashtag1","hashtag2"]},{"1341634283":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341634286, 1341634283)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.581696271896362 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 00:17:02.593975
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 00:17:32.140968
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/00/16/image_08032025_00_17_06_30295.jpg', 2), ('/home/nano/Desktop/images/08032025/00/16/image_08032025_00_16_35_29367.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/00/16/image_08032025_00_17_06_30295.jpg', '/home/nano/Desktop/images/08032025/00/16/image_08032025_00_16_35_29367.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/00/16/image_08032025_00_17_06_30295.jpg
/home/nano/Desktop/images/08032025/00/16/image_08032025_00_16_35_29367.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341634518","1341634500"],"photo_ids_order":["1341634500","1341634518"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/595406af67382e575b9b991151f5ebbb.jpg","text":"TemporaryFile(/tmp/multipartBody578942358543811660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741389512457,"filename":"image_08032025_00_16_35_29367.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/9d15ef4b9d82c550b178f12775bfcc04.jpg","text":"TemporaryFile(/tmp/multipartBody4060971479338994201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741389512457,"filename":"image_08032025_00_17_06_30295.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341634518","file0":"1341634500"},"map_files_photo_id_array":[{"photo_id":"1341634518","filename":"file1"},{"photo_id":"1341634500","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341634518":["hashtag1","hashtag2"]},{"1341634500":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341634518, 1341634500)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.3642418384552 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 00:18:02.765147
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 00:18:32.244055
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/00/17/image_08032025_00_18_05_29259.jpg', 2), ('/home/nano/Desktop/images/08032025/00/17/image_08032025_00_17_36_30386.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/00/17/image_08032025_00_18_05_29259.jpg', '/home/nano/Desktop/images/08032025/00/17/image_08032025_00_17_36_30386.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/00/17/image_08032025_00_18_05_29259.jpg
/home/nano/Desktop/images/08032025/00/17/image_08032025_00_17_36_30386.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341635235","1341635051"],"photo_ids_order":["1341635051","1341635235"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/bedf17f49619f35cce7234c6efda1f06.jpg","text":"TemporaryFile(/tmp/multipartBody7169065672435418277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741389572566,"filename":"image_08032025_00_17_36_30386.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/e9244c1ffbad825cb0a1913676f405de.jpg","text":"TemporaryFile(/tmp/multipartBody822026009561806043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741389572566,"filename":"image_08032025_00_18_05_29259.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341635235","file0":"1341635051"},"map_files_photo_id_array":[{"photo_id":"1341635235","filename":"file1"},{"photo_id":"1341635051","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341635235":["hashtag1","hashtag2"]},{"1341635051":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341635235, 1341635051)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.254318714141846 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 00:19:03.085209
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 00:19:32.318532
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/00/18/image_08032025_00_19_06_30325.jpg', 2), ('/home/nano/Desktop/images/08032025/00/18/image_08032025_00_18_36_30386.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/00/18/image_08032025_00_19_06_30325.jpg', '/home/nano/Desktop/images/08032025/00/18/image_08032025_00_18_36_30386.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/00/18/image_08032025_00_19_06_30325.jpg
/home/nano/Desktop/images/08032025/00/18/image_08032025_00_18_36_30386.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341635773","1341635749"],"photo_ids_order":["1341635749","1341635773"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/7f492cf412340830329cf9b9bba8ee91.jpg","text":"TemporaryFile(/tmp/multipartBody7894800981348876087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741389632666,"filename":"image_08032025_00_18_36_30386.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/9250dfc20f81b8666bfea282a021ca06.jpg","text":"TemporaryFile(/tmp/multipartBody4517247993895650771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741389632666,"filename":"image_08032025_00_19_06_30325.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341635773","file0":"1341635749"},"map_files_photo_id_array":[{"photo_id":"1341635773","filename":"file1"},{"photo_id":"1341635749","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341635773":["hashtag1","hashtag2"]},{"1341635749":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341635773, 1341635749)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.099818706512451 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 00:20:02.949096
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 00:20:32.473493
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/00/19/image_08032025_00_20_06_30278.jpg', 2), ('/home/nano/Desktop/images/08032025/00/19/image_08032025_00_19_35_29406.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/00/19/image_08032025_00_20_06_30278.jpg', '/home/nano/Desktop/images/08032025/00/19/image_08032025_00_19_35_29406.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/00/19/image_08032025_00_20_06_30278.jpg
/home/nano/Desktop/images/08032025/00/19/image_08032025_00_19_35_29406.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341635995","1341635992"],"photo_ids_order":["1341635992","1341635995"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/05d8d434cc803e3433888223659c13b6.jpg","text":"TemporaryFile(/tmp/multipartBody2104019609258408243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741389692795,"filename":"image_08032025_00_19_35_29406.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/ce70b8573c1449e591a8f9fb2f3c8246.jpg","text":"TemporaryFile(/tmp/multipartBody7153549950802019675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741389692795,"filename":"image_08032025_00_20_06_30278.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341635995","file0":"1341635992"},"map_files_photo_id_array":[{"photo_id":"1341635995","filename":"file1"},{"photo_id":"1341635992","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341635995":["hashtag1","hashtag2"]},{"1341635992":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341635995, 1341635992)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.105719089508057 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 00:21:03.230524
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 00:21:32.575234
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/00/20/image_08032025_00_21_06_30418.jpg', 2), ('/home/nano/Desktop/images/08032025/00/20/image_08032025_00_20_35_29456.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/00/20/image_08032025_00_21_06_30418.jpg', '/home/nano/Desktop/images/08032025/00/20/image_08032025_00_20_35_29456.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/00/20/image_08032025_00_21_06_30418.jpg
/home/nano/Desktop/images/08032025/00/20/image_08032025_00_20_35_29456.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341636130","1341636123"],"photo_ids_order":["1341636123","1341636130"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/c219ff1e5343c52ace88402ef3ddcf9e.jpg","text":"TemporaryFile(/tmp/multipartBody951854805511600879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741389752894,"filename":"image_08032025_00_20_35_29456.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/b7e8c77e03d1bcdda1d5341d34fca54b.jpg","text":"TemporaryFile(/tmp/multipartBody4784622707926370198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741389752894,"filename":"image_08032025_00_21_06_30418.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341636130","file0":"1341636123"},"map_files_photo_id_array":[{"photo_id":"1341636130","filename":"file1"},{"photo_id":"1341636123","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341636130":["hashtag1","hashtag2"]},{"1341636123":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341636130, 1341636123)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.43705677986145 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 00:22:03.185294
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 00:22:32.666859
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/00/21/image_08032025_00_22_05_29565.jpg', 2), ('/home/nano/Desktop/images/08032025/00/21/image_08032025_00_21_36_30223.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/00/21/image_08032025_00_22_05_29565.jpg', '/home/nano/Desktop/images/08032025/00/21/image_08032025_00_21_36_30223.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/00/21/image_08032025_00_22_05_29565.jpg
/home/nano/Desktop/images/08032025/00/21/image_08032025_00_21_36_30223.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341636302","1341636305"],"photo_ids_order":["1341636302","1341636305"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/1acc797a7a08fcca89ad1763b12a651a.jpg","text":"TemporaryFile(/tmp/multipartBody1404456368693990227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741389813006,"filename":"image_08032025_00_22_05_29565.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/140c17220eb86ade4962d465d906c611.jpg","text":"TemporaryFile(/tmp/multipartBody497098477071113934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741389813006,"filename":"image_08032025_00_21_36_30223.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341636305","file0":"1341636302"},"map_files_photo_id_array":[{"photo_id":"1341636305","filename":"file1"},{"photo_id":"1341636302","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341636302":["hashtag1","hashtag2"]},{"1341636305":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341636302, 1341636305)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.933039665222168 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 00:23:02.228584
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 00:23:31.805708
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/00/22/image_08032025_00_23_06_30271.jpg', 2), ('/home/nano/Desktop/images/08032025/00/22/image_08032025_00_22_36_30352.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/00/22/image_08032025_00_23_06_30271.jpg', '/home/nano/Desktop/images/08032025/00/22/image_08032025_00_22_36_30352.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/00/22/image_08032025_00_23_06_30271.jpg
/home/nano/Desktop/images/08032025/00/22/image_08032025_00_22_36_30352.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341636684","1341636666"],"photo_ids_order":["1341636666","1341636684"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/8c1cbba173ff87e7fcb134f1578ef1d4.jpg","text":"TemporaryFile(/tmp/multipartBody187768465146635482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741389872143,"filename":"image_08032025_00_22_36_30352.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/23a4429a27235f5cc649dfb31dac0c28.jpg","text":"TemporaryFile(/tmp/multipartBody8855655299029945851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741389872143,"filename":"image_08032025_00_23_06_30271.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341636684","file0":"1341636666"},"map_files_photo_id_array":[{"photo_id":"1341636684","filename":"file1"},{"photo_id":"1341636666","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341636684":["hashtag1","hashtag2"]},{"1341636666":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341636684, 1341636666)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.536094188690186 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 00:24:02.734079
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 00:24:31.893208
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/00/23/image_08032025_00_24_06_30133.jpg', 2), ('/home/nano/Desktop/images/08032025/00/23/image_08032025_00_23_36_29526.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/00/23/image_08032025_00_24_06_30133.jpg', '/home/nano/Desktop/images/08032025/00/23/image_08032025_00_23_36_29526.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/00/23/image_08032025_00_24_06_30133.jpg
/home/nano/Desktop/images/08032025/00/23/image_08032025_00_23_36_29526.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341636854","1341636859"],"photo_ids_order":["1341636854","1341636859"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/2ba2d436bb39fd49e5ec2f5144c3e18b.jpg","text":"TemporaryFile(/tmp/multipartBody8523244119703685832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741389932213,"filename":"image_08032025_00_24_06_30133.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/b72cacd9543120f34732d1beb9f9bc7c.jpg","text":"TemporaryFile(/tmp/multipartBody5911041154701570981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741389932213,"filename":"image_08032025_00_23_36_29526.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341636859","file0":"1341636854"},"map_files_photo_id_array":[{"photo_id":"1341636859","filename":"file1"},{"photo_id":"1341636854","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341636854":["hashtag1","hashtag2"]},{"1341636859":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341636854, 1341636859)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 16.19083571434021 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 00:25:02.542536
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 00:25:31.966705
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/00/24/image_08032025_00_25_05_29545.jpg', 2), ('/home/nano/Desktop/images/08032025/00/24/image_08032025_00_24_36_30221.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/00/24/image_08032025_00_25_05_29545.jpg', '/home/nano/Desktop/images/08032025/00/24/image_08032025_00_24_36_30221.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/00/24/image_08032025_00_25_05_29545.jpg
/home/nano/Desktop/images/08032025/00/24/image_08032025_00_24_36_30221.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341637118","1341637107"],"photo_ids_order":["1341637107","1341637118"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/332a605b45901bf04078fda38332b7c6.jpg","text":"TemporaryFile(/tmp/multipartBody2464337851593618733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741389992308,"filename":"image_08032025_00_24_36_30221.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/2b1fafbbb4ddb7c27d48f36a9a14a8fc.jpg","text":"TemporaryFile(/tmp/multipartBody1962893431833899277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741389992308,"filename":"image_08032025_00_25_05_29545.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341637118","file0":"1341637107"},"map_files_photo_id_array":[{"photo_id":"1341637118","filename":"file1"},{"photo_id":"1341637107","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341637118":["hashtag1","hashtag2"]},{"1341637107":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341637118, 1341637107)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.47563362121582 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 00:26:02.641276
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 00:26:32.082061
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/00/25/image_08032025_00_26_05_29399.jpg', 2), ('/home/nano/Desktop/images/08032025/00/25/image_08032025_00_25_36_30439.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/00/25/image_08032025_00_26_05_29399.jpg', '/home/nano/Desktop/images/08032025/00/25/image_08032025_00_25_36_30439.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/00/25/image_08032025_00_26_05_29399.jpg
/home/nano/Desktop/images/08032025/00/25/image_08032025_00_25_36_30439.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341637366","1341637360"],"photo_ids_order":["1341637360","1341637366"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/86608e62e04486c66d617fea47cafde1.jpg","text":"TemporaryFile(/tmp/multipartBody2919579617438941380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741390052431,"filename":"image_08032025_00_25_36_30439.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/f4dc567ce4e0be9f1ccab6e0d9c6e071.jpg","text":"TemporaryFile(/tmp/multipartBody2295414813225914323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741390052431,"filename":"image_08032025_00_26_05_29399.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341637366","file0":"1341637360"},"map_files_photo_id_array":[{"photo_id":"1341637366","filename":"file1"},{"photo_id":"1341637360","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341637366":["hashtag1","hashtag2"]},{"1341637360":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341637366, 1341637360)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.073791027069092 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 00:27:02.711385
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 00:27:32.191115
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/00/26/image_08032025_00_27_05_29657.jpg', 2), ('/home/nano/Desktop/images/08032025/00/26/image_08032025_00_26_36_30359.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/00/26/image_08032025_00_27_05_29657.jpg', '/home/nano/Desktop/images/08032025/00/26/image_08032025_00_26_36_30359.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/00/26/image_08032025_00_27_05_29657.jpg
/home/nano/Desktop/images/08032025/00/26/image_08032025_00_26_36_30359.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341637495","1341637525"],"photo_ids_order":["1341637495","1341637525"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/fe7078798bcd2bb977ee44efff579714.jpg","text":"TemporaryFile(/tmp/multipartBody6850971328639642779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741390112539,"filename":"image_08032025_00_27_05_29657.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/7e79a1847e71d84cb535bc51b8ea6a27.jpg","text":"TemporaryFile(/tmp/multipartBody2021613122554371568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741390112539,"filename":"image_08032025_00_26_36_30359.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341637525","file0":"1341637495"},"map_files_photo_id_array":[{"photo_id":"1341637525","filename":"file1"},{"photo_id":"1341637495","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341637495":["hashtag1","hashtag2"]},{"1341637525":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341637495, 1341637525)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.0764000415802 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 00:28:02.899682
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 00:28:32.275617
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/00/27/image_08032025_00_28_05_29425.jpg', 2), ('/home/nano/Desktop/images/08032025/00/27/image_08032025_00_27_36_30486.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/00/27/image_08032025_00_28_05_29425.jpg', '/home/nano/Desktop/images/08032025/00/27/image_08032025_00_27_36_30486.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/00/27/image_08032025_00_28_05_29425.jpg
/home/nano/Desktop/images/08032025/00/27/image_08032025_00_27_36_30486.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341637863","1341637869"],"photo_ids_order":["1341637863","1341637869"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/aef7950c9fa8e3fae9f604d025392c3f.jpg","text":"TemporaryFile(/tmp/multipartBody8489316936963090768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741390172615,"filename":"image_08032025_00_28_05_29425.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/aa842927605d7388697ba1a2ddc3b258.jpg","text":"TemporaryFile(/tmp/multipartBody8615210924708959554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741390172615,"filename":"image_08032025_00_27_36_30486.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341637869","file0":"1341637863"},"map_files_photo_id_array":[{"photo_id":"1341637869","filename":"file1"},{"photo_id":"1341637863","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341637863":["hashtag1","hashtag2"]},{"1341637869":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341637863, 1341637869)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.082415103912354 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 00:29:03.246371
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 00:29:32.391398
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/00/28/image_08032025_00_29_06_30579.jpg', 2), ('/home/nano/Desktop/images/08032025/00/28/image_08032025_00_28_36_30318.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/00/28/image_08032025_00_29_06_30579.jpg', '/home/nano/Desktop/images/08032025/00/28/image_08032025_00_28_36_30318.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/00/28/image_08032025_00_29_06_30579.jpg
/home/nano/Desktop/images/08032025/00/28/image_08032025_00_28_36_30318.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341638152","1341638159"],"photo_ids_order":["1341638152","1341638159"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/a6fc0af0b0e30956b69a3743e3372f34.jpg","text":"TemporaryFile(/tmp/multipartBody1026415016886926086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741390232709,"filename":"image_08032025_00_29_06_30579.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/6e75c483cf456d02505a2de45c518bec.jpg","text":"TemporaryFile(/tmp/multipartBody5413396244510151645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741390232709,"filename":"image_08032025_00_28_36_30318.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341638159","file0":"1341638152"},"map_files_photo_id_array":[{"photo_id":"1341638159","filename":"file1"},{"photo_id":"1341638152","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341638152":["hashtag1","hashtag2"]},{"1341638159":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341638152, 1341638159)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.185533285140991 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 00:30:03.172932
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 00:30:32.510558
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/00/29/image_08032025_00_30_06_30350.jpg', 2), ('/home/nano/Desktop/images/08032025/00/29/image_08032025_00_29_35_29175.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/00/29/image_08032025_00_30_06_30350.jpg', '/home/nano/Desktop/images/08032025/00/29/image_08032025_00_29_35_29175.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/00/29/image_08032025_00_30_06_30350.jpg
/home/nano/Desktop/images/08032025/00/29/image_08032025_00_29_35_29175.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341638230","1341638226"],"photo_ids_order":["1341638226","1341638230"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/fe6c2e9165fb9fafd0ececb62414d153.jpg","text":"TemporaryFile(/tmp/multipartBody5001281691941602521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741390292921,"filename":"image_08032025_00_29_35_29175.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/7624c0d3e99068fc3022038f2918dd24.jpg","text":"TemporaryFile(/tmp/multipartBody5312285507459366255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741390292921,"filename":"image_08032025_00_30_06_30350.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341638230","file0":"1341638226"},"map_files_photo_id_array":[{"photo_id":"1341638230","filename":"file1"},{"photo_id":"1341638226","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341638230":["hashtag1","hashtag2"]},{"1341638226":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341638230, 1341638226)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.807081460952759 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 00:31:03.103489
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 00:31:32.587216
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/00/30/image_08032025_00_31_05_29390.jpg', 2), ('/home/nano/Desktop/images/08032025/00/30/image_08032025_00_30_36_30423.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/00/30/image_08032025_00_31_05_29390.jpg', '/home/nano/Desktop/images/08032025/00/30/image_08032025_00_30_36_30423.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/00/30/image_08032025_00_31_05_29390.jpg
/home/nano/Desktop/images/08032025/00/30/image_08032025_00_30_36_30423.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341638474","1341638477"],"photo_ids_order":["1341638474","1341638477"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/ab93728c63c6aee81ed545feef1d1462.jpg","text":"TemporaryFile(/tmp/multipartBody5977115879806592083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741390352917,"filename":"image_08032025_00_31_05_29390.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/e95a86ec5797f8ea5bbe0511752c9f25.jpg","text":"TemporaryFile(/tmp/multipartBody5808497925599685395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741390352917,"filename":"image_08032025_00_30_36_30423.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341638477","file0":"1341638474"},"map_files_photo_id_array":[{"photo_id":"1341638477","filename":"file1"},{"photo_id":"1341638474","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341638474":["hashtag1","hashtag2"]},{"1341638477":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341638474, 1341638477)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.267112731933594 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 00:32:03.222663
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 00:32:32.692093
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/00/31/image_08032025_00_32_06_30333.jpg', 2), ('/home/nano/Desktop/images/08032025/00/31/image_08032025_00_31_36_30258.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/00/31/image_08032025_00_32_06_30333.jpg', '/home/nano/Desktop/images/08032025/00/31/image_08032025_00_31_36_30258.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/00/31/image_08032025_00_32_06_30333.jpg
/home/nano/Desktop/images/08032025/00/31/image_08032025_00_31_36_30258.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341638529","1341638525"],"photo_ids_order":["1341638525","1341638529"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/4169d8a14f9806615ce6ef5c715fc560.jpg","text":"TemporaryFile(/tmp/multipartBody393856791472158474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741390413036,"filename":"image_08032025_00_31_36_30258.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/dcb4453fd64732ecb6ce2c58b013229a.jpg","text":"TemporaryFile(/tmp/multipartBody6747228634583962303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741390413036,"filename":"image_08032025_00_32_06_30333.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341638529","file0":"1341638525"},"map_files_photo_id_array":[{"photo_id":"1341638529","filename":"file1"},{"photo_id":"1341638525","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341638529":["hashtag1","hashtag2"]},{"1341638525":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341638529, 1341638525)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.74615168571472 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 00:33:02.418227
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 00:33:31.817915
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/00/32/image_08032025_00_33_06_30505.jpg', 2), ('/home/nano/Desktop/images/08032025/00/32/image_08032025_00_32_35_29387.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/00/32/image_08032025_00_33_06_30505.jpg', '/home/nano/Desktop/images/08032025/00/32/image_08032025_00_32_35_29387.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/00/32/image_08032025_00_33_06_30505.jpg
/home/nano/Desktop/images/08032025/00/32/image_08032025_00_32_35_29387.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341639393","1341639483"],"photo_ids_order":["1341639393","1341639483"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/5145dcd2624eeebbb6590ee8fb375fb2.jpg","text":"TemporaryFile(/tmp/multipartBody6047090933489822698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741390472160,"filename":"image_08032025_00_33_06_30505.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/98fb6142ab4c127722d67b659fbfed5e.jpg","text":"TemporaryFile(/tmp/multipartBody4341594349185652564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741390472160,"filename":"image_08032025_00_32_35_29387.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341639483","file0":"1341639393"},"map_files_photo_id_array":[{"photo_id":"1341639483","filename":"file1"},{"photo_id":"1341639393","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341639393":["hashtag1","hashtag2"]},{"1341639483":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341639393, 1341639483)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.529674291610718 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 00:34:02.631733
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 00:34:31.931575
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/00/33/image_08032025_00_34_06_30404.jpg', 2), ('/home/nano/Desktop/images/08032025/00/33/image_08032025_00_33_35_29488.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/00/33/image_08032025_00_34_06_30404.jpg', '/home/nano/Desktop/images/08032025/00/33/image_08032025_00_33_35_29488.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/00/33/image_08032025_00_34_06_30404.jpg
/home/nano/Desktop/images/08032025/00/33/image_08032025_00_33_35_29488.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341639945","1341639970"],"photo_ids_order":["1341639945","1341639970"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/78aebee9d1546610dd37fc5bca2c1c2c.jpg","text":"TemporaryFile(/tmp/multipartBody3885330121069538466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741390532322,"filename":"image_08032025_00_34_06_30404.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/1cdc1dba95df38785e208b8adb6ceaee.jpg","text":"TemporaryFile(/tmp/multipartBody4372052832855692597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741390532322,"filename":"image_08032025_00_33_35_29488.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341639970","file0":"1341639945"},"map_files_photo_id_array":[{"photo_id":"1341639970","filename":"file1"},{"photo_id":"1341639945","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341639945":["hashtag1","hashtag2"]},{"1341639970":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341639945, 1341639970)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.724831581115723 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 00:35:02.491745
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 00:35:32.028829
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/00/34/image_08032025_00_35_06_30407.jpg', 2), ('/home/nano/Desktop/images/08032025/00/34/image_08032025_00_34_35_29318.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/00/34/image_08032025_00_35_06_30407.jpg', '/home/nano/Desktop/images/08032025/00/34/image_08032025_00_34_35_29318.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/00/34/image_08032025_00_35_06_30407.jpg
/home/nano/Desktop/images/08032025/00/34/image_08032025_00_34_35_29318.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341640301","1341640319"],"photo_ids_order":["1341640301","1341640319"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/6d294edbabff96ec310de0cc56dade42.jpg","text":"TemporaryFile(/tmp/multipartBody189492842719167384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741390592357,"filename":"image_08032025_00_35_06_30407.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/57e7b25a0e891274b32a12a3b2c5e746.jpg","text":"TemporaryFile(/tmp/multipartBody2192466023822235647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741390592357,"filename":"image_08032025_00_34_35_29318.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341640319","file0":"1341640301"},"map_files_photo_id_array":[{"photo_id":"1341640319","filename":"file1"},{"photo_id":"1341640301","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341640301":["hashtag1","hashtag2"]},{"1341640319":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341640301, 1341640319)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.0099778175354 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 00:36:02.662723
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 00:36:32.146796
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/00/35/image_08032025_00_36_06_30344.jpg', 2), ('/home/nano/Desktop/images/08032025/00/35/image_08032025_00_35_35_29644.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/00/35/image_08032025_00_36_06_30344.jpg', '/home/nano/Desktop/images/08032025/00/35/image_08032025_00_35_35_29644.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/00/35/image_08032025_00_36_06_30344.jpg
/home/nano/Desktop/images/08032025/00/35/image_08032025_00_35_35_29644.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341640467","1341640458"],"photo_ids_order":["1341640458","1341640467"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/203907ef109464182026cc51669e46b0.jpg","text":"TemporaryFile(/tmp/multipartBody7546897067632455415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741390652475,"filename":"image_08032025_00_35_35_29644.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/586b60058bc9d6586c2df52ea98b029c.jpg","text":"TemporaryFile(/tmp/multipartBody3245557030808792299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741390652475,"filename":"image_08032025_00_36_06_30344.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341640467","file0":"1341640458"},"map_files_photo_id_array":[{"photo_id":"1341640467","filename":"file1"},{"photo_id":"1341640458","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341640467":["hashtag1","hashtag2"]},{"1341640458":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341640467, 1341640458)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.651601552963257 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 00:37:02.633224
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 00:37:32.242317
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/00/36/image_08032025_00_37_05_29569.jpg', 2), ('/home/nano/Desktop/images/08032025/00/36/image_08032025_00_36_36_30119.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/00/36/image_08032025_00_37_05_29569.jpg', '/home/nano/Desktop/images/08032025/00/36/image_08032025_00_36_36_30119.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/00/36/image_08032025_00_37_05_29569.jpg
/home/nano/Desktop/images/08032025/00/36/image_08032025_00_36_36_30119.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341640600","1341640598"],"photo_ids_order":["1341640598","1341640600"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/4aca167ddd2898718e1323dde15dd027.jpg","text":"TemporaryFile(/tmp/multipartBody4803123681064917613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741390712590,"filename":"image_08032025_00_36_36_30119.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/1e18e8fc3b3094ac19d6842ec7b875e2.jpg","text":"TemporaryFile(/tmp/multipartBody8484773294853349476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741390712590,"filename":"image_08032025_00_37_05_29569.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341640600","file0":"1341640598"},"map_files_photo_id_array":[{"photo_id":"1341640600","filename":"file1"},{"photo_id":"1341640598","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341640600":["hashtag1","hashtag2"]},{"1341640598":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341640600, 1341640598)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 72.06681704521179 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 00:39:03.086798
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/00/37/image_08032025_00_38_06_30399.jpg', 2), ('/home/nano/Desktop/images/08032025/00/37/image_08032025_00_37_36_30393.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/00/37/image_08032025_00_38_06_30399.jpg', '/home/nano/Desktop/images/08032025/00/37/image_08032025_00_37_36_30393.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/00/37/image_08032025_00_38_06_30399.jpg
/home/nano/Desktop/images/08032025/00/37/image_08032025_00_37_36_30393.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341640763","1341640757"],"photo_ids_order":["1341640757","1341640763"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/61a880fdc87c56c02f82bee41dec5793.jpg","text":"TemporaryFile(/tmp/multipartBody4847614173762910133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741390803431,"filename":"image_08032025_00_37_36_30393.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/b0d2b2b71521d5c8207d473970f4d66e.jpg","text":"TemporaryFile(/tmp/multipartBody634532225869005693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741390803431,"filename":"image_08032025_00_38_06_30399.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341640763","file0":"1341640757"},"map_files_photo_id_array":[{"photo_id":"1341640763","filename":"file1"},{"photo_id":"1341640757","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341640763":["hashtag1","hashtag2"]},{"1341640757":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341640763, 1341640757)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.454354286193848 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 00:39:32.451668
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/00/38/image_08032025_00_39_06_30600.jpg', 2), ('/home/nano/Desktop/images/08032025/00/38/image_08032025_00_38_35_29432.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/00/38/image_08032025_00_39_06_30600.jpg', '/home/nano/Desktop/images/08032025/00/38/image_08032025_00_38_35_29432.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/00/38/image_08032025_00_39_06_30600.jpg
/home/nano/Desktop/images/08032025/00/38/image_08032025_00_38_35_29432.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341640891","1341640804"],"photo_ids_order":["1341640804","1341640891"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/3c62b1a3409770d47e797d9e52f3eab1.jpg","text":"TemporaryFile(/tmp/multipartBody5287781735023910013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741390832840,"filename":"image_08032025_00_38_35_29432.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/71e6c0d8672438078df7571e413bb0a8.jpg","text":"TemporaryFile(/tmp/multipartBody1185183234870466020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741390832840,"filename":"image_08032025_00_39_06_30600.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341640891","file0":"1341640804"},"map_files_photo_id_array":[{"photo_id":"1341640891","filename":"file1"},{"photo_id":"1341640804","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341640891":["hashtag1","hashtag2"]},{"1341640804":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341640891, 1341640804)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.573040008544922 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 00:40:03.144038
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 00:40:32.555966
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/00/39/image_08032025_00_40_06_30430.jpg', 2), ('/home/nano/Desktop/images/08032025/00/39/image_08032025_00_39_35_29441.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/00/39/image_08032025_00_40_06_30430.jpg', '/home/nano/Desktop/images/08032025/00/39/image_08032025_00_39_35_29441.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/00/39/image_08032025_00_40_06_30430.jpg
/home/nano/Desktop/images/08032025/00/39/image_08032025_00_39_35_29441.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341641591","1341641619"],"photo_ids_order":["1341641591","1341641619"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/b78b51deefa4cf0ab18138aec04c53e4.jpg","text":"TemporaryFile(/tmp/multipartBody6160008759722487950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741390892896,"filename":"image_08032025_00_40_06_30430.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/b72a754260c7a099c08f0aa2b82bad36.jpg","text":"TemporaryFile(/tmp/multipartBody7941065532008448829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741390892896,"filename":"image_08032025_00_39_35_29441.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341641619","file0":"1341641591"},"map_files_photo_id_array":[{"photo_id":"1341641619","filename":"file1"},{"photo_id":"1341641591","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341641591":["hashtag1","hashtag2"]},{"1341641619":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341641591, 1341641619)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 13.786678314208984 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 00:41:03.296234
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 00:41:32.652750
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/00/40/image_08032025_00_41_06_30583.jpg', 2), ('/home/nano/Desktop/images/08032025/00/40/image_08032025_00_40_35_29294.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/00/40/image_08032025_00_41_06_30583.jpg', '/home/nano/Desktop/images/08032025/00/40/image_08032025_00_40_35_29294.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/00/40/image_08032025_00_41_06_30583.jpg
/home/nano/Desktop/images/08032025/00/40/image_08032025_00_40_35_29294.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.2490992546081543 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 marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 00:42:02.328430
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/00/40/image_08032025_00_41_06_30583.jpg', 2), ('/home/nano/Desktop/images/08032025/00/40/image_08032025_00_40_35_29294.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/00/40/image_08032025_00_41_06_30583.jpg', '/home/nano/Desktop/images/08032025/00/40/image_08032025_00_40_35_29294.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/00/40/image_08032025_00_41_06_30583.jpg
/home/nano/Desktop/images/08032025/00/40/image_08032025_00_40_35_29294.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341641966","1341641962"],"photo_ids_order":["1341641962","1341641966"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/872b9fa05d3e4f1cbac0624ae6a5a325.jpg","text":"TemporaryFile(/tmp/multipartBody3940121478571410573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741390982695,"filename":"image_08032025_00_40_35_29294.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/5f0903911d93e7d46a1a39202c5935b6.jpg","text":"TemporaryFile(/tmp/multipartBody6773118619449904866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741390982695,"filename":"image_08032025_00_41_06_30583.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341641966","file0":"1341641962"},"map_files_photo_id_array":[{"photo_id":"1341641966","filename":"file1"},{"photo_id":"1341641962","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341641966":["hashtag1","hashtag2"]},{"1341641962":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341641966, 1341641962)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.1658353805542 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 00:42:31.761427
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/00/41/image_08032025_00_42_06_30370.jpg', 2), ('/home/nano/Desktop/images/08032025/00/41/image_08032025_00_41_35_29381.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/00/41/image_08032025_00_42_06_30370.jpg', '/home/nano/Desktop/images/08032025/00/41/image_08032025_00_41_35_29381.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/00/41/image_08032025_00_42_06_30370.jpg
/home/nano/Desktop/images/08032025/00/41/image_08032025_00_41_35_29381.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341641984","1341641986"],"photo_ids_order":["1341641984","1341641986"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/8a581631741f4d691e88be3d18052a56.jpg","text":"TemporaryFile(/tmp/multipartBody5698558619783817510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741391012151,"filename":"image_08032025_00_42_06_30370.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/50f8883da6f8b1202ff2fb5bee3d5e5a.jpg","text":"TemporaryFile(/tmp/multipartBody6384602282664396519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741391012151,"filename":"image_08032025_00_41_35_29381.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341641986","file0":"1341641984"},"map_files_photo_id_array":[{"photo_id":"1341641986","filename":"file1"},{"photo_id":"1341641984","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341641984":["hashtag1","hashtag2"]},{"1341641986":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341641984, 1341641986)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 13.801642656326294 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 00:43:02.369254
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 00:43:31.847481
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/00/42/image_08032025_00_43_05_29396.jpg', 2), ('/home/nano/Desktop/images/08032025/00/42/image_08032025_00_42_36_30470.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/00/42/image_08032025_00_43_05_29396.jpg', '/home/nano/Desktop/images/08032025/00/42/image_08032025_00_42_36_30470.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/00/42/image_08032025_00_43_05_29396.jpg
/home/nano/Desktop/images/08032025/00/42/image_08032025_00_42_36_30470.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341642251","1341642277"],"photo_ids_order":["1341642251","1341642277"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/ff3b56c9a13918f713bc326783e63882.jpg","text":"TemporaryFile(/tmp/multipartBody5231400020677282592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741391072188,"filename":"image_08032025_00_43_05_29396.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/ee0690d4f1f54b799e070010ad861703.jpg","text":"TemporaryFile(/tmp/multipartBody5546730441836950724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741391072188,"filename":"image_08032025_00_42_36_30470.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341642277","file0":"1341642251"},"map_files_photo_id_array":[{"photo_id":"1341642277","filename":"file1"},{"photo_id":"1341642251","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341642251":["hashtag1","hashtag2"]},{"1341642277":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341642251, 1341642277)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.212018728256226 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 00:44:02.817042
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 00:44:31.958491
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/00/43/image_08032025_00_44_05_29363.jpg', 2), ('/home/nano/Desktop/images/08032025/00/43/image_08032025_00_43_36_30340.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/00/43/image_08032025_00_44_05_29363.jpg', '/home/nano/Desktop/images/08032025/00/43/image_08032025_00_43_36_30340.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/00/43/image_08032025_00_44_05_29363.jpg
/home/nano/Desktop/images/08032025/00/43/image_08032025_00_43_36_30340.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341642520","1341642517"],"photo_ids_order":["1341642517","1341642520"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/0ee6f3775acb07a3842bd14e921d2bdc.jpg","text":"TemporaryFile(/tmp/multipartBody1721862229549964907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741391132288,"filename":"image_08032025_00_43_36_30340.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/20d31d49f2c670c5b3c02f63a7969e59.jpg","text":"TemporaryFile(/tmp/multipartBody418442968401195265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741391132288,"filename":"image_08032025_00_44_05_29363.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341642520","file0":"1341642517"},"map_files_photo_id_array":[{"photo_id":"1341642520","filename":"file1"},{"photo_id":"1341642517","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341642520":["hashtag1","hashtag2"]},{"1341642517":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341642520, 1341642517)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.426136493682861 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 00:45:02.540953
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 00:45:32.060029
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/00/44/image_08032025_00_45_06_30218.jpg', 2), ('/home/nano/Desktop/images/08032025/00/44/image_08032025_00_44_36_30529.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/00/44/image_08032025_00_45_06_30218.jpg', '/home/nano/Desktop/images/08032025/00/44/image_08032025_00_44_36_30529.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/00/44/image_08032025_00_45_06_30218.jpg
/home/nano/Desktop/images/08032025/00/44/image_08032025_00_44_36_30529.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341642861","1341643009"],"photo_ids_order":["1341642861","1341643009"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/058dc4f122155f55ab8bd89b8609ec7c.jpg","text":"TemporaryFile(/tmp/multipartBody6640924390064863689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741391192401,"filename":"image_08032025_00_45_06_30218.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/2a018937d1ac323e0442b8f2e510af11.jpg","text":"TemporaryFile(/tmp/multipartBody1684355662202848656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741391192401,"filename":"image_08032025_00_44_36_30529.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341643009","file0":"1341642861"},"map_files_photo_id_array":[{"photo_id":"1341643009","filename":"file1"},{"photo_id":"1341642861","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341642861":["hashtag1","hashtag2"]},{"1341643009":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341642861, 1341643009)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.108958959579468 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 00:46:02.866395
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 00:46:32.146086
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/00/45/image_08032025_00_46_06_30456.jpg', 2), ('/home/nano/Desktop/images/08032025/00/45/image_08032025_00_45_35_29307.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/00/45/image_08032025_00_46_06_30456.jpg', '/home/nano/Desktop/images/08032025/00/45/image_08032025_00_45_35_29307.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/00/45/image_08032025_00_46_06_30456.jpg
/home/nano/Desktop/images/08032025/00/45/image_08032025_00_45_35_29307.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341643251","1341643248"],"photo_ids_order":["1341643248","1341643251"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/4928859992e326a2273c5177b22d98c8.jpg","text":"TemporaryFile(/tmp/multipartBody6476860913339063460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741391252489,"filename":"image_08032025_00_45_35_29307.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/c53acb05f7635e7c506ac21e35d951cf.jpg","text":"TemporaryFile(/tmp/multipartBody5072796903240974221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741391252489,"filename":"image_08032025_00_46_06_30456.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341643251","file0":"1341643248"},"map_files_photo_id_array":[{"photo_id":"1341643251","filename":"file1"},{"photo_id":"1341643248","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341643251":["hashtag1","hashtag2"]},{"1341643248":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341643251, 1341643248)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.830591917037964 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 00:47:02.798860
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 00:47:32.263663
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/00/46/image_08032025_00_47_05_29363.jpg', 2), ('/home/nano/Desktop/images/08032025/00/46/image_08032025_00_46_36_30479.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/00/46/image_08032025_00_47_05_29363.jpg', '/home/nano/Desktop/images/08032025/00/46/image_08032025_00_46_36_30479.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/00/46/image_08032025_00_47_05_29363.jpg
/home/nano/Desktop/images/08032025/00/46/image_08032025_00_46_36_30479.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341643285","1341643275"],"photo_ids_order":["1341643275","1341643285"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/a6a69f3fc18e565e8020c47c9971579d.jpg","text":"TemporaryFile(/tmp/multipartBody5074517129963531265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741391312612,"filename":"image_08032025_00_46_36_30479.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/3730b0bc1c6acc6ed8a28a8d0b8d05c6.jpg","text":"TemporaryFile(/tmp/multipartBody1811632828790352901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741391312612,"filename":"image_08032025_00_47_05_29363.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341643285","file0":"1341643275"},"map_files_photo_id_array":[{"photo_id":"1341643285","filename":"file1"},{"photo_id":"1341643275","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341643285":["hashtag1","hashtag2"]},{"1341643275":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341643285, 1341643275)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.847545146942139 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 00:48:02.827471
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 00:48:32.359699
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/00/47/image_08032025_00_48_05_29347.jpg', 2), ('/home/nano/Desktop/images/08032025/00/47/image_08032025_00_47_36_30426.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/00/47/image_08032025_00_48_05_29347.jpg', '/home/nano/Desktop/images/08032025/00/47/image_08032025_00_47_36_30426.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/00/47/image_08032025_00_48_05_29347.jpg
/home/nano/Desktop/images/08032025/00/47/image_08032025_00_47_36_30426.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341643500","1341643493"],"photo_ids_order":["1341643493","1341643500"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/c8d32d919b80f3816e996d3d1b9cc936.jpg","text":"TemporaryFile(/tmp/multipartBody1575855002524184790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741391372696,"filename":"image_08032025_00_47_36_30426.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/d32a0a0b3e8b64f35f07ca55c251262e.jpg","text":"TemporaryFile(/tmp/multipartBody6547930141079627780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741391372696,"filename":"image_08032025_00_48_05_29347.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341643500","file0":"1341643493"},"map_files_photo_id_array":[{"photo_id":"1341643500","filename":"file1"},{"photo_id":"1341643493","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341643500":["hashtag1","hashtag2"]},{"1341643493":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341643500, 1341643493)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.25846552848816 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 00:49:03.265789
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 00:49:32.474615
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/00/48/image_08032025_00_49_06_30310.jpg', 2), ('/home/nano/Desktop/images/08032025/00/48/image_08032025_00_48_36_30477.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/00/48/image_08032025_00_49_06_30310.jpg', '/home/nano/Desktop/images/08032025/00/48/image_08032025_00_48_36_30477.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/00/48/image_08032025_00_49_06_30310.jpg
/home/nano/Desktop/images/08032025/00/48/image_08032025_00_48_36_30477.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341643623","1341643626"],"photo_ids_order":["1341643623","1341643626"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/0cb8a50eaf9275376d040f27dd424186.jpg","text":"TemporaryFile(/tmp/multipartBody3407140629112282212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741391432818,"filename":"image_08032025_00_49_06_30310.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/cfddd3cc8a99c61d3bed0f8e99f32f0c.jpg","text":"TemporaryFile(/tmp/multipartBody5490166223101784504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741391432818,"filename":"image_08032025_00_48_36_30477.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341643626","file0":"1341643623"},"map_files_photo_id_array":[{"photo_id":"1341643626","filename":"file1"},{"photo_id":"1341643623","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341643623":["hashtag1","hashtag2"]},{"1341643626":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341643623, 1341643626)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 13.76324200630188 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 00:50:03.207848
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/00/49/image_08032025_00_50_06_30635.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/00/49/image_08032025_00_50_06_30635.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/00/49/image_08032025_00_50_06_30635.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341643727"],"photo_id":"1341643727","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/02882247c06a61f1d590a4984f7502ae.jpg","text":"TemporaryFile(/tmp/multipartBody1518534001840775497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741391463517,"filename":"image_08032025_00_50_06_30635.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1341643727"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1341643727"}],"hashtags":[],"portfolio_id":"21163824","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 11.070946216583252 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 00:50:32.552744
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/00/49/image_08032025_00_49_35_29390.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/00/49/image_08032025_00_49_35_29390.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/00/49/image_08032025_00_49_35_29390.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341643849"],"photo_id":"1341643849","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/4d24713f14edfaf809a125e9b2e428d7.jpg","text":"TemporaryFile(/tmp/multipartBody5553146539643029402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741391492855,"filename":"image_08032025_00_49_35_29390.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1341643849"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1341643849"}],"hashtags":[],"portfolio_id":"21163824","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 10.638347387313843 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 00:51:03.325918
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 00:51:32.667528
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/00/50/image_08032025_00_51_06_30301.jpg', 2), ('/home/nano/Desktop/images/08032025/00/50/image_08032025_00_50_36_29625.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/00/50/image_08032025_00_51_06_30301.jpg', '/home/nano/Desktop/images/08032025/00/50/image_08032025_00_50_36_29625.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/00/50/image_08032025_00_51_06_30301.jpg
/home/nano/Desktop/images/08032025/00/50/image_08032025_00_50_36_29625.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341643914","1341643918"],"photo_ids_order":["1341643914","1341643918"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/7f263986810b007f71850a0f6924f152.jpg","text":"TemporaryFile(/tmp/multipartBody8741458783799578680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741391553000,"filename":"image_08032025_00_51_06_30301.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/768196f29300c994e919c4d0277798a9.jpg","text":"TemporaryFile(/tmp/multipartBody244869961835007808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741391553000,"filename":"image_08032025_00_50_36_29625.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341643918","file0":"1341643914"},"map_files_photo_id_array":[{"photo_id":"1341643918","filename":"file1"},{"photo_id":"1341643914","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341643914":["hashtag1","hashtag2"]},{"1341643918":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341643914, 1341643918)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.088361501693726 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 00:52:02.418668
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 00:52:31.780491
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/00/51/image_08032025_00_52_06_30360.jpg', 2), ('/home/nano/Desktop/images/08032025/00/51/image_08032025_00_51_35_29329.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/00/51/image_08032025_00_52_06_30360.jpg', '/home/nano/Desktop/images/08032025/00/51/image_08032025_00_51_35_29329.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/00/51/image_08032025_00_52_06_30360.jpg
/home/nano/Desktop/images/08032025/00/51/image_08032025_00_51_35_29329.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341644150","1341644163"],"photo_ids_order":["1341644150","1341644163"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/0beb73be377b61ae5adf2a803a392cbc.jpg","text":"TemporaryFile(/tmp/multipartBody4062493031588154645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741391612209,"filename":"image_08032025_00_52_06_30360.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/bd9961a49145a4d3c45226d626bb6f09.jpg","text":"TemporaryFile(/tmp/multipartBody5282445285841431897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741391612209,"filename":"image_08032025_00_51_35_29329.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341644163","file0":"1341644150"},"map_files_photo_id_array":[{"photo_id":"1341644163","filename":"file1"},{"photo_id":"1341644150","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341644150":["hashtag1","hashtag2"]},{"1341644163":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341644150, 1341644163)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.811650037765503 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 00:53:02.401412
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 00:53:31.858065
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/00/52/image_08032025_00_53_06_29434.jpg', 2), ('/home/nano/Desktop/images/08032025/00/52/image_08032025_00_52_36_30429.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/00/52/image_08032025_00_53_06_29434.jpg', '/home/nano/Desktop/images/08032025/00/52/image_08032025_00_52_36_30429.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/00/52/image_08032025_00_53_06_29434.jpg
/home/nano/Desktop/images/08032025/00/52/image_08032025_00_52_36_30429.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341644240","1341644243"],"photo_ids_order":["1341644240","1341644243"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/3b6d6ad01fc2f110d27ef30272dc7477.jpg","text":"TemporaryFile(/tmp/multipartBody4922260472703938240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741391672205,"filename":"image_08032025_00_53_06_29434.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/aaee23295656695ac019c34a07897030.jpg","text":"TemporaryFile(/tmp/multipartBody2112204091899957288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741391672205,"filename":"image_08032025_00_52_36_30429.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341644243","file0":"1341644240"},"map_files_photo_id_array":[{"photo_id":"1341644243","filename":"file1"},{"photo_id":"1341644240","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341644240":["hashtag1","hashtag2"]},{"1341644243":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341644240, 1341644243)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.70356822013855 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 00:54:02.784876
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 00:54:31.944704
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/00/53/image_08032025_00_54_05_29488.jpg', 2), ('/home/nano/Desktop/images/08032025/00/53/image_08032025_00_53_36_30423.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/00/53/image_08032025_00_54_05_29488.jpg', '/home/nano/Desktop/images/08032025/00/53/image_08032025_00_53_36_30423.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/00/53/image_08032025_00_54_05_29488.jpg
/home/nano/Desktop/images/08032025/00/53/image_08032025_00_53_36_30423.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.27841925621032715 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 marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 00:55:02.651069
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/00/53/image_08032025_00_54_05_29488.jpg', 2), ('/home/nano/Desktop/images/08032025/00/53/image_08032025_00_53_36_30423.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/00/53/image_08032025_00_54_05_29488.jpg', '/home/nano/Desktop/images/08032025/00/53/image_08032025_00_53_36_30423.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/00/53/image_08032025_00_54_05_29488.jpg
/home/nano/Desktop/images/08032025/00/53/image_08032025_00_53_36_30423.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341644453","1341644435"],"photo_ids_order":["1341644435","1341644453"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/dcf8d8d5da8e86fa3d4cf6e1bc80c473.jpg","text":"TemporaryFile(/tmp/multipartBody3183564435226264532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741391762997,"filename":"image_08032025_00_53_36_30423.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/fffff6573d647a3fab42f77b460f3c2f.jpg","text":"TemporaryFile(/tmp/multipartBody3120184490679868255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741391762997,"filename":"image_08032025_00_54_05_29488.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341644453","file0":"1341644435"},"map_files_photo_id_array":[{"photo_id":"1341644453","filename":"file1"},{"photo_id":"1341644435","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341644453":["hashtag1","hashtag2"]},{"1341644435":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341644453, 1341644435)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.997287511825562 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 00:55:32.054050
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/00/54/image_08032025_00_55_06_29605.jpg', 2), ('/home/nano/Desktop/images/08032025/00/54/image_08032025_00_54_36_30454.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/00/54/image_08032025_00_55_06_29605.jpg', '/home/nano/Desktop/images/08032025/00/54/image_08032025_00_54_36_30454.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/00/54/image_08032025_00_55_06_29605.jpg
/home/nano/Desktop/images/08032025/00/54/image_08032025_00_54_36_30454.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341644542","1341644520"],"photo_ids_order":["1341644520","1341644542"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/b2d0ab3e9887204309e84c09e2531e36.jpg","text":"TemporaryFile(/tmp/multipartBody6239674765557573547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741391792393,"filename":"image_08032025_00_54_36_30454.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/67ca39fc81b217081cbddfe4f9a1bab7.jpg","text":"TemporaryFile(/tmp/multipartBody4307627618437187647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741391792393,"filename":"image_08032025_00_55_06_29605.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341644542","file0":"1341644520"},"map_files_photo_id_array":[{"photo_id":"1341644542","filename":"file1"},{"photo_id":"1341644520","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341644542":["hashtag1","hashtag2"]},{"1341644520":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341644542, 1341644520)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.330098628997803 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 00:56:02.733810
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 00:56:32.174965
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/00/55/image_08032025_00_56_06_29551.jpg', 2), ('/home/nano/Desktop/images/08032025/00/55/image_08032025_00_55_36_30559.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/00/55/image_08032025_00_56_06_29551.jpg', '/home/nano/Desktop/images/08032025/00/55/image_08032025_00_55_36_30559.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/00/55/image_08032025_00_56_06_29551.jpg
/home/nano/Desktop/images/08032025/00/55/image_08032025_00_55_36_30559.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341644844","1341644832"],"photo_ids_order":["1341644832","1341644844"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/7c04d150f3fedd5ae32ca95b6557c94e.jpg","text":"TemporaryFile(/tmp/multipartBody4852190530005467830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741391852554,"filename":"image_08032025_00_55_36_30559.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/8ddce600a25a813320b55b897b5a474b.jpg","text":"TemporaryFile(/tmp/multipartBody7651778703758495197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741391852554,"filename":"image_08032025_00_56_06_29551.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341644844","file0":"1341644832"},"map_files_photo_id_array":[{"photo_id":"1341644844","filename":"file1"},{"photo_id":"1341644832","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341644844":["hashtag1","hashtag2"]},{"1341644832":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341644844, 1341644832)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.492835998535156 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 00:57:02.888006
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 00:57:32.312818
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/00/56/image_08032025_00_57_06_30498.jpg', 2), ('/home/nano/Desktop/images/08032025/00/56/image_08032025_00_56_35_29514.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/00/56/image_08032025_00_57_06_30498.jpg', '/home/nano/Desktop/images/08032025/00/56/image_08032025_00_56_35_29514.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/00/56/image_08032025_00_57_06_30498.jpg
/home/nano/Desktop/images/08032025/00/56/image_08032025_00_56_35_29514.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341645312","1341645324"],"photo_ids_order":["1341645312","1341645324"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/fbf9af4e0ba565dd18818a863e92541a.jpg","text":"TemporaryFile(/tmp/multipartBody5514814643342107158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741391912664,"filename":"image_08032025_00_57_06_30498.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/0be55605bb6822074fa786e47aba0f80.jpg","text":"TemporaryFile(/tmp/multipartBody8430522706082659012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741391912664,"filename":"image_08032025_00_56_35_29514.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341645324","file0":"1341645312"},"map_files_photo_id_array":[{"photo_id":"1341645324","filename":"file1"},{"photo_id":"1341645312","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341645312":["hashtag1","hashtag2"]},{"1341645324":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341645312, 1341645324)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.766737937927246 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 00:58:32.426250
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 00:59:03.286266
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 00:59:32.513410
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 4 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/00/58/image_08032025_00_59_06_30474.jpg', 2), ('/home/nano/Desktop/images/08032025/00/58/image_08032025_00_58_36_30521.jpg', 2), ('/home/nano/Desktop/images/08032025/00/57/image_08032025_00_58_05_29306.jpg', 2), ('/home/nano/Desktop/images/08032025/00/57/image_08032025_00_57_36_30181.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/00/58/image_08032025_00_59_06_30474.jpg', '/home/nano/Desktop/images/08032025/00/58/image_08032025_00_58_36_30521.jpg', '/home/nano/Desktop/images/08032025/00/57/image_08032025_00_58_05_29306.jpg', '/home/nano/Desktop/images/08032025/00/57/image_08032025_00_57_36_30181.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/00/58/image_08032025_00_59_06_30474.jpg
/home/nano/Desktop/images/08032025/00/58/image_08032025_00_58_36_30521.jpg
/home/nano/Desktop/images/08032025/00/57/image_08032025_00_58_05_29306.jpg
/home/nano/Desktop/images/08032025/00/57/image_08032025_00_57_36_30181.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341645781","1341645784","1341645730","1341645764"],"photo_ids_order":["1341645730","1341645764","1341645781","1341645784"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/f070771e18b3811b41f0979f085a14a9.jpg","text":"TemporaryFile(/tmp/multipartBody2107133968089348907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741392033002,"filename":"image_08032025_00_58_05_29306.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/95389a58574d84cdc92a9f92403b371a.jpg","text":"TemporaryFile(/tmp/multipartBody6779648488731153575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741392033002,"filename":"image_08032025_00_57_36_30181.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/cc098bf6cb4f117c0f99cac0ebbafc67.jpg","text":"TemporaryFile(/tmp/multipartBody7020656084843767160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741392033002,"filename":"image_08032025_00_59_06_30474.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/2dda56a2fedb5d4f7e653b77b96db18b.jpg","text":"TemporaryFile(/tmp/multipartBody7457842355448736429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741392033002,"filename":"image_08032025_00_58_36_30521.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341645781","file1":"1341645764","file0":"1341645730","file3":"1341645784"},"map_files_photo_id_array":[{"photo_id":"1341645781","filename":"file2"},{"photo_id":"1341645764","filename":"file1"},{"photo_id":"1341645730","filename":"file0"},{"photo_id":"1341645784","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341645781":["hashtag1","hashtag2"]},{"1341645784":["hashtag1","hashtag2"]},{"1341645730":["hashtag1","hashtag2"]},{"1341645764":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341645781, 1341645784, 1341645730, 1341645764)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 23.862584829330444 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 01:00:03.291655
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/00/59/image_08032025_00_59_36_29392.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/00/59/image_08032025_00_59_36_29392.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/00/59/image_08032025_00_59_36_29392.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341645790"],"photo_id":"1341645790","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/8ffea8815c6e85c2a2a5464b6205b532.jpg","text":"TemporaryFile(/tmp/multipartBody7065156488638062749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741392063621,"filename":"image_08032025_00_59_36_29392.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1341645790"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1341645790"}],"hashtags":[],"portfolio_id":"21163824","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 10.32349419593811 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 01:00:32.632754
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 01:01:03.385721
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/01/00/image_08032025_01_01_06_30470.jpg', 2), ('/home/nano/Desktop/images/08032025/00/59/image_08032025_01_00_06_30438.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/01/00/image_08032025_01_01_06_30470.jpg', '/home/nano/Desktop/images/08032025/00/59/image_08032025_01_00_06_30438.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/01/00/image_08032025_01_01_06_30470.jpg
/home/nano/Desktop/images/08032025/00/59/image_08032025_01_00_06_30438.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341646048","1341645901"],"photo_ids_order":["1341645901","1341646048"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/e811f2f75b49fa3794747ebd273b262e.jpg","text":"TemporaryFile(/tmp/multipartBody985744199998032395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741392123736,"filename":"image_08032025_01_00_06_30438.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/4975d954eb695be48bd00903625d1855.jpg","text":"TemporaryFile(/tmp/multipartBody7312028215801491561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741392123736,"filename":"image_08032025_01_01_06_30470.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341646048","file0":"1341645901"},"map_files_photo_id_array":[{"photo_id":"1341646048","filename":"file1"},{"photo_id":"1341645901","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341646048":["hashtag1","hashtag2"]},{"1341645901":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341646048, 1341645901)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 16.3654887676239 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 01:01:32.722222
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 01:02:02.410549
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 01:02:31.866462
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/01/01/image_08032025_01_02_06_30491.jpg', 2), ('/home/nano/Desktop/images/08032025/01/01/image_08032025_01_01_35_29452.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/01/01/image_08032025_01_02_06_30491.jpg', '/home/nano/Desktop/images/08032025/01/01/image_08032025_01_01_35_29452.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/01/01/image_08032025_01_02_06_30491.jpg
/home/nano/Desktop/images/08032025/01/01/image_08032025_01_01_35_29452.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341646204","1341646190"],"photo_ids_order":["1341646190","1341646204"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/0c1bcd28b2494a810ad846cf9e305460.jpg","text":"TemporaryFile(/tmp/multipartBody263871174058360094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741392212218,"filename":"image_08032025_01_01_35_29452.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/5ce11b5b81408efb3cce85ad16774818.jpg","text":"TemporaryFile(/tmp/multipartBody63928369182832880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741392212218,"filename":"image_08032025_01_02_06_30491.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341646204","file0":"1341646190"},"map_files_photo_id_array":[{"photo_id":"1341646204","filename":"file1"},{"photo_id":"1341646190","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341646204":["hashtag1","hashtag2"]},{"1341646190":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341646204, 1341646190)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 18.052642107009888 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 01:03:02.592599
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 01:03:31.977146
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/01/02/image_08032025_01_03_06_30490.jpg', 2), ('/home/nano/Desktop/images/08032025/01/02/image_08032025_01_02_35_29452.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/01/02/image_08032025_01_03_06_30490.jpg', '/home/nano/Desktop/images/08032025/01/02/image_08032025_01_02_35_29452.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/01/02/image_08032025_01_03_06_30490.jpg
/home/nano/Desktop/images/08032025/01/02/image_08032025_01_02_35_29452.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341646737","1341646766"],"photo_ids_order":["1341646737","1341646766"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/01a783dd1a8f4ec20b659b37f3614977.jpg","text":"TemporaryFile(/tmp/multipartBody5993127998859218627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741392272342,"filename":"image_08032025_01_03_06_30490.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/891e8285f41a3d78249e3585533bf58f.jpg","text":"TemporaryFile(/tmp/multipartBody6903186246748537392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741392272342,"filename":"image_08032025_01_02_35_29452.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341646766","file0":"1341646737"},"map_files_photo_id_array":[{"photo_id":"1341646766","filename":"file1"},{"photo_id":"1341646737","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341646737":["hashtag1","hashtag2"]},{"1341646766":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341646737, 1341646766)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.65744948387146 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 01:04:02.769001
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 01:04:32.097532
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/01/03/image_08032025_01_04_06_30485.jpg', 2), ('/home/nano/Desktop/images/08032025/01/03/image_08032025_01_03_35_29439.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/01/03/image_08032025_01_04_06_30485.jpg', '/home/nano/Desktop/images/08032025/01/03/image_08032025_01_03_35_29439.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/01/03/image_08032025_01_04_06_30485.jpg
/home/nano/Desktop/images/08032025/01/03/image_08032025_01_03_35_29439.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341647490","1341647457"],"photo_ids_order":["1341647457","1341647490"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/448cace72c15466706db9237d5db77ff.jpg","text":"TemporaryFile(/tmp/multipartBody3645284745293280703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741392332437,"filename":"image_08032025_01_03_35_29439.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/5e3c345cb5e459af6a4efe16633cba33.jpg","text":"TemporaryFile(/tmp/multipartBody7607931184232979088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741392332437,"filename":"image_08032025_01_04_06_30485.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341647490","file0":"1341647457"},"map_files_photo_id_array":[{"photo_id":"1341647490","filename":"file1"},{"photo_id":"1341647457","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341647490":["hashtag1","hashtag2"]},{"1341647457":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341647490, 1341647457)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 18.14246106147766 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 01:05:02.802962
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 01:05:32.233972
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/01/04/image_08032025_01_05_06_30468.jpg', 2), ('/home/nano/Desktop/images/08032025/01/04/image_08032025_01_04_35_29453.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/01/04/image_08032025_01_05_06_30468.jpg', '/home/nano/Desktop/images/08032025/01/04/image_08032025_01_04_35_29453.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/01/04/image_08032025_01_05_06_30468.jpg
/home/nano/Desktop/images/08032025/01/04/image_08032025_01_04_35_29453.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341648183","1341648131"],"photo_ids_order":["1341648131","1341648183"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/14de5ed34da811c19bbabb494bba0cf4.jpg","text":"TemporaryFile(/tmp/multipartBody266272745286631555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741392392570,"filename":"image_08032025_01_04_35_29453.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/811ab0edaebfc61e1cc3612e8ea60a4b.jpg","text":"TemporaryFile(/tmp/multipartBody2524735603488273621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741392392570,"filename":"image_08032025_01_05_06_30468.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341648183","file0":"1341648131"},"map_files_photo_id_array":[{"photo_id":"1341648183","filename":"file1"},{"photo_id":"1341648131","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341648183":["hashtag1","hashtag2"]},{"1341648131":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341648183, 1341648131)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.820033311843872 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 01:06:02.711205
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 01:06:32.334621
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/01/05/image_08032025_01_06_06_29498.jpg', 2), ('/home/nano/Desktop/images/08032025/01/05/image_08032025_01_05_36_30453.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/01/05/image_08032025_01_06_06_29498.jpg', '/home/nano/Desktop/images/08032025/01/05/image_08032025_01_05_36_30453.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/01/05/image_08032025_01_06_06_29498.jpg
/home/nano/Desktop/images/08032025/01/05/image_08032025_01_05_36_30453.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.26975488662719727 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 marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 01:07:03.079955
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/01/05/image_08032025_01_06_06_29498.jpg', 2), ('/home/nano/Desktop/images/08032025/01/05/image_08032025_01_05_36_30453.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/01/05/image_08032025_01_06_06_29498.jpg', '/home/nano/Desktop/images/08032025/01/05/image_08032025_01_05_36_30453.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/01/05/image_08032025_01_06_06_29498.jpg
/home/nano/Desktop/images/08032025/01/05/image_08032025_01_05_36_30453.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341648577","1341648607"],"photo_ids_order":["1341648577","1341648607"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/902a806353f12128b3cf1092521f7fc1.jpg","text":"TemporaryFile(/tmp/multipartBody1329731285917618335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741392483426,"filename":"image_08032025_01_06_06_29498.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/7af88f3f38be16d672e9907471e05995.jpg","text":"TemporaryFile(/tmp/multipartBody8068922593072999081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741392483426,"filename":"image_08032025_01_05_36_30453.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341648607","file0":"1341648577"},"map_files_photo_id_array":[{"photo_id":"1341648607","filename":"file1"},{"photo_id":"1341648577","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341648577":["hashtag1","hashtag2"]},{"1341648607":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341648577, 1341648607)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.048398971557617 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 01:07:32.444383
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/01/06/image_08032025_01_07_05_29478.jpg', 2), ('/home/nano/Desktop/images/08032025/01/06/image_08032025_01_06_36_30459.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/01/06/image_08032025_01_07_05_29478.jpg', '/home/nano/Desktop/images/08032025/01/06/image_08032025_01_06_36_30459.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/01/06/image_08032025_01_07_05_29478.jpg
/home/nano/Desktop/images/08032025/01/06/image_08032025_01_06_36_30459.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341648642","1341648640"],"photo_ids_order":["1341648640","1341648642"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/aee086d2be73366cfc34a2e9fa114feb.jpg","text":"TemporaryFile(/tmp/multipartBody7919797574855509973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741392512781,"filename":"image_08032025_01_06_36_30459.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/503b9ed1915658813856024758717a38.jpg","text":"TemporaryFile(/tmp/multipartBody1138861644665925412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741392512781,"filename":"image_08032025_01_07_05_29478.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341648642","file0":"1341648640"},"map_files_photo_id_array":[{"photo_id":"1341648642","filename":"file1"},{"photo_id":"1341648640","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341648642":["hashtag1","hashtag2"]},{"1341648640":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341648642, 1341648640)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.68200421333313 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 01:08:03.185685
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 01:08:32.557044
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/01/07/image_08032025_01_08_05_29512.jpg', 2), ('/home/nano/Desktop/images/08032025/01/07/image_08032025_01_07_36_30453.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/01/07/image_08032025_01_08_05_29512.jpg', '/home/nano/Desktop/images/08032025/01/07/image_08032025_01_07_36_30453.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/01/07/image_08032025_01_08_05_29512.jpg
/home/nano/Desktop/images/08032025/01/07/image_08032025_01_07_36_30453.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341648920","1341648865"],"photo_ids_order":["1341648865","1341648920"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/dcce32e6ff252c79e140f95b8d3a7684.jpg","text":"TemporaryFile(/tmp/multipartBody402403073155173978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741392573181,"filename":"image_08032025_01_07_36_30453.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/009a087d261343447db9ebe04f04ad8a.jpg","text":"TemporaryFile(/tmp/multipartBody12062526246618490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741392573181,"filename":"image_08032025_01_08_05_29512.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341648920","file0":"1341648865"},"map_files_photo_id_array":[{"photo_id":"1341648920","filename":"file1"},{"photo_id":"1341648865","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341648920":["hashtag1","hashtag2"]},{"1341648865":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341648920, 1341648865)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 21.16932249069214 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 01:09:03.446594
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 01:09:32.657251
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/01/08/image_08032025_01_09_05_29447.jpg', 2), ('/home/nano/Desktop/images/08032025/01/08/image_08032025_01_08_36_30453.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/01/08/image_08032025_01_09_05_29447.jpg', '/home/nano/Desktop/images/08032025/01/08/image_08032025_01_08_36_30453.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/01/08/image_08032025_01_09_05_29447.jpg
/home/nano/Desktop/images/08032025/01/08/image_08032025_01_08_36_30453.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341649091","1341649106"],"photo_ids_order":["1341649091","1341649106"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/fcfced14dfdba6d0258bb628ede22d1b.jpg","text":"TemporaryFile(/tmp/multipartBody2767970618996287053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741392633023,"filename":"image_08032025_01_09_05_29447.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/c51385c279e7216cb12c4989e17fff5d.jpg","text":"TemporaryFile(/tmp/multipartBody5886281284389854193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741392633023,"filename":"image_08032025_01_08_36_30453.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341649106","file0":"1341649091"},"map_files_photo_id_array":[{"photo_id":"1341649106","filename":"file1"},{"photo_id":"1341649091","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341649091":["hashtag1","hashtag2"]},{"1341649106":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341649091, 1341649106)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 13.896886348724365 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 01:10:02.318206
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 01:10:31.785238
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/01/09/image_08032025_01_10_05_29463.jpg', 2), ('/home/nano/Desktop/images/08032025/01/09/image_08032025_01_09_36_30451.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/01/09/image_08032025_01_10_05_29463.jpg', '/home/nano/Desktop/images/08032025/01/09/image_08032025_01_09_36_30451.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/01/09/image_08032025_01_10_05_29463.jpg
/home/nano/Desktop/images/08032025/01/09/image_08032025_01_09_36_30451.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341649195","1341649198"],"photo_ids_order":["1341649195","1341649198"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/22c198b10018ee89e9b9609c40c7c739.jpg","text":"TemporaryFile(/tmp/multipartBody4484701447906095446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741392692150,"filename":"image_08032025_01_10_05_29463.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/25de39202e43816fca70049991887a1d.jpg","text":"TemporaryFile(/tmp/multipartBody8111946778449897620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741392692150,"filename":"image_08032025_01_09_36_30451.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341649198","file0":"1341649195"},"map_files_photo_id_array":[{"photo_id":"1341649198","filename":"file1"},{"photo_id":"1341649195","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341649195":["hashtag1","hashtag2"]},{"1341649198":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341649195, 1341649198)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.537448406219482 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 01:11:02.467904
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 01:11:31.942661
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/01/10/image_08032025_01_11_05_29456.jpg', 2), ('/home/nano/Desktop/images/08032025/01/10/image_08032025_01_10_36_30468.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/01/10/image_08032025_01_11_05_29456.jpg', '/home/nano/Desktop/images/08032025/01/10/image_08032025_01_10_36_30468.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/01/10/image_08032025_01_11_05_29456.jpg
/home/nano/Desktop/images/08032025/01/10/image_08032025_01_10_36_30468.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341649245","1341649248"],"photo_ids_order":["1341649245","1341649248"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/03e2ca5ab6ca37d53889acdd166b2123.jpg","text":"TemporaryFile(/tmp/multipartBody5473235009401342863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741392752390,"filename":"image_08032025_01_11_05_29456.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/eabfeb601bd5e2365e74a115b9627094.jpg","text":"TemporaryFile(/tmp/multipartBody7425173202483384503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741392752390,"filename":"image_08032025_01_10_36_30468.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341649248","file0":"1341649245"},"map_files_photo_id_array":[{"photo_id":"1341649248","filename":"file1"},{"photo_id":"1341649245","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341649245":["hashtag1","hashtag2"]},{"1341649248":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341649245, 1341649248)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.674778461456299 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 01:12:02.477486
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 01:12:32.035800
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/01/11/image_08032025_01_12_06_30459.jpg', 2), ('/home/nano/Desktop/images/08032025/01/11/image_08032025_01_11_36_30448.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/01/11/image_08032025_01_12_06_30459.jpg', '/home/nano/Desktop/images/08032025/01/11/image_08032025_01_11_36_30448.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/01/11/image_08032025_01_12_06_30459.jpg
/home/nano/Desktop/images/08032025/01/11/image_08032025_01_11_36_30448.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341649835","1341649735"],"photo_ids_order":["1341649735","1341649835"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/bdf6b9436d7fd4c776edfedafbfb5b26.jpg","text":"TemporaryFile(/tmp/multipartBody19442540764309432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741392812548,"filename":"image_08032025_01_11_36_30448.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/d3f0ec571a52930687d119bcf77c7291.jpg","text":"TemporaryFile(/tmp/multipartBody6190182726698804015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741392812548,"filename":"image_08032025_01_12_06_30459.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341649835","file0":"1341649735"},"map_files_photo_id_array":[{"photo_id":"1341649835","filename":"file1"},{"photo_id":"1341649735","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341649835":["hashtag1","hashtag2"]},{"1341649735":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341649835, 1341649735)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 16.14398217201233 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 01:13:02.583659
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 01:13:32.173111
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/01/12/image_08032025_01_13_06_30460.jpg', 2), ('/home/nano/Desktop/images/08032025/01/12/image_08032025_01_12_36_29458.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/01/12/image_08032025_01_13_06_30460.jpg', '/home/nano/Desktop/images/08032025/01/12/image_08032025_01_12_36_29458.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/01/12/image_08032025_01_13_06_30460.jpg
/home/nano/Desktop/images/08032025/01/12/image_08032025_01_12_36_29458.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341650564","1341650494"],"photo_ids_order":["1341650494","1341650564"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/81e35699ce8eadd31689d952ebf3972b.jpg","text":"TemporaryFile(/tmp/multipartBody3317755137691681253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741392872693,"filename":"image_08032025_01_12_36_29458.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/46e69dbdb714a05e457d4287f4dc4756.jpg","text":"TemporaryFile(/tmp/multipartBody1169201378323179684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741392872693,"filename":"image_08032025_01_13_06_30460.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341650564","file0":"1341650494"},"map_files_photo_id_array":[{"photo_id":"1341650564","filename":"file1"},{"photo_id":"1341650494","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341650564":["hashtag1","hashtag2"]},{"1341650494":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341650564, 1341650494)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.60655665397644 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 01:14:03.174292
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 01:14:32.268144
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/01/13/image_08032025_01_14_06_30455.jpg', 2), ('/home/nano/Desktop/images/08032025/01/13/image_08032025_01_13_35_29435.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/01/13/image_08032025_01_14_06_30455.jpg', '/home/nano/Desktop/images/08032025/01/13/image_08032025_01_13_35_29435.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/01/13/image_08032025_01_14_06_30455.jpg
/home/nano/Desktop/images/08032025/01/13/image_08032025_01_13_35_29435.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341651155","1341651150"],"photo_ids_order":["1341651150","1341651155"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/cfe89a7904677969b3f1d83c133c1ac1.jpg","text":"TemporaryFile(/tmp/multipartBody2193704357703925937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741392933157,"filename":"image_08032025_01_13_35_29435.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/dc20e817971c4375674045c88c6f3c6b.jpg","text":"TemporaryFile(/tmp/multipartBody4266429451513359873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741392933157,"filename":"image_08032025_01_14_06_30455.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341651155","file0":"1341651150"},"map_files_photo_id_array":[{"photo_id":"1341651155","filename":"file1"},{"photo_id":"1341651150","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341651155":["hashtag1","hashtag2"]},{"1341651150":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341651155, 1341651150)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 18.643137454986572 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 01:15:02.933366
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 01:15:32.424041
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/01/14/image_08032025_01_15_06_30461.jpg', 2), ('/home/nano/Desktop/images/08032025/01/14/image_08032025_01_14_35_29441.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/01/14/image_08032025_01_15_06_30461.jpg', '/home/nano/Desktop/images/08032025/01/14/image_08032025_01_14_35_29441.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/01/14/image_08032025_01_15_06_30461.jpg
/home/nano/Desktop/images/08032025/01/14/image_08032025_01_14_35_29441.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341651326","1341651250"],"photo_ids_order":["1341651250","1341651326"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/f167560140660cedb4d6d5d8c24f3a7f.jpg","text":"TemporaryFile(/tmp/multipartBody2793435323754741908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741392992867,"filename":"image_08032025_01_14_35_29441.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/1bf012639a275c319b39dc4d9389aadb.jpg","text":"TemporaryFile(/tmp/multipartBody2179021974706598369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741392992867,"filename":"image_08032025_01_15_06_30461.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341651326","file0":"1341651250"},"map_files_photo_id_array":[{"photo_id":"1341651326","filename":"file1"},{"photo_id":"1341651250","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341651326":["hashtag1","hashtag2"]},{"1341651250":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341651326, 1341651250)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.547948837280273 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 01:16:03.187876
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/01/15/image_08032025_01_16_06_30463.jpg', 2), ('/home/nano/Desktop/images/08032025/01/15/image_08032025_01_15_35_29445.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/01/15/image_08032025_01_16_06_30463.jpg', '/home/nano/Desktop/images/08032025/01/15/image_08032025_01_15_35_29445.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/01/15/image_08032025_01_16_06_30463.jpg
/home/nano/Desktop/images/08032025/01/15/image_08032025_01_15_35_29445.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341651702","1341651565"],"photo_ids_order":["1341651565","1341651702"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/47a9aa11f9e5785dc8f408f9a0dee8e1.jpg","text":"TemporaryFile(/tmp/multipartBody377228670140555175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741393023607,"filename":"image_08032025_01_15_35_29445.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/35b632d57ea0b338d6eab3d32326cba5.jpg","text":"TemporaryFile(/tmp/multipartBody3642628205784053808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741393023607,"filename":"image_08032025_01_16_06_30463.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341651702","file0":"1341651565"},"map_files_photo_id_array":[{"photo_id":"1341651702","filename":"file1"},{"photo_id":"1341651565","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341651702":["hashtag1","hashtag2"]},{"1341651565":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341651702, 1341651565)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.216614961624146 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 01:16:32.544455
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 01:17:03.213144
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 01:17:32.668871
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/01/16/image_08032025_01_17_06_30453.jpg', 2), ('/home/nano/Desktop/images/08032025/01/16/image_08032025_01_16_35_29445.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/01/16/image_08032025_01_17_06_30453.jpg', '/home/nano/Desktop/images/08032025/01/16/image_08032025_01_16_35_29445.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/01/16/image_08032025_01_17_06_30453.jpg
/home/nano/Desktop/images/08032025/01/16/image_08032025_01_16_35_29445.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341652585","1341652581"],"photo_ids_order":["1341652581","1341652585"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/fb18a4a04461685ae9d7bff8455db530.jpg","text":"TemporaryFile(/tmp/multipartBody559882806935520152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741393113088,"filename":"image_08032025_01_16_35_29445.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/2ae3d237cf6bce217b6e5ed143fd6666.jpg","text":"TemporaryFile(/tmp/multipartBody4399806468917351343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741393113088,"filename":"image_08032025_01_17_06_30453.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341652585","file0":"1341652581"},"map_files_photo_id_array":[{"photo_id":"1341652585","filename":"file1"},{"photo_id":"1341652581","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341652585":["hashtag1","hashtag2"]},{"1341652581":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341652585, 1341652581)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 16.593878984451294 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 01:18:02.350947
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 01:18:31.767667
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/01/17/image_08032025_01_18_06_29465.jpg', 2), ('/home/nano/Desktop/images/08032025/01/17/image_08032025_01_17_36_30433.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/01/17/image_08032025_01_18_06_29465.jpg', '/home/nano/Desktop/images/08032025/01/17/image_08032025_01_17_36_30433.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/01/17/image_08032025_01_18_06_29465.jpg
/home/nano/Desktop/images/08032025/01/17/image_08032025_01_17_36_30433.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341652825","1341652863"],"photo_ids_order":["1341652825","1341652863"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/2f1dea9aa7af7733ea33b4f4bfc9bedb.jpg","text":"TemporaryFile(/tmp/multipartBody1761562284303161857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741393172102,"filename":"image_08032025_01_18_06_29465.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/8621c1957c7acf1da0dec5889e08cce5.jpg","text":"TemporaryFile(/tmp/multipartBody7821321716266091545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741393172102,"filename":"image_08032025_01_17_36_30433.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341652863","file0":"1341652825"},"map_files_photo_id_array":[{"photo_id":"1341652863","filename":"file1"},{"photo_id":"1341652825","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341652825":["hashtag1","hashtag2"]},{"1341652863":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341652825, 1341652863)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.401968002319336 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 01:19:02.697384
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 01:19:31.869087
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/01/18/image_08032025_01_19_05_29440.jpg', 2), ('/home/nano/Desktop/images/08032025/01/18/image_08032025_01_18_36_30465.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/01/18/image_08032025_01_19_05_29440.jpg', '/home/nano/Desktop/images/08032025/01/18/image_08032025_01_18_36_30465.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/01/18/image_08032025_01_19_05_29440.jpg
/home/nano/Desktop/images/08032025/01/18/image_08032025_01_18_36_30465.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341653179","1341653168"],"photo_ids_order":["1341653168","1341653179"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/bb48a9569e81719a992404e379602b48.jpg","text":"TemporaryFile(/tmp/multipartBody2047555447461797902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741393232222,"filename":"image_08032025_01_18_36_30465.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/f09b18dc6186057fb51ed67f19db1a6a.jpg","text":"TemporaryFile(/tmp/multipartBody8921351842295952998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741393232222,"filename":"image_08032025_01_19_05_29440.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341653179","file0":"1341653168"},"map_files_photo_id_array":[{"photo_id":"1341653179","filename":"file1"},{"photo_id":"1341653168","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341653179":["hashtag1","hashtag2"]},{"1341653168":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341653179, 1341653168)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.56675910949707 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 01:20:02.543789
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 01:20:32.015422
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/01/19/image_08032025_01_20_05_29446.jpg', 2), ('/home/nano/Desktop/images/08032025/01/19/image_08032025_01_19_36_30440.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/01/19/image_08032025_01_20_05_29446.jpg', '/home/nano/Desktop/images/08032025/01/19/image_08032025_01_19_36_30440.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/01/19/image_08032025_01_20_05_29446.jpg
/home/nano/Desktop/images/08032025/01/19/image_08032025_01_19_36_30440.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341653494","1341653483"],"photo_ids_order":["1341653483","1341653494"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/20e6976ee512abd323594eeeebef21bd.jpg","text":"TemporaryFile(/tmp/multipartBody6336005806955374938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741393292407,"filename":"image_08032025_01_19_36_30440.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/506a0002273a962b4fd3cc8cf88db4a1.jpg","text":"TemporaryFile(/tmp/multipartBody8535641053413665802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741393292407,"filename":"image_08032025_01_20_05_29446.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341653494","file0":"1341653483"},"map_files_photo_id_array":[{"photo_id":"1341653494","filename":"file1"},{"photo_id":"1341653483","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341653494":["hashtag1","hashtag2"]},{"1341653483":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341653494, 1341653483)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.098262786865234 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 01:21:02.479087
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 01:21:32.134871
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/01/20/image_08032025_01_21_05_29497.jpg', 2), ('/home/nano/Desktop/images/08032025/01/20/image_08032025_01_20_36_30458.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/01/20/image_08032025_01_21_05_29497.jpg', '/home/nano/Desktop/images/08032025/01/20/image_08032025_01_20_36_30458.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/01/20/image_08032025_01_21_05_29497.jpg
/home/nano/Desktop/images/08032025/01/20/image_08032025_01_20_36_30458.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341653719","1341653736"],"photo_ids_order":["1341653719","1341653736"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/238b58fc84187be39888384c3440120d.jpg","text":"TemporaryFile(/tmp/multipartBody842255926105175988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741393352550,"filename":"image_08032025_01_21_05_29497.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/2429afcaf1346789d38c92a373a8a26d.jpg","text":"TemporaryFile(/tmp/multipartBody4398860350822481496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741393352550,"filename":"image_08032025_01_20_36_30458.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341653736","file0":"1341653719"},"map_files_photo_id_array":[{"photo_id":"1341653736","filename":"file1"},{"photo_id":"1341653719","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341653719":["hashtag1","hashtag2"]},{"1341653736":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341653719, 1341653736)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.766599893569946 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 01:22:02.825408
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 01:22:32.211705
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/01/21/image_08032025_01_22_05_29458.jpg', 2), ('/home/nano/Desktop/images/08032025/01/21/image_08032025_01_21_36_30447.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/01/21/image_08032025_01_22_05_29458.jpg', '/home/nano/Desktop/images/08032025/01/21/image_08032025_01_21_36_30447.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/01/21/image_08032025_01_22_05_29458.jpg
/home/nano/Desktop/images/08032025/01/21/image_08032025_01_21_36_30447.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341653903","1341653907"],"photo_ids_order":["1341653903","1341653907"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/519d30253b690697f1ab69a1eb16c228.jpg","text":"TemporaryFile(/tmp/multipartBody3194149044578622045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741393412715,"filename":"image_08032025_01_22_05_29458.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/2c3bb8a3d53802fa3570a802ec2b4e5f.jpg","text":"TemporaryFile(/tmp/multipartBody5890009120143081368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741393412715,"filename":"image_08032025_01_21_36_30447.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341653907","file0":"1341653903"},"map_files_photo_id_array":[{"photo_id":"1341653907","filename":"file1"},{"photo_id":"1341653903","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341653903":["hashtag1","hashtag2"]},{"1341653907":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341653903, 1341653907)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.158785820007324 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 01:23:02.970463
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/01/23/image_08032025_01_23_36_30478.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/01/23/image_08032025_01_23_36_30478.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/01/23/image_08032025_01_23_36_30478.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341653971"],"photo_id":"1341653971","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/72408a750fe5be4a6ec3f4cbb3285f4a.jpg","text":"TemporaryFile(/tmp/multipartBody4913237328591528522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741393443353,"filename":"image_08032025_01_23_36_30478.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1341653971"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1341653971"}],"hashtags":[],"portfolio_id":"21163824","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 10.264605045318604 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 01:23:32.328153
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/01/22/image_08032025_01_22_36_30452.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/01/22/image_08032025_01_22_36_30452.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/01/22/image_08032025_01_22_36_30452.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341653990"],"photo_id":"1341653990","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/1968e7c394b5d98e24eecb0332fbb453.jpg","text":"TemporaryFile(/tmp/multipartBody5000345466190372919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741393472755,"filename":"image_08032025_01_22_36_30452.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1341653990"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1341653990"}],"hashtags":[],"portfolio_id":"21163824","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 11.250484943389893 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 01:24:03.248701
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 01:24:32.475112
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/01/23/image_08032025_01_24_06_30466.jpg', 2), ('/home/nano/Desktop/images/08032025/01/22/image_08032025_01_23_05_29499.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/01/23/image_08032025_01_24_06_30466.jpg', '/home/nano/Desktop/images/08032025/01/22/image_08032025_01_23_05_29499.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/01/23/image_08032025_01_24_06_30466.jpg
/home/nano/Desktop/images/08032025/01/22/image_08032025_01_23_05_29499.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341654138","1341654197"],"photo_ids_order":["1341654138","1341654197"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/4b392de2bb3a0ab0b6cbea51755afb92.jpg","text":"TemporaryFile(/tmp/multipartBody2893735603254402930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741393533308,"filename":"image_08032025_01_24_06_30466.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/2d0e4e5bfdf9d2f1c33a2c787cfc6477.jpg","text":"TemporaryFile(/tmp/multipartBody8185199284902541153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741393533308,"filename":"image_08032025_01_23_05_29499.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341654197","file0":"1341654138"},"map_files_photo_id_array":[{"photo_id":"1341654197","filename":"file1"},{"photo_id":"1341654138","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341654138":["hashtag1","hashtag2"]},{"1341654197":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341654138, 1341654197)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.22978711128235 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 01:25:03.084208
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 01:25:32.590210
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/01/24/image_08032025_01_25_06_30469.jpg', 2), ('/home/nano/Desktop/images/08032025/01/24/image_08032025_01_24_36_29443.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/01/24/image_08032025_01_25_06_30469.jpg', '/home/nano/Desktop/images/08032025/01/24/image_08032025_01_24_36_29443.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/01/24/image_08032025_01_25_06_30469.jpg
/home/nano/Desktop/images/08032025/01/24/image_08032025_01_24_36_29443.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341655049","1341654983"],"photo_ids_order":["1341654983","1341655049"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/abe13668340dc026b77d7e04906738fa.jpg","text":"TemporaryFile(/tmp/multipartBody3424895861455599963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741393592953,"filename":"image_08032025_01_24_36_29443.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/88d1058a805cdc1e4b2e40658697cb4f.jpg","text":"TemporaryFile(/tmp/multipartBody4074846277241016329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741393592953,"filename":"image_08032025_01_25_06_30469.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341655049","file0":"1341654983"},"map_files_photo_id_array":[{"photo_id":"1341655049","filename":"file1"},{"photo_id":"1341654983","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341655049":["hashtag1","hashtag2"]},{"1341654983":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341655049, 1341654983)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 21.299785614013672 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 01:26:03.254947
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 01:26:32.668142
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/01/25/image_08032025_01_26_06_30464.jpg', 2), ('/home/nano/Desktop/images/08032025/01/25/image_08032025_01_25_35_29441.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/01/25/image_08032025_01_26_06_30464.jpg', '/home/nano/Desktop/images/08032025/01/25/image_08032025_01_25_35_29441.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/01/25/image_08032025_01_26_06_30464.jpg
/home/nano/Desktop/images/08032025/01/25/image_08032025_01_25_35_29441.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341655699","1341655693"],"photo_ids_order":["1341655693","1341655699"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/d7c7522bf1bdeb3766234f033af87570.jpg","text":"TemporaryFile(/tmp/multipartBody5684685797827383390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741393653049,"filename":"image_08032025_01_25_35_29441.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/96490d94612dc30296ddb22f0058f0cb.jpg","text":"TemporaryFile(/tmp/multipartBody5921727985722107713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741393653049,"filename":"image_08032025_01_26_06_30464.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341655699","file0":"1341655693"},"map_files_photo_id_array":[{"photo_id":"1341655699","filename":"file1"},{"photo_id":"1341655693","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341655699":["hashtag1","hashtag2"]},{"1341655693":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341655699, 1341655693)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.077114582061768 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 01:27:02.364071
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 01:27:31.804711
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/01/26/image_08032025_01_27_06_30449.jpg', 2), ('/home/nano/Desktop/images/08032025/01/26/image_08032025_01_26_35_29436.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/01/26/image_08032025_01_27_06_30449.jpg', '/home/nano/Desktop/images/08032025/01/26/image_08032025_01_26_35_29436.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/01/26/image_08032025_01_27_06_30449.jpg
/home/nano/Desktop/images/08032025/01/26/image_08032025_01_26_35_29436.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341655992","1341655986"],"photo_ids_order":["1341655986","1341655992"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/c06d086e3319c5dd1a0292818cace8be.jpg","text":"TemporaryFile(/tmp/multipartBody8590287558025817449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741393712199,"filename":"image_08032025_01_26_35_29436.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/bf3ba3d42a225d2792d330dc03f1df52.jpg","text":"TemporaryFile(/tmp/multipartBody4535959789926257482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741393712199,"filename":"image_08032025_01_27_06_30449.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341655992","file0":"1341655986"},"map_files_photo_id_array":[{"photo_id":"1341655992","filename":"file1"},{"photo_id":"1341655986","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341655992":["hashtag1","hashtag2"]},{"1341655986":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341655992, 1341655986)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.778159856796265 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 01:28:02.439126
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 01:28:31.902151
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/01/27/image_08032025_01_28_06_30459.jpg', 2), ('/home/nano/Desktop/images/08032025/01/27/image_08032025_01_27_35_29436.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/01/27/image_08032025_01_28_06_30459.jpg', '/home/nano/Desktop/images/08032025/01/27/image_08032025_01_27_35_29436.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/01/27/image_08032025_01_28_06_30459.jpg
/home/nano/Desktop/images/08032025/01/27/image_08032025_01_27_35_29436.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341656345","1341656252"],"photo_ids_order":["1341656252","1341656345"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/d919add1c8297662f2a569ac88abb391.jpg","text":"TemporaryFile(/tmp/multipartBody4695397411754250694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741393772290,"filename":"image_08032025_01_27_35_29436.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/bc6ea81f49d8fa69a482c304354b0397.jpg","text":"TemporaryFile(/tmp/multipartBody7197738133074999010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741393772290,"filename":"image_08032025_01_28_06_30459.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341656345","file0":"1341656252"},"map_files_photo_id_array":[{"photo_id":"1341656345","filename":"file1"},{"photo_id":"1341656252","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341656345":["hashtag1","hashtag2"]},{"1341656252":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341656345, 1341656252)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.45284652709961 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 01:29:02.703682
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 01:29:31.995432
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/01/28/image_08032025_01_29_06_29455.jpg', 2), ('/home/nano/Desktop/images/08032025/01/28/image_08032025_01_28_36_30449.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/01/28/image_08032025_01_29_06_29455.jpg', '/home/nano/Desktop/images/08032025/01/28/image_08032025_01_28_36_30449.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/01/28/image_08032025_01_29_06_29455.jpg
/home/nano/Desktop/images/08032025/01/28/image_08032025_01_28_36_30449.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341657216","1341657149"],"photo_ids_order":["1341657149","1341657216"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/e5a7e08cb97ef150731d1b6f24761b25.jpg","text":"TemporaryFile(/tmp/multipartBody7947573021216176654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741393832328,"filename":"image_08032025_01_28_36_30449.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/e965dc6b0977943faf4796a4b71326e1.jpg","text":"TemporaryFile(/tmp/multipartBody8056771607975310572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741393832328,"filename":"image_08032025_01_29_06_29455.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341657216","file0":"1341657149"},"map_files_photo_id_array":[{"photo_id":"1341657216","filename":"file1"},{"photo_id":"1341657149","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341657216":["hashtag1","hashtag2"]},{"1341657149":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341657216, 1341657149)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 13.481439113616943 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 01:30:02.719359
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 01:30:32.099866
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/01/29/image_08032025_01_30_05_29477.jpg', 2), ('/home/nano/Desktop/images/08032025/01/29/image_08032025_01_29_36_30442.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/01/29/image_08032025_01_30_05_29477.jpg', '/home/nano/Desktop/images/08032025/01/29/image_08032025_01_29_36_30442.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/01/29/image_08032025_01_30_05_29477.jpg
/home/nano/Desktop/images/08032025/01/29/image_08032025_01_29_36_30442.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341657671","1341657634"],"photo_ids_order":["1341657634","1341657671"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/99860cf67f0203517747ab2924c9ad09.jpg","text":"TemporaryFile(/tmp/multipartBody7162701287337928013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741393892468,"filename":"image_08032025_01_29_36_30442.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/f3a0abb8e56470eccd0748baba78f3e4.jpg","text":"TemporaryFile(/tmp/multipartBody1181061315008234795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741393892468,"filename":"image_08032025_01_30_05_29477.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341657671","file0":"1341657634"},"map_files_photo_id_array":[{"photo_id":"1341657671","filename":"file1"},{"photo_id":"1341657634","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341657671":["hashtag1","hashtag2"]},{"1341657634":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341657671, 1341657634)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.079945802688599 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 01:31:02.910220
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/01/30/image_08032025_01_31_05_29263.jpg', 2), ('/home/nano/Desktop/images/08032025/01/30/image_08032025_01_30_36_30447.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/01/30/image_08032025_01_31_05_29263.jpg', '/home/nano/Desktop/images/08032025/01/30/image_08032025_01_30_36_30447.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/01/30/image_08032025_01_31_05_29263.jpg
/home/nano/Desktop/images/08032025/01/30/image_08032025_01_30_36_30447.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341657827","1341657846"],"photo_ids_order":["1341657827","1341657846"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/a783f4f93ec891255e17ceb07ef6c51d.jpg","text":"TemporaryFile(/tmp/multipartBody877106765660459734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741393923293,"filename":"image_08032025_01_31_05_29263.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/b86f9729501994cfdcb45c0e4f968fec.jpg","text":"TemporaryFile(/tmp/multipartBody8615444772291205045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741393923293,"filename":"image_08032025_01_30_36_30447.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341657846","file0":"1341657827"},"map_files_photo_id_array":[{"photo_id":"1341657846","filename":"file1"},{"photo_id":"1341657827","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341657827":["hashtag1","hashtag2"]},{"1341657846":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341657827, 1341657846)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.835672616958618 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 01:31:32.217175
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 01:32:02.922725
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 01:32:32.363761
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/01/31/image_08032025_01_32_06_30433.jpg', 2), ('/home/nano/Desktop/images/08032025/01/31/image_08032025_01_31_36_30323.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/01/31/image_08032025_01_32_06_30433.jpg', '/home/nano/Desktop/images/08032025/01/31/image_08032025_01_31_36_30323.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/01/31/image_08032025_01_32_06_30433.jpg
/home/nano/Desktop/images/08032025/01/31/image_08032025_01_31_36_30323.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341657964","1341657967"],"photo_ids_order":["1341657964","1341657967"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/fc5e48a1bc58f4be997b5ac601203e07.jpg","text":"TemporaryFile(/tmp/multipartBody5886814119258270297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741394012803,"filename":"image_08032025_01_32_06_30433.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/8ac81ba0a5fe9429db34611cb4b48010.jpg","text":"TemporaryFile(/tmp/multipartBody3189062706760388773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741394012803,"filename":"image_08032025_01_31_36_30323.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341657967","file0":"1341657964"},"map_files_photo_id_array":[{"photo_id":"1341657967","filename":"file1"},{"photo_id":"1341657964","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341657964":["hashtag1","hashtag2"]},{"1341657967":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341657964, 1341657967)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.16943073272705 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 01:33:03.111465
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 01:33:32.453638
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/01/32/image_08032025_01_33_06_30343.jpg', 2), ('/home/nano/Desktop/images/08032025/01/32/image_08032025_01_32_35_29337.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/01/32/image_08032025_01_33_06_30343.jpg', '/home/nano/Desktop/images/08032025/01/32/image_08032025_01_32_35_29337.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/01/32/image_08032025_01_33_06_30343.jpg
/home/nano/Desktop/images/08032025/01/32/image_08032025_01_32_35_29337.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341658028","1341658032"],"photo_ids_order":["1341658028","1341658032"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/49590a89d26bd8385470bf6baa10d81c.jpg","text":"TemporaryFile(/tmp/multipartBody8859489054832616608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741394072843,"filename":"image_08032025_01_33_06_30343.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/6f5d654741b140e3f5d97fc54c0094ab.jpg","text":"TemporaryFile(/tmp/multipartBody36058937182078177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741394072843,"filename":"image_08032025_01_32_35_29337.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341658032","file0":"1341658028"},"map_files_photo_id_array":[{"photo_id":"1341658032","filename":"file1"},{"photo_id":"1341658028","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341658028":["hashtag1","hashtag2"]},{"1341658032":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341658028, 1341658032)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 13.8651704788208 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 01:34:03.240610
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 01:34:32.607723
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/01/33/image_08032025_01_34_05_29265.jpg', 2), ('/home/nano/Desktop/images/08032025/01/33/image_08032025_01_33_36_30304.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/01/33/image_08032025_01_34_05_29265.jpg', '/home/nano/Desktop/images/08032025/01/33/image_08032025_01_33_36_30304.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/01/33/image_08032025_01_34_05_29265.jpg
/home/nano/Desktop/images/08032025/01/33/image_08032025_01_33_36_30304.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341659079","1341659063"],"photo_ids_order":["1341659063","1341659079"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/c9e9cfec8db673863873ac2ffe786a8d.jpg","text":"TemporaryFile(/tmp/multipartBody256511927380736292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741394132964,"filename":"image_08032025_01_33_36_30304.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/74f0ff1ce52a203a1d6ea6a0179d6077.jpg","text":"TemporaryFile(/tmp/multipartBody1629610276545909284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741394132964,"filename":"image_08032025_01_34_05_29265.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341659079","file0":"1341659063"},"map_files_photo_id_array":[{"photo_id":"1341659079","filename":"file1"},{"photo_id":"1341659063","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341659079":["hashtag1","hashtag2"]},{"1341659063":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341659079, 1341659063)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.134084939956665 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 01:35:03.233951
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 01:35:32.693018
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/01/34/image_08032025_01_35_06_30450.jpg', 2), ('/home/nano/Desktop/images/08032025/01/34/image_08032025_01_34_36_30388.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/01/34/image_08032025_01_35_06_30450.jpg', '/home/nano/Desktop/images/08032025/01/34/image_08032025_01_34_36_30388.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/01/34/image_08032025_01_35_06_30450.jpg
/home/nano/Desktop/images/08032025/01/34/image_08032025_01_34_36_30388.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341659556","1341659585"],"photo_ids_order":["1341659556","1341659585"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/b843dc727024581d3589d77bc6344adb.jpg","text":"TemporaryFile(/tmp/multipartBody6383530617350666941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741394193082,"filename":"image_08032025_01_35_06_30450.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/68a0066506bdc45bee4057ac47524435.jpg","text":"TemporaryFile(/tmp/multipartBody5028266262393765327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741394193082,"filename":"image_08032025_01_34_36_30388.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341659585","file0":"1341659556"},"map_files_photo_id_array":[{"photo_id":"1341659585","filename":"file1"},{"photo_id":"1341659556","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341659556":["hashtag1","hashtag2"]},{"1341659585":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341659556, 1341659585)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.178295135498047 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 01:36:02.296057
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 01:36:31.778478
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/01/35/image_08032025_01_36_06_30528.jpg', 2), ('/home/nano/Desktop/images/08032025/01/35/image_08032025_01_35_36_29487.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/01/35/image_08032025_01_36_06_30528.jpg', '/home/nano/Desktop/images/08032025/01/35/image_08032025_01_35_36_29487.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/01/35/image_08032025_01_36_06_30528.jpg
/home/nano/Desktop/images/08032025/01/35/image_08032025_01_35_36_29487.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341659778","1341659781"],"photo_ids_order":["1341659778","1341659781"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/87b533d828cf7331e64370434d709959.jpg","text":"TemporaryFile(/tmp/multipartBody3677335386446072036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741394252137,"filename":"image_08032025_01_36_06_30528.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/4446382581f15a41a22b19912cde1c3c.jpg","text":"TemporaryFile(/tmp/multipartBody158474829942509563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741394252137,"filename":"image_08032025_01_35_36_29487.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341659781","file0":"1341659778"},"map_files_photo_id_array":[{"photo_id":"1341659781","filename":"file1"},{"photo_id":"1341659778","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341659778":["hashtag1","hashtag2"]},{"1341659781":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341659778, 1341659781)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.247240781784058 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 01:37:02.417366
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 01:37:31.894434
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/01/36/image_08032025_01_37_06_30554.jpg', 2), ('/home/nano/Desktop/images/08032025/01/36/image_08032025_01_36_35_29328.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/01/36/image_08032025_01_37_06_30554.jpg', '/home/nano/Desktop/images/08032025/01/36/image_08032025_01_36_35_29328.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/01/36/image_08032025_01_37_06_30554.jpg
/home/nano/Desktop/images/08032025/01/36/image_08032025_01_36_35_29328.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341659958","1341659934"],"photo_ids_order":["1341659934","1341659958"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/eeab85276c796a5612674710344b586c.jpg","text":"TemporaryFile(/tmp/multipartBody4373147815725288728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741394312364,"filename":"image_08032025_01_36_35_29328.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/1bc7f858efdbaa441b5f236330941ee7.jpg","text":"TemporaryFile(/tmp/multipartBody7524531675439881110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741394312364,"filename":"image_08032025_01_37_06_30554.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341659958","file0":"1341659934"},"map_files_photo_id_array":[{"photo_id":"1341659958","filename":"file1"},{"photo_id":"1341659934","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341659958":["hashtag1","hashtag2"]},{"1341659934":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341659958, 1341659934)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.041109800338745 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 01:38:02.509554
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 01:38:31.969403
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/01/37/image_08032025_01_38_06_30348.jpg', 2), ('/home/nano/Desktop/images/08032025/01/37/image_08032025_01_37_35_29396.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/01/37/image_08032025_01_38_06_30348.jpg', '/home/nano/Desktop/images/08032025/01/37/image_08032025_01_37_35_29396.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/01/37/image_08032025_01_38_06_30348.jpg
/home/nano/Desktop/images/08032025/01/37/image_08032025_01_37_35_29396.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.2684664726257324 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 marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 01:39:03.037122
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/01/37/image_08032025_01_38_06_30348.jpg', 2), ('/home/nano/Desktop/images/08032025/01/37/image_08032025_01_37_35_29396.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/01/37/image_08032025_01_38_06_30348.jpg', '/home/nano/Desktop/images/08032025/01/37/image_08032025_01_37_35_29396.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/01/37/image_08032025_01_38_06_30348.jpg
/home/nano/Desktop/images/08032025/01/37/image_08032025_01_37_35_29396.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341660187","1341660194"],"photo_ids_order":["1341660187","1341660194"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/9ecadbb321d2b4e588391ed6d3252143.jpg","text":"TemporaryFile(/tmp/multipartBody8937970988198425920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741394403375,"filename":"image_08032025_01_38_06_30348.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/19ba2c71631622f468a78326f9545396.jpg","text":"TemporaryFile(/tmp/multipartBody8642188929954999928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741394403375,"filename":"image_08032025_01_37_35_29396.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341660194","file0":"1341660187"},"map_files_photo_id_array":[{"photo_id":"1341660194","filename":"file1"},{"photo_id":"1341660187","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341660187":["hashtag1","hashtag2"]},{"1341660194":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341660187, 1341660194)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.424534797668457 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 01:39:32.094469
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/01/38/image_08032025_01_39_06_29690.jpg', 2), ('/home/nano/Desktop/images/08032025/01/38/image_08032025_01_38_36_30115.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/01/38/image_08032025_01_39_06_29690.jpg', '/home/nano/Desktop/images/08032025/01/38/image_08032025_01_38_36_30115.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/01/38/image_08032025_01_39_06_29690.jpg
/home/nano/Desktop/images/08032025/01/38/image_08032025_01_38_36_30115.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341660527","1341660547"],"photo_ids_order":["1341660527","1341660547"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/0c4861ebe979219049c15445030aefbc.jpg","text":"TemporaryFile(/tmp/multipartBody4666498758411845129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741394432498,"filename":"image_08032025_01_39_06_29690.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/12a82808039be25529ffa9c810e0e069.jpg","text":"TemporaryFile(/tmp/multipartBody6115145208404093335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741394432498,"filename":"image_08032025_01_38_36_30115.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341660547","file0":"1341660527"},"map_files_photo_id_array":[{"photo_id":"1341660547","filename":"file1"},{"photo_id":"1341660527","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341660527":["hashtag1","hashtag2"]},{"1341660547":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341660527, 1341660547)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 18.939809799194336 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 01:40:02.746660
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 01:40:32.175608
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/01/39/image_08032025_01_40_05_29363.jpg', 2), ('/home/nano/Desktop/images/08032025/01/39/image_08032025_01_39_36_30440.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/01/39/image_08032025_01_40_05_29363.jpg', '/home/nano/Desktop/images/08032025/01/39/image_08032025_01_39_36_30440.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/01/39/image_08032025_01_40_05_29363.jpg
/home/nano/Desktop/images/08032025/01/39/image_08032025_01_39_36_30440.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341660726","1341660729"],"photo_ids_order":["1341660726","1341660729"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/1d8f698373327f1d822c8f0f903fd2f3.jpg","text":"TemporaryFile(/tmp/multipartBody3332901332359132683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741394492580,"filename":"image_08032025_01_40_05_29363.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/09bd9866ff1a5052970108933c786719.jpg","text":"TemporaryFile(/tmp/multipartBody8331048551196726058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741394492580,"filename":"image_08032025_01_39_36_30440.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341660729","file0":"1341660726"},"map_files_photo_id_array":[{"photo_id":"1341660729","filename":"file1"},{"photo_id":"1341660726","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341660726":["hashtag1","hashtag2"]},{"1341660729":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341660726, 1341660729)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.110923528671265 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 01:41:02.665199
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 01:41:32.358875
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/01/40/image_08032025_01_41_06_30404.jpg', 2), ('/home/nano/Desktop/images/08032025/01/40/image_08032025_01_40_36_30399.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/01/40/image_08032025_01_41_06_30404.jpg', '/home/nano/Desktop/images/08032025/01/40/image_08032025_01_40_36_30399.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/01/40/image_08032025_01_41_06_30404.jpg
/home/nano/Desktop/images/08032025/01/40/image_08032025_01_40_36_30399.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341660874","1341660846"],"photo_ids_order":["1341660846","1341660874"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/f5985e2a51271d566ec2ce6b80c0b7ce.jpg","text":"TemporaryFile(/tmp/multipartBody6172756009447189851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741394552783,"filename":"image_08032025_01_40_36_30399.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/60ea84a06fd96bc87f5bc6fa1e031a3e.jpg","text":"TemporaryFile(/tmp/multipartBody6345391504268975354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741394552783,"filename":"image_08032025_01_41_06_30404.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341660874","file0":"1341660846"},"map_files_photo_id_array":[{"photo_id":"1341660874","filename":"file1"},{"photo_id":"1341660846","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341660874":["hashtag1","hashtag2"]},{"1341660846":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341660874, 1341660846)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.923476934432983 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 01:42:03.080643
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 01:42:32.455349
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/01/41/image_08032025_01_42_06_30401.jpg', 2), ('/home/nano/Desktop/images/08032025/01/41/image_08032025_01_41_35_29380.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/01/41/image_08032025_01_42_06_30401.jpg', '/home/nano/Desktop/images/08032025/01/41/image_08032025_01_41_35_29380.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/01/41/image_08032025_01_42_06_30401.jpg
/home/nano/Desktop/images/08032025/01/41/image_08032025_01_41_35_29380.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341660964","1341660961"],"photo_ids_order":["1341660961","1341660964"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/814fff115e686363f2a7a91cbde908bc.jpg","text":"TemporaryFile(/tmp/multipartBody5105473917448722068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741394612873,"filename":"image_08032025_01_41_35_29380.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/6bcc9eb3b7baa5833d7c7a6d6e786edb.jpg","text":"TemporaryFile(/tmp/multipartBody1552719729607298565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741394612873,"filename":"image_08032025_01_42_06_30401.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341660964","file0":"1341660961"},"map_files_photo_id_array":[{"photo_id":"1341660964","filename":"file1"},{"photo_id":"1341660961","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341660964":["hashtag1","hashtag2"]},{"1341660961":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341660964, 1341660961)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.661923170089722 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 01:43:03.086672
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 01:43:32.605456
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/01/42/image_08032025_01_43_06_30393.jpg', 2), ('/home/nano/Desktop/images/08032025/01/42/image_08032025_01_42_35_29402.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/01/42/image_08032025_01_43_06_30393.jpg', '/home/nano/Desktop/images/08032025/01/42/image_08032025_01_42_35_29402.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/01/42/image_08032025_01_43_06_30393.jpg
/home/nano/Desktop/images/08032025/01/42/image_08032025_01_42_35_29402.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341661060","1341661032"],"photo_ids_order":["1341661032","1341661060"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/483d4438fbffdb254c1b831bd1dcbbdd.jpg","text":"TemporaryFile(/tmp/multipartBody3215662304252069395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741394672947,"filename":"image_08032025_01_42_35_29402.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/879595ce405721dada459d6d8d352f13.jpg","text":"TemporaryFile(/tmp/multipartBody1867678356892282315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741394672947,"filename":"image_08032025_01_43_06_30393.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341661060","file0":"1341661032"},"map_files_photo_id_array":[{"photo_id":"1341661060","filename":"file1"},{"photo_id":"1341661032","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341661060":["hashtag1","hashtag2"]},{"1341661032":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341661060, 1341661032)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.43228244781494 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 01:44:03.480106
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 01:44:32.721948
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/01/43/image_08032025_01_44_05_29390.jpg', 2), ('/home/nano/Desktop/images/08032025/01/43/image_08032025_01_43_36_30393.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/01/43/image_08032025_01_44_05_29390.jpg', '/home/nano/Desktop/images/08032025/01/43/image_08032025_01_43_36_30393.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/01/43/image_08032025_01_44_05_29390.jpg
/home/nano/Desktop/images/08032025/01/43/image_08032025_01_43_36_30393.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341661152","1341661154"],"photo_ids_order":["1341661152","1341661154"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/acb3db3fa8003397f68649a00a4e95e8.jpg","text":"TemporaryFile(/tmp/multipartBody1375610955718403273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741394733158,"filename":"image_08032025_01_44_05_29390.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/d20125303aeafb349477e060d04f0279.jpg","text":"TemporaryFile(/tmp/multipartBody2876708489858472932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741394733158,"filename":"image_08032025_01_43_36_30393.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341661154","file0":"1341661152"},"map_files_photo_id_array":[{"photo_id":"1341661154","filename":"file1"},{"photo_id":"1341661152","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341661152":["hashtag1","hashtag2"]},{"1341661154":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341661152, 1341661154)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.711516380310059 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 01:45:02.315873
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 01:45:31.804901
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/01/44/image_08032025_01_45_05_29396.jpg', 2), ('/home/nano/Desktop/images/08032025/01/44/image_08032025_01_44_36_30389.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/01/44/image_08032025_01_45_05_29396.jpg', '/home/nano/Desktop/images/08032025/01/44/image_08032025_01_44_36_30389.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/01/44/image_08032025_01_45_05_29396.jpg
/home/nano/Desktop/images/08032025/01/44/image_08032025_01_44_36_30389.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341661509","1341661547"],"photo_ids_order":["1341661509","1341661547"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/ce032c43a6d37bde113bfe0824a9aee8.jpg","text":"TemporaryFile(/tmp/multipartBody2945446710167074154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741394792152,"filename":"image_08032025_01_45_05_29396.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/cf8d9483505b4f4012e5113cd722a3b3.jpg","text":"TemporaryFile(/tmp/multipartBody1451290610616825787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741394792152,"filename":"image_08032025_01_44_36_30389.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341661547","file0":"1341661509"},"map_files_photo_id_array":[{"photo_id":"1341661547","filename":"file1"},{"photo_id":"1341661509","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341661509":["hashtag1","hashtag2"]},{"1341661547":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341661509, 1341661547)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.191368579864502 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 01:46:02.417971
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 01:46:31.931898
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/01/45/image_08032025_01_46_06_30397.jpg', 2), ('/home/nano/Desktop/images/08032025/01/45/image_08032025_01_45_36_30428.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/01/45/image_08032025_01_46_06_30397.jpg', '/home/nano/Desktop/images/08032025/01/45/image_08032025_01_45_36_30428.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/01/45/image_08032025_01_46_06_30397.jpg
/home/nano/Desktop/images/08032025/01/45/image_08032025_01_45_36_30428.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341661741","1341661766"],"photo_ids_order":["1341661741","1341661766"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/7aebcfddfd2c102c86ee44dd7cb4f979.jpg","text":"TemporaryFile(/tmp/multipartBody1284376327409484259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741394852343,"filename":"image_08032025_01_46_06_30397.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/45ab919d06a6eb34d435b26be9d23181.jpg","text":"TemporaryFile(/tmp/multipartBody8559395661435941327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741394852343,"filename":"image_08032025_01_45_36_30428.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341661766","file0":"1341661741"},"map_files_photo_id_array":[{"photo_id":"1341661766","filename":"file1"},{"photo_id":"1341661741","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341661741":["hashtag1","hashtag2"]},{"1341661766":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341661741, 1341661766)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.586106538772583 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 01:47:02.457233
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 01:47:32.032306
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/01/46/image_08032025_01_47_06_30405.jpg', 2), ('/home/nano/Desktop/images/08032025/01/46/image_08032025_01_46_35_29369.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/01/46/image_08032025_01_47_06_30405.jpg', '/home/nano/Desktop/images/08032025/01/46/image_08032025_01_46_35_29369.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/01/46/image_08032025_01_47_06_30405.jpg
/home/nano/Desktop/images/08032025/01/46/image_08032025_01_46_35_29369.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341662187","1341662160"],"photo_ids_order":["1341662160","1341662187"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/f6aebcac02f339666da12c7b7410cefe.jpg","text":"TemporaryFile(/tmp/multipartBody2394637525550896792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741394912367,"filename":"image_08032025_01_46_35_29369.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/f409fd5e960b875b15f7c173bd2a0d79.jpg","text":"TemporaryFile(/tmp/multipartBody988183478403792249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741394912367,"filename":"image_08032025_01_47_06_30405.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341662187","file0":"1341662160"},"map_files_photo_id_array":[{"photo_id":"1341662187","filename":"file1"},{"photo_id":"1341662160","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341662187":["hashtag1","hashtag2"]},{"1341662160":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341662187, 1341662160)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.474507808685303 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 01:48:02.583225
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 01:48:32.092392
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/01/47/image_08032025_01_48_06_30398.jpg', 2), ('/home/nano/Desktop/images/08032025/01/47/image_08032025_01_47_35_29365.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/01/47/image_08032025_01_48_06_30398.jpg', '/home/nano/Desktop/images/08032025/01/47/image_08032025_01_47_35_29365.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/01/47/image_08032025_01_48_06_30398.jpg
/home/nano/Desktop/images/08032025/01/47/image_08032025_01_47_35_29365.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341662415","1341662342"],"photo_ids_order":["1341662342","1341662415"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/359a4c094777acf20f6262b30e90e93e.jpg","text":"TemporaryFile(/tmp/multipartBody8171425731935806071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741394972445,"filename":"image_08032025_01_47_35_29365.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/7f125d56b5b307d976b2338c3411b0f3.jpg","text":"TemporaryFile(/tmp/multipartBody1295110944541644926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741394972445,"filename":"image_08032025_01_48_06_30398.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341662415","file0":"1341662342"},"map_files_photo_id_array":[{"photo_id":"1341662415","filename":"file1"},{"photo_id":"1341662342","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341662415":["hashtag1","hashtag2"]},{"1341662342":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341662415, 1341662342)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 16.03963589668274 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 01:49:03.003890
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 01:49:32.207932
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/01/48/image_08032025_01_49_05_29373.jpg', 2), ('/home/nano/Desktop/images/08032025/01/48/image_08032025_01_48_36_30420.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/01/48/image_08032025_01_49_05_29373.jpg', '/home/nano/Desktop/images/08032025/01/48/image_08032025_01_48_36_30420.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/01/48/image_08032025_01_49_05_29373.jpg
/home/nano/Desktop/images/08032025/01/48/image_08032025_01_48_36_30420.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341662859","1341662864"],"photo_ids_order":["1341662859","1341662864"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/2c176dbac45ddd89a4053c2900c5a43c.jpg","text":"TemporaryFile(/tmp/multipartBody2830920213608643196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741395032567,"filename":"image_08032025_01_49_05_29373.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/408353885f42da99a21acfea68843a31.jpg","text":"TemporaryFile(/tmp/multipartBody4024625296432539068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741395032567,"filename":"image_08032025_01_48_36_30420.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341662864","file0":"1341662859"},"map_files_photo_id_array":[{"photo_id":"1341662864","filename":"file1"},{"photo_id":"1341662859","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341662859":["hashtag1","hashtag2"]},{"1341662864":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341662859, 1341662864)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.203949451446533 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 01:50:02.880400
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 01:50:32.270170
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/01/49/image_08032025_01_50_05_29391.jpg', 2), ('/home/nano/Desktop/images/08032025/01/49/image_08032025_01_49_36_30410.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/01/49/image_08032025_01_50_05_29391.jpg', '/home/nano/Desktop/images/08032025/01/49/image_08032025_01_49_36_30410.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/01/49/image_08032025_01_50_05_29391.jpg
/home/nano/Desktop/images/08032025/01/49/image_08032025_01_49_36_30410.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341664065","1341663961"],"photo_ids_order":["1341663961","1341664065"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/888618d83e56a6ae54107f095bf4977a.jpg","text":"TemporaryFile(/tmp/multipartBody119702374501104555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741395092602,"filename":"image_08032025_01_49_36_30410.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/8f3641d1f396c9010e1f82cadf657e82.jpg","text":"TemporaryFile(/tmp/multipartBody7290280219014354462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741395092602,"filename":"image_08032025_01_50_05_29391.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341664065","file0":"1341663961"},"map_files_photo_id_array":[{"photo_id":"1341664065","filename":"file1"},{"photo_id":"1341663961","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341664065":["hashtag1","hashtag2"]},{"1341663961":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341664065, 1341663961)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.786845922470093 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 01:51:02.997731
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 01:51:32.429933
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/01/50/image_08032025_01_51_06_30326.jpg', 2), ('/home/nano/Desktop/images/08032025/01/50/image_08032025_01_50_36_30398.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/01/50/image_08032025_01_51_06_30326.jpg', '/home/nano/Desktop/images/08032025/01/50/image_08032025_01_50_36_30398.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/01/50/image_08032025_01_51_06_30326.jpg
/home/nano/Desktop/images/08032025/01/50/image_08032025_01_50_36_30398.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341664424","1341664405"],"photo_ids_order":["1341664405","1341664424"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/aa8a4456a4741daddeb6f37e70d4f41f.jpg","text":"TemporaryFile(/tmp/multipartBody2584956814057719890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741395153218,"filename":"image_08032025_01_50_36_30398.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/074b16eeabaebe65ad1cfd1a2118709c.jpg","text":"TemporaryFile(/tmp/multipartBody3030771128063404421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741395153218,"filename":"image_08032025_01_51_06_30326.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341664424","file0":"1341664405"},"map_files_photo_id_array":[{"photo_id":"1341664424","filename":"file1"},{"photo_id":"1341664405","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341664424":["hashtag1","hashtag2"]},{"1341664405":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341664424, 1341664405)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.99675178527832 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 01:52:02.804282
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 01:52:32.519815
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/01/51/image_08032025_01_52_06_30307.jpg', 2), ('/home/nano/Desktop/images/08032025/01/51/image_08032025_01_51_35_29377.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/01/51/image_08032025_01_52_06_30307.jpg', '/home/nano/Desktop/images/08032025/01/51/image_08032025_01_51_35_29377.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/01/51/image_08032025_01_52_06_30307.jpg
/home/nano/Desktop/images/08032025/01/51/image_08032025_01_51_35_29377.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341664892","1341664864"],"photo_ids_order":["1341664864","1341664892"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/e8bcf8fdf8e2321a2f921a6a9e43643d.jpg","text":"TemporaryFile(/tmp/multipartBody4774811087257717812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741395212872,"filename":"image_08032025_01_51_35_29377.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/b750ff1e461fc36c40cfca3d869fdb47.jpg","text":"TemporaryFile(/tmp/multipartBody7965548529469151957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741395212872,"filename":"image_08032025_01_52_06_30307.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341664892","file0":"1341664864"},"map_files_photo_id_array":[{"photo_id":"1341664892","filename":"file1"},{"photo_id":"1341664864","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341664892":["hashtag1","hashtag2"]},{"1341664864":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341664892, 1341664864)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 16.811289072036743 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 01:53:03.238032
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 01:53:32.623766
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/01/52/image_08032025_01_53_06_30373.jpg', 2), ('/home/nano/Desktop/images/08032025/01/52/image_08032025_01_52_35_29557.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/01/52/image_08032025_01_53_06_30373.jpg', '/home/nano/Desktop/images/08032025/01/52/image_08032025_01_52_35_29557.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/01/52/image_08032025_01_53_06_30373.jpg
/home/nano/Desktop/images/08032025/01/52/image_08032025_01_52_35_29557.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341664999","1341664996"],"photo_ids_order":["1341664996","1341664999"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/9cc7a77a9444628395613431cb8bb558.jpg","text":"TemporaryFile(/tmp/multipartBody3684257549801462421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741395272954,"filename":"image_08032025_01_52_35_29557.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/e610c0b51c98d84c9f88b0bbe88ba2f3.jpg","text":"TemporaryFile(/tmp/multipartBody824821941226918278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741395272954,"filename":"image_08032025_01_53_06_30373.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341664999","file0":"1341664996"},"map_files_photo_id_array":[{"photo_id":"1341664999","filename":"file1"},{"photo_id":"1341664996","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341664999":["hashtag1","hashtag2"]},{"1341664996":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341664999, 1341664996)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 13.872913837432861 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 01:54:03.526548
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 01:54:32.732058
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/01/53/image_08032025_01_54_05_29437.jpg', 2), ('/home/nano/Desktop/images/08032025/01/53/image_08032025_01_53_36_30394.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/01/53/image_08032025_01_54_05_29437.jpg', '/home/nano/Desktop/images/08032025/01/53/image_08032025_01_53_36_30394.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/01/53/image_08032025_01_54_05_29437.jpg
/home/nano/Desktop/images/08032025/01/53/image_08032025_01_53_36_30394.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341665168","1341665157"],"photo_ids_order":["1341665157","1341665168"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/34893d762760fe6e78067bcdc57836ba.jpg","text":"TemporaryFile(/tmp/multipartBody2318620354850355836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741395333088,"filename":"image_08032025_01_53_36_30394.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/c0e983682a5187f7675f4486ab00b6e4.jpg","text":"TemporaryFile(/tmp/multipartBody1709581798324403572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741395333088,"filename":"image_08032025_01_54_05_29437.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341665168","file0":"1341665157"},"map_files_photo_id_array":[{"photo_id":"1341665168","filename":"file1"},{"photo_id":"1341665157","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341665168":["hashtag1","hashtag2"]},{"1341665157":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341665168, 1341665157)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.313153266906738 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 01:55:02.309185
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 01:55:31.811227
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/01/54/image_08032025_01_55_05_29453.jpg', 2), ('/home/nano/Desktop/images/08032025/01/54/image_08032025_01_54_36_30427.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/01/54/image_08032025_01_55_05_29453.jpg', '/home/nano/Desktop/images/08032025/01/54/image_08032025_01_54_36_30427.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/01/54/image_08032025_01_55_05_29453.jpg
/home/nano/Desktop/images/08032025/01/54/image_08032025_01_54_36_30427.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341665540","1341665543"],"photo_ids_order":["1341665540","1341665543"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/2fbf8d97bb4c03668fe957610ad92799.jpg","text":"TemporaryFile(/tmp/multipartBody6399130676269573182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741395392155,"filename":"image_08032025_01_55_05_29453.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/3c51b15f2336d5c66aef2bd3e2ce827f.jpg","text":"TemporaryFile(/tmp/multipartBody1757212683012648086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741395392155,"filename":"image_08032025_01_54_36_30427.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341665543","file0":"1341665540"},"map_files_photo_id_array":[{"photo_id":"1341665543","filename":"file1"},{"photo_id":"1341665540","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341665540":["hashtag1","hashtag2"]},{"1341665543":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341665540, 1341665543)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.151403188705444 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 01:56:02.406572
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 01:56:31.902849
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/01/55/image_08032025_01_56_06_30250.jpg', 2), ('/home/nano/Desktop/images/08032025/01/55/image_08032025_01_55_36_30538.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/01/55/image_08032025_01_56_06_30250.jpg', '/home/nano/Desktop/images/08032025/01/55/image_08032025_01_55_36_30538.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/01/55/image_08032025_01_56_06_30250.jpg
/home/nano/Desktop/images/08032025/01/55/image_08032025_01_55_36_30538.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341665919","1341665784"],"photo_ids_order":["1341665784","1341665919"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/c2aab2b62368f4c25401130058318fff.jpg","text":"TemporaryFile(/tmp/multipartBody3605061615814511556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741395452233,"filename":"image_08032025_01_55_36_30538.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/a2054ebc41d66cbb72b48212e182ed8d.jpg","text":"TemporaryFile(/tmp/multipartBody417423227258985282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741395452233,"filename":"image_08032025_01_56_06_30250.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341665919","file0":"1341665784"},"map_files_photo_id_array":[{"photo_id":"1341665919","filename":"file1"},{"photo_id":"1341665784","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341665919":["hashtag1","hashtag2"]},{"1341665784":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341665919, 1341665784)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 16.090723991394043 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 01:57:02.529290
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 01:57:31.997535
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/01/56/image_08032025_01_57_06_30400.jpg', 2), ('/home/nano/Desktop/images/08032025/01/56/image_08032025_01_56_35_29291.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/01/56/image_08032025_01_57_06_30400.jpg', '/home/nano/Desktop/images/08032025/01/56/image_08032025_01_56_35_29291.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/01/56/image_08032025_01_57_06_30400.jpg
/home/nano/Desktop/images/08032025/01/56/image_08032025_01_56_35_29291.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341666075","1341666071"],"photo_ids_order":["1341666071","1341666075"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/39c3fcbb8ca75da5cc4c1c62c7ed615e.jpg","text":"TemporaryFile(/tmp/multipartBody2565386943071615274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741395512348,"filename":"image_08032025_01_56_35_29291.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/9a3bc56e0efaf9bf45ae973018de1cd0.jpg","text":"TemporaryFile(/tmp/multipartBody6612812431188891097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741395512348,"filename":"image_08032025_01_57_06_30400.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341666075","file0":"1341666071"},"map_files_photo_id_array":[{"photo_id":"1341666075","filename":"file1"},{"photo_id":"1341666071","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341666075":["hashtag1","hashtag2"]},{"1341666071":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341666075, 1341666071)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.860642194747925 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 01:59:03.423256
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 01:59:32.567267
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 4 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/01/58/image_08032025_01_59_05_30370.jpg', 2), ('/home/nano/Desktop/images/08032025/01/58/image_08032025_01_58_35_29367.jpg', 2), ('/home/nano/Desktop/images/08032025/01/57/image_08032025_01_58_06_30468.jpg', 2), ('/home/nano/Desktop/images/08032025/01/57/image_08032025_01_57_35_29539.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/01/58/image_08032025_01_59_05_30370.jpg', '/home/nano/Desktop/images/08032025/01/58/image_08032025_01_58_35_29367.jpg', '/home/nano/Desktop/images/08032025/01/57/image_08032025_01_58_06_30468.jpg', '/home/nano/Desktop/images/08032025/01/57/image_08032025_01_57_35_29539.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/01/58/image_08032025_01_59_05_30370.jpg
/home/nano/Desktop/images/08032025/01/58/image_08032025_01_58_35_29367.jpg
/home/nano/Desktop/images/08032025/01/57/image_08032025_01_58_06_30468.jpg
/home/nano/Desktop/images/08032025/01/57/image_08032025_01_57_35_29539.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341666614","1341666703","1341666564","1341666645"],"photo_ids_order":["1341666564","1341666614","1341666645","1341666703"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/1d104bbd55df1f0f5f598a096f3ab3d9.jpg","text":"TemporaryFile(/tmp/multipartBody7530615304896159946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741395632979,"filename":"image_08032025_01_58_35_29367.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/cec5c46f03f223fbb34fbba65ffb8481.jpg","text":"TemporaryFile(/tmp/multipartBody2559323870669490546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741395632979,"filename":"image_08032025_01_57_35_29539.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/e3c73efa5afe5fdf88eb2de68ee218c8.jpg","text":"TemporaryFile(/tmp/multipartBody5730920190067950083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741395632979,"filename":"image_08032025_01_59_05_30370.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/c946ab83dcaeed862cf54852f8cd217b.jpg","text":"TemporaryFile(/tmp/multipartBody3919934028248812158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741395632979,"filename":"image_08032025_01_58_06_30468.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341666645","file1":"1341666614","file0":"1341666564","file3":"1341666703"},"map_files_photo_id_array":[{"photo_id":"1341666645","filename":"file2"},{"photo_id":"1341666614","filename":"file1"},{"photo_id":"1341666564","filename":"file0"},{"photo_id":"1341666703","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341666614":["hashtag1","hashtag2"]},{"1341666703":["hashtag1","hashtag2"]},{"1341666564":["hashtag1","hashtag2"]},{"1341666645":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341666614, 1341666703, 1341666564, 1341666645)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 25.40933918952942 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 02:00:03.276369
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 02:00:32.669220
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/01/59/image_08032025_02_00_05_29439.jpg', 2), ('/home/nano/Desktop/images/08032025/01/59/image_08032025_01_59_36_30486.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/01/59/image_08032025_02_00_05_29439.jpg', '/home/nano/Desktop/images/08032025/01/59/image_08032025_01_59_36_30486.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/01/59/image_08032025_02_00_05_29439.jpg
/home/nano/Desktop/images/08032025/01/59/image_08032025_01_59_36_30486.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341667205","1341667249"],"photo_ids_order":["1341667205","1341667249"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/411cf1d81411875b87cf397f841189f4.jpg","text":"TemporaryFile(/tmp/multipartBody2320222689026335562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741395693029,"filename":"image_08032025_02_00_05_29439.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/83f2535f148a6560ddf94313e528dcce.jpg","text":"TemporaryFile(/tmp/multipartBody5179871297292143995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741395693029,"filename":"image_08032025_01_59_36_30486.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341667249","file0":"1341667205"},"map_files_photo_id_array":[{"photo_id":"1341667249","filename":"file1"},{"photo_id":"1341667205","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341667205":["hashtag1","hashtag2"]},{"1341667249":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341667205, 1341667249)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 16.21674609184265 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 02:01:02.342942
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 02:01:31.796968
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/02/00/image_08032025_02_01_05_29403.jpg', 2), ('/home/nano/Desktop/images/08032025/02/00/image_08032025_02_00_36_30307.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/02/00/image_08032025_02_01_05_29403.jpg', '/home/nano/Desktop/images/08032025/02/00/image_08032025_02_00_36_30307.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/02/00/image_08032025_02_01_05_29403.jpg
/home/nano/Desktop/images/08032025/02/00/image_08032025_02_00_36_30307.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341667711","1341667685"],"photo_ids_order":["1341667685","1341667711"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/94f2de6758119b4789da3737def08d54.jpg","text":"TemporaryFile(/tmp/multipartBody2417590128994759047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741395752139,"filename":"image_08032025_02_00_36_30307.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/05f4c0575ec81376ebb62ad1eb34268b.jpg","text":"TemporaryFile(/tmp/multipartBody7432988747515454774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741395752139,"filename":"image_08032025_02_01_05_29403.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341667711","file0":"1341667685"},"map_files_photo_id_array":[{"photo_id":"1341667711","filename":"file1"},{"photo_id":"1341667685","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341667711":["hashtag1","hashtag2"]},{"1341667685":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341667711, 1341667685)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.84641695022583 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 02:02:02.440895
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 02:02:31.868354
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/02/01/image_08032025_02_02_06_30384.jpg', 2), ('/home/nano/Desktop/images/08032025/02/01/image_08032025_02_01_36_30470.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/02/01/image_08032025_02_02_06_30384.jpg', '/home/nano/Desktop/images/08032025/02/01/image_08032025_02_01_36_30470.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/02/01/image_08032025_02_02_06_30384.jpg
/home/nano/Desktop/images/08032025/02/01/image_08032025_02_01_36_30470.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341668259","1341668315"],"photo_ids_order":["1341668259","1341668315"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/6cf83252a278e0fae413cf39c204f533.jpg","text":"TemporaryFile(/tmp/multipartBody4642280140866185701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741395812388,"filename":"image_08032025_02_02_06_30384.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/9bc9966dc3cbe47860a4d008abefb790.jpg","text":"TemporaryFile(/tmp/multipartBody3770747227337135169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741395812388,"filename":"image_08032025_02_01_36_30470.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341668315","file0":"1341668259"},"map_files_photo_id_array":[{"photo_id":"1341668315","filename":"file1"},{"photo_id":"1341668259","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341668259":["hashtag1","hashtag2"]},{"1341668315":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341668259, 1341668315)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.899903535842896 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 02:03:02.448542
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 02:03:31.966064
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/02/02/image_08032025_02_03_06_30530.jpg', 2), ('/home/nano/Desktop/images/08032025/02/02/image_08032025_02_02_35_29185.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/02/02/image_08032025_02_03_06_30530.jpg', '/home/nano/Desktop/images/08032025/02/02/image_08032025_02_02_35_29185.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/02/02/image_08032025_02_03_06_30530.jpg
/home/nano/Desktop/images/08032025/02/02/image_08032025_02_02_35_29185.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341668711","1341668705"],"photo_ids_order":["1341668705","1341668711"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/d328f1bf236f85e089c8aa4551dad323.jpg","text":"TemporaryFile(/tmp/multipartBody620705028912763382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741395872435,"filename":"image_08032025_02_02_35_29185.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/3b55c8e6f5051c5ee2d52847c1467ac9.jpg","text":"TemporaryFile(/tmp/multipartBody6584083805854821908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741395872435,"filename":"image_08032025_02_03_06_30530.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341668711","file0":"1341668705"},"map_files_photo_id_array":[{"photo_id":"1341668711","filename":"file1"},{"photo_id":"1341668705","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341668711":["hashtag1","hashtag2"]},{"1341668705":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341668711, 1341668705)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.593915700912476 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 02:04:02.850710
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 02:04:32.076242
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/02/03/image_08032025_02_04_05_29261.jpg', 2), ('/home/nano/Desktop/images/08032025/02/03/image_08032025_02_03_36_30314.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/02/03/image_08032025_02_04_05_29261.jpg', '/home/nano/Desktop/images/08032025/02/03/image_08032025_02_03_36_30314.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/02/03/image_08032025_02_04_05_29261.jpg
/home/nano/Desktop/images/08032025/02/03/image_08032025_02_03_36_30314.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341669183","1341669146"],"photo_ids_order":["1341669146","1341669183"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/61f2515f7c5d8c23aee989b8155bb8ab.jpg","text":"TemporaryFile(/tmp/multipartBody7502608832856112070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741395932455,"filename":"image_08032025_02_03_36_30314.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/a91a24654dfd79f6b3fa8daa9c142dc8.jpg","text":"TemporaryFile(/tmp/multipartBody3055538856047274261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741395932455,"filename":"image_08032025_02_04_05_29261.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341669183","file0":"1341669146"},"map_files_photo_id_array":[{"photo_id":"1341669183","filename":"file1"},{"photo_id":"1341669146","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341669183":["hashtag1","hashtag2"]},{"1341669146":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341669183, 1341669146)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.357484817504883 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 02:05:02.639348
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 02:05:32.192855
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/02/04/image_08032025_02_05_06_30381.jpg', 2), ('/home/nano/Desktop/images/08032025/02/04/image_08032025_02_04_36_30378.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/02/04/image_08032025_02_05_06_30381.jpg', '/home/nano/Desktop/images/08032025/02/04/image_08032025_02_04_36_30378.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/02/04/image_08032025_02_05_06_30381.jpg
/home/nano/Desktop/images/08032025/02/04/image_08032025_02_04_36_30378.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341669602","1341669589"],"photo_ids_order":["1341669589","1341669602"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/9c3b3b2e9e7a73b754cef22a21610327.jpg","text":"TemporaryFile(/tmp/multipartBody9036574873494795017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741395992531,"filename":"image_08032025_02_04_36_30378.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/2c8498295b11b1121855165e6adf8d22.jpg","text":"TemporaryFile(/tmp/multipartBody6892938707265612452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741395992531,"filename":"image_08032025_02_05_06_30381.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341669602","file0":"1341669589"},"map_files_photo_id_array":[{"photo_id":"1341669602","filename":"file1"},{"photo_id":"1341669589","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341669602":["hashtag1","hashtag2"]},{"1341669589":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341669602, 1341669589)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.065918445587158 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 02:06:02.945462
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 02:06:32.291062
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/02/05/image_08032025_02_06_06_30354.jpg', 2), ('/home/nano/Desktop/images/08032025/02/05/image_08032025_02_05_35_29374.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/02/05/image_08032025_02_06_06_30354.jpg', '/home/nano/Desktop/images/08032025/02/05/image_08032025_02_05_35_29374.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/02/05/image_08032025_02_06_06_30354.jpg
/home/nano/Desktop/images/08032025/02/05/image_08032025_02_05_35_29374.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341670237","1341670376"],"photo_ids_order":["1341670237","1341670376"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/bfd7dd0157ba171ae30f5b23d9c7ea35.jpg","text":"TemporaryFile(/tmp/multipartBody9040222876909060175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741396052672,"filename":"image_08032025_02_06_06_30354.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/cb1ddebb76bb5dd3ff364e6e29b98ca7.jpg","text":"TemporaryFile(/tmp/multipartBody8913091825981861470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741396052672,"filename":"image_08032025_02_05_35_29374.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341670376","file0":"1341670237"},"map_files_photo_id_array":[{"photo_id":"1341670376","filename":"file1"},{"photo_id":"1341670237","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341670237":["hashtag1","hashtag2"]},{"1341670376":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341670237, 1341670376)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.46869397163391 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 02:07:02.984366
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 02:07:32.400012
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/02/06/image_08032025_02_07_05_30352.jpg', 2), ('/home/nano/Desktop/images/08032025/02/06/image_08032025_02_06_35_29339.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/02/06/image_08032025_02_07_05_30352.jpg', '/home/nano/Desktop/images/08032025/02/06/image_08032025_02_06_35_29339.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/02/06/image_08032025_02_07_05_30352.jpg
/home/nano/Desktop/images/08032025/02/06/image_08032025_02_06_35_29339.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341671311","1341671349"],"photo_ids_order":["1341671311","1341671349"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/001aa4f62b8252f40a6693c15b82cd1c.jpg","text":"TemporaryFile(/tmp/multipartBody5075031086980511898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741396112742,"filename":"image_08032025_02_07_05_30352.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/8623affa303ce2eccc15e3a051d31577.jpg","text":"TemporaryFile(/tmp/multipartBody1082674428341809885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741396112742,"filename":"image_08032025_02_06_35_29339.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341671349","file0":"1341671311"},"map_files_photo_id_array":[{"photo_id":"1341671349","filename":"file1"},{"photo_id":"1341671311","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341671311":["hashtag1","hashtag2"]},{"1341671349":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341671311, 1341671349)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 16.794620513916016 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 02:08:03.129420
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 02:08:32.528546
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/02/07/image_08032025_02_08_05_29339.jpg', 2), ('/home/nano/Desktop/images/08032025/02/07/image_08032025_02_07_36_30309.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/02/07/image_08032025_02_08_05_29339.jpg', '/home/nano/Desktop/images/08032025/02/07/image_08032025_02_07_36_30309.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/02/07/image_08032025_02_08_05_29339.jpg
/home/nano/Desktop/images/08032025/02/07/image_08032025_02_07_36_30309.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341672091","1341672057"],"photo_ids_order":["1341672057","1341672091"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/57a5523532e672617590df41735a62a1.jpg","text":"TemporaryFile(/tmp/multipartBody6973838158290071254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741396172863,"filename":"image_08032025_02_07_36_30309.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/2c93c37d386a6479c73c76049aa81260.jpg","text":"TemporaryFile(/tmp/multipartBody2072225524196718092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741396172863,"filename":"image_08032025_02_08_05_29339.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341672091","file0":"1341672057"},"map_files_photo_id_array":[{"photo_id":"1341672091","filename":"file1"},{"photo_id":"1341672057","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341672091":["hashtag1","hashtag2"]},{"1341672057":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341672091, 1341672057)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.78002405166626 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 02:09:03.333071
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 02:09:32.597035
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/02/08/image_08032025_02_09_05_29514.jpg', 2), ('/home/nano/Desktop/images/08032025/02/08/image_08032025_02_08_36_30574.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/02/08/image_08032025_02_09_05_29514.jpg', '/home/nano/Desktop/images/08032025/02/08/image_08032025_02_08_36_30574.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/02/08/image_08032025_02_09_05_29514.jpg
/home/nano/Desktop/images/08032025/02/08/image_08032025_02_08_36_30574.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341672476","1341672613"],"photo_ids_order":["1341672476","1341672613"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/dcdbc1ed6b79254fb58f119b8ef58837.jpg","text":"TemporaryFile(/tmp/multipartBody2645363112298137993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741396232932,"filename":"image_08032025_02_09_05_29514.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/a83ae08ae4e41b66f0cb08fcabfedf4a.jpg","text":"TemporaryFile(/tmp/multipartBody7802034364657106848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741396232932,"filename":"image_08032025_02_08_36_30574.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341672613","file0":"1341672476"},"map_files_photo_id_array":[{"photo_id":"1341672613","filename":"file1"},{"photo_id":"1341672476","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341672476":["hashtag1","hashtag2"]},{"1341672613":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341672476, 1341672613)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.005502939224243 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 02:10:03.343673
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 02:10:32.691769
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/02/09/image_08032025_02_10_06_30387.jpg', 2), ('/home/nano/Desktop/images/08032025/02/09/image_08032025_02_09_36_30378.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/02/09/image_08032025_02_10_06_30387.jpg', '/home/nano/Desktop/images/08032025/02/09/image_08032025_02_09_36_30378.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/02/09/image_08032025_02_10_06_30387.jpg
/home/nano/Desktop/images/08032025/02/09/image_08032025_02_09_36_30378.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341673082","1341673101"],"photo_ids_order":["1341673082","1341673101"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/ce97667bae9d0d4af5cadbc1d8817ab9.jpg","text":"TemporaryFile(/tmp/multipartBody2076018176026738660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741396293032,"filename":"image_08032025_02_10_06_30387.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/15d4c8c702934a500a767ab3f920fedd.jpg","text":"TemporaryFile(/tmp/multipartBody4004095185962140488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741396293032,"filename":"image_08032025_02_09_36_30378.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341673101","file0":"1341673082"},"map_files_photo_id_array":[{"photo_id":"1341673101","filename":"file1"},{"photo_id":"1341673082","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341673082":["hashtag1","hashtag2"]},{"1341673101":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341673082, 1341673101)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.898702144622803 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 02:11:02.284713
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 02:11:31.777404
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/02/10/image_08032025_02_11_06_29594.jpg', 2), ('/home/nano/Desktop/images/08032025/02/10/image_08032025_02_10_36_30108.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/02/10/image_08032025_02_11_06_29594.jpg', '/home/nano/Desktop/images/08032025/02/10/image_08032025_02_10_36_30108.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/02/10/image_08032025_02_11_06_29594.jpg
/home/nano/Desktop/images/08032025/02/10/image_08032025_02_10_36_30108.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341673462","1341673467"],"photo_ids_order":["1341673462","1341673467"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/d9d6ec1ff4017588e40153becd1258dc.jpg","text":"TemporaryFile(/tmp/multipartBody8283481883181323108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741396352131,"filename":"image_08032025_02_11_06_29594.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/33008e9976fbdbf75e68c461d6c76366.jpg","text":"TemporaryFile(/tmp/multipartBody2937028379517469136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741396352131,"filename":"image_08032025_02_10_36_30108.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341673467","file0":"1341673462"},"map_files_photo_id_array":[{"photo_id":"1341673467","filename":"file1"},{"photo_id":"1341673462","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341673462":["hashtag1","hashtag2"]},{"1341673467":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341673462, 1341673467)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.092676401138306 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 02:12:02.473218
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 02:12:31.891274
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/02/11/image_08032025_02_12_06_29537.jpg', 2), ('/home/nano/Desktop/images/08032025/02/11/image_08032025_02_11_36_30389.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/02/11/image_08032025_02_12_06_29537.jpg', '/home/nano/Desktop/images/08032025/02/11/image_08032025_02_11_36_30389.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/02/11/image_08032025_02_12_06_29537.jpg
/home/nano/Desktop/images/08032025/02/11/image_08032025_02_11_36_30389.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341673540","1341673536"],"photo_ids_order":["1341673536","1341673540"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/9693becf03f44ce1216ca17d2a62af68.jpg","text":"TemporaryFile(/tmp/multipartBody1813213962763864618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741396412229,"filename":"image_08032025_02_11_36_30389.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/0a38eda27e3d5f827b76123116de99be.jpg","text":"TemporaryFile(/tmp/multipartBody1501452986993234845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741396412229,"filename":"image_08032025_02_12_06_29537.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341673540","file0":"1341673536"},"map_files_photo_id_array":[{"photo_id":"1341673540","filename":"file1"},{"photo_id":"1341673536","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341673540":["hashtag1","hashtag2"]},{"1341673536":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341673540, 1341673536)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 16.263530254364014 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 02:13:02.565314
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 02:13:31.994420
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/02/12/image_08032025_02_13_06_30344.jpg', 2), ('/home/nano/Desktop/images/08032025/02/12/image_08032025_02_12_35_29617.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/02/12/image_08032025_02_13_06_30344.jpg', '/home/nano/Desktop/images/08032025/02/12/image_08032025_02_12_35_29617.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/02/12/image_08032025_02_13_06_30344.jpg
/home/nano/Desktop/images/08032025/02/12/image_08032025_02_12_35_29617.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341673925","1341673934"],"photo_ids_order":["1341673925","1341673934"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/1c11a250ade5c582d0f24454302b6d30.jpg","text":"TemporaryFile(/tmp/multipartBody6317470853366300003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741396472320,"filename":"image_08032025_02_13_06_30344.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/d3cf7ec4fb181df721ccf06bf41b41ad.jpg","text":"TemporaryFile(/tmp/multipartBody2136869941140780328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741396472320,"filename":"image_08032025_02_12_35_29617.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341673934","file0":"1341673925"},"map_files_photo_id_array":[{"photo_id":"1341673934","filename":"file1"},{"photo_id":"1341673925","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341673925":["hashtag1","hashtag2"]},{"1341673934":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341673925, 1341673934)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.791111469268799 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 02:14:02.874879
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 02:14:32.104345
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/02/13/image_08032025_02_14_06_30233.jpg', 2), ('/home/nano/Desktop/images/08032025/02/13/image_08032025_02_13_36_30160.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/02/13/image_08032025_02_14_06_30233.jpg', '/home/nano/Desktop/images/08032025/02/13/image_08032025_02_13_36_30160.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/02/13/image_08032025_02_14_06_30233.jpg
/home/nano/Desktop/images/08032025/02/13/image_08032025_02_13_36_30160.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341674284","1341674364"],"photo_ids_order":["1341674284","1341674364"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/4161e0c42ea2cb55048424f4cd7b970d.jpg","text":"TemporaryFile(/tmp/multipartBody6840472161841914558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741396532441,"filename":"image_08032025_02_14_06_30233.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/cb6b108e439ed382cb1bbebdc76fd7d5.jpg","text":"TemporaryFile(/tmp/multipartBody290104122247253420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741396532441,"filename":"image_08032025_02_13_36_30160.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341674364","file0":"1341674284"},"map_files_photo_id_array":[{"photo_id":"1341674364","filename":"file1"},{"photo_id":"1341674284","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341674284":["hashtag1","hashtag2"]},{"1341674364":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341674284, 1341674364)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 18.290278911590576 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 02:15:02.864880
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 02:15:32.187545
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/02/14/image_08032025_02_15_06_30471.jpg', 2), ('/home/nano/Desktop/images/08032025/02/14/image_08032025_02_14_35_29329.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/02/14/image_08032025_02_15_06_30471.jpg', '/home/nano/Desktop/images/08032025/02/14/image_08032025_02_14_35_29329.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/02/14/image_08032025_02_15_06_30471.jpg
/home/nano/Desktop/images/08032025/02/14/image_08032025_02_14_35_29329.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341674506","1341674490"],"photo_ids_order":["1341674490","1341674506"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/6259630473f89fddeb6e58ab86f5b8e4.jpg","text":"TemporaryFile(/tmp/multipartBody9035960334365320780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741396592520,"filename":"image_08032025_02_14_35_29329.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/639c2c2afb9f0c8bcb9c882c066cf386.jpg","text":"TemporaryFile(/tmp/multipartBody3229594837330412617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741396592520,"filename":"image_08032025_02_15_06_30471.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341674506","file0":"1341674490"},"map_files_photo_id_array":[{"photo_id":"1341674506","filename":"file1"},{"photo_id":"1341674490","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341674506":["hashtag1","hashtag2"]},{"1341674490":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341674506, 1341674490)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.685840368270874 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 02:16:02.796761
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 02:16:32.294241
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/02/15/image_08032025_02_16_05_29421.jpg', 2), ('/home/nano/Desktop/images/08032025/02/15/image_08032025_02_15_36_30308.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/02/15/image_08032025_02_16_05_29421.jpg', '/home/nano/Desktop/images/08032025/02/15/image_08032025_02_15_36_30308.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/02/15/image_08032025_02_16_05_29421.jpg
/home/nano/Desktop/images/08032025/02/15/image_08032025_02_15_36_30308.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341674534","1341674532"],"photo_ids_order":["1341674532","1341674534"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/c2177e203e481be07798cd10ad618f1c.jpg","text":"TemporaryFile(/tmp/multipartBody6476097052615835230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741396652728,"filename":"image_08032025_02_15_36_30308.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/aa8398ce0ab579b578485a50ef372469.jpg","text":"TemporaryFile(/tmp/multipartBody15777381759690188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741396652728,"filename":"image_08032025_02_16_05_29421.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341674534","file0":"1341674532"},"map_files_photo_id_array":[{"photo_id":"1341674534","filename":"file1"},{"photo_id":"1341674532","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341674534":["hashtag1","hashtag2"]},{"1341674532":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341674534, 1341674532)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 16.265413284301758 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 02:17:02.977240
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 02:17:32.412984
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/02/16/image_08032025_02_17_05_29387.jpg', 2), ('/home/nano/Desktop/images/08032025/02/16/image_08032025_02_16_36_30463.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/02/16/image_08032025_02_17_05_29387.jpg', '/home/nano/Desktop/images/08032025/02/16/image_08032025_02_16_36_30463.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/02/16/image_08032025_02_17_05_29387.jpg
/home/nano/Desktop/images/08032025/02/16/image_08032025_02_16_36_30463.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341674563","1341674559"],"photo_ids_order":["1341674559","1341674563"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/a069c57cae71e196bdd56996a319f73e.jpg","text":"TemporaryFile(/tmp/multipartBody2597921565233293943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741396712748,"filename":"image_08032025_02_16_36_30463.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/a59741cadc3d668c78adf535393276a6.jpg","text":"TemporaryFile(/tmp/multipartBody7016854692929313900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741396712748,"filename":"image_08032025_02_17_05_29387.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341674563","file0":"1341674559"},"map_files_photo_id_array":[{"photo_id":"1341674563","filename":"file1"},{"photo_id":"1341674559","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341674563":["hashtag1","hashtag2"]},{"1341674559":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341674563, 1341674559)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 16.484965562820435 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 02:18:03.058940
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 02:18:32.512015
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/02/17/image_08032025_02_18_05_29418.jpg', 2), ('/home/nano/Desktop/images/08032025/02/17/image_08032025_02_17_36_30406.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/02/17/image_08032025_02_18_05_29418.jpg', '/home/nano/Desktop/images/08032025/02/17/image_08032025_02_17_36_30406.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/02/17/image_08032025_02_18_05_29418.jpg
/home/nano/Desktop/images/08032025/02/17/image_08032025_02_17_36_30406.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341674745","1341674742"],"photo_ids_order":["1341674742","1341674745"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/b0637367876cb33db9a3be09eba75ec8.jpg","text":"TemporaryFile(/tmp/multipartBody9097480403078770362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741396772871,"filename":"image_08032025_02_17_36_30406.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/625cc0590dbf2c427e3d604da3a9b041.jpg","text":"TemporaryFile(/tmp/multipartBody6902988848835379123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741396772871,"filename":"image_08032025_02_18_05_29418.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341674745","file0":"1341674742"},"map_files_photo_id_array":[{"photo_id":"1341674745","filename":"file1"},{"photo_id":"1341674742","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341674745":["hashtag1","hashtag2"]},{"1341674742":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341674745, 1341674742)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.912142515182495 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 02:19:03.545310
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 02:19:32.592795
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/02/18/image_08032025_02_19_06_30341.jpg', 2), ('/home/nano/Desktop/images/08032025/02/18/image_08032025_02_18_36_30460.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/02/18/image_08032025_02_19_06_30341.jpg', '/home/nano/Desktop/images/08032025/02/18/image_08032025_02_18_36_30460.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/02/18/image_08032025_02_19_06_30341.jpg
/home/nano/Desktop/images/08032025/02/18/image_08032025_02_18_36_30460.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341674787","1341674806"],"photo_ids_order":["1341674787","1341674806"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/552936191e83e3f16fe5554700dc95d5.jpg","text":"TemporaryFile(/tmp/multipartBody855291142900135028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741396832918,"filename":"image_08032025_02_19_06_30341.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/5c512ccb00ba04221c305e13345e3e3f.jpg","text":"TemporaryFile(/tmp/multipartBody500713729722716765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741396832918,"filename":"image_08032025_02_18_36_30460.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341674806","file0":"1341674787"},"map_files_photo_id_array":[{"photo_id":"1341674806","filename":"file1"},{"photo_id":"1341674787","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341674787":["hashtag1","hashtag2"]},{"1341674806":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341674787, 1341674806)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.854307651519775 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 02:20:03.289289
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 02:20:32.706084
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/02/19/image_08032025_02_20_06_30390.jpg', 2), ('/home/nano/Desktop/images/08032025/02/19/image_08032025_02_19_35_29266.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/02/19/image_08032025_02_20_06_30390.jpg', '/home/nano/Desktop/images/08032025/02/19/image_08032025_02_19_35_29266.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/02/19/image_08032025_02_20_06_30390.jpg
/home/nano/Desktop/images/08032025/02/19/image_08032025_02_19_35_29266.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.26651978492736816 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 marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 02:21:02.480320
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/02/19/image_08032025_02_20_06_30390.jpg', 2), ('/home/nano/Desktop/images/08032025/02/19/image_08032025_02_19_35_29266.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/02/19/image_08032025_02_20_06_30390.jpg', '/home/nano/Desktop/images/08032025/02/19/image_08032025_02_19_35_29266.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/02/19/image_08032025_02_20_06_30390.jpg
/home/nano/Desktop/images/08032025/02/19/image_08032025_02_19_35_29266.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341675082","1341675092"],"photo_ids_order":["1341675082","1341675092"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/97e18cfc6942b84d66dad6794dc3331e.jpg","text":"TemporaryFile(/tmp/multipartBody235267256675108211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741396922841,"filename":"image_08032025_02_20_06_30390.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/3a8c70ba263cb7408c455ba60a96fbd1.jpg","text":"TemporaryFile(/tmp/multipartBody6394530742618517651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741396922841,"filename":"image_08032025_02_19_35_29266.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341675092","file0":"1341675082"},"map_files_photo_id_array":[{"photo_id":"1341675092","filename":"file1"},{"photo_id":"1341675082","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341675082":["hashtag1","hashtag2"]},{"1341675092":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341675082, 1341675092)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.666975975036621 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 02:21:31.823252
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/02/20/image_08032025_02_21_05_29254.jpg', 2), ('/home/nano/Desktop/images/08032025/02/20/image_08032025_02_20_36_30485.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/02/20/image_08032025_02_21_05_29254.jpg', '/home/nano/Desktop/images/08032025/02/20/image_08032025_02_20_36_30485.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/02/20/image_08032025_02_21_05_29254.jpg
/home/nano/Desktop/images/08032025/02/20/image_08032025_02_20_36_30485.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341675138","1341675286"],"photo_ids_order":["1341675138","1341675286"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/4c97d7c10621c92ac08c847e6eb0ed41.jpg","text":"TemporaryFile(/tmp/multipartBody8553376050903661920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741396952227,"filename":"image_08032025_02_21_05_29254.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/cbb8d051fa5e7462f4b1c519e5943eb0.jpg","text":"TemporaryFile(/tmp/multipartBody484864393046606076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741396952227,"filename":"image_08032025_02_20_36_30485.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341675286","file0":"1341675138"},"map_files_photo_id_array":[{"photo_id":"1341675286","filename":"file1"},{"photo_id":"1341675138","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341675138":["hashtag1","hashtag2"]},{"1341675286":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341675138, 1341675286)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.519825458526611 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 02:22:02.430011
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 02:22:31.896791
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/02/21/image_08032025_02_22_06_30367.jpg', 2), ('/home/nano/Desktop/images/08032025/02/21/image_08032025_02_21_36_30329.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/02/21/image_08032025_02_22_06_30367.jpg', '/home/nano/Desktop/images/08032025/02/21/image_08032025_02_21_36_30329.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/02/21/image_08032025_02_22_06_30367.jpg
/home/nano/Desktop/images/08032025/02/21/image_08032025_02_21_36_30329.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341675867","1341675768"],"photo_ids_order":["1341675768","1341675867"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/73560a67e2c3192a49f97ed21ced7b06.jpg","text":"TemporaryFile(/tmp/multipartBody2553125105696193137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741397012327,"filename":"image_08032025_02_21_36_30329.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/4c62c4db31745f761ec9c0e246f6377c.jpg","text":"TemporaryFile(/tmp/multipartBody983558041629296838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741397012327,"filename":"image_08032025_02_22_06_30367.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341675867","file0":"1341675768"},"map_files_photo_id_array":[{"photo_id":"1341675867","filename":"file1"},{"photo_id":"1341675768","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341675867":["hashtag1","hashtag2"]},{"1341675768":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341675867, 1341675768)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 19.411972522735596 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 02:23:02.612028
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 02:23:32.007304
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/02/22/image_08032025_02_23_06_30460.jpg', 2), ('/home/nano/Desktop/images/08032025/02/22/image_08032025_02_22_36_29538.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/02/22/image_08032025_02_23_06_30460.jpg', '/home/nano/Desktop/images/08032025/02/22/image_08032025_02_22_36_29538.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/02/22/image_08032025_02_23_06_30460.jpg
/home/nano/Desktop/images/08032025/02/22/image_08032025_02_22_36_29538.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341676860","1341676856"],"photo_ids_order":["1341676856","1341676860"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/878c7a854ac1d12f43254cbfd61d9437.jpg","text":"TemporaryFile(/tmp/multipartBody5506671242223913698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741397072359,"filename":"image_08032025_02_22_36_29538.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/6ea156213287f79d95d6bd284f5b0ac7.jpg","text":"TemporaryFile(/tmp/multipartBody2312770246155385491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741397072359,"filename":"image_08032025_02_23_06_30460.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341676860","file0":"1341676856"},"map_files_photo_id_array":[{"photo_id":"1341676860","filename":"file1"},{"photo_id":"1341676856","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341676860":["hashtag1","hashtag2"]},{"1341676856":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341676860, 1341676856)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.528786659240723 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 02:24:02.693179
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 02:24:32.116445
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/02/23/image_08032025_02_24_06_30285.jpg', 2), ('/home/nano/Desktop/images/08032025/02/23/image_08032025_02_23_35_29414.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/02/23/image_08032025_02_24_06_30285.jpg', '/home/nano/Desktop/images/08032025/02/23/image_08032025_02_23_35_29414.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/02/23/image_08032025_02_24_06_30285.jpg
/home/nano/Desktop/images/08032025/02/23/image_08032025_02_23_35_29414.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341677296","1341677359"],"photo_ids_order":["1341677296","1341677359"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/cebb3cb5b829594a361339a8c052a240.jpg","text":"TemporaryFile(/tmp/multipartBody4188898130023874439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741397132438,"filename":"image_08032025_02_24_06_30285.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/cff0da080a6b5681817d03313c745821.jpg","text":"TemporaryFile(/tmp/multipartBody7370907605289952468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741397132438,"filename":"image_08032025_02_23_35_29414.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341677359","file0":"1341677296"},"map_files_photo_id_array":[{"photo_id":"1341677359","filename":"file1"},{"photo_id":"1341677296","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341677296":["hashtag1","hashtag2"]},{"1341677359":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341677296, 1341677359)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.607791662216187 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 02:25:02.806790
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 02:25:32.269681
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/02/24/image_08032025_02_25_06_30281.jpg', 2), ('/home/nano/Desktop/images/08032025/02/24/image_08032025_02_24_35_29465.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/02/24/image_08032025_02_25_06_30281.jpg', '/home/nano/Desktop/images/08032025/02/24/image_08032025_02_24_35_29465.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/02/24/image_08032025_02_25_06_30281.jpg
/home/nano/Desktop/images/08032025/02/24/image_08032025_02_24_35_29465.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341677687","1341677656"],"photo_ids_order":["1341677656","1341677687"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/304563fabb7d02efd4026d883ffdfa40.jpg","text":"TemporaryFile(/tmp/multipartBody3702389551423181776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741397192609,"filename":"image_08032025_02_24_35_29465.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/025aa3a96f35c1c19e05a3fe2898277f.jpg","text":"TemporaryFile(/tmp/multipartBody8052585230536026157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741397192609,"filename":"image_08032025_02_25_06_30281.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341677687","file0":"1341677656"},"map_files_photo_id_array":[{"photo_id":"1341677687","filename":"file1"},{"photo_id":"1341677656","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341677687":["hashtag1","hashtag2"]},{"1341677656":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341677687, 1341677656)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.722548961639404 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 02:26:02.883421
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 02:26:32.355358
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/02/25/image_08032025_02_26_06_29626.jpg', 2), ('/home/nano/Desktop/images/08032025/02/25/image_08032025_02_25_36_30408.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/02/25/image_08032025_02_26_06_29626.jpg', '/home/nano/Desktop/images/08032025/02/25/image_08032025_02_25_36_30408.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/02/25/image_08032025_02_26_06_29626.jpg
/home/nano/Desktop/images/08032025/02/25/image_08032025_02_25_36_30408.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341678108","1341678137"],"photo_ids_order":["1341678108","1341678137"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/981b7187294116b0342bd51de183cd2e.jpg","text":"TemporaryFile(/tmp/multipartBody5238635218203889659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741397252710,"filename":"image_08032025_02_26_06_29626.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/6e9abce79dd6ccaf56779601ef55a0c7.jpg","text":"TemporaryFile(/tmp/multipartBody8824303483840653892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741397252710,"filename":"image_08032025_02_25_36_30408.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341678137","file0":"1341678108"},"map_files_photo_id_array":[{"photo_id":"1341678137","filename":"file1"},{"photo_id":"1341678108","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341678108":["hashtag1","hashtag2"]},{"1341678137":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341678108, 1341678137)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.387328863143921 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 02:27:03.042004
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 02:27:32.452703
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/02/26/image_08032025_02_27_05_29259.jpg', 2), ('/home/nano/Desktop/images/08032025/02/26/image_08032025_02_26_36_30439.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/02/26/image_08032025_02_27_05_29259.jpg', '/home/nano/Desktop/images/08032025/02/26/image_08032025_02_26_36_30439.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/02/26/image_08032025_02_27_05_29259.jpg
/home/nano/Desktop/images/08032025/02/26/image_08032025_02_26_36_30439.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341678731","1341678800"],"photo_ids_order":["1341678731","1341678800"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/393b55a9435270a8b891fd08485e0aa9.jpg","text":"TemporaryFile(/tmp/multipartBody6659496100773508836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741397312779,"filename":"image_08032025_02_27_05_29259.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/7c793bb18a85b174efc57fbf7c50bd84.jpg","text":"TemporaryFile(/tmp/multipartBody1305787982554609261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741397312779,"filename":"image_08032025_02_26_36_30439.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341678800","file0":"1341678731"},"map_files_photo_id_array":[{"photo_id":"1341678800","filename":"file1"},{"photo_id":"1341678731","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341678731":["hashtag1","hashtag2"]},{"1341678800":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341678731, 1341678800)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.742557048797607 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 02:28:03.266828
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 02:28:32.546287
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/02/27/image_08032025_02_28_06_30418.jpg', 2), ('/home/nano/Desktop/images/08032025/02/27/image_08032025_02_27_35_30235.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/02/27/image_08032025_02_28_06_30418.jpg', '/home/nano/Desktop/images/08032025/02/27/image_08032025_02_27_35_30235.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/02/27/image_08032025_02_28_06_30418.jpg
/home/nano/Desktop/images/08032025/02/27/image_08032025_02_27_35_30235.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341679294","1341679290"],"photo_ids_order":["1341679290","1341679294"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/a0e92c2e3d975dfa6bb51f4434f24a87.jpg","text":"TemporaryFile(/tmp/multipartBody6164805013219870651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741397372963,"filename":"image_08032025_02_27_35_30235.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/eee229d56ed79df492f5e5fee00397a6.jpg","text":"TemporaryFile(/tmp/multipartBody1315846322557516186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741397372963,"filename":"image_08032025_02_28_06_30418.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341679294","file0":"1341679290"},"map_files_photo_id_array":[{"photo_id":"1341679294","filename":"file1"},{"photo_id":"1341679290","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341679294":["hashtag1","hashtag2"]},{"1341679290":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341679294, 1341679290)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 16.541720151901245 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 02:29:03.532101
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 02:29:32.639461
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/02/28/image_08032025_02_29_06_30496.jpg', 2), ('/home/nano/Desktop/images/08032025/02/28/image_08032025_02_28_35_29318.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/02/28/image_08032025_02_29_06_30496.jpg', '/home/nano/Desktop/images/08032025/02/28/image_08032025_02_28_35_29318.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/02/28/image_08032025_02_29_06_30496.jpg
/home/nano/Desktop/images/08032025/02/28/image_08032025_02_28_35_29318.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341679376","1341679380"],"photo_ids_order":["1341679376","1341679380"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/fd17801063132913eda714928a20d928.jpg","text":"TemporaryFile(/tmp/multipartBody2289466498120002255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741397432985,"filename":"image_08032025_02_29_06_30496.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/394983382397d40522ea3b2a89a508b2.jpg","text":"TemporaryFile(/tmp/multipartBody8668529657503256381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741397432985,"filename":"image_08032025_02_28_35_29318.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341679380","file0":"1341679376"},"map_files_photo_id_array":[{"photo_id":"1341679380","filename":"file1"},{"photo_id":"1341679376","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341679376":["hashtag1","hashtag2"]},{"1341679380":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341679376, 1341679380)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.128924131393433 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 02:30:03.338530
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/02/29/image_08032025_02_30_06_30365.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/02/29/image_08032025_02_30_06_30365.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/02/29/image_08032025_02_30_06_30365.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341679397"],"photo_id":"1341679397","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/1bb4e3a944ee9f77df54b89441512956.jpg","text":"TemporaryFile(/tmp/multipartBody6447118008385382378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741397463646,"filename":"image_08032025_02_30_06_30365.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1341679397"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1341679397"}],"hashtags":[],"portfolio_id":"21163824","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 10.08012580871582 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 02:30:32.753909
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/02/29/image_08032025_02_29_35_29590.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/02/29/image_08032025_02_29_35_29590.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/02/29/image_08032025_02_29_35_29590.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341679446"],"photo_id":"1341679446","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/6702cd348a74ce3c8d841761a5f57e3f.jpg","text":"TemporaryFile(/tmp/multipartBody6625861500703299902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741397493046,"filename":"image_08032025_02_29_35_29590.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1341679446"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1341679446"}],"hashtags":[],"portfolio_id":"21163824","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 10.902353525161743 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 02:31:02.454973
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 02:31:31.879705
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/02/30/image_08032025_02_31_06_29528.jpg', 2), ('/home/nano/Desktop/images/08032025/02/30/image_08032025_02_30_36_30344.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/02/30/image_08032025_02_31_06_29528.jpg', '/home/nano/Desktop/images/08032025/02/30/image_08032025_02_30_36_30344.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/02/30/image_08032025_02_31_06_29528.jpg
/home/nano/Desktop/images/08032025/02/30/image_08032025_02_30_36_30344.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341679542","1341679539"],"photo_ids_order":["1341679539","1341679542"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/53b659e0d872bbd57c1c4441b661a7ec.jpg","text":"TemporaryFile(/tmp/multipartBody5373283408676194060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741397552205,"filename":"image_08032025_02_30_36_30344.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/df3bc56612ef60e2a3d7985d9bf883bb.jpg","text":"TemporaryFile(/tmp/multipartBody1069566565033573751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741397552205,"filename":"image_08032025_02_31_06_29528.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341679542","file0":"1341679539"},"map_files_photo_id_array":[{"photo_id":"1341679542","filename":"file1"},{"photo_id":"1341679539","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341679542":["hashtag1","hashtag2"]},{"1341679539":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341679542, 1341679539)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.089170694351196 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 02:32:02.298947
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 02:32:31.971445
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/02/31/image_08032025_02_32_05_29175.jpg', 2), ('/home/nano/Desktop/images/08032025/02/31/image_08032025_02_31_36_30439.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/02/31/image_08032025_02_32_05_29175.jpg', '/home/nano/Desktop/images/08032025/02/31/image_08032025_02_31_36_30439.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/02/31/image_08032025_02_32_05_29175.jpg
/home/nano/Desktop/images/08032025/02/31/image_08032025_02_31_36_30439.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341679730","1341679723"],"photo_ids_order":["1341679723","1341679730"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/ce588d39eba165fc05f354876e81ae7b.jpg","text":"TemporaryFile(/tmp/multipartBody3908154985317060715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741397612299,"filename":"image_08032025_02_31_36_30439.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/df7ec76f34aed90d7b540998ec8283ec.jpg","text":"TemporaryFile(/tmp/multipartBody7565326644137407109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741397612299,"filename":"image_08032025_02_32_05_29175.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341679730","file0":"1341679723"},"map_files_photo_id_array":[{"photo_id":"1341679730","filename":"file1"},{"photo_id":"1341679723","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341679730":["hashtag1","hashtag2"]},{"1341679723":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341679730, 1341679723)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.345169067382812 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 02:33:02.619813
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 02:33:32.106160
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/02/32/image_08032025_02_33_05_29642.jpg', 2), ('/home/nano/Desktop/images/08032025/02/32/image_08032025_02_32_36_30422.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/02/32/image_08032025_02_33_05_29642.jpg', '/home/nano/Desktop/images/08032025/02/32/image_08032025_02_32_36_30422.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/02/32/image_08032025_02_33_05_29642.jpg
/home/nano/Desktop/images/08032025/02/32/image_08032025_02_32_36_30422.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341679832","1341679824"],"photo_ids_order":["1341679824","1341679832"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/23b5b0f4707e4d665f9bd9d4f5813072.jpg","text":"TemporaryFile(/tmp/multipartBody7200839266419919188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741397672458,"filename":"image_08032025_02_32_36_30422.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/87097f1a9b9356141c2afab09793930b.jpg","text":"TemporaryFile(/tmp/multipartBody8708142166779890974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741397672458,"filename":"image_08032025_02_33_05_29642.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341679832","file0":"1341679824"},"map_files_photo_id_array":[{"photo_id":"1341679832","filename":"file1"},{"photo_id":"1341679824","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341679832":["hashtag1","hashtag2"]},{"1341679824":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341679832, 1341679824)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.1165771484375 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 02:34:03.164502
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 02:34:32.204760
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/02/33/image_08032025_02_34_06_30439.jpg', 2), ('/home/nano/Desktop/images/08032025/02/33/image_08032025_02_33_36_30402.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/02/33/image_08032025_02_34_06_30439.jpg', '/home/nano/Desktop/images/08032025/02/33/image_08032025_02_33_36_30402.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/02/33/image_08032025_02_34_06_30439.jpg
/home/nano/Desktop/images/08032025/02/33/image_08032025_02_33_36_30402.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341680069","1341680085"],"photo_ids_order":["1341680069","1341680085"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/657ddf509391c0297e3c26170d30e258.jpg","text":"TemporaryFile(/tmp/multipartBody3506668384529774811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741397732536,"filename":"image_08032025_02_34_06_30439.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/769995c420a2086eb5de4ea823fa47bf.jpg","text":"TemporaryFile(/tmp/multipartBody3877760727332834637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741397732536,"filename":"image_08032025_02_33_36_30402.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341680085","file0":"1341680069"},"map_files_photo_id_array":[{"photo_id":"1341680085","filename":"file1"},{"photo_id":"1341680069","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341680069":["hashtag1","hashtag2"]},{"1341680085":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341680069, 1341680085)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 13.787489414215088 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 02:35:02.858527
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 02:35:32.299916
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/02/34/image_08032025_02_35_06_30605.jpg', 2), ('/home/nano/Desktop/images/08032025/02/34/image_08032025_02_34_36_29445.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/02/34/image_08032025_02_35_06_30605.jpg', '/home/nano/Desktop/images/08032025/02/34/image_08032025_02_34_36_29445.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/02/34/image_08032025_02_35_06_30605.jpg
/home/nano/Desktop/images/08032025/02/34/image_08032025_02_34_36_29445.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341680205","1341680199"],"photo_ids_order":["1341680199","1341680205"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/e554df4fa986b5acc7b392fa95d3d329.jpg","text":"TemporaryFile(/tmp/multipartBody7570202815575218281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741397792634,"filename":"image_08032025_02_34_36_29445.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/ad831f85800f88b324f90c3a19375d4a.jpg","text":"TemporaryFile(/tmp/multipartBody3228474667908696280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741397792634,"filename":"image_08032025_02_35_06_30605.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341680205","file0":"1341680199"},"map_files_photo_id_array":[{"photo_id":"1341680205","filename":"file1"},{"photo_id":"1341680199","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341680205":["hashtag1","hashtag2"]},{"1341680199":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341680205, 1341680199)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 16.982219696044922 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 02:36:02.899485
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 02:36:32.381349
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/02/35/image_08032025_02_36_06_30406.jpg', 2), ('/home/nano/Desktop/images/08032025/02/35/image_08032025_02_35_35_29332.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/02/35/image_08032025_02_36_06_30406.jpg', '/home/nano/Desktop/images/08032025/02/35/image_08032025_02_35_35_29332.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/02/35/image_08032025_02_36_06_30406.jpg
/home/nano/Desktop/images/08032025/02/35/image_08032025_02_35_35_29332.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341680802","1341680915"],"photo_ids_order":["1341680802","1341680915"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/2fc0fb51910ea7bee24bd68acae0c5e2.jpg","text":"TemporaryFile(/tmp/multipartBody2256585446866583717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741397852719,"filename":"image_08032025_02_36_06_30406.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/b6e39952f599382b0286f3ff24e37f99.jpg","text":"TemporaryFile(/tmp/multipartBody110417706523601183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741397852719,"filename":"image_08032025_02_35_35_29332.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341680915","file0":"1341680802"},"map_files_photo_id_array":[{"photo_id":"1341680915","filename":"file1"},{"photo_id":"1341680802","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341680802":["hashtag1","hashtag2"]},{"1341680915":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341680802, 1341680915)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 16.850080251693726 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 02:37:03.047183
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 02:37:32.501294
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/02/36/image_08032025_02_37_06_30405.jpg', 2), ('/home/nano/Desktop/images/08032025/02/36/image_08032025_02_36_35_29483.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/02/36/image_08032025_02_37_06_30405.jpg', '/home/nano/Desktop/images/08032025/02/36/image_08032025_02_36_35_29483.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/02/36/image_08032025_02_37_06_30405.jpg
/home/nano/Desktop/images/08032025/02/36/image_08032025_02_36_35_29483.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341681410","1341681496"],"photo_ids_order":["1341681410","1341681496"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/c688ad6fc7f0f9392a53d8c3757980d3.jpg","text":"TemporaryFile(/tmp/multipartBody2128140358608909203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741397912847,"filename":"image_08032025_02_37_06_30405.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/b45f66ce4e6ac59047b5a0147dda4970.jpg","text":"TemporaryFile(/tmp/multipartBody9026420689451778700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741397912847,"filename":"image_08032025_02_36_35_29483.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341681496","file0":"1341681410"},"map_files_photo_id_array":[{"photo_id":"1341681496","filename":"file1"},{"photo_id":"1341681410","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341681410":["hashtag1","hashtag2"]},{"1341681496":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341681410, 1341681496)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 16.785475969314575 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 02:38:03.231470
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 02:38:32.637596
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/02/37/image_08032025_02_38_05_29416.jpg', 2), ('/home/nano/Desktop/images/08032025/02/37/image_08032025_02_37_36_30314.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/02/37/image_08032025_02_38_05_29416.jpg', '/home/nano/Desktop/images/08032025/02/37/image_08032025_02_37_36_30314.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/02/37/image_08032025_02_38_05_29416.jpg
/home/nano/Desktop/images/08032025/02/37/image_08032025_02_37_36_30314.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341682215","1341682268"],"photo_ids_order":["1341682215","1341682268"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/0075850dbc971e10a5321f01b2f42441.jpg","text":"TemporaryFile(/tmp/multipartBody6348786166498644172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741397972984,"filename":"image_08032025_02_38_05_29416.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/c25a9b7069386722c8c979951ea36bb5.jpg","text":"TemporaryFile(/tmp/multipartBody8256891559986378969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741397972984,"filename":"image_08032025_02_37_36_30314.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341682268","file0":"1341682215"},"map_files_photo_id_array":[{"photo_id":"1341682268","filename":"file1"},{"photo_id":"1341682215","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341682215":["hashtag1","hashtag2"]},{"1341682268":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341682215, 1341682268)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 16.682465076446533 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 02:39:03.514980
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 02:39:32.732500
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/02/38/image_08032025_02_39_05_29433.jpg', 2), ('/home/nano/Desktop/images/08032025/02/38/image_08032025_02_38_36_30358.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/02/38/image_08032025_02_39_05_29433.jpg', '/home/nano/Desktop/images/08032025/02/38/image_08032025_02_38_36_30358.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/02/38/image_08032025_02_39_05_29433.jpg
/home/nano/Desktop/images/08032025/02/38/image_08032025_02_38_36_30358.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341682504","1341682472"],"photo_ids_order":["1341682472","1341682504"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/3c221d77baa127e73d93081e8eabc611.jpg","text":"TemporaryFile(/tmp/multipartBody2523154672510277958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741398033057,"filename":"image_08032025_02_38_36_30358.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/d8b5538f8d2fdea62ac88908a77a1bb7.jpg","text":"TemporaryFile(/tmp/multipartBody6542592208219524855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741398033057,"filename":"image_08032025_02_39_05_29433.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341682504","file0":"1341682472"},"map_files_photo_id_array":[{"photo_id":"1341682504","filename":"file1"},{"photo_id":"1341682472","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341682504":["hashtag1","hashtag2"]},{"1341682472":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341682504, 1341682472)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 16.53827404975891 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 02:40:02.432818
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 02:40:31.841116
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/02/39/image_08032025_02_40_06_30418.jpg', 2), ('/home/nano/Desktop/images/08032025/02/39/image_08032025_02_39_36_30279.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/02/39/image_08032025_02_40_06_30418.jpg', '/home/nano/Desktop/images/08032025/02/39/image_08032025_02_39_36_30279.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/02/39/image_08032025_02_40_06_30418.jpg
/home/nano/Desktop/images/08032025/02/39/image_08032025_02_39_36_30279.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341682678","1341682661"],"photo_ids_order":["1341682661","1341682678"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/d2ac4e88bcb3915e7b684ac9d893d7a5.jpg","text":"TemporaryFile(/tmp/multipartBody1092367166587150609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741398092220,"filename":"image_08032025_02_39_36_30279.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/94dbed96ab7bce0e7aec67259ffe1df4.jpg","text":"TemporaryFile(/tmp/multipartBody5037955788239579878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741398092220,"filename":"image_08032025_02_40_06_30418.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341682678","file0":"1341682661"},"map_files_photo_id_array":[{"photo_id":"1341682678","filename":"file1"},{"photo_id":"1341682661","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341682678":["hashtag1","hashtag2"]},{"1341682661":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341682678, 1341682661)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 16.92717981338501 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 02:41:02.464931
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 02:41:31.939027
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/02/40/image_08032025_02_41_06_30448.jpg', 2), ('/home/nano/Desktop/images/08032025/02/40/image_08032025_02_40_35_29494.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/02/40/image_08032025_02_41_06_30448.jpg', '/home/nano/Desktop/images/08032025/02/40/image_08032025_02_40_35_29494.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/02/40/image_08032025_02_41_06_30448.jpg
/home/nano/Desktop/images/08032025/02/40/image_08032025_02_40_35_29494.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341682936","1341682959"],"photo_ids_order":["1341682936","1341682959"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/02cec6c7fb0b544a3ebbd2c2e5f0c520.jpg","text":"TemporaryFile(/tmp/multipartBody8338509479921494048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741398152284,"filename":"image_08032025_02_41_06_30448.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/af250dc37ae20c1e33d57c29713e8792.jpg","text":"TemporaryFile(/tmp/multipartBody1210054244241037760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741398152284,"filename":"image_08032025_02_40_35_29494.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341682959","file0":"1341682936"},"map_files_photo_id_array":[{"photo_id":"1341682959","filename":"file1"},{"photo_id":"1341682936","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341682936":["hashtag1","hashtag2"]},{"1341682959":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341682936, 1341682959)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 25.61343789100647 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 02:42:02.540111
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 02:42:32.033555
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/02/41/image_08032025_02_42_05_29334.jpg', 2), ('/home/nano/Desktop/images/08032025/02/41/image_08032025_02_41_36_30192.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/02/41/image_08032025_02_42_05_29334.jpg', '/home/nano/Desktop/images/08032025/02/41/image_08032025_02_41_36_30192.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/02/41/image_08032025_02_42_05_29334.jpg
/home/nano/Desktop/images/08032025/02/41/image_08032025_02_41_36_30192.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341683332","1341683417"],"photo_ids_order":["1341683332","1341683417"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/3667dfd94cb8fb70e9cadf4f300bd034.jpg","text":"TemporaryFile(/tmp/multipartBody2371227587981092979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741398212383,"filename":"image_08032025_02_42_05_29334.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/f5a954313454fd76271dfb181c7eb1b4.jpg","text":"TemporaryFile(/tmp/multipartBody8808713299246044724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741398212383,"filename":"image_08032025_02_41_36_30192.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341683417","file0":"1341683332"},"map_files_photo_id_array":[{"photo_id":"1341683417","filename":"file1"},{"photo_id":"1341683332","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341683332":["hashtag1","hashtag2"]},{"1341683417":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341683332, 1341683417)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 18.697691679000854 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 02:43:02.663694
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 02:43:32.144201
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/02/42/image_08032025_02_43_05_29346.jpg', 2), ('/home/nano/Desktop/images/08032025/02/42/image_08032025_02_42_36_30521.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/02/42/image_08032025_02_43_05_29346.jpg', '/home/nano/Desktop/images/08032025/02/42/image_08032025_02_42_36_30521.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/02/42/image_08032025_02_43_05_29346.jpg
/home/nano/Desktop/images/08032025/02/42/image_08032025_02_42_36_30521.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341683844","1341683828"],"photo_ids_order":["1341683828","1341683844"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/17210a9a15fdb0b3ad9926478d333dbb.jpg","text":"TemporaryFile(/tmp/multipartBody8975057928203731518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741398272470,"filename":"image_08032025_02_42_36_30521.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/83a9e849006890fdb013a433aac69ca9.jpg","text":"TemporaryFile(/tmp/multipartBody948231948743839047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741398272470,"filename":"image_08032025_02_43_05_29346.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341683844","file0":"1341683828"},"map_files_photo_id_array":[{"photo_id":"1341683844","filename":"file1"},{"photo_id":"1341683828","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341683844":["hashtag1","hashtag2"]},{"1341683828":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341683844, 1341683828)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 16.7143235206604 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 02:44:03.048495
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 02:44:32.246005
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/02/43/image_08032025_02_44_06_30413.jpg', 2), ('/home/nano/Desktop/images/08032025/02/43/image_08032025_02_43_36_30313.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/02/43/image_08032025_02_44_06_30413.jpg', '/home/nano/Desktop/images/08032025/02/43/image_08032025_02_43_36_30313.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/02/43/image_08032025_02_44_06_30413.jpg
/home/nano/Desktop/images/08032025/02/43/image_08032025_02_43_36_30313.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341683997","1341683988"],"photo_ids_order":["1341683988","1341683997"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/e52090a8d745063574d2827ee78f9fe3.jpg","text":"TemporaryFile(/tmp/multipartBody2378650121454099225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741398332602,"filename":"image_08032025_02_43_36_30313.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/65b6364f925bc371632bd1bd2f3fdd24.jpg","text":"TemporaryFile(/tmp/multipartBody9080963893607193970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741398332602,"filename":"image_08032025_02_44_06_30413.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341683997","file0":"1341683988"},"map_files_photo_id_array":[{"photo_id":"1341683997","filename":"file1"},{"photo_id":"1341683988","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341683997":["hashtag1","hashtag2"]},{"1341683988":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341683997, 1341683988)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.218664646148682 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 02:45:02.870668
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 02:45:32.416980
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/02/44/image_08032025_02_45_06_30363.jpg', 2), ('/home/nano/Desktop/images/08032025/02/44/image_08032025_02_44_36_29638.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/02/44/image_08032025_02_45_06_30363.jpg', '/home/nano/Desktop/images/08032025/02/44/image_08032025_02_44_36_29638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/02/44/image_08032025_02_45_06_30363.jpg
/home/nano/Desktop/images/08032025/02/44/image_08032025_02_44_36_29638.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341684198","1341684194"],"photo_ids_order":["1341684194","1341684198"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/f64cc93c9d0eb1247c8b563255e36154.jpg","text":"TemporaryFile(/tmp/multipartBody6800791213835417488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741398392756,"filename":"image_08032025_02_44_36_29638.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/54108249e41e92b6c09785bbc18d677c.jpg","text":"TemporaryFile(/tmp/multipartBody4901474214944541913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741398392756,"filename":"image_08032025_02_45_06_30363.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341684198","file0":"1341684194"},"map_files_photo_id_array":[{"photo_id":"1341684198","filename":"file1"},{"photo_id":"1341684194","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341684198":["hashtag1","hashtag2"]},{"1341684194":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341684198, 1341684194)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 16.085726976394653 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 02:46:03.064362
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 02:46:32.529168
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/02/45/image_08032025_02_46_06_30396.jpg', 2), ('/home/nano/Desktop/images/08032025/02/45/image_08032025_02_45_35_29368.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/02/45/image_08032025_02_46_06_30396.jpg', '/home/nano/Desktop/images/08032025/02/45/image_08032025_02_45_35_29368.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/02/45/image_08032025_02_46_06_30396.jpg
/home/nano/Desktop/images/08032025/02/45/image_08032025_02_45_35_29368.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341684330","1341684322"],"photo_ids_order":["1341684322","1341684330"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/c418cb6b68ac0c04bc3baac5c1125123.jpg","text":"TemporaryFile(/tmp/multipartBody8719209463777728172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741398452872,"filename":"image_08032025_02_45_35_29368.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/e2584033c436c6106e3f2cbe8194f413.jpg","text":"TemporaryFile(/tmp/multipartBody4645262405699202666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741398452872,"filename":"image_08032025_02_46_06_30396.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341684330","file0":"1341684322"},"map_files_photo_id_array":[{"photo_id":"1341684330","filename":"file1"},{"photo_id":"1341684322","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341684330":["hashtag1","hashtag2"]},{"1341684322":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341684330, 1341684322)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 16.79330825805664 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 02:47:03.248713
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/02/46/image_08032025_02_47_06_30393.jpg', 2), ('/home/nano/Desktop/images/08032025/02/46/image_08032025_02_46_35_29357.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/02/46/image_08032025_02_47_06_30393.jpg', '/home/nano/Desktop/images/08032025/02/46/image_08032025_02_46_35_29357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/02/46/image_08032025_02_47_06_30393.jpg
/home/nano/Desktop/images/08032025/02/46/image_08032025_02_46_35_29357.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341684351","1341684362"],"photo_ids_order":["1341684351","1341684362"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/7f07f0787bb412a04c4a68c6e9f5bc0e.jpg","text":"TemporaryFile(/tmp/multipartBody7794705565006552613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741398483601,"filename":"image_08032025_02_47_06_30393.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/562da0b7b7a505191aa1fd5f686eb300.jpg","text":"TemporaryFile(/tmp/multipartBody252731195254489857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741398483601,"filename":"image_08032025_02_46_35_29357.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341684362","file0":"1341684351"},"map_files_photo_id_array":[{"photo_id":"1341684362","filename":"file1"},{"photo_id":"1341684351","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341684351":["hashtag1","hashtag2"]},{"1341684362":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341684351, 1341684362)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.827641010284424 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 02:47:32.619662
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 02:48:03.309097
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 02:48:32.721479
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/02/47/image_08032025_02_48_06_30100.jpg', 2), ('/home/nano/Desktop/images/08032025/02/47/image_08032025_02_47_36_30331.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/02/47/image_08032025_02_48_06_30100.jpg', '/home/nano/Desktop/images/08032025/02/47/image_08032025_02_47_36_30331.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/02/47/image_08032025_02_48_06_30100.jpg
/home/nano/Desktop/images/08032025/02/47/image_08032025_02_47_36_30331.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341684558","1341684563"],"photo_ids_order":["1341684558","1341684563"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/e59457c9d4a1bbb13b1e3f64f9eb6cc4.jpg","text":"TemporaryFile(/tmp/multipartBody7980738126125986809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741398573055,"filename":"image_08032025_02_48_06_30100.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/fc9a1bf1feda3de944142b599f3f5fb8.jpg","text":"TemporaryFile(/tmp/multipartBody6490455460978839926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741398573055,"filename":"image_08032025_02_47_36_30331.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341684563","file0":"1341684558"},"map_files_photo_id_array":[{"photo_id":"1341684563","filename":"file1"},{"photo_id":"1341684558","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341684558":["hashtag1","hashtag2"]},{"1341684563":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341684558, 1341684563)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.037599086761475 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 02:49:02.686782
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 02:49:31.841429
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/02/48/image_08032025_02_49_06_30331.jpg', 2), ('/home/nano/Desktop/images/08032025/02/48/image_08032025_02_48_35_29313.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/02/48/image_08032025_02_49_06_30331.jpg', '/home/nano/Desktop/images/08032025/02/48/image_08032025_02_48_35_29313.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/02/48/image_08032025_02_49_06_30331.jpg
/home/nano/Desktop/images/08032025/02/48/image_08032025_02_48_35_29313.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341684597","1341684606"],"photo_ids_order":["1341684597","1341684606"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/ae79fd7d925368ac16b8cdfecb6ccd99.jpg","text":"TemporaryFile(/tmp/multipartBody3629035477875221972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741398632179,"filename":"image_08032025_02_49_06_30331.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/c378f208eb8436f1d6f2ccc1891f5bf9.jpg","text":"TemporaryFile(/tmp/multipartBody8679949806999276130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741398632179,"filename":"image_08032025_02_48_35_29313.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341684606","file0":"1341684597"},"map_files_photo_id_array":[{"photo_id":"1341684606","filename":"file1"},{"photo_id":"1341684597","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341684597":["hashtag1","hashtag2"]},{"1341684606":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341684597, 1341684606)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.506627559661865 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 02:50:02.382850
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 02:50:31.933070
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/02/49/image_08032025_02_50_05_29327.jpg', 2), ('/home/nano/Desktop/images/08032025/02/49/image_08032025_02_49_36_30480.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/02/49/image_08032025_02_50_05_29327.jpg', '/home/nano/Desktop/images/08032025/02/49/image_08032025_02_49_36_30480.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/02/49/image_08032025_02_50_05_29327.jpg
/home/nano/Desktop/images/08032025/02/49/image_08032025_02_49_36_30480.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341684808","1341684899"],"photo_ids_order":["1341684808","1341684899"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/8ad2cea4a95976c7723c040bf45300a5.jpg","text":"TemporaryFile(/tmp/multipartBody8692830532407265939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741398692291,"filename":"image_08032025_02_50_05_29327.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/ad11914d9437d2b29e3f1f8d22a21309.jpg","text":"TemporaryFile(/tmp/multipartBody7210035209105928297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741398692291,"filename":"image_08032025_02_49_36_30480.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341684899","file0":"1341684808"},"map_files_photo_id_array":[{"photo_id":"1341684899","filename":"file1"},{"photo_id":"1341684808","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341684808":["hashtag1","hashtag2"]},{"1341684899":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341684808, 1341684899)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 16.03991937637329 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 02:51:02.617774
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 02:51:32.013291
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/02/50/image_08032025_02_51_05_29436.jpg', 2), ('/home/nano/Desktop/images/08032025/02/50/image_08032025_02_50_36_30441.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/02/50/image_08032025_02_51_05_29436.jpg', '/home/nano/Desktop/images/08032025/02/50/image_08032025_02_50_36_30441.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/02/50/image_08032025_02_51_05_29436.jpg
/home/nano/Desktop/images/08032025/02/50/image_08032025_02_50_36_30441.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341685502","1341685459"],"photo_ids_order":["1341685459","1341685502"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/96b7a7097d9275695310240b0bfac595.jpg","text":"TemporaryFile(/tmp/multipartBody3459727579638260935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741398752351,"filename":"image_08032025_02_50_36_30441.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/9fc040387608728ff858cd6d658032ae.jpg","text":"TemporaryFile(/tmp/multipartBody8358738602450234369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741398752351,"filename":"image_08032025_02_51_05_29436.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341685502","file0":"1341685459"},"map_files_photo_id_array":[{"photo_id":"1341685502","filename":"file1"},{"photo_id":"1341685459","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341685502":["hashtag1","hashtag2"]},{"1341685459":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341685502, 1341685459)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 19.289757251739502 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 02:52:02.696241
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 02:52:32.096790
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/02/51/image_08032025_02_52_05_29526.jpg', 2), ('/home/nano/Desktop/images/08032025/02/51/image_08032025_02_51_36_30511.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/02/51/image_08032025_02_52_05_29526.jpg', '/home/nano/Desktop/images/08032025/02/51/image_08032025_02_51_36_30511.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/02/51/image_08032025_02_52_05_29526.jpg
/home/nano/Desktop/images/08032025/02/51/image_08032025_02_51_36_30511.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341686188","1341686104"],"photo_ids_order":["1341686104","1341686188"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/dc7eeef3e0d0881adb1ccda99cf5494a.jpg","text":"TemporaryFile(/tmp/multipartBody7126190216361360278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741398812428,"filename":"image_08032025_02_51_36_30511.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/e21b78a4071b1b029cf8d7b9848f28e6.jpg","text":"TemporaryFile(/tmp/multipartBody4083494305733944026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741398812428,"filename":"image_08032025_02_52_05_29526.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341686188","file0":"1341686104"},"map_files_photo_id_array":[{"photo_id":"1341686188","filename":"file1"},{"photo_id":"1341686104","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341686188":["hashtag1","hashtag2"]},{"1341686104":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341686188, 1341686104)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 16.94027042388916 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 02:53:02.821052
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 02:53:32.186020
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/02/52/image_08032025_02_53_06_30336.jpg', 2), ('/home/nano/Desktop/images/08032025/02/52/image_08032025_02_52_36_30402.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/02/52/image_08032025_02_53_06_30336.jpg', '/home/nano/Desktop/images/08032025/02/52/image_08032025_02_52_36_30402.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/02/52/image_08032025_02_53_06_30336.jpg
/home/nano/Desktop/images/08032025/02/52/image_08032025_02_52_36_30402.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341686951","1341686855"],"photo_ids_order":["1341686855","1341686951"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/955bc6337c5c50c4fcb5a4e0fc21bb69.jpg","text":"TemporaryFile(/tmp/multipartBody965117416678476490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741398872535,"filename":"image_08032025_02_52_36_30402.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/1f962e08efae6918dad1ff2601faabe0.jpg","text":"TemporaryFile(/tmp/multipartBody4185979637407506720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741398872535,"filename":"image_08032025_02_53_06_30336.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341686951","file0":"1341686855"},"map_files_photo_id_array":[{"photo_id":"1341686951","filename":"file1"},{"photo_id":"1341686855","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341686951":["hashtag1","hashtag2"]},{"1341686855":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341686951, 1341686855)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 19.237891674041748 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 02:54:03.138301
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 02:54:32.275399
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/02/53/image_08032025_02_54_06_30298.jpg', 2), ('/home/nano/Desktop/images/08032025/02/53/image_08032025_02_53_35_29278.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/02/53/image_08032025_02_54_06_30298.jpg', '/home/nano/Desktop/images/08032025/02/53/image_08032025_02_53_35_29278.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/02/53/image_08032025_02_54_06_30298.jpg
/home/nano/Desktop/images/08032025/02/53/image_08032025_02_53_35_29278.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.26233935356140137 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 marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 02:55:02.891152
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/02/53/image_08032025_02_54_06_30298.jpg', 2), ('/home/nano/Desktop/images/08032025/02/53/image_08032025_02_53_35_29278.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/02/53/image_08032025_02_54_06_30298.jpg', '/home/nano/Desktop/images/08032025/02/53/image_08032025_02_53_35_29278.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/02/53/image_08032025_02_54_06_30298.jpg
/home/nano/Desktop/images/08032025/02/53/image_08032025_02_53_35_29278.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341687302","1341687330"],"photo_ids_order":["1341687302","1341687330"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/2ec73d2f6828ec580298e4ef06249ef7.jpg","text":"TemporaryFile(/tmp/multipartBody4106481416027642186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741398963222,"filename":"image_08032025_02_54_06_30298.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/f16805c7e9a2e5ca8ce049811a57d92d.jpg","text":"TemporaryFile(/tmp/multipartBody7709245535506961676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741398963222,"filename":"image_08032025_02_53_35_29278.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341687330","file0":"1341687302"},"map_files_photo_id_array":[{"photo_id":"1341687330","filename":"file1"},{"photo_id":"1341687302","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341687302":["hashtag1","hashtag2"]},{"1341687330":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341687302, 1341687330)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 13.934950590133667 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 02:55:32.363631
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/02/54/image_08032025_02_55_05_29253.jpg', 2), ('/home/nano/Desktop/images/08032025/02/54/image_08032025_02_54_36_30255.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/02/54/image_08032025_02_55_05_29253.jpg', '/home/nano/Desktop/images/08032025/02/54/image_08032025_02_54_36_30255.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/02/54/image_08032025_02_55_05_29253.jpg
/home/nano/Desktop/images/08032025/02/54/image_08032025_02_54_36_30255.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341687539","1341687495"],"photo_ids_order":["1341687495","1341687539"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/17a6520cbbf052143785bc30b15958f7.jpg","text":"TemporaryFile(/tmp/multipartBody5724812973083097650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741398992705,"filename":"image_08032025_02_54_36_30255.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/cceb85e720f5c22fd5c3b9713b797129.jpg","text":"TemporaryFile(/tmp/multipartBody1451545161028803817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741398992705,"filename":"image_08032025_02_55_05_29253.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341687539","file0":"1341687495"},"map_files_photo_id_array":[{"photo_id":"1341687539","filename":"file1"},{"photo_id":"1341687495","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341687539":["hashtag1","hashtag2"]},{"1341687495":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341687539, 1341687495)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 21.352757453918457 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 02:56:02.978897
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 02:56:32.468516
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/02/55/image_08032025_02_56_06_30260.jpg', 2), ('/home/nano/Desktop/images/08032025/02/55/image_08032025_02_55_35_30233.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/02/55/image_08032025_02_56_06_30260.jpg', '/home/nano/Desktop/images/08032025/02/55/image_08032025_02_55_35_30233.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/02/55/image_08032025_02_56_06_30260.jpg
/home/nano/Desktop/images/08032025/02/55/image_08032025_02_55_35_30233.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341687749","1341687757"],"photo_ids_order":["1341687749","1341687757"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/2602477add463a0cd554b71bb42709ef.jpg","text":"TemporaryFile(/tmp/multipartBody3371727181520008125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741399052809,"filename":"image_08032025_02_56_06_30260.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/cc0c2faecdfe8b82f9d0a4cf7253131a.jpg","text":"TemporaryFile(/tmp/multipartBody5313204061975691240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741399052809,"filename":"image_08032025_02_55_35_30233.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341687757","file0":"1341687749"},"map_files_photo_id_array":[{"photo_id":"1341687757","filename":"file1"},{"photo_id":"1341687749","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341687749":["hashtag1","hashtag2"]},{"1341687757":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341687749, 1341687757)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.201709508895874 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 02:57:03.098180
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 02:57:32.584702
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/02/56/image_08032025_02_57_05_29243.jpg', 2), ('/home/nano/Desktop/images/08032025/02/56/image_08032025_02_56_36_30357.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/02/56/image_08032025_02_57_05_29243.jpg', '/home/nano/Desktop/images/08032025/02/56/image_08032025_02_56_36_30357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/02/56/image_08032025_02_57_05_29243.jpg
/home/nano/Desktop/images/08032025/02/56/image_08032025_02_56_36_30357.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341687865","1341687861"],"photo_ids_order":["1341687861","1341687865"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/ef5dfea5648ba06e1c8cfb8430c6f054.jpg","text":"TemporaryFile(/tmp/multipartBody5617792342845687818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741399112919,"filename":"image_08032025_02_56_36_30357.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/3597fd49badca6f3a34450c4af408aca.jpg","text":"TemporaryFile(/tmp/multipartBody1976531344805041751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741399112919,"filename":"image_08032025_02_57_05_29243.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341687865","file0":"1341687861"},"map_files_photo_id_array":[{"photo_id":"1341687865","filename":"file1"},{"photo_id":"1341687861","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341687865":["hashtag1","hashtag2"]},{"1341687861":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341687865, 1341687861)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.523301839828491 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 02:59:02.880335
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 02:59:32.190259
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 4 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/02/58/image_08032025_02_59_06_30413.jpg', 2), ('/home/nano/Desktop/images/08032025/02/58/image_08032025_02_58_35_29327.jpg', 2), ('/home/nano/Desktop/images/08032025/02/57/image_08032025_02_58_06_30319.jpg', 2), ('/home/nano/Desktop/images/08032025/02/57/image_08032025_02_57_35_30230.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/02/58/image_08032025_02_59_06_30413.jpg', '/home/nano/Desktop/images/08032025/02/58/image_08032025_02_58_35_29327.jpg', '/home/nano/Desktop/images/08032025/02/57/image_08032025_02_58_06_30319.jpg', '/home/nano/Desktop/images/08032025/02/57/image_08032025_02_57_35_30230.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/02/58/image_08032025_02_59_06_30413.jpg
/home/nano/Desktop/images/08032025/02/58/image_08032025_02_58_35_29327.jpg
/home/nano/Desktop/images/08032025/02/57/image_08032025_02_58_06_30319.jpg
/home/nano/Desktop/images/08032025/02/57/image_08032025_02_57_35_30230.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341688183","1341688212","1341688199","1341688178"],"photo_ids_order":["1341688178","1341688183","1341688199","1341688212"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/7aa0f4432c370c92c7b8bdda5dccca0d.jpg","text":"TemporaryFile(/tmp/multipartBody6364508142667932606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741399232594,"filename":"image_08032025_02_58_35_29327.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/53f80e9d56276f5c296dcc76c62030d6.jpg","text":"TemporaryFile(/tmp/multipartBody2826013234795180276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741399232594,"filename":"image_08032025_02_57_35_30230.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/1ccf919eb7e6a94717a9cd251d0e49f4.jpg","text":"TemporaryFile(/tmp/multipartBody6174145474223172691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741399232594,"filename":"image_08032025_02_58_06_30319.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/3e65ff47edaf9567a3f01c58f79264b3.jpg","text":"TemporaryFile(/tmp/multipartBody6495835033941375093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741399232594,"filename":"image_08032025_02_59_06_30413.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341688199","file1":"1341688183","file0":"1341688178","file3":"1341688212"},"map_files_photo_id_array":[{"photo_id":"1341688199","filename":"file2"},{"photo_id":"1341688183","filename":"file1"},{"photo_id":"1341688178","filename":"file0"},{"photo_id":"1341688212","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341688183":["hashtag1","hashtag2"]},{"1341688212":["hashtag1","hashtag2"]},{"1341688199":["hashtag1","hashtag2"]},{"1341688178":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341688183, 1341688212, 1341688199, 1341688178)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 24.35200595855713 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 03:00:02.877945
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 03:00:32.361056
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/02/59/image_08032025_03_00_05_29364.jpg', 2), ('/home/nano/Desktop/images/08032025/02/59/image_08032025_02_59_36_30241.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/02/59/image_08032025_03_00_05_29364.jpg', '/home/nano/Desktop/images/08032025/02/59/image_08032025_02_59_36_30241.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/02/59/image_08032025_03_00_05_29364.jpg
/home/nano/Desktop/images/08032025/02/59/image_08032025_02_59_36_30241.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341688368","1341688362"],"photo_ids_order":["1341688362","1341688368"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/eebc0ffc9c2f2f22410d0af4fa5387fc.jpg","text":"TemporaryFile(/tmp/multipartBody621427705590414516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741399292703,"filename":"image_08032025_02_59_36_30241.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/8952f28189596f0db1110d93ecedfa91.jpg","text":"TemporaryFile(/tmp/multipartBody4999713820368654153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741399292703,"filename":"image_08032025_03_00_05_29364.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341688368","file0":"1341688362"},"map_files_photo_id_array":[{"photo_id":"1341688368","filename":"file1"},{"photo_id":"1341688362","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341688368":["hashtag1","hashtag2"]},{"1341688362":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341688368, 1341688362)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 16.21019697189331 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 03:01:02.984154
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 03:01:32.466348
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/03/00/image_08032025_03_01_06_30408.jpg', 2), ('/home/nano/Desktop/images/08032025/03/00/image_08032025_03_00_36_30384.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/03/00/image_08032025_03_01_06_30408.jpg', '/home/nano/Desktop/images/08032025/03/00/image_08032025_03_00_36_30384.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/03/00/image_08032025_03_01_06_30408.jpg
/home/nano/Desktop/images/08032025/03/00/image_08032025_03_00_36_30384.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341688688","1341688811"],"photo_ids_order":["1341688688","1341688811"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/723891446d4233faa90ad720ca250009.jpg","text":"TemporaryFile(/tmp/multipartBody7617557594885277636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741399352809,"filename":"image_08032025_03_01_06_30408.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/15b4535e7568831ba9caeea1841811f1.jpg","text":"TemporaryFile(/tmp/multipartBody609114111187215785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741399352809,"filename":"image_08032025_03_00_36_30384.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341688811","file0":"1341688688"},"map_files_photo_id_array":[{"photo_id":"1341688811","filename":"file1"},{"photo_id":"1341688688","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341688688":["hashtag1","hashtag2"]},{"1341688811":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341688688, 1341688811)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 16.23252511024475 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 03:02:03.053216
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 03:02:32.578900
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/03/01/image_08032025_03_02_06_30447.jpg', 2), ('/home/nano/Desktop/images/08032025/03/01/image_08032025_03_01_35_29448.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/03/01/image_08032025_03_02_06_30447.jpg', '/home/nano/Desktop/images/08032025/03/01/image_08032025_03_01_35_29448.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/03/01/image_08032025_03_02_06_30447.jpg
/home/nano/Desktop/images/08032025/03/01/image_08032025_03_01_35_29448.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341689508","1341689465"],"photo_ids_order":["1341689465","1341689508"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/6aebd9a9ca409fd13351389b43a3ddd4.jpg","text":"TemporaryFile(/tmp/multipartBody5652726452621539986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741399412909,"filename":"image_08032025_03_01_35_29448.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/83d9b0bff4aff9396fada2e86d7cb1d1.jpg","text":"TemporaryFile(/tmp/multipartBody7203627238060434880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741399412909,"filename":"image_08032025_03_02_06_30447.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341689508","file0":"1341689465"},"map_files_photo_id_array":[{"photo_id":"1341689508","filename":"file1"},{"photo_id":"1341689465","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341689508":["hashtag1","hashtag2"]},{"1341689465":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341689508, 1341689465)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.754760265350342 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 03:03:03.255536
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/03/03/image_08032025_03_03_36_30261.jpg', 2), ('/home/nano/Desktop/images/08032025/03/02/image_08032025_03_02_35_29279.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/03/03/image_08032025_03_03_36_30261.jpg', '/home/nano/Desktop/images/08032025/03/02/image_08032025_03_02_35_29279.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/03/03/image_08032025_03_03_36_30261.jpg
/home/nano/Desktop/images/08032025/03/02/image_08032025_03_02_35_29279.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341689731","1341689710"],"photo_ids_order":["1341689710","1341689731"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/d1bc1a37b5a27b8c11fdbcfb10990cce.jpg","text":"TemporaryFile(/tmp/multipartBody1072809174635984177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741399443638,"filename":"image_08032025_03_02_35_29279.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/3c837370f052d03cfbef69d3986245cc.jpg","text":"TemporaryFile(/tmp/multipartBody2923042511958355812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741399443638,"filename":"image_08032025_03_03_36_30261.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341689731","file0":"1341689710"},"map_files_photo_id_array":[{"photo_id":"1341689731","filename":"file1"},{"photo_id":"1341689710","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341689731":["hashtag1","hashtag2"]},{"1341689710":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341689731, 1341689710)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.128554105758667 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 03:03:32.723921
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 03:04:02.426922
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 03:04:31.819520
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/03/03/image_08032025_03_04_05_29186.jpg', 2), ('/home/nano/Desktop/images/08032025/03/02/image_08032025_03_03_06_30552.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/03/03/image_08032025_03_04_05_29186.jpg', '/home/nano/Desktop/images/08032025/03/02/image_08032025_03_03_06_30552.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/03/03/image_08032025_03_04_05_29186.jpg
/home/nano/Desktop/images/08032025/03/02/image_08032025_03_03_06_30552.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341690209","1341690222"],"photo_ids_order":["1341690209","1341690222"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/62835be6b0a55ce60a1ff37abb8d5c5f.jpg","text":"TemporaryFile(/tmp/multipartBody5976138621419363943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741399532163,"filename":"image_08032025_03_04_05_29186.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/51ef943a2b45792f78d3c097dbe211e7.jpg","text":"TemporaryFile(/tmp/multipartBody5007254644186438471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741399532163,"filename":"image_08032025_03_03_06_30552.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341690222","file0":"1341690209"},"map_files_photo_id_array":[{"photo_id":"1341690222","filename":"file1"},{"photo_id":"1341690209","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341690209":["hashtag1","hashtag2"]},{"1341690222":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341690209, 1341690222)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.979676246643066 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 03:05:02.402241
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 03:05:31.916734
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/03/04/image_08032025_03_05_05_29379.jpg', 2), ('/home/nano/Desktop/images/08032025/03/04/image_08032025_03_04_36_30649.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/03/04/image_08032025_03_05_05_29379.jpg', '/home/nano/Desktop/images/08032025/03/04/image_08032025_03_04_36_30649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/03/04/image_08032025_03_05_05_29379.jpg
/home/nano/Desktop/images/08032025/03/04/image_08032025_03_04_36_30649.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341690258","1341690254"],"photo_ids_order":["1341690254","1341690258"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/ccc87b9ed240290e51f4c9cf8adbfc77.jpg","text":"TemporaryFile(/tmp/multipartBody3469808383840834287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741399592248,"filename":"image_08032025_03_04_36_30649.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/e951b99da6099a28574e90866e1f3d08.jpg","text":"TemporaryFile(/tmp/multipartBody1025319525062877583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741399592248,"filename":"image_08032025_03_05_05_29379.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341690258","file0":"1341690254"},"map_files_photo_id_array":[{"photo_id":"1341690258","filename":"file1"},{"photo_id":"1341690254","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341690258":["hashtag1","hashtag2"]},{"1341690254":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341690258, 1341690254)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.78718638420105 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 03:06:02.514829
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 03:06:31.987757
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/03/05/image_08032025_03_06_05_29700.jpg', 2), ('/home/nano/Desktop/images/08032025/03/05/image_08032025_03_05_36_30452.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/03/05/image_08032025_03_06_05_29700.jpg', '/home/nano/Desktop/images/08032025/03/05/image_08032025_03_05_36_30452.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/03/05/image_08032025_03_06_05_29700.jpg
/home/nano/Desktop/images/08032025/03/05/image_08032025_03_05_36_30452.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341690308","1341690318"],"photo_ids_order":["1341690308","1341690318"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/65c32024ef0fba03dfaebbf9855a8a51.jpg","text":"TemporaryFile(/tmp/multipartBody3973835424877604449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741399652327,"filename":"image_08032025_03_06_05_29700.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/3b083c52698ea3792c5d480f94d4d9dc.jpg","text":"TemporaryFile(/tmp/multipartBody3576584126970538656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741399652327,"filename":"image_08032025_03_05_36_30452.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341690318","file0":"1341690308"},"map_files_photo_id_array":[{"photo_id":"1341690318","filename":"file1"},{"photo_id":"1341690308","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341690308":["hashtag1","hashtag2"]},{"1341690318":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341690308, 1341690318)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.299096822738647 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 03:07:02.738125
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 03:07:32.089955
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/03/06/image_08032025_03_07_06_30396.jpg', 2), ('/home/nano/Desktop/images/08032025/03/06/image_08032025_03_06_36_30399.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/03/06/image_08032025_03_07_06_30396.jpg', '/home/nano/Desktop/images/08032025/03/06/image_08032025_03_06_36_30399.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/03/06/image_08032025_03_07_06_30396.jpg
/home/nano/Desktop/images/08032025/03/06/image_08032025_03_06_36_30399.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341691560","1341691556"],"photo_ids_order":["1341691556","1341691560"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/c4881d0d759f3ed9a492024c5d400b58.jpg","text":"TemporaryFile(/tmp/multipartBody3057204307901282740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741399712431,"filename":"image_08032025_03_06_36_30399.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/a8e20f37a7d62bf8bea2721a6bd895de.jpg","text":"TemporaryFile(/tmp/multipartBody5813007227781532427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741399712431,"filename":"image_08032025_03_07_06_30396.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341691560","file0":"1341691556"},"map_files_photo_id_array":[{"photo_id":"1341691560","filename":"file1"},{"photo_id":"1341691556","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341691560":["hashtag1","hashtag2"]},{"1341691556":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341691560, 1341691556)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.957934617996216 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 03:08:02.854217
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 03:08:32.225680
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/03/07/image_08032025_03_08_06_30445.jpg', 2), ('/home/nano/Desktop/images/08032025/03/07/image_08032025_03_07_35_29251.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/03/07/image_08032025_03_08_06_30445.jpg', '/home/nano/Desktop/images/08032025/03/07/image_08032025_03_07_35_29251.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/03/07/image_08032025_03_08_06_30445.jpg
/home/nano/Desktop/images/08032025/03/07/image_08032025_03_07_35_29251.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341691835","1341691864"],"photo_ids_order":["1341691835","1341691864"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/bdc426ac1a7fdd26628526c0b903ff17.jpg","text":"TemporaryFile(/tmp/multipartBody8759957472309509530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741399772643,"filename":"image_08032025_03_08_06_30445.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/aa56e576af7c167f981f99aca1d3da71.jpg","text":"TemporaryFile(/tmp/multipartBody1925267940567380049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741399772643,"filename":"image_08032025_03_07_35_29251.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341691864","file0":"1341691835"},"map_files_photo_id_array":[{"photo_id":"1341691864","filename":"file1"},{"photo_id":"1341691835","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341691835":["hashtag1","hashtag2"]},{"1341691864":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341691835, 1341691864)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.382671356201172 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 03:09:03.255368
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 03:09:32.302223
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/03/08/image_08032025_03_09_06_30337.jpg', 2), ('/home/nano/Desktop/images/08032025/03/08/image_08032025_03_08_35_29434.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/03/08/image_08032025_03_09_06_30337.jpg', '/home/nano/Desktop/images/08032025/03/08/image_08032025_03_08_35_29434.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/03/08/image_08032025_03_09_06_30337.jpg
/home/nano/Desktop/images/08032025/03/08/image_08032025_03_08_35_29434.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341691992","1341691987"],"photo_ids_order":["1341691987","1341691992"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/89304690acec531d75a32406d9ca3203.jpg","text":"TemporaryFile(/tmp/multipartBody520207865001943649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741399832706,"filename":"image_08032025_03_08_35_29434.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/60db068935c954eed8a1c226c09ca09a.jpg","text":"TemporaryFile(/tmp/multipartBody139588871296773675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741399832706,"filename":"image_08032025_03_09_06_30337.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341691992","file0":"1341691987"},"map_files_photo_id_array":[{"photo_id":"1341691992","filename":"file1"},{"photo_id":"1341691987","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341691992":["hashtag1","hashtag2"]},{"1341691987":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341691992, 1341691987)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.016023635864258 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 03:10:03.049376
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 03:10:32.415488
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/03/09/image_08032025_03_10_05_29548.jpg', 2), ('/home/nano/Desktop/images/08032025/03/09/image_08032025_03_09_36_30333.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/03/09/image_08032025_03_10_05_29548.jpg', '/home/nano/Desktop/images/08032025/03/09/image_08032025_03_09_36_30333.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/03/09/image_08032025_03_10_05_29548.jpg
/home/nano/Desktop/images/08032025/03/09/image_08032025_03_09_36_30333.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341692017","1341692022"],"photo_ids_order":["1341692017","1341692022"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/fe8f6270a91dc249b12ba417109dea82.jpg","text":"TemporaryFile(/tmp/multipartBody5741890698973108910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741399892835,"filename":"image_08032025_03_10_05_29548.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/476f1e7e802bc5b4ed4316bf0d69e26b.jpg","text":"TemporaryFile(/tmp/multipartBody7411985644013988640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741399892835,"filename":"image_08032025_03_09_36_30333.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341692022","file0":"1341692017"},"map_files_photo_id_array":[{"photo_id":"1341692022","filename":"file1"},{"photo_id":"1341692017","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341692017":["hashtag1","hashtag2"]},{"1341692022":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341692017, 1341692022)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 18.505072593688965 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 03:11:03.052472
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 03:11:32.495168
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/03/10/image_08032025_03_11_05_29375.jpg', 2), ('/home/nano/Desktop/images/08032025/03/10/image_08032025_03_10_36_30445.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/03/10/image_08032025_03_11_05_29375.jpg', '/home/nano/Desktop/images/08032025/03/10/image_08032025_03_10_36_30445.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/03/10/image_08032025_03_11_05_29375.jpg
/home/nano/Desktop/images/08032025/03/10/image_08032025_03_10_36_30445.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341692309","1341692284"],"photo_ids_order":["1341692284","1341692309"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/0d46bc6480475a15d442252d85305aaa.jpg","text":"TemporaryFile(/tmp/multipartBody8388364096104102103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741399952912,"filename":"image_08032025_03_10_36_30445.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/12cfcbb98d95cd891bd2ce6f2a7c9994.jpg","text":"TemporaryFile(/tmp/multipartBody5162269176270444856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741399952912,"filename":"image_08032025_03_11_05_29375.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341692309","file0":"1341692284"},"map_files_photo_id_array":[{"photo_id":"1341692309","filename":"file1"},{"photo_id":"1341692284","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341692309":["hashtag1","hashtag2"]},{"1341692284":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341692309, 1341692284)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 16.37290668487549 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 03:12:03.200769
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 03:12:32.589517
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/03/11/image_08032025_03_12_05_29552.jpg', 2), ('/home/nano/Desktop/images/08032025/03/11/image_08032025_03_11_36_30377.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/03/11/image_08032025_03_12_05_29552.jpg', '/home/nano/Desktop/images/08032025/03/11/image_08032025_03_11_36_30377.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/03/11/image_08032025_03_12_05_29552.jpg
/home/nano/Desktop/images/08032025/03/11/image_08032025_03_11_36_30377.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341692772","1341692742"],"photo_ids_order":["1341692742","1341692772"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/c4c7ba825e1cbeb0c73e45192a4557c8.jpg","text":"TemporaryFile(/tmp/multipartBody6199445457988195691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741400012936,"filename":"image_08032025_03_11_36_30377.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/86b3f692c6fc157ebf4f23c346d46314.jpg","text":"TemporaryFile(/tmp/multipartBody6456345726171222206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741400012936,"filename":"image_08032025_03_12_05_29552.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341692772","file0":"1341692742"},"map_files_photo_id_array":[{"photo_id":"1341692772","filename":"file1"},{"photo_id":"1341692742","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341692772":["hashtag1","hashtag2"]},{"1341692742":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341692772, 1341692742)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.943546533584595 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 03:13:03.396041
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 03:13:32.693653
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/03/12/image_08032025_03_13_06_30398.jpg', 2), ('/home/nano/Desktop/images/08032025/03/12/image_08032025_03_12_36_30461.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/03/12/image_08032025_03_13_06_30398.jpg', '/home/nano/Desktop/images/08032025/03/12/image_08032025_03_12_36_30461.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/03/12/image_08032025_03_13_06_30398.jpg
/home/nano/Desktop/images/08032025/03/12/image_08032025_03_12_36_30461.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341693004","1341692997"],"photo_ids_order":["1341692997","1341693004"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/ad1edf0f73745f24bd9d4bd2ad354e44.jpg","text":"TemporaryFile(/tmp/multipartBody4488143775666519411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741400073040,"filename":"image_08032025_03_12_36_30461.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/5ca5dee351d3ff198f71d34c7faefffc.jpg","text":"TemporaryFile(/tmp/multipartBody4794476547754560389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741400073040,"filename":"image_08032025_03_13_06_30398.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341693004","file0":"1341692997"},"map_files_photo_id_array":[{"photo_id":"1341693004","filename":"file1"},{"photo_id":"1341692997","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341693004":["hashtag1","hashtag2"]},{"1341692997":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341693004, 1341692997)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.163419485092163 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 03:14:02.592921
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 03:14:31.916923
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/03/13/image_08032025_03_14_06_30498.jpg', 2), ('/home/nano/Desktop/images/08032025/03/13/image_08032025_03_13_35_29227.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/03/13/image_08032025_03_14_06_30498.jpg', '/home/nano/Desktop/images/08032025/03/13/image_08032025_03_13_35_29227.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/03/13/image_08032025_03_14_06_30498.jpg
/home/nano/Desktop/images/08032025/03/13/image_08032025_03_13_35_29227.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341693277","1341693271"],"photo_ids_order":["1341693271","1341693277"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/f099c55c1024e8c35a4282074554cb77.jpg","text":"TemporaryFile(/tmp/multipartBody346075986256519467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741400132327,"filename":"image_08032025_03_13_35_29227.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/aa0e5398f3de9fbc784bbcc2c51c7b9b.jpg","text":"TemporaryFile(/tmp/multipartBody1188734197407488474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741400132327,"filename":"image_08032025_03_14_06_30498.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341693277","file0":"1341693271"},"map_files_photo_id_array":[{"photo_id":"1341693277","filename":"file1"},{"photo_id":"1341693271","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341693277":["hashtag1","hashtag2"]},{"1341693271":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341693277, 1341693271)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 16.78050994873047 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 03:15:02.586619
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 03:15:31.987042
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/03/14/image_08032025_03_15_06_30359.jpg', 2), ('/home/nano/Desktop/images/08032025/03/14/image_08032025_03_14_35_29350.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/03/14/image_08032025_03_15_06_30359.jpg', '/home/nano/Desktop/images/08032025/03/14/image_08032025_03_14_35_29350.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/03/14/image_08032025_03_15_06_30359.jpg
/home/nano/Desktop/images/08032025/03/14/image_08032025_03_14_35_29350.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341693333","1341693329"],"photo_ids_order":["1341693329","1341693333"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/37aba826342656c75648cb70596f1b69.jpg","text":"TemporaryFile(/tmp/multipartBody6101138812277177809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741400192390,"filename":"image_08032025_03_14_35_29350.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/901a3e7cb3d15a7e771682cc00ed4937.jpg","text":"TemporaryFile(/tmp/multipartBody7150957001685211510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741400192390,"filename":"image_08032025_03_15_06_30359.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341693333","file0":"1341693329"},"map_files_photo_id_array":[{"photo_id":"1341693333","filename":"file1"},{"photo_id":"1341693329","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341693333":["hashtag1","hashtag2"]},{"1341693329":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341693333, 1341693329)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 16.67496371269226 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 03:16:02.667065
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 03:16:32.111100
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/03/15/image_08032025_03_16_05_29365.jpg', 2), ('/home/nano/Desktop/images/08032025/03/15/image_08032025_03_15_36_30405.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/03/15/image_08032025_03_16_05_29365.jpg', '/home/nano/Desktop/images/08032025/03/15/image_08032025_03_15_36_30405.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/03/15/image_08032025_03_16_05_29365.jpg
/home/nano/Desktop/images/08032025/03/15/image_08032025_03_15_36_30405.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341694080","1341694071"],"photo_ids_order":["1341694071","1341694080"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/a9cd8b7b05841c19bbfafe73e39a2658.jpg","text":"TemporaryFile(/tmp/multipartBody5962455295863443688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741400252479,"filename":"image_08032025_03_15_36_30405.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/8b2067856642474c77e34d78ed44b19e.jpg","text":"TemporaryFile(/tmp/multipartBody662058080911045831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741400252479,"filename":"image_08032025_03_16_05_29365.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341694080","file0":"1341694071"},"map_files_photo_id_array":[{"photo_id":"1341694080","filename":"file1"},{"photo_id":"1341694071","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341694080":["hashtag1","hashtag2"]},{"1341694071":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341694080, 1341694071)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.520102977752686 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 03:17:02.787635
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 03:17:32.211266
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/03/16/image_08032025_03_17_06_30414.jpg', 2), ('/home/nano/Desktop/images/08032025/03/16/image_08032025_03_16_36_30234.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/03/16/image_08032025_03_17_06_30414.jpg', '/home/nano/Desktop/images/08032025/03/16/image_08032025_03_16_36_30234.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/03/16/image_08032025_03_17_06_30414.jpg
/home/nano/Desktop/images/08032025/03/16/image_08032025_03_16_36_30234.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341694160","1341694152"],"photo_ids_order":["1341694152","1341694160"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/3299efc3bb5f24d6644d304124155637.jpg","text":"TemporaryFile(/tmp/multipartBody2896419231643935969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741400312607,"filename":"image_08032025_03_16_36_30234.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/7936510d102e464c8b26be5e4e9cedd7.jpg","text":"TemporaryFile(/tmp/multipartBody641697749454208764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741400312607,"filename":"image_08032025_03_17_06_30414.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341694160","file0":"1341694152"},"map_files_photo_id_array":[{"photo_id":"1341694160","filename":"file1"},{"photo_id":"1341694152","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341694160":["hashtag1","hashtag2"]},{"1341694152":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341694160, 1341694152)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.287375450134277 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 03:18:02.829161
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 03:18:32.295346
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/03/17/image_08032025_03_18_06_30545.jpg', 2), ('/home/nano/Desktop/images/08032025/03/17/image_08032025_03_17_35_29376.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/03/17/image_08032025_03_18_06_30545.jpg', '/home/nano/Desktop/images/08032025/03/17/image_08032025_03_17_35_29376.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/03/17/image_08032025_03_18_06_30545.jpg
/home/nano/Desktop/images/08032025/03/17/image_08032025_03_17_35_29376.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341694777","1341694782"],"photo_ids_order":["1341694777","1341694782"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/c0d9650735cac4aff027cedd2d2bedf7.jpg","text":"TemporaryFile(/tmp/multipartBody1913409017398512939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741400372702,"filename":"image_08032025_03_18_06_30545.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/9dad28c09e6dbbf3847d931f899de8b8.jpg","text":"TemporaryFile(/tmp/multipartBody4599415580117012208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741400372702,"filename":"image_08032025_03_17_35_29376.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341694782","file0":"1341694777"},"map_files_photo_id_array":[{"photo_id":"1341694782","filename":"file1"},{"photo_id":"1341694777","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341694777":["hashtag1","hashtag2"]},{"1341694782":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341694777, 1341694782)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.192650079727173 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 03:19:03.214282
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 03:19:32.410013
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/03/18/image_08032025_03_19_06_30368.jpg', 2), ('/home/nano/Desktop/images/08032025/03/18/image_08032025_03_18_35_29341.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/03/18/image_08032025_03_19_06_30368.jpg', '/home/nano/Desktop/images/08032025/03/18/image_08032025_03_18_35_29341.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/03/18/image_08032025_03_19_06_30368.jpg
/home/nano/Desktop/images/08032025/03/18/image_08032025_03_18_35_29341.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341695053","1341695061"],"photo_ids_order":["1341695053","1341695061"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/989475952a19896f1dea455861674655.jpg","text":"TemporaryFile(/tmp/multipartBody939407041327849857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741400432823,"filename":"image_08032025_03_19_06_30368.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/ff2b7a66e57156e450116e6424477931.jpg","text":"TemporaryFile(/tmp/multipartBody2649563216125844756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741400432823,"filename":"image_08032025_03_18_35_29341.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341695061","file0":"1341695053"},"map_files_photo_id_array":[{"photo_id":"1341695061","filename":"file1"},{"photo_id":"1341695053","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341695053":["hashtag1","hashtag2"]},{"1341695061":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341695053, 1341695061)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 22.347246170043945 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 03:20:02.986002
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 03:20:32.512878
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/03/19/image_08032025_03_20_06_30605.jpg', 2), ('/home/nano/Desktop/images/08032025/03/19/image_08032025_03_19_35_29568.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/03/19/image_08032025_03_20_06_30605.jpg', '/home/nano/Desktop/images/08032025/03/19/image_08032025_03_19_35_29568.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/03/19/image_08032025_03_20_06_30605.jpg
/home/nano/Desktop/images/08032025/03/19/image_08032025_03_19_35_29568.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341695089","1341695083"],"photo_ids_order":["1341695083","1341695089"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/506f19d0252e96706cdf68dba3b3d91d.jpg","text":"TemporaryFile(/tmp/multipartBody5155323381537508280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741400492973,"filename":"image_08032025_03_19_35_29568.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/d80332b2140fce9fedbc46680cda50aa.jpg","text":"TemporaryFile(/tmp/multipartBody4277310700783704350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741400492973,"filename":"image_08032025_03_20_06_30605.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341695089","file0":"1341695083"},"map_files_photo_id_array":[{"photo_id":"1341695089","filename":"file1"},{"photo_id":"1341695083","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341695089":["hashtag1","hashtag2"]},{"1341695083":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341695089, 1341695083)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.931743383407593 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 03:21:03.254534
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 03:21:32.607353
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/03/20/image_08032025_03_21_06_30381.jpg', 2), ('/home/nano/Desktop/images/08032025/03/20/image_08032025_03_20_35_29439.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/03/20/image_08032025_03_21_06_30381.jpg', '/home/nano/Desktop/images/08032025/03/20/image_08032025_03_20_35_29439.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/03/20/image_08032025_03_21_06_30381.jpg
/home/nano/Desktop/images/08032025/03/20/image_08032025_03_20_35_29439.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341695206","1341695196"],"photo_ids_order":["1341695196","1341695206"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/4dff5ac1072e18509b8d6a276f44a0a2.jpg","text":"TemporaryFile(/tmp/multipartBody678481772296800788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741400552976,"filename":"image_08032025_03_20_35_29439.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/7117394c9e30c751788cb7dc721832bf.jpg","text":"TemporaryFile(/tmp/multipartBody2736796436191246856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741400552976,"filename":"image_08032025_03_21_06_30381.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341695206","file0":"1341695196"},"map_files_photo_id_array":[{"photo_id":"1341695206","filename":"file1"},{"photo_id":"1341695196","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341695206":["hashtag1","hashtag2"]},{"1341695196":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341695206, 1341695196)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.48496127128601 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 03:22:03.256513
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 03:22:32.725190
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/03/21/image_08032025_03_22_05_29372.jpg', 2), ('/home/nano/Desktop/images/08032025/03/21/image_08032025_03_21_36_30283.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/03/21/image_08032025_03_22_05_29372.jpg', '/home/nano/Desktop/images/08032025/03/21/image_08032025_03_21_36_30283.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/03/21/image_08032025_03_22_05_29372.jpg
/home/nano/Desktop/images/08032025/03/21/image_08032025_03_21_36_30283.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.3258802890777588 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 marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 03:23:02.484873
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/03/21/image_08032025_03_22_05_29372.jpg', 2), ('/home/nano/Desktop/images/08032025/03/21/image_08032025_03_21_36_30283.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/03/21/image_08032025_03_22_05_29372.jpg', '/home/nano/Desktop/images/08032025/03/21/image_08032025_03_21_36_30283.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/03/21/image_08032025_03_22_05_29372.jpg
/home/nano/Desktop/images/08032025/03/21/image_08032025_03_21_36_30283.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341695351","1341695337"],"photo_ids_order":["1341695337","1341695351"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/9aa01507f5b56dcebe10e42aacaf8016.jpg","text":"TemporaryFile(/tmp/multipartBody3949383604008106761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741400642831,"filename":"image_08032025_03_21_36_30283.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/d55aeb272e131b2844d2104e5ae47a0f.jpg","text":"TemporaryFile(/tmp/multipartBody4647848629222479817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741400642831,"filename":"image_08032025_03_22_05_29372.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341695351","file0":"1341695337"},"map_files_photo_id_array":[{"photo_id":"1341695351","filename":"file1"},{"photo_id":"1341695337","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341695351":["hashtag1","hashtag2"]},{"1341695337":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341695351, 1341695337)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.128218650817871 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 03:23:31.817839
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/03/22/image_08032025_03_23_06_30445.jpg', 2), ('/home/nano/Desktop/images/08032025/03/22/image_08032025_03_22_36_30332.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/03/22/image_08032025_03_23_06_30445.jpg', '/home/nano/Desktop/images/08032025/03/22/image_08032025_03_22_36_30332.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/03/22/image_08032025_03_23_06_30445.jpg
/home/nano/Desktop/images/08032025/03/22/image_08032025_03_22_36_30332.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341695475","1341695492"],"photo_ids_order":["1341695475","1341695492"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/ea5a901f3ffaba940460c2ca9929aed1.jpg","text":"TemporaryFile(/tmp/multipartBody4369636608283972503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741400672226,"filename":"image_08032025_03_23_06_30445.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/800e7a4e3695f981f73fd0b137caa37f.jpg","text":"TemporaryFile(/tmp/multipartBody5647366497424528666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741400672226,"filename":"image_08032025_03_22_36_30332.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341695492","file0":"1341695475"},"map_files_photo_id_array":[{"photo_id":"1341695492","filename":"file1"},{"photo_id":"1341695475","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341695475":["hashtag1","hashtag2"]},{"1341695492":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341695475, 1341695492)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.80813455581665 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 03:24:02.787525
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 03:24:31.925621
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/03/23/image_08032025_03_24_06_30406.jpg', 2), ('/home/nano/Desktop/images/08032025/03/23/image_08032025_03_23_36_29579.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/03/23/image_08032025_03_24_06_30406.jpg', '/home/nano/Desktop/images/08032025/03/23/image_08032025_03_23_36_29579.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/03/23/image_08032025_03_24_06_30406.jpg
/home/nano/Desktop/images/08032025/03/23/image_08032025_03_23_36_29579.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341695603","1341695590"],"photo_ids_order":["1341695590","1341695603"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/06deb51e44f5dac2f18b7c6d77b89b5b.jpg","text":"TemporaryFile(/tmp/multipartBody6510884319291552725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741400732276,"filename":"image_08032025_03_23_36_29579.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/c22e1a3d6cdee8cac3ba0a203605dad2.jpg","text":"TemporaryFile(/tmp/multipartBody1155854671732324337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741400732276,"filename":"image_08032025_03_24_06_30406.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341695603","file0":"1341695590"},"map_files_photo_id_array":[{"photo_id":"1341695603","filename":"file1"},{"photo_id":"1341695590","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341695603":["hashtag1","hashtag2"]},{"1341695590":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341695603, 1341695590)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.325219631195068 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 03:25:02.490771
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 03:25:32.009779
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/03/24/image_08032025_03_25_06_30508.jpg', 2), ('/home/nano/Desktop/images/08032025/03/24/image_08032025_03_24_35_29269.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/03/24/image_08032025_03_25_06_30508.jpg', '/home/nano/Desktop/images/08032025/03/24/image_08032025_03_24_35_29269.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/03/24/image_08032025_03_25_06_30508.jpg
/home/nano/Desktop/images/08032025/03/24/image_08032025_03_24_35_29269.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341695653","1341695649"],"photo_ids_order":["1341695649","1341695653"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/4269cf763f869274209f1f6bb9142783.jpg","text":"TemporaryFile(/tmp/multipartBody3095880137520199855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741400792351,"filename":"image_08032025_03_24_35_29269.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/165816cece4dfce3fba37c60a6937eaa.jpg","text":"TemporaryFile(/tmp/multipartBody4033069880512610570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741400792351,"filename":"image_08032025_03_25_06_30508.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341695653","file0":"1341695649"},"map_files_photo_id_array":[{"photo_id":"1341695653","filename":"file1"},{"photo_id":"1341695649","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341695653":["hashtag1","hashtag2"]},{"1341695649":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341695653, 1341695649)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 16.111428260803223 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 03:26:02.638930
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 03:26:32.087542
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/03/25/image_08032025_03_26_05_29366.jpg', 2), ('/home/nano/Desktop/images/08032025/03/25/image_08032025_03_25_36_30301.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/03/25/image_08032025_03_26_05_29366.jpg', '/home/nano/Desktop/images/08032025/03/25/image_08032025_03_25_36_30301.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/03/25/image_08032025_03_26_05_29366.jpg
/home/nano/Desktop/images/08032025/03/25/image_08032025_03_25_36_30301.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341695679","1341695684"],"photo_ids_order":["1341695679","1341695684"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/2c708e9c589380ebb6ac331933ad3253.jpg","text":"TemporaryFile(/tmp/multipartBody8852187652644289399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741400852444,"filename":"image_08032025_03_26_05_29366.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/124edfb83932ed1f72b205289a964df7.jpg","text":"TemporaryFile(/tmp/multipartBody4320288297337884835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741400852444,"filename":"image_08032025_03_25_36_30301.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341695684","file0":"1341695679"},"map_files_photo_id_array":[{"photo_id":"1341695684","filename":"file1"},{"photo_id":"1341695679","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341695679":["hashtag1","hashtag2"]},{"1341695684":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341695679, 1341695684)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.577360153198242 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 03:27:02.881876
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 03:27:32.216871
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/03/26/image_08032025_03_27_06_30129.jpg', 2), ('/home/nano/Desktop/images/08032025/03/26/image_08032025_03_26_36_30327.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/03/26/image_08032025_03_27_06_30129.jpg', '/home/nano/Desktop/images/08032025/03/26/image_08032025_03_26_36_30327.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/03/26/image_08032025_03_27_06_30129.jpg
/home/nano/Desktop/images/08032025/03/26/image_08032025_03_26_36_30327.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341695779","1341695757"],"photo_ids_order":["1341695757","1341695779"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/8cf712c5f0b4cdb92de8c41180ed762c.jpg","text":"TemporaryFile(/tmp/multipartBody6662034330404392547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741400912543,"filename":"image_08032025_03_26_36_30327.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/c2adc8e532f0a7fed43141d42fdcc304.jpg","text":"TemporaryFile(/tmp/multipartBody6554711859911276108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741400912543,"filename":"image_08032025_03_27_06_30129.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341695779","file0":"1341695757"},"map_files_photo_id_array":[{"photo_id":"1341695779","filename":"file1"},{"photo_id":"1341695757","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341695779":["hashtag1","hashtag2"]},{"1341695757":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341695779, 1341695757)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.431488752365112 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 03:28:02.914747
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 03:28:32.326208
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/03/27/image_08032025_03_28_06_30412.jpg', 2), ('/home/nano/Desktop/images/08032025/03/27/image_08032025_03_27_35_29286.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/03/27/image_08032025_03_28_06_30412.jpg', '/home/nano/Desktop/images/08032025/03/27/image_08032025_03_27_35_29286.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/03/27/image_08032025_03_28_06_30412.jpg
/home/nano/Desktop/images/08032025/03/27/image_08032025_03_27_35_29286.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341696118","1341696099"],"photo_ids_order":["1341696099","1341696118"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/e7bcd0e0bced117c9565fac21ebf9475.jpg","text":"TemporaryFile(/tmp/multipartBody3729802384721103824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741400972676,"filename":"image_08032025_03_27_35_29286.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/46fd882e136207f934c06b741eeabc22.jpg","text":"TemporaryFile(/tmp/multipartBody1123099880759861357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741400972676,"filename":"image_08032025_03_28_06_30412.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341696118","file0":"1341696099"},"map_files_photo_id_array":[{"photo_id":"1341696118","filename":"file1"},{"photo_id":"1341696099","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341696118":["hashtag1","hashtag2"]},{"1341696099":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341696118, 1341696099)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 16.2518048286438 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 03:29:03.125949
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 03:29:32.394421
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/03/28/image_08032025_03_29_05_29403.jpg', 2), ('/home/nano/Desktop/images/08032025/03/28/image_08032025_03_28_36_30322.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/03/28/image_08032025_03_29_05_29403.jpg', '/home/nano/Desktop/images/08032025/03/28/image_08032025_03_28_36_30322.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/03/28/image_08032025_03_29_05_29403.jpg
/home/nano/Desktop/images/08032025/03/28/image_08032025_03_28_36_30322.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341696210","1341696206"],"photo_ids_order":["1341696206","1341696210"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/cc91c96a78070ddd9d5f0d031e9cbd0d.jpg","text":"TemporaryFile(/tmp/multipartBody5775705852834172954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741401032736,"filename":"image_08032025_03_28_36_30322.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/cbb50b27f63f8d2313f3cf72175e3b5b.jpg","text":"TemporaryFile(/tmp/multipartBody5223937012661976682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741401032736,"filename":"image_08032025_03_29_05_29403.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341696210","file0":"1341696206"},"map_files_photo_id_array":[{"photo_id":"1341696210","filename":"file1"},{"photo_id":"1341696206","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341696210":["hashtag1","hashtag2"]},{"1341696206":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341696210, 1341696206)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.79631781578064 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 03:30:03.198571
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/03/29/image_08032025_03_30_06_30366.jpg', 2), ('/home/nano/Desktop/images/08032025/03/29/image_08032025_03_29_35_30134.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/03/29/image_08032025_03_30_06_30366.jpg', '/home/nano/Desktop/images/08032025/03/29/image_08032025_03_29_35_30134.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/03/29/image_08032025_03_30_06_30366.jpg
/home/nano/Desktop/images/08032025/03/29/image_08032025_03_29_35_30134.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341696223","1341696221"],"photo_ids_order":["1341696221","1341696223"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/e8bf2ed25209d32f48a3e57ff3f3d5df.jpg","text":"TemporaryFile(/tmp/multipartBody2869053753629534458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741401063550,"filename":"image_08032025_03_29_35_30134.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/389e565837392003015aa61099522606.jpg","text":"TemporaryFile(/tmp/multipartBody9047421602134927766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741401063550,"filename":"image_08032025_03_30_06_30366.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341696223","file0":"1341696221"},"map_files_photo_id_array":[{"photo_id":"1341696223","filename":"file1"},{"photo_id":"1341696221","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341696223":["hashtag1","hashtag2"]},{"1341696221":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341696223, 1341696221)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 16.1865496635437 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 03:30:32.506650
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 03:31:03.267114
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 03:31:32.707617
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/03/30/image_08032025_03_31_06_30439.jpg', 2), ('/home/nano/Desktop/images/08032025/03/30/image_08032025_03_30_35_29327.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/03/30/image_08032025_03_31_06_30439.jpg', '/home/nano/Desktop/images/08032025/03/30/image_08032025_03_30_35_29327.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/03/30/image_08032025_03_31_06_30439.jpg
/home/nano/Desktop/images/08032025/03/30/image_08032025_03_30_35_29327.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341696315","1341696311"],"photo_ids_order":["1341696311","1341696315"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/46d55bb5db6b08f56e87166bad3024c4.jpg","text":"TemporaryFile(/tmp/multipartBody1948046147921589011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741401153041,"filename":"image_08032025_03_30_35_29327.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/77fb6923cf330ea758eebb757a3eaade.jpg","text":"TemporaryFile(/tmp/multipartBody3903350099078972466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741401153041,"filename":"image_08032025_03_31_06_30439.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341696315","file0":"1341696311"},"map_files_photo_id_array":[{"photo_id":"1341696315","filename":"file1"},{"photo_id":"1341696311","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341696315":["hashtag1","hashtag2"]},{"1341696311":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341696315, 1341696311)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.675196409225464 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 03:32:02.366929
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 03:32:31.876167
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/03/31/image_08032025_03_32_05_29425.jpg', 2), ('/home/nano/Desktop/images/08032025/03/31/image_08032025_03_31_36_30394.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/03/31/image_08032025_03_32_05_29425.jpg', '/home/nano/Desktop/images/08032025/03/31/image_08032025_03_31_36_30394.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/03/31/image_08032025_03_32_05_29425.jpg
/home/nano/Desktop/images/08032025/03/31/image_08032025_03_31_36_30394.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341696552","1341696499"],"photo_ids_order":["1341696499","1341696552"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/3e075eb17bfc814da984a729da1cff20.jpg","text":"TemporaryFile(/tmp/multipartBody348260143911833303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741401212256,"filename":"image_08032025_03_31_36_30394.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/b4346c804ee39d22343e249c3305c053.jpg","text":"TemporaryFile(/tmp/multipartBody1400548127330973694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741401212256,"filename":"image_08032025_03_32_05_29425.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341696552","file0":"1341696499"},"map_files_photo_id_array":[{"photo_id":"1341696552","filename":"file1"},{"photo_id":"1341696499","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341696552":["hashtag1","hashtag2"]},{"1341696499":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341696552, 1341696499)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 20.603392601013184 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 03:33:02.572150
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 03:33:31.966977
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/03/32/image_08032025_03_33_05_29415.jpg', 2), ('/home/nano/Desktop/images/08032025/03/32/image_08032025_03_32_36_30394.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/03/32/image_08032025_03_33_05_29415.jpg', '/home/nano/Desktop/images/08032025/03/32/image_08032025_03_32_36_30394.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/03/32/image_08032025_03_33_05_29415.jpg
/home/nano/Desktop/images/08032025/03/32/image_08032025_03_32_36_30394.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341696736","1341696729"],"photo_ids_order":["1341696729","1341696736"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/dc5141f6460f459e86fe24a290728e2d.jpg","text":"TemporaryFile(/tmp/multipartBody1061207047645644560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741401272325,"filename":"image_08032025_03_32_36_30394.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/bc5c3af478e3d020d6fc342bad82ecb5.jpg","text":"TemporaryFile(/tmp/multipartBody6062184187751241168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741401272325,"filename":"image_08032025_03_33_05_29415.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341696736","file0":"1341696729"},"map_files_photo_id_array":[{"photo_id":"1341696736","filename":"file1"},{"photo_id":"1341696729","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341696736":["hashtag1","hashtag2"]},{"1341696729":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341696736, 1341696729)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.610775232315063 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 03:34:02.851735
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 03:34:32.077243
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/03/33/image_08032025_03_34_06_30342.jpg', 2), ('/home/nano/Desktop/images/08032025/03/33/image_08032025_03_33_36_30345.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/03/33/image_08032025_03_34_06_30342.jpg', '/home/nano/Desktop/images/08032025/03/33/image_08032025_03_33_36_30345.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/03/33/image_08032025_03_34_06_30342.jpg
/home/nano/Desktop/images/08032025/03/33/image_08032025_03_33_36_30345.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341696886","1341696889"],"photo_ids_order":["1341696886","1341696889"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/354b17cd3303fea92d50f3cf2a07c467.jpg","text":"TemporaryFile(/tmp/multipartBody8094575134182830112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741401332480,"filename":"image_08032025_03_34_06_30342.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/bd74cd6d3ebb5e2b0209b872692c2c4f.jpg","text":"TemporaryFile(/tmp/multipartBody2806804694652653481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741401332480,"filename":"image_08032025_03_33_36_30345.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341696889","file0":"1341696886"},"map_files_photo_id_array":[{"photo_id":"1341696889","filename":"file1"},{"photo_id":"1341696886","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341696886":["hashtag1","hashtag2"]},{"1341696889":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341696886, 1341696889)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 19.158032655715942 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 03:35:02.719911
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 03:35:32.156809
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/03/34/image_08032025_03_35_06_30419.jpg', 2), ('/home/nano/Desktop/images/08032025/03/34/image_08032025_03_34_35_29550.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/03/34/image_08032025_03_35_06_30419.jpg', '/home/nano/Desktop/images/08032025/03/34/image_08032025_03_34_35_29550.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/03/34/image_08032025_03_35_06_30419.jpg
/home/nano/Desktop/images/08032025/03/34/image_08032025_03_34_35_29550.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341697046","1341697039"],"photo_ids_order":["1341697039","1341697046"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/6e14fb096beebe9d7483abb04aa7bd96.jpg","text":"TemporaryFile(/tmp/multipartBody8747124821815700022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741401392500,"filename":"image_08032025_03_34_35_29550.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/13567bb786c9b252b3788b3e17392550.jpg","text":"TemporaryFile(/tmp/multipartBody4106395766292839508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741401392500,"filename":"image_08032025_03_35_06_30419.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341697046","file0":"1341697039"},"map_files_photo_id_array":[{"photo_id":"1341697046","filename":"file1"},{"photo_id":"1341697039","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341697046":["hashtag1","hashtag2"]},{"1341697039":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341697046, 1341697039)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.554605960845947 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 03:36:02.980361
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 03:36:32.248057
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/03/35/image_08032025_03_36_06_30636.jpg', 2), ('/home/nano/Desktop/images/08032025/03/35/image_08032025_03_35_35_29383.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/03/35/image_08032025_03_36_06_30636.jpg', '/home/nano/Desktop/images/08032025/03/35/image_08032025_03_35_35_29383.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/03/35/image_08032025_03_36_06_30636.jpg
/home/nano/Desktop/images/08032025/03/35/image_08032025_03_35_35_29383.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341697155","1341697159"],"photo_ids_order":["1341697155","1341697159"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/a1e40e0568d0c7e9b1b6feaec229912d.jpg","text":"TemporaryFile(/tmp/multipartBody468956987413429648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741401452605,"filename":"image_08032025_03_36_06_30636.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/d8d8cf8dfb5d12ad5e15de4c7359e1fa.jpg","text":"TemporaryFile(/tmp/multipartBody1271147638436703560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741401452605,"filename":"image_08032025_03_35_35_29383.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341697159","file0":"1341697155"},"map_files_photo_id_array":[{"photo_id":"1341697159","filename":"file1"},{"photo_id":"1341697155","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341697155":["hashtag1","hashtag2"]},{"1341697159":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341697155, 1341697159)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.149827003479004 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 03:37:02.944521
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 03:37:32.403319
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/03/36/image_08032025_03_37_05_30296.jpg', 2), ('/home/nano/Desktop/images/08032025/03/36/image_08032025_03_36_35_29307.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/03/36/image_08032025_03_37_05_30296.jpg', '/home/nano/Desktop/images/08032025/03/36/image_08032025_03_36_35_29307.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/03/36/image_08032025_03_37_05_30296.jpg
/home/nano/Desktop/images/08032025/03/36/image_08032025_03_36_35_29307.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341697314","1341697317"],"photo_ids_order":["1341697314","1341697317"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/8fc07aae41b6234d9f7fa328fdfd5a74.jpg","text":"TemporaryFile(/tmp/multipartBody1110732802574138413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741401512742,"filename":"image_08032025_03_37_05_30296.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/6a646b9c942a51af47440f83d0ea7cfe.jpg","text":"TemporaryFile(/tmp/multipartBody6095371555490146191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741401512742,"filename":"image_08032025_03_36_35_29307.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341697317","file0":"1341697314"},"map_files_photo_id_array":[{"photo_id":"1341697317","filename":"file1"},{"photo_id":"1341697314","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341697314":["hashtag1","hashtag2"]},{"1341697317":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341697314, 1341697317)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.712928056716919 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 03:38:03.128821
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/03/37/image_08032025_03_38_05_29427.jpg', 2), ('/home/nano/Desktop/images/08032025/03/37/image_08032025_03_37_36_30376.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/03/37/image_08032025_03_38_05_29427.jpg', '/home/nano/Desktop/images/08032025/03/37/image_08032025_03_37_36_30376.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/03/37/image_08032025_03_38_05_29427.jpg
/home/nano/Desktop/images/08032025/03/37/image_08032025_03_37_36_30376.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341697347","1341697349"],"photo_ids_order":["1341697347","1341697349"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/fc7e2b8584cbc539d6186b59ef26832a.jpg","text":"TemporaryFile(/tmp/multipartBody3916373485843652916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741401543505,"filename":"image_08032025_03_38_05_29427.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/70686514e5daebbf38a85e0af1136d9c.jpg","text":"TemporaryFile(/tmp/multipartBody2987025659775032858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741401543505,"filename":"image_08032025_03_37_36_30376.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341697349","file0":"1341697347"},"map_files_photo_id_array":[{"photo_id":"1341697349","filename":"file1"},{"photo_id":"1341697347","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341697347":["hashtag1","hashtag2"]},{"1341697349":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341697347, 1341697349)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.210309982299805 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 03:38:32.485903
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 03:39:03.415097
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 03:39:32.596607
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/03/38/image_08032025_03_39_06_30346.jpg', 2), ('/home/nano/Desktop/images/08032025/03/38/image_08032025_03_38_36_30287.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/03/38/image_08032025_03_39_06_30346.jpg', '/home/nano/Desktop/images/08032025/03/38/image_08032025_03_38_36_30287.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/03/38/image_08032025_03_39_06_30346.jpg
/home/nano/Desktop/images/08032025/03/38/image_08032025_03_38_36_30287.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341698721","1341698818"],"photo_ids_order":["1341698721","1341698818"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/1b54c3a463c2d696063dc3291cff2a22.jpg","text":"TemporaryFile(/tmp/multipartBody5949422501059017528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741401632944,"filename":"image_08032025_03_39_06_30346.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/99c21ef5ac7f41621e236aa0f37bfa3c.jpg","text":"TemporaryFile(/tmp/multipartBody2386905264444375274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741401632944,"filename":"image_08032025_03_38_36_30287.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341698818","file0":"1341698721"},"map_files_photo_id_array":[{"photo_id":"1341698818","filename":"file1"},{"photo_id":"1341698721","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341698721":["hashtag1","hashtag2"]},{"1341698818":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341698721, 1341698818)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.453784227371216 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 03:40:03.235016
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 03:40:32.694066
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/03/39/image_08032025_03_40_06_30320.jpg', 2), ('/home/nano/Desktop/images/08032025/03/39/image_08032025_03_39_36_29619.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/03/39/image_08032025_03_40_06_30320.jpg', '/home/nano/Desktop/images/08032025/03/39/image_08032025_03_39_36_29619.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/03/39/image_08032025_03_40_06_30320.jpg
/home/nano/Desktop/images/08032025/03/39/image_08032025_03_39_36_29619.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341699173","1341699168"],"photo_ids_order":["1341699168","1341699173"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/729f15eac32269076bdb5a2b6016b4d1.jpg","text":"TemporaryFile(/tmp/multipartBody1560388180740114400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741401693035,"filename":"image_08032025_03_39_36_29619.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/806ba3a0097b0fd3d387f93487969133.jpg","text":"TemporaryFile(/tmp/multipartBody8642265372904063296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741401693035,"filename":"image_08032025_03_40_06_30320.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341699173","file0":"1341699168"},"map_files_photo_id_array":[{"photo_id":"1341699173","filename":"file1"},{"photo_id":"1341699168","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341699173":["hashtag1","hashtag2"]},{"1341699168":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341699173, 1341699168)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.768983840942383 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 03:41:02.379823
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 03:41:31.919259
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/03/40/image_08032025_03_41_06_30417.jpg', 2), ('/home/nano/Desktop/images/08032025/03/40/image_08032025_03_40_35_29365.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/03/40/image_08032025_03_41_06_30417.jpg', '/home/nano/Desktop/images/08032025/03/40/image_08032025_03_40_35_29365.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/03/40/image_08032025_03_41_06_30417.jpg
/home/nano/Desktop/images/08032025/03/40/image_08032025_03_40_35_29365.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341699537","1341699551"],"photo_ids_order":["1341699537","1341699551"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/9c3c93e8c67797b99f9eb2f397cb30e0.jpg","text":"TemporaryFile(/tmp/multipartBody4558899462699920954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741401752251,"filename":"image_08032025_03_41_06_30417.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/4ea0a9ff75c8570e0046339402253f22.jpg","text":"TemporaryFile(/tmp/multipartBody8219102273377317431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741401752251,"filename":"image_08032025_03_40_35_29365.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341699551","file0":"1341699537"},"map_files_photo_id_array":[{"photo_id":"1341699551","filename":"file1"},{"photo_id":"1341699537","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341699537":["hashtag1","hashtag2"]},{"1341699551":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341699537, 1341699551)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.447477102279663 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 03:42:02.522203
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 03:42:32.005943
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/03/41/image_08032025_03_42_05_29415.jpg', 2), ('/home/nano/Desktop/images/08032025/03/41/image_08032025_03_41_36_30314.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/03/41/image_08032025_03_42_05_29415.jpg', '/home/nano/Desktop/images/08032025/03/41/image_08032025_03_41_36_30314.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/03/41/image_08032025_03_42_05_29415.jpg
/home/nano/Desktop/images/08032025/03/41/image_08032025_03_41_36_30314.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341699721","1341699715"],"photo_ids_order":["1341699715","1341699721"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/00951b3c0d7df24d58cbbd2de8fae960.jpg","text":"TemporaryFile(/tmp/multipartBody127401750644129206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741401812370,"filename":"image_08032025_03_41_36_30314.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/bd8adcafde607bd6cdff4fe1a9f97383.jpg","text":"TemporaryFile(/tmp/multipartBody6600838466679119712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741401812370,"filename":"image_08032025_03_42_05_29415.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341699721","file0":"1341699715"},"map_files_photo_id_array":[{"photo_id":"1341699721","filename":"file1"},{"photo_id":"1341699715","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341699721":["hashtag1","hashtag2"]},{"1341699715":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341699721, 1341699715)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.75554132461548 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 03:43:02.699811
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 03:43:32.092976
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/03/42/image_08032025_03_43_06_30452.jpg', 2), ('/home/nano/Desktop/images/08032025/03/42/image_08032025_03_42_36_30284.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/03/42/image_08032025_03_43_06_30452.jpg', '/home/nano/Desktop/images/08032025/03/42/image_08032025_03_42_36_30284.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/03/42/image_08032025_03_43_06_30452.jpg
/home/nano/Desktop/images/08032025/03/42/image_08032025_03_42_36_30284.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341699929","1341699908"],"photo_ids_order":["1341699908","1341699929"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/6bebec54051de8acbfc44c46152d2baa.jpg","text":"TemporaryFile(/tmp/multipartBody4004520075110583785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741401872433,"filename":"image_08032025_03_42_36_30284.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/fc9ceb6db1aa245893ee45b76f1397e5.jpg","text":"TemporaryFile(/tmp/multipartBody9036677310556186430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741401872433,"filename":"image_08032025_03_43_06_30452.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341699929","file0":"1341699908"},"map_files_photo_id_array":[{"photo_id":"1341699929","filename":"file1"},{"photo_id":"1341699908","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341699929":["hashtag1","hashtag2"]},{"1341699908":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341699929, 1341699908)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.78408670425415 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 03:44:02.883277
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 03:44:32.210659
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/03/43/image_08032025_03_44_06_30405.jpg', 2), ('/home/nano/Desktop/images/08032025/03/43/image_08032025_03_43_36_29429.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/03/43/image_08032025_03_44_06_30405.jpg', '/home/nano/Desktop/images/08032025/03/43/image_08032025_03_43_36_29429.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/03/43/image_08032025_03_44_06_30405.jpg
/home/nano/Desktop/images/08032025/03/43/image_08032025_03_43_36_29429.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341700183","1341700228"],"photo_ids_order":["1341700183","1341700228"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/688a5566c97eeceeb8314c5409b6d641.jpg","text":"TemporaryFile(/tmp/multipartBody3274942669676027160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741401932554,"filename":"image_08032025_03_44_06_30405.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/0a0bd570e2ee4b6422caf01cf47baa31.jpg","text":"TemporaryFile(/tmp/multipartBody2636483530453764872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741401932554,"filename":"image_08032025_03_43_36_29429.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341700228","file0":"1341700183"},"map_files_photo_id_array":[{"photo_id":"1341700228","filename":"file1"},{"photo_id":"1341700183","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341700183":["hashtag1","hashtag2"]},{"1341700228":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341700183, 1341700228)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.502015113830566 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 03:45:02.875305
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 03:45:32.402193
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/03/44/image_08032025_03_45_06_30370.jpg', 2), ('/home/nano/Desktop/images/08032025/03/44/image_08032025_03_44_35_29384.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/03/44/image_08032025_03_45_06_30370.jpg', '/home/nano/Desktop/images/08032025/03/44/image_08032025_03_44_35_29384.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/03/44/image_08032025_03_45_06_30370.jpg
/home/nano/Desktop/images/08032025/03/44/image_08032025_03_44_35_29384.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341700331","1341700359"],"photo_ids_order":["1341700331","1341700359"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/0420cfdb43e756ad3a023c30d3592fdb.jpg","text":"TemporaryFile(/tmp/multipartBody6499719653475888280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741401992758,"filename":"image_08032025_03_45_06_30370.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/19baf2ee4aabc9f612a4956bcece8998.jpg","text":"TemporaryFile(/tmp/multipartBody6273624373254378668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741401992758,"filename":"image_08032025_03_44_35_29384.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341700359","file0":"1341700331"},"map_files_photo_id_array":[{"photo_id":"1341700359","filename":"file1"},{"photo_id":"1341700331","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341700331":["hashtag1","hashtag2"]},{"1341700359":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341700331, 1341700359)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.990693807601929 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 03:46:03.032011
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 03:46:32.482513
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/03/45/image_08032025_03_46_06_30568.jpg', 2), ('/home/nano/Desktop/images/08032025/03/45/image_08032025_03_45_35_29593.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/03/45/image_08032025_03_46_06_30568.jpg', '/home/nano/Desktop/images/08032025/03/45/image_08032025_03_45_35_29593.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/03/45/image_08032025_03_46_06_30568.jpg
/home/nano/Desktop/images/08032025/03/45/image_08032025_03_45_35_29593.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341700471","1341700438"],"photo_ids_order":["1341700438","1341700471"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/e27b7d31ec09f3961ab3c8eb4026ab17.jpg","text":"TemporaryFile(/tmp/multipartBody3525412105894013104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741402052814,"filename":"image_08032025_03_45_35_29593.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/90f1b148839250f81a6979809981a7bf.jpg","text":"TemporaryFile(/tmp/multipartBody5539122934480646246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741402052814,"filename":"image_08032025_03_46_06_30568.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341700471","file0":"1341700438"},"map_files_photo_id_array":[{"photo_id":"1341700471","filename":"file1"},{"photo_id":"1341700438","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341700471":["hashtag1","hashtag2"]},{"1341700438":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341700471, 1341700438)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.613087177276611 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 03:47:03.067896
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 03:47:32.590279
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/03/46/image_08032025_03_47_06_30421.jpg', 2), ('/home/nano/Desktop/images/08032025/03/46/image_08032025_03_46_35_29286.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/03/46/image_08032025_03_47_06_30421.jpg', '/home/nano/Desktop/images/08032025/03/46/image_08032025_03_46_35_29286.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/03/46/image_08032025_03_47_06_30421.jpg
/home/nano/Desktop/images/08032025/03/46/image_08032025_03_46_35_29286.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341700787","1341700769"],"photo_ids_order":["1341700769","1341700787"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/0213b6d9dbdafe8f022333c8fea7fd8b.jpg","text":"TemporaryFile(/tmp/multipartBody6457342673328491937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741402112923,"filename":"image_08032025_03_46_35_29286.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/9f738c6314540c82d9765491f8e35713.jpg","text":"TemporaryFile(/tmp/multipartBody6302274247909863608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741402112923,"filename":"image_08032025_03_47_06_30421.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341700787","file0":"1341700769"},"map_files_photo_id_array":[{"photo_id":"1341700787","filename":"file1"},{"photo_id":"1341700769","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341700787":["hashtag1","hashtag2"]},{"1341700769":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341700787, 1341700769)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.383237838745117 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 03:48:03.201480
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 03:48:32.679949
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/03/47/image_08032025_03_48_06_30413.jpg', 2), ('/home/nano/Desktop/images/08032025/03/47/image_08032025_03_47_35_29565.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/03/47/image_08032025_03_48_06_30413.jpg', '/home/nano/Desktop/images/08032025/03/47/image_08032025_03_47_35_29565.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/03/47/image_08032025_03_48_06_30413.jpg
/home/nano/Desktop/images/08032025/03/47/image_08032025_03_47_35_29565.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341701133","1341701150"],"photo_ids_order":["1341701133","1341701150"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/d009775139b988c4a8fde0aa897daca4.jpg","text":"TemporaryFile(/tmp/multipartBody3576716487293153969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741402173019,"filename":"image_08032025_03_48_06_30413.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/cfd0af453b8dd2b15c791577a384e315.jpg","text":"TemporaryFile(/tmp/multipartBody3000384362116058237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741402173019,"filename":"image_08032025_03_47_35_29565.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341701150","file0":"1341701133"},"map_files_photo_id_array":[{"photo_id":"1341701150","filename":"file1"},{"photo_id":"1341701133","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341701133":["hashtag1","hashtag2"]},{"1341701150":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341701133, 1341701150)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.107465267181396 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 03:49:02.496659
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 03:49:31.767925
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/03/48/image_08032025_03_49_05_29427.jpg', 2), ('/home/nano/Desktop/images/08032025/03/48/image_08032025_03_48_36_30335.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/03/48/image_08032025_03_49_05_29427.jpg', '/home/nano/Desktop/images/08032025/03/48/image_08032025_03_48_36_30335.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/03/48/image_08032025_03_49_05_29427.jpg
/home/nano/Desktop/images/08032025/03/48/image_08032025_03_48_36_30335.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341701332","1341701301"],"photo_ids_order":["1341701301","1341701332"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/10b98be12b64eb80206ea0cdbc0d823a.jpg","text":"TemporaryFile(/tmp/multipartBody5469116704049689827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741402232111,"filename":"image_08032025_03_48_36_30335.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/e1e84a4ad80032db7cf1b7556743623b.jpg","text":"TemporaryFile(/tmp/multipartBody6512826279207796854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741402232111,"filename":"image_08032025_03_49_05_29427.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341701332","file0":"1341701301"},"map_files_photo_id_array":[{"photo_id":"1341701332","filename":"file1"},{"photo_id":"1341701301","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341701332":["hashtag1","hashtag2"]},{"1341701301":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341701332, 1341701301)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 16.27410912513733 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 03:50:02.508700
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 03:50:31.884899
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/03/49/image_08032025_03_50_06_30450.jpg', 2), ('/home/nano/Desktop/images/08032025/03/49/image_08032025_03_49_35_30172.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/03/49/image_08032025_03_50_06_30450.jpg', '/home/nano/Desktop/images/08032025/03/49/image_08032025_03_49_35_30172.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/03/49/image_08032025_03_50_06_30450.jpg
/home/nano/Desktop/images/08032025/03/49/image_08032025_03_49_35_30172.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341701374","1341701372"],"photo_ids_order":["1341701372","1341701374"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/8d398d27e3d7e8eb383ddbba2f9c8b14.jpg","text":"TemporaryFile(/tmp/multipartBody7096874358035023311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741402292244,"filename":"image_08032025_03_49_35_30172.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/a98b31160a44c8b17883331be1459735.jpg","text":"TemporaryFile(/tmp/multipartBody381622816686988460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741402292244,"filename":"image_08032025_03_50_06_30450.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341701374","file0":"1341701372"},"map_files_photo_id_array":[{"photo_id":"1341701374","filename":"file1"},{"photo_id":"1341701372","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341701374":["hashtag1","hashtag2"]},{"1341701372":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341701374, 1341701372)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 19.2190842628479 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 03:51:02.494603
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 03:51:31.968360
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/03/50/image_08032025_03_51_06_30407.jpg', 2), ('/home/nano/Desktop/images/08032025/03/50/image_08032025_03_50_35_29396.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/03/50/image_08032025_03_51_06_30407.jpg', '/home/nano/Desktop/images/08032025/03/50/image_08032025_03_50_35_29396.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/03/50/image_08032025_03_51_06_30407.jpg
/home/nano/Desktop/images/08032025/03/50/image_08032025_03_50_35_29396.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341702290","1341702379"],"photo_ids_order":["1341702290","1341702379"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/cd0c02deee43a01525a303105d3195e4.jpg","text":"TemporaryFile(/tmp/multipartBody5315671826025752967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741402352310,"filename":"image_08032025_03_51_06_30407.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/f83fb501644a1327c2856ad3ba079c51.jpg","text":"TemporaryFile(/tmp/multipartBody8984775437833138797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741402352310,"filename":"image_08032025_03_50_35_29396.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341702379","file0":"1341702290"},"map_files_photo_id_array":[{"photo_id":"1341702379","filename":"file1"},{"photo_id":"1341702290","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341702290":["hashtag1","hashtag2"]},{"1341702379":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341702290, 1341702379)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 45.57355237007141 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 03:52:32.081104
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/03/51/image_08032025_03_52_06_30404.jpg', 2), ('/home/nano/Desktop/images/08032025/03/51/image_08032025_03_51_35_29538.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/03/51/image_08032025_03_52_06_30404.jpg', '/home/nano/Desktop/images/08032025/03/51/image_08032025_03_51_35_29538.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/03/51/image_08032025_03_52_06_30404.jpg
/home/nano/Desktop/images/08032025/03/51/image_08032025_03_51_35_29538.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.2621793746948242 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 marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 03:53:02.772368
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/03/51/image_08032025_03_52_06_30404.jpg', 2), ('/home/nano/Desktop/images/08032025/03/51/image_08032025_03_51_35_29538.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/03/51/image_08032025_03_52_06_30404.jpg', '/home/nano/Desktop/images/08032025/03/51/image_08032025_03_51_35_29538.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/03/51/image_08032025_03_52_06_30404.jpg
/home/nano/Desktop/images/08032025/03/51/image_08032025_03_51_35_29538.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341702954","1341702887"],"photo_ids_order":["1341702887","1341702954"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/3dfca4e1e4bc836640960b6fa052f7e1.jpg","text":"TemporaryFile(/tmp/multipartBody3494958546639769560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741402443123,"filename":"image_08032025_03_51_35_29538.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/3c70ae5332d05c3d243769cc87ea305b.jpg","text":"TemporaryFile(/tmp/multipartBody2697688425241235915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741402443123,"filename":"image_08032025_03_52_06_30404.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341702954","file0":"1341702887"},"map_files_photo_id_array":[{"photo_id":"1341702954","filename":"file1"},{"photo_id":"1341702887","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341702954":["hashtag1","hashtag2"]},{"1341702887":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341702954, 1341702887)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 19.257850170135498 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 03:53:32.264961
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/03/52/image_08032025_03_53_06_29467.jpg', 2), ('/home/nano/Desktop/images/08032025/03/52/image_08032025_03_52_36_30392.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/03/52/image_08032025_03_53_06_29467.jpg', '/home/nano/Desktop/images/08032025/03/52/image_08032025_03_52_36_30392.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/03/52/image_08032025_03_53_06_29467.jpg
/home/nano/Desktop/images/08032025/03/52/image_08032025_03_52_36_30392.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341703143","1341703139"],"photo_ids_order":["1341703139","1341703143"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/f850ed4bebd538da47bd54ff9ce553c1.jpg","text":"TemporaryFile(/tmp/multipartBody405022737930113998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741402472606,"filename":"image_08032025_03_52_36_30392.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/06520ccfeba92f9730c35975ee2b39ae.jpg","text":"TemporaryFile(/tmp/multipartBody360400772164602773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741402472606,"filename":"image_08032025_03_53_06_29467.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341703143","file0":"1341703139"},"map_files_photo_id_array":[{"photo_id":"1341703143","filename":"file1"},{"photo_id":"1341703139","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341703143":["hashtag1","hashtag2"]},{"1341703139":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341703143, 1341703139)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.52945327758789 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 03:54:03.170985
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 03:54:32.354970
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/03/53/image_08032025_03_54_05_29476.jpg', 2), ('/home/nano/Desktop/images/08032025/03/53/image_08032025_03_53_36_30444.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/03/53/image_08032025_03_54_05_29476.jpg', '/home/nano/Desktop/images/08032025/03/53/image_08032025_03_53_36_30444.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/03/53/image_08032025_03_54_05_29476.jpg
/home/nano/Desktop/images/08032025/03/53/image_08032025_03_53_36_30444.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341703365","1341703357"],"photo_ids_order":["1341703357","1341703365"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/d1f70a0ee285d2861213337e4d3438f7.jpg","text":"TemporaryFile(/tmp/multipartBody5790817390388027943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741402532680,"filename":"image_08032025_03_53_36_30444.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/26ba9f59078adc0876037129dbd0f66a.jpg","text":"TemporaryFile(/tmp/multipartBody4076878348743759958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741402532680,"filename":"image_08032025_03_54_05_29476.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341703365","file0":"1341703357"},"map_files_photo_id_array":[{"photo_id":"1341703365","filename":"file1"},{"photo_id":"1341703357","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341703365":["hashtag1","hashtag2"]},{"1341703357":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341703365, 1341703357)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 16.378825664520264 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 03:55:02.984471
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 03:55:32.437941
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/03/54/image_08032025_03_55_06_30219.jpg', 2), ('/home/nano/Desktop/images/08032025/03/54/image_08032025_03_54_36_30248.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/03/54/image_08032025_03_55_06_30219.jpg', '/home/nano/Desktop/images/08032025/03/54/image_08032025_03_54_36_30248.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/03/54/image_08032025_03_55_06_30219.jpg
/home/nano/Desktop/images/08032025/03/54/image_08032025_03_54_36_30248.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341703498","1341703522"],"photo_ids_order":["1341703498","1341703522"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/68d8f70195000c42ca79b8b23e668740.jpg","text":"TemporaryFile(/tmp/multipartBody5250585043960053628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741402592772,"filename":"image_08032025_03_55_06_30219.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/78a5b645839f46b1a5cafb359111855e.jpg","text":"TemporaryFile(/tmp/multipartBody6114008225162195303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741402592772,"filename":"image_08032025_03_54_36_30248.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341703522","file0":"1341703498"},"map_files_photo_id_array":[{"photo_id":"1341703522","filename":"file1"},{"photo_id":"1341703498","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341703498":["hashtag1","hashtag2"]},{"1341703522":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341703498, 1341703522)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.34277868270874 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 03:56:03.021319
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 03:56:32.541950
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/03/55/image_08032025_03_56_06_30478.jpg', 2), ('/home/nano/Desktop/images/08032025/03/55/image_08032025_03_55_35_29438.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/03/55/image_08032025_03_56_06_30478.jpg', '/home/nano/Desktop/images/08032025/03/55/image_08032025_03_55_35_29438.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/03/55/image_08032025_03_56_06_30478.jpg
/home/nano/Desktop/images/08032025/03/55/image_08032025_03_55_35_29438.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341703734","1341703732"],"photo_ids_order":["1341703732","1341703734"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/47eeea42368b6b1d64c4860ff95292da.jpg","text":"TemporaryFile(/tmp/multipartBody1778042776408184539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741402652903,"filename":"image_08032025_03_55_35_29438.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/133faef9452073273056b9ad173c16c0.jpg","text":"TemporaryFile(/tmp/multipartBody7113507402605220340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741402652903,"filename":"image_08032025_03_56_06_30478.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341703734","file0":"1341703732"},"map_files_photo_id_array":[{"photo_id":"1341703734","filename":"file1"},{"photo_id":"1341703732","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341703734":["hashtag1","hashtag2"]},{"1341703732":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341703734, 1341703732)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 16.681827545166016 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 03:57:03.265495
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 03:57:32.643750
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/03/56/image_08032025_03_57_06_30549.jpg', 2), ('/home/nano/Desktop/images/08032025/03/56/image_08032025_03_56_35_29324.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/03/56/image_08032025_03_57_06_30549.jpg', '/home/nano/Desktop/images/08032025/03/56/image_08032025_03_56_35_29324.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/03/56/image_08032025_03_57_06_30549.jpg
/home/nano/Desktop/images/08032025/03/56/image_08032025_03_56_35_29324.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341704325","1341704328"],"photo_ids_order":["1341704325","1341704328"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/1b6275b145384202976edff84bc0cb44.jpg","text":"TemporaryFile(/tmp/multipartBody1354052337922639837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741402712964,"filename":"image_08032025_03_57_06_30549.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/264e3c4f8a2c8558b537366d781e0855.jpg","text":"TemporaryFile(/tmp/multipartBody3280984970040526309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741402712964,"filename":"image_08032025_03_56_35_29324.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341704328","file0":"1341704325"},"map_files_photo_id_array":[{"photo_id":"1341704328","filename":"file1"},{"photo_id":"1341704325","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341704325":["hashtag1","hashtag2"]},{"1341704328":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341704325, 1341704328)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.064609289169312 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 03:58:03.212840
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 03:59:03.334055
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/03/57/image_08032025_03_58_05_29345.jpg', 2), ('/home/nano/Desktop/images/08032025/03/57/image_08032025_03_57_36_30272.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/03/57/image_08032025_03_58_05_29345.jpg', '/home/nano/Desktop/images/08032025/03/57/image_08032025_03_57_36_30272.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/03/57/image_08032025_03_58_05_29345.jpg
/home/nano/Desktop/images/08032025/03/57/image_08032025_03_57_36_30272.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341704727","1341704716"],"photo_ids_order":["1341704716","1341704727"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/234cfc9783190c88e350c3ef6211397f.jpg","text":"TemporaryFile(/tmp/multipartBody5032185519233618325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741402803709,"filename":"image_08032025_03_57_36_30272.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/0f9ea04ed802c7663b56c57aec2233f5.jpg","text":"TemporaryFile(/tmp/multipartBody3171263498651433693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741402803709,"filename":"image_08032025_03_58_05_29345.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341704727","file0":"1341704716"},"map_files_photo_id_array":[{"photo_id":"1341704727","filename":"file1"},{"photo_id":"1341704716","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341704727":["hashtag1","hashtag2"]},{"1341704716":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341704727, 1341704716)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 19.721959590911865 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 03:59:32.605358
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/03/58/image_08032025_03_59_06_30374.jpg', 2), ('/home/nano/Desktop/images/08032025/03/58/image_08032025_03_58_36_30291.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/03/58/image_08032025_03_59_06_30374.jpg', '/home/nano/Desktop/images/08032025/03/58/image_08032025_03_58_36_30291.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/03/58/image_08032025_03_59_06_30374.jpg
/home/nano/Desktop/images/08032025/03/58/image_08032025_03_58_36_30291.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341704845","1341704895"],"photo_ids_order":["1341704845","1341704895"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/e4f8dbc186bfb813221e376aadfc9549.jpg","text":"TemporaryFile(/tmp/multipartBody456558118845360479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741402832952,"filename":"image_08032025_03_59_06_30374.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/4ff613e928a89f499a8f37ada708fe00.jpg","text":"TemporaryFile(/tmp/multipartBody6200665263543731135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741402832952,"filename":"image_08032025_03_58_36_30291.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341704895","file0":"1341704845"},"map_files_photo_id_array":[{"photo_id":"1341704895","filename":"file1"},{"photo_id":"1341704845","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341704845":["hashtag1","hashtag2"]},{"1341704895":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341704845, 1341704895)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.485134601593018 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 04:00:03.308337
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 04:00:32.720032
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/03/59/image_08032025_04_00_06_30478.jpg', 2), ('/home/nano/Desktop/images/08032025/03/59/image_08032025_03_59_35_29282.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/03/59/image_08032025_04_00_06_30478.jpg', '/home/nano/Desktop/images/08032025/03/59/image_08032025_03_59_35_29282.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/03/59/image_08032025_04_00_06_30478.jpg
/home/nano/Desktop/images/08032025/03/59/image_08032025_03_59_35_29282.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341705767","1341705794"],"photo_ids_order":["1341705767","1341705794"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/46361d5c404fbd1b4cd177b955977e8b.jpg","text":"TemporaryFile(/tmp/multipartBody4330028367191544998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741402893046,"filename":"image_08032025_04_00_06_30478.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/d3bba7ad215ad525008793b0b87a4dc9.jpg","text":"TemporaryFile(/tmp/multipartBody5545106230713185426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741402893046,"filename":"image_08032025_03_59_35_29282.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341705794","file0":"1341705767"},"map_files_photo_id_array":[{"photo_id":"1341705794","filename":"file1"},{"photo_id":"1341705767","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341705767":["hashtag1","hashtag2"]},{"1341705794":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341705767, 1341705794)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 33.65905785560608 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 04:01:31.832921
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/04/00/image_08032025_04_01_06_30359.jpg', 2), ('/home/nano/Desktop/images/08032025/04/00/image_08032025_04_00_35_29416.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/04/00/image_08032025_04_01_06_30359.jpg', '/home/nano/Desktop/images/08032025/04/00/image_08032025_04_00_35_29416.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/04/00/image_08032025_04_01_06_30359.jpg
/home/nano/Desktop/images/08032025/04/00/image_08032025_04_00_35_29416.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341706222","1341706160"],"photo_ids_order":["1341706160","1341706222"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/148ae6678cc1774482205e597b40e24e.jpg","text":"TemporaryFile(/tmp/multipartBody8403086298724399999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741402952214,"filename":"image_08032025_04_00_35_29416.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/1292be520c29f1688061c17b2bdb5bc9.jpg","text":"TemporaryFile(/tmp/multipartBody7386857347689083616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741402952214,"filename":"image_08032025_04_01_06_30359.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341706222","file0":"1341706160"},"map_files_photo_id_array":[{"photo_id":"1341706222","filename":"file1"},{"photo_id":"1341706160","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341706222":["hashtag1","hashtag2"]},{"1341706160":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341706222, 1341706160)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.958414793014526 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 04:02:02.542562
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 04:02:31.953241
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/04/01/image_08032025_04_02_05_29277.jpg', 2), ('/home/nano/Desktop/images/08032025/04/01/image_08032025_04_01_36_30548.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/04/01/image_08032025_04_02_05_29277.jpg', '/home/nano/Desktop/images/08032025/04/01/image_08032025_04_01_36_30548.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/04/01/image_08032025_04_02_05_29277.jpg
/home/nano/Desktop/images/08032025/04/01/image_08032025_04_01_36_30548.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341707319","1341707360"],"photo_ids_order":["1341707319","1341707360"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/b1197a857413252970bb35d86a56061d.jpg","text":"TemporaryFile(/tmp/multipartBody5302449503542281308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741403012348,"filename":"image_08032025_04_02_05_29277.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/1819cc0e130158f521060d75dfd4474b.jpg","text":"TemporaryFile(/tmp/multipartBody2816441668980505274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741403012348,"filename":"image_08032025_04_01_36_30548.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341707360","file0":"1341707319"},"map_files_photo_id_array":[{"photo_id":"1341707360","filename":"file1"},{"photo_id":"1341707319","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341707319":["hashtag1","hashtag2"]},{"1341707360":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341707319, 1341707360)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 29.58422327041626 secondes ---
[Errno 13] Permission denied: '/home/pi'
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 04:03:32.047542
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/04/02/image_08032025_04_03_05_29432.jpg', 2), ('/home/nano/Desktop/images/08032025/04/02/image_08032025_04_02_36_30354.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/04/02/image_08032025_04_03_05_29432.jpg', '/home/nano/Desktop/images/08032025/04/02/image_08032025_04_02_36_30354.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/04/02/image_08032025_04_03_05_29432.jpg
/home/nano/Desktop/images/08032025/04/02/image_08032025_04_02_36_30354.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341707732","1341707705"],"photo_ids_order":["1341707705","1341707732"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/e6ee709b848878d897131fa428ad53c4.jpg","text":"TemporaryFile(/tmp/multipartBody3740926661939376605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741403072459,"filename":"image_08032025_04_02_36_30354.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/ed33cc942980e43db0cc8dd4bf0eb65f.jpg","text":"TemporaryFile(/tmp/multipartBody9005517902470818627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741403072459,"filename":"image_08032025_04_03_05_29432.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341707732","file0":"1341707705"},"map_files_photo_id_array":[{"photo_id":"1341707732","filename":"file1"},{"photo_id":"1341707705","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341707732":["hashtag1","hashtag2"]},{"1341707705":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341707732, 1341707705)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.17397928237915 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 04:04:03.024878
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 04:04:32.182905
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/04/03/image_08032025_04_04_06_30002.jpg', 2), ('/home/nano/Desktop/images/08032025/04/03/image_08032025_04_03_36_30430.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/04/03/image_08032025_04_04_06_30002.jpg', '/home/nano/Desktop/images/08032025/04/03/image_08032025_04_03_36_30430.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/04/03/image_08032025_04_04_06_30002.jpg
/home/nano/Desktop/images/08032025/04/03/image_08032025_04_03_36_30430.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.26415300369262695 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 marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 04:05:02.887665
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/04/03/image_08032025_04_04_06_30002.jpg', 2), ('/home/nano/Desktop/images/08032025/04/03/image_08032025_04_03_36_30430.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/04/03/image_08032025_04_04_06_30002.jpg', '/home/nano/Desktop/images/08032025/04/03/image_08032025_04_03_36_30430.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/04/03/image_08032025_04_04_06_30002.jpg
/home/nano/Desktop/images/08032025/04/03/image_08032025_04_03_36_30430.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341708138","1341708134"],"photo_ids_order":["1341708134","1341708138"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/bcb2612763a7a740049d0aa76dff0550.jpg","text":"TemporaryFile(/tmp/multipartBody861195511066897613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741403163227,"filename":"image_08032025_04_03_36_30430.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/a346d8a504f6b97b37dab3a7b6a1ca45.jpg","text":"TemporaryFile(/tmp/multipartBody1131133749195686289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741403163227,"filename":"image_08032025_04_04_06_30002.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341708138","file0":"1341708134"},"map_files_photo_id_array":[{"photo_id":"1341708138","filename":"file1"},{"photo_id":"1341708134","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341708138":["hashtag1","hashtag2"]},{"1341708134":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341708138, 1341708134)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 18.03082513809204 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 04:05:32.294848
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/04/04/image_08032025_04_05_05_29411.jpg', 2), ('/home/nano/Desktop/images/08032025/04/04/image_08032025_04_04_36_30368.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/04/04/image_08032025_04_05_05_29411.jpg', '/home/nano/Desktop/images/08032025/04/04/image_08032025_04_04_36_30368.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/04/04/image_08032025_04_05_05_29411.jpg
/home/nano/Desktop/images/08032025/04/04/image_08032025_04_04_36_30368.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.3327517509460449 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 marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 04:06:02.685304
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/04/04/image_08032025_04_05_05_29411.jpg', 2), ('/home/nano/Desktop/images/08032025/04/04/image_08032025_04_04_36_30368.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/04/04/image_08032025_04_05_05_29411.jpg', '/home/nano/Desktop/images/08032025/04/04/image_08032025_04_04_36_30368.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/04/04/image_08032025_04_05_05_29411.jpg
/home/nano/Desktop/images/08032025/04/04/image_08032025_04_04_36_30368.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341708204","1341708206"],"photo_ids_order":["1341708204","1341708206"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/0e8befda7e7b918e972f7ada106b8c17.jpg","text":"TemporaryFile(/tmp/multipartBody9030472991869307716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741403223053,"filename":"image_08032025_04_05_05_29411.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/8b2cd65a8de9e4cee1941ebb82330680.jpg","text":"TemporaryFile(/tmp/multipartBody3738463465263035764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741403223053,"filename":"image_08032025_04_04_36_30368.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341708206","file0":"1341708204"},"map_files_photo_id_array":[{"photo_id":"1341708206","filename":"file1"},{"photo_id":"1341708204","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341708204":["hashtag1","hashtag2"]},{"1341708206":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341708204, 1341708206)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.255368709564209 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 04:06:32.380895
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/04/05/image_08032025_04_06_05_29404.jpg', 2), ('/home/nano/Desktop/images/08032025/04/05/image_08032025_04_05_36_30607.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/04/05/image_08032025_04_06_05_29404.jpg', '/home/nano/Desktop/images/08032025/04/05/image_08032025_04_05_36_30607.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/04/05/image_08032025_04_06_05_29404.jpg
/home/nano/Desktop/images/08032025/04/05/image_08032025_04_05_36_30607.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341708226","1341708230"],"photo_ids_order":["1341708226","1341708230"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/ac5e07119d45cffb905d3d1e2391cb78.jpg","text":"TemporaryFile(/tmp/multipartBody7946932084151800543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741403252776,"filename":"image_08032025_04_06_05_29404.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/554bcae1919d558908be4f03c9c579ab.jpg","text":"TemporaryFile(/tmp/multipartBody7299780664140806933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741403252776,"filename":"image_08032025_04_05_36_30607.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341708230","file0":"1341708226"},"map_files_photo_id_array":[{"photo_id":"1341708230","filename":"file1"},{"photo_id":"1341708226","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341708226":["hashtag1","hashtag2"]},{"1341708230":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341708226, 1341708230)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.608792304992676 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 04:07:03.105057
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 04:07:32.530492
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/04/06/image_08032025_04_07_06_30409.jpg', 2), ('/home/nano/Desktop/images/08032025/04/06/image_08032025_04_06_36_30307.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/04/06/image_08032025_04_07_06_30409.jpg', '/home/nano/Desktop/images/08032025/04/06/image_08032025_04_06_36_30307.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/04/06/image_08032025_04_07_06_30409.jpg
/home/nano/Desktop/images/08032025/04/06/image_08032025_04_06_36_30307.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341708258","1341708252"],"photo_ids_order":["1341708252","1341708258"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/3b8994239fdcc224ffef1dc3a81ccecb.jpg","text":"TemporaryFile(/tmp/multipartBody5449587161273876047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741403312927,"filename":"image_08032025_04_06_36_30307.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/4362f18d676631bd3ae2e8cd8b4614e0.jpg","text":"TemporaryFile(/tmp/multipartBody7962879808761179770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741403312927,"filename":"image_08032025_04_07_06_30409.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341708258","file0":"1341708252"},"map_files_photo_id_array":[{"photo_id":"1341708258","filename":"file1"},{"photo_id":"1341708252","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341708258":["hashtag1","hashtag2"]},{"1341708252":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341708258, 1341708252)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.822160482406616 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 04:08:03.212395
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 04:08:32.654201
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/04/07/image_08032025_04_08_06_30404.jpg', 2), ('/home/nano/Desktop/images/08032025/04/07/image_08032025_04_07_35_29339.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/04/07/image_08032025_04_08_06_30404.jpg', '/home/nano/Desktop/images/08032025/04/07/image_08032025_04_07_35_29339.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/04/07/image_08032025_04_08_06_30404.jpg
/home/nano/Desktop/images/08032025/04/07/image_08032025_04_07_35_29339.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341708282","1341708289"],"photo_ids_order":["1341708282","1341708289"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/114cd68374cfe6ed632f4307f105ae53.jpg","text":"TemporaryFile(/tmp/multipartBody2934857150689297512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741403373016,"filename":"image_08032025_04_08_06_30404.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/bbc79607efaf48311f98234c9b2a8548.jpg","text":"TemporaryFile(/tmp/multipartBody5464986518908092981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741403373016,"filename":"image_08032025_04_07_35_29339.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341708289","file0":"1341708282"},"map_files_photo_id_array":[{"photo_id":"1341708289","filename":"file1"},{"photo_id":"1341708282","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341708282":["hashtag1","hashtag2"]},{"1341708289":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341708282, 1341708289)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.533888816833496 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 04:09:02.153904
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 04:09:31.787646
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/04/08/image_08032025_04_09_06_30400.jpg', 2), ('/home/nano/Desktop/images/08032025/04/08/image_08032025_04_08_35_29389.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/04/08/image_08032025_04_09_06_30400.jpg', '/home/nano/Desktop/images/08032025/04/08/image_08032025_04_08_35_29389.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/04/08/image_08032025_04_09_06_30400.jpg
/home/nano/Desktop/images/08032025/04/08/image_08032025_04_08_35_29389.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341708416","1341708425"],"photo_ids_order":["1341708416","1341708425"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/de0416105c2dc04bdbeecc8bd23ca030.jpg","text":"TemporaryFile(/tmp/multipartBody7561932460090342100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741403432114,"filename":"image_08032025_04_09_06_30400.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/8a18503172806c527fba0aee547ec1f3.jpg","text":"TemporaryFile(/tmp/multipartBody242466196479703859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741403432114,"filename":"image_08032025_04_08_35_29389.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341708425","file0":"1341708416"},"map_files_photo_id_array":[{"photo_id":"1341708425","filename":"file1"},{"photo_id":"1341708416","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341708416":["hashtag1","hashtag2"]},{"1341708425":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341708416, 1341708425)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.556513786315918 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 04:10:02.391443
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 04:10:31.889389
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/04/09/image_08032025_04_10_05_29458.jpg', 2), ('/home/nano/Desktop/images/08032025/04/09/image_08032025_04_09_36_30403.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/04/09/image_08032025_04_10_05_29458.jpg', '/home/nano/Desktop/images/08032025/04/09/image_08032025_04_09_36_30403.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/04/09/image_08032025_04_10_05_29458.jpg
/home/nano/Desktop/images/08032025/04/09/image_08032025_04_09_36_30403.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341708691","1341708652"],"photo_ids_order":["1341708652","1341708691"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/1b7857f326e4fbfd33c270feec33548b.jpg","text":"TemporaryFile(/tmp/multipartBody145629060761495425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741403492221,"filename":"image_08032025_04_09_36_30403.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/69c69ef5ea31bfe5b782599c1f91bd2b.jpg","text":"TemporaryFile(/tmp/multipartBody5719733169975284000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741403492221,"filename":"image_08032025_04_10_05_29458.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341708691","file0":"1341708652"},"map_files_photo_id_array":[{"photo_id":"1341708691","filename":"file1"},{"photo_id":"1341708652","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341708691":["hashtag1","hashtag2"]},{"1341708652":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341708691, 1341708652)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.809992790222168 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 04:11:02.561219
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 04:11:32.012431
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/04/10/image_08032025_04_11_05_29472.jpg', 2), ('/home/nano/Desktop/images/08032025/04/10/image_08032025_04_10_36_30352.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/04/10/image_08032025_04_11_05_29472.jpg', '/home/nano/Desktop/images/08032025/04/10/image_08032025_04_10_36_30352.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/04/10/image_08032025_04_11_05_29472.jpg
/home/nano/Desktop/images/08032025/04/10/image_08032025_04_10_36_30352.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341708840","1341708844"],"photo_ids_order":["1341708840","1341708844"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/a22ecfa469c77222234314a22881f3c2.jpg","text":"TemporaryFile(/tmp/multipartBody7196880836441151066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741403552340,"filename":"image_08032025_04_11_05_29472.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/8b4df46a3d9cb83749ef25e76802e0a9.jpg","text":"TemporaryFile(/tmp/multipartBody7609907766238258952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741403552340,"filename":"image_08032025_04_10_36_30352.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341708844","file0":"1341708840"},"map_files_photo_id_array":[{"photo_id":"1341708844","filename":"file1"},{"photo_id":"1341708840","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341708840":["hashtag1","hashtag2"]},{"1341708844":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341708840, 1341708844)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.427011251449585 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 04:12:02.709021
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 04:12:32.090754
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/04/11/image_08032025_04_12_06_30331.jpg', 2), ('/home/nano/Desktop/images/08032025/04/11/image_08032025_04_11_36_30406.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/04/11/image_08032025_04_12_06_30331.jpg', '/home/nano/Desktop/images/08032025/04/11/image_08032025_04_11_36_30406.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/04/11/image_08032025_04_12_06_30331.jpg
/home/nano/Desktop/images/08032025/04/11/image_08032025_04_11_36_30406.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341708911","1341708916"],"photo_ids_order":["1341708911","1341708916"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/12c977d876d3403fb7721a1502c91ab8.jpg","text":"TemporaryFile(/tmp/multipartBody773553807209985597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741403612425,"filename":"image_08032025_04_12_06_30331.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/50d65dba4662902709301fa906d2c7f7.jpg","text":"TemporaryFile(/tmp/multipartBody3537074627064694668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741403612425,"filename":"image_08032025_04_11_36_30406.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341708916","file0":"1341708911"},"map_files_photo_id_array":[{"photo_id":"1341708916","filename":"file1"},{"photo_id":"1341708911","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341708911":["hashtag1","hashtag2"]},{"1341708916":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341708911, 1341708916)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 13.865101099014282 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 04:13:02.867391
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 04:13:32.189874
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/04/12/image_08032025_04_13_06_30387.jpg', 2), ('/home/nano/Desktop/images/08032025/04/12/image_08032025_04_12_35_29146.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/04/12/image_08032025_04_13_06_30387.jpg', '/home/nano/Desktop/images/08032025/04/12/image_08032025_04_12_35_29146.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/04/12/image_08032025_04_13_06_30387.jpg
/home/nano/Desktop/images/08032025/04/12/image_08032025_04_12_35_29146.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341709244","1341709264"],"photo_ids_order":["1341709244","1341709264"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/100f30d969faacdeb06578bbc25fefbf.jpg","text":"TemporaryFile(/tmp/multipartBody1908012705193584540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741403672524,"filename":"image_08032025_04_13_06_30387.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/47d35e7103494acebcb3646e5eef5103.jpg","text":"TemporaryFile(/tmp/multipartBody2547046782059843890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741403672524,"filename":"image_08032025_04_12_35_29146.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341709264","file0":"1341709244"},"map_files_photo_id_array":[{"photo_id":"1341709264","filename":"file1"},{"photo_id":"1341709244","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341709244":["hashtag1","hashtag2"]},{"1341709264":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341709244, 1341709264)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.26337194442749 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 04:14:02.905195
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 04:14:32.319880
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/04/13/image_08032025_04_14_05_29525.jpg', 2), ('/home/nano/Desktop/images/08032025/04/13/image_08032025_04_13_36_30052.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/04/13/image_08032025_04_14_05_29525.jpg', '/home/nano/Desktop/images/08032025/04/13/image_08032025_04_13_36_30052.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/04/13/image_08032025_04_14_05_29525.jpg
/home/nano/Desktop/images/08032025/04/13/image_08032025_04_13_36_30052.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341709396","1341709392"],"photo_ids_order":["1341709392","1341709396"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/0052c03d6073771a22847ef7fe152835.jpg","text":"TemporaryFile(/tmp/multipartBody167638557174625106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741403732646,"filename":"image_08032025_04_13_36_30052.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/1c76f0c064cea9f1963761e8e9e1f88a.jpg","text":"TemporaryFile(/tmp/multipartBody1356105061322010769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741403732646,"filename":"image_08032025_04_14_05_29525.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341709396","file0":"1341709392"},"map_files_photo_id_array":[{"photo_id":"1341709396","filename":"file1"},{"photo_id":"1341709392","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341709396":["hashtag1","hashtag2"]},{"1341709392":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341709396, 1341709392)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.72966742515564 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 04:15:02.912329
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 04:15:32.422129
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/04/14/image_08032025_04_15_06_30441.jpg', 2), ('/home/nano/Desktop/images/08032025/04/14/image_08032025_04_14_36_30377.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/04/14/image_08032025_04_15_06_30441.jpg', '/home/nano/Desktop/images/08032025/04/14/image_08032025_04_14_36_30377.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/04/14/image_08032025_04_15_06_30441.jpg
/home/nano/Desktop/images/08032025/04/14/image_08032025_04_14_36_30377.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341709533","1341709491"],"photo_ids_order":["1341709491","1341709533"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/775dbb6ca716aa5d410184882d89d56b.jpg","text":"TemporaryFile(/tmp/multipartBody3272585565403834745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741403792791,"filename":"image_08032025_04_14_36_30377.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/66f087e953a03f0e1485212189aa9717.jpg","text":"TemporaryFile(/tmp/multipartBody2452197957855435626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741403792791,"filename":"image_08032025_04_15_06_30441.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341709533","file0":"1341709491"},"map_files_photo_id_array":[{"photo_id":"1341709533","filename":"file1"},{"photo_id":"1341709491","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341709533":["hashtag1","hashtag2"]},{"1341709491":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341709533, 1341709491)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.491353511810303 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 04:16:03.144555
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 04:16:32.515130
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/04/15/image_08032025_04_16_06_30351.jpg', 2), ('/home/nano/Desktop/images/08032025/04/15/image_08032025_04_15_35_29447.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/04/15/image_08032025_04_16_06_30351.jpg', '/home/nano/Desktop/images/08032025/04/15/image_08032025_04_15_35_29447.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/04/15/image_08032025_04_16_06_30351.jpg
/home/nano/Desktop/images/08032025/04/15/image_08032025_04_15_35_29447.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341709638","1341709642"],"photo_ids_order":["1341709638","1341709642"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/aff11c74c3e1bf07a45c100e00b31253.jpg","text":"TemporaryFile(/tmp/multipartBody3300299881130267241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741403852835,"filename":"image_08032025_04_16_06_30351.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/70eab95265c65d82e3e2932f2ea66ca8.jpg","text":"TemporaryFile(/tmp/multipartBody7862788233211385582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741403852835,"filename":"image_08032025_04_15_35_29447.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341709642","file0":"1341709638"},"map_files_photo_id_array":[{"photo_id":"1341709642","filename":"file1"},{"photo_id":"1341709638","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341709638":["hashtag1","hashtag2"]},{"1341709642":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341709638, 1341709642)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.455054998397827 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 04:17:02.936324
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 04:17:32.629202
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/04/16/image_08032025_04_17_05_29420.jpg', 2), ('/home/nano/Desktop/images/08032025/04/16/image_08032025_04_16_36_30075.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/04/16/image_08032025_04_17_05_29420.jpg', '/home/nano/Desktop/images/08032025/04/16/image_08032025_04_16_36_30075.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/04/16/image_08032025_04_17_05_29420.jpg
/home/nano/Desktop/images/08032025/04/16/image_08032025_04_16_36_30075.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341709886","1341709761"],"photo_ids_order":["1341709761","1341709886"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/568c3d5b7472b108fd9e9f0a33a20f08.jpg","text":"TemporaryFile(/tmp/multipartBody2477116944723225807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741403912969,"filename":"image_08032025_04_16_36_30075.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/16dec318928312df92ee0d09870e09e7.jpg","text":"TemporaryFile(/tmp/multipartBody7929787434395989633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741403912969,"filename":"image_08032025_04_17_05_29420.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341709886","file0":"1341709761"},"map_files_photo_id_array":[{"photo_id":"1341709886","filename":"file1"},{"photo_id":"1341709761","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341709886":["hashtag1","hashtag2"]},{"1341709761":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341709886, 1341709761)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.007519721984863 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 04:18:03.373095
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 04:18:32.723267
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/04/17/image_08032025_04_18_06_30415.jpg', 2), ('/home/nano/Desktop/images/08032025/04/17/image_08032025_04_17_36_30299.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/04/17/image_08032025_04_18_06_30415.jpg', '/home/nano/Desktop/images/08032025/04/17/image_08032025_04_17_36_30299.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/04/17/image_08032025_04_18_06_30415.jpg
/home/nano/Desktop/images/08032025/04/17/image_08032025_04_17_36_30299.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341710384","1341710348"],"photo_ids_order":["1341710348","1341710384"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/90d588466529439c7a94d2fd894d57a3.jpg","text":"TemporaryFile(/tmp/multipartBody7793083332515017725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741403973091,"filename":"image_08032025_04_17_36_30299.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/bce630a174e5d4dc66a8f1d35d968e31.jpg","text":"TemporaryFile(/tmp/multipartBody8174060877121386810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741403973091,"filename":"image_08032025_04_18_06_30415.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341710384","file0":"1341710348"},"map_files_photo_id_array":[{"photo_id":"1341710384","filename":"file1"},{"photo_id":"1341710348","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341710384":["hashtag1","hashtag2"]},{"1341710348":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341710384, 1341710348)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.50015377998352 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 04:19:02.758574
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 04:19:31.827823
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/04/18/image_08032025_04_19_06_30546.jpg', 2), ('/home/nano/Desktop/images/08032025/04/18/image_08032025_04_18_35_29275.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/04/18/image_08032025_04_19_06_30546.jpg', '/home/nano/Desktop/images/08032025/04/18/image_08032025_04_18_35_29275.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/04/18/image_08032025_04_19_06_30546.jpg
/home/nano/Desktop/images/08032025/04/18/image_08032025_04_18_35_29275.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341710446","1341710451"],"photo_ids_order":["1341710446","1341710451"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/69666426aa1d06055c49ad864ef5ff3a.jpg","text":"TemporaryFile(/tmp/multipartBody9081692407114350881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741404032174,"filename":"image_08032025_04_19_06_30546.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/102391c045c32ccb29d583a5cded470f.jpg","text":"TemporaryFile(/tmp/multipartBody4066134769247112567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741404032174,"filename":"image_08032025_04_18_35_29275.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341710451","file0":"1341710446"},"map_files_photo_id_array":[{"photo_id":"1341710451","filename":"file1"},{"photo_id":"1341710446","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341710446":["hashtag1","hashtag2"]},{"1341710451":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341710446, 1341710451)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.72831892967224 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 04:20:02.502831
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 04:20:31.918291
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/04/19/image_08032025_04_20_06_30533.jpg', 2), ('/home/nano/Desktop/images/08032025/04/19/image_08032025_04_19_35_29520.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/04/19/image_08032025_04_20_06_30533.jpg', '/home/nano/Desktop/images/08032025/04/19/image_08032025_04_19_35_29520.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/04/19/image_08032025_04_20_06_30533.jpg
/home/nano/Desktop/images/08032025/04/19/image_08032025_04_19_35_29520.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341710492","1341710488"],"photo_ids_order":["1341710488","1341710492"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/b67ae18eb8368ab24cfd551b6f20911f.jpg","text":"TemporaryFile(/tmp/multipartBody6912327164200138136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741404092264,"filename":"image_08032025_04_19_35_29520.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/3b41327828722207c042ddfb6448e176.jpg","text":"TemporaryFile(/tmp/multipartBody4072888273112769167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741404092264,"filename":"image_08032025_04_20_06_30533.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341710492","file0":"1341710488"},"map_files_photo_id_array":[{"photo_id":"1341710492","filename":"file1"},{"photo_id":"1341710488","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341710492":["hashtag1","hashtag2"]},{"1341710488":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341710492, 1341710488)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.936913251876831 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 04:21:02.533079
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 04:21:32.054525
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/04/20/image_08032025_04_21_06_30544.jpg', 2), ('/home/nano/Desktop/images/08032025/04/20/image_08032025_04_20_35_29512.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/04/20/image_08032025_04_21_06_30544.jpg', '/home/nano/Desktop/images/08032025/04/20/image_08032025_04_20_35_29512.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/04/20/image_08032025_04_21_06_30544.jpg
/home/nano/Desktop/images/08032025/04/20/image_08032025_04_20_35_29512.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341710580","1341710576"],"photo_ids_order":["1341710576","1341710580"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/39bf5472fcb69a3f5377427de1cdc318.jpg","text":"TemporaryFile(/tmp/multipartBody3000983240729652073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741404152404,"filename":"image_08032025_04_20_35_29512.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/45ff120d75a9cbb4b2a6599a88138b6a.jpg","text":"TemporaryFile(/tmp/multipartBody6814350464849909272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741404152404,"filename":"image_08032025_04_21_06_30544.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341710580","file0":"1341710576"},"map_files_photo_id_array":[{"photo_id":"1341710580","filename":"file1"},{"photo_id":"1341710576","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341710580":["hashtag1","hashtag2"]},{"1341710576":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341710580, 1341710576)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.309192657470703 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 04:22:02.731102
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 04:22:32.156813
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/04/21/image_08032025_04_22_06_30506.jpg', 2), ('/home/nano/Desktop/images/08032025/04/21/image_08032025_04_21_35_29526.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/04/21/image_08032025_04_22_06_30506.jpg', '/home/nano/Desktop/images/08032025/04/21/image_08032025_04_21_35_29526.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/04/21/image_08032025_04_22_06_30506.jpg
/home/nano/Desktop/images/08032025/04/21/image_08032025_04_21_35_29526.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341710605","1341710609"],"photo_ids_order":["1341710605","1341710609"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/8cfae20c03dd88bd0890b64b8ee87176.jpg","text":"TemporaryFile(/tmp/multipartBody6462145265742043591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741404212502,"filename":"image_08032025_04_22_06_30506.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/bc5fca303540423c23a8e3e27645d53f.jpg","text":"TemporaryFile(/tmp/multipartBody2437408100862374793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741404212502,"filename":"image_08032025_04_21_35_29526.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341710609","file0":"1341710605"},"map_files_photo_id_array":[{"photo_id":"1341710609","filename":"file1"},{"photo_id":"1341710605","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341710605":["hashtag1","hashtag2"]},{"1341710609":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341710605, 1341710609)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.775895357131958 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 04:23:02.793487
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 04:23:32.243513
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/04/22/image_08032025_04_23_06_30408.jpg', 2), ('/home/nano/Desktop/images/08032025/04/22/image_08032025_04_22_35_29236.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/04/22/image_08032025_04_23_06_30408.jpg', '/home/nano/Desktop/images/08032025/04/22/image_08032025_04_22_35_29236.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/04/22/image_08032025_04_23_06_30408.jpg
/home/nano/Desktop/images/08032025/04/22/image_08032025_04_22_35_29236.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341710868","1341710725"],"photo_ids_order":["1341710725","1341710868"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/b19f0a2a3b8345dbbb20ce17a30a5515.jpg","text":"TemporaryFile(/tmp/multipartBody7570234441133719321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741404272571,"filename":"image_08032025_04_22_35_29236.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/2fda351ab6cdca35be08cbe36924bcba.jpg","text":"TemporaryFile(/tmp/multipartBody1073035761924595831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741404272571,"filename":"image_08032025_04_23_06_30408.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341710868","file0":"1341710725"},"map_files_photo_id_array":[{"photo_id":"1341710868","filename":"file1"},{"photo_id":"1341710725","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341710868":["hashtag1","hashtag2"]},{"1341710725":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341710868, 1341710725)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.054250955581665 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 04:24:03.239060
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 04:24:32.347868
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/04/23/image_08032025_04_24_05_29415.jpg', 2), ('/home/nano/Desktop/images/08032025/04/23/image_08032025_04_23_36_30315.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/04/23/image_08032025_04_24_05_29415.jpg', '/home/nano/Desktop/images/08032025/04/23/image_08032025_04_23_36_30315.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/04/23/image_08032025_04_24_05_29415.jpg
/home/nano/Desktop/images/08032025/04/23/image_08032025_04_23_36_30315.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341710997","1341710963"],"photo_ids_order":["1341710963","1341710997"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/6456bf79b3015b4c817d2e2683f50c4f.jpg","text":"TemporaryFile(/tmp/multipartBody2572124903443385073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741404332693,"filename":"image_08032025_04_23_36_30315.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/0a4bf1ab2e1c985050e86c3f5a2e5043.jpg","text":"TemporaryFile(/tmp/multipartBody440449725848177876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741404332693,"filename":"image_08032025_04_24_05_29415.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341710997","file0":"1341710963"},"map_files_photo_id_array":[{"photo_id":"1341710997","filename":"file1"},{"photo_id":"1341710963","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341710997":["hashtag1","hashtag2"]},{"1341710963":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341710997, 1341710963)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.596096277236938 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 04:25:03.250311
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/04/24/image_08032025_04_25_05_29487.jpg', 2), ('/home/nano/Desktop/images/08032025/04/24/image_08032025_04_24_36_30599.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/04/24/image_08032025_04_25_05_29487.jpg', '/home/nano/Desktop/images/08032025/04/24/image_08032025_04_24_36_30599.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/04/24/image_08032025_04_25_05_29487.jpg
/home/nano/Desktop/images/08032025/04/24/image_08032025_04_24_36_30599.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341711043","1341711037"],"photo_ids_order":["1341711037","1341711043"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/6109934357d3afa7f68d2ea76751da43.jpg","text":"TemporaryFile(/tmp/multipartBody5652961836009051075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741404363613,"filename":"image_08032025_04_24_36_30599.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/667fd2b9b43d1bc6f0db0d2efd3b173f.jpg","text":"TemporaryFile(/tmp/multipartBody3131049778321278386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741404363613,"filename":"image_08032025_04_25_05_29487.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341711043","file0":"1341711037"},"map_files_photo_id_array":[{"photo_id":"1341711043","filename":"file1"},{"photo_id":"1341711037","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341711043":["hashtag1","hashtag2"]},{"1341711037":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341711043, 1341711037)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.244895696640015 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 04:25:32.448613
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 04:26:03.066268
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 04:26:32.565748
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/04/25/image_08032025_04_26_05_29437.jpg', 2), ('/home/nano/Desktop/images/08032025/04/25/image_08032025_04_25_36_30363.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/04/25/image_08032025_04_26_05_29437.jpg', '/home/nano/Desktop/images/08032025/04/25/image_08032025_04_25_36_30363.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/04/25/image_08032025_04_26_05_29437.jpg
/home/nano/Desktop/images/08032025/04/25/image_08032025_04_25_36_30363.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341711321","1341711304"],"photo_ids_order":["1341711304","1341711321"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/900caf45e0a18255e9a7e35c33fadebf.jpg","text":"TemporaryFile(/tmp/multipartBody3095157555708812732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741404452900,"filename":"image_08032025_04_25_36_30363.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/dc43fb53bece89d414598f2874d0d860.jpg","text":"TemporaryFile(/tmp/multipartBody7464988524531347690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741404452900,"filename":"image_08032025_04_26_05_29437.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341711321","file0":"1341711304"},"map_files_photo_id_array":[{"photo_id":"1341711321","filename":"file1"},{"photo_id":"1341711304","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341711321":["hashtag1","hashtag2"]},{"1341711304":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341711321, 1341711304)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 18.81351137161255 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 04:27:03.308445
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 04:27:32.687816
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/04/26/image_08032025_04_27_05_29302.jpg', 2), ('/home/nano/Desktop/images/08032025/04/26/image_08032025_04_26_36_30584.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/04/26/image_08032025_04_27_05_29302.jpg', '/home/nano/Desktop/images/08032025/04/26/image_08032025_04_26_36_30584.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/04/26/image_08032025_04_27_05_29302.jpg
/home/nano/Desktop/images/08032025/04/26/image_08032025_04_26_36_30584.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341711356","1341711359"],"photo_ids_order":["1341711356","1341711359"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/f645e205567ab5d9bffbb4ca5e64c919.jpg","text":"TemporaryFile(/tmp/multipartBody84565177768914051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741404513041,"filename":"image_08032025_04_27_05_29302.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/239e33bf73d542fce8f369eeaa3d66d9.jpg","text":"TemporaryFile(/tmp/multipartBody83772334223161100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741404513041,"filename":"image_08032025_04_26_36_30584.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341711359","file0":"1341711356"},"map_files_photo_id_array":[{"photo_id":"1341711359","filename":"file1"},{"photo_id":"1341711356","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341711356":["hashtag1","hashtag2"]},{"1341711359":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341711356, 1341711359)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.527531623840332 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 04:28:02.346164
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 04:28:31.797142
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/04/27/image_08032025_04_28_06_30079.jpg', 2), ('/home/nano/Desktop/images/08032025/04/27/image_08032025_04_27_35_30308.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/04/27/image_08032025_04_28_06_30079.jpg', '/home/nano/Desktop/images/08032025/04/27/image_08032025_04_27_35_30308.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/04/27/image_08032025_04_28_06_30079.jpg
/home/nano/Desktop/images/08032025/04/27/image_08032025_04_27_35_30308.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341711428","1341711436"],"photo_ids_order":["1341711428","1341711436"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/db3d963212b4ba6c15503d574ea412b5.jpg","text":"TemporaryFile(/tmp/multipartBody7880605447384908950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741404572135,"filename":"image_08032025_04_28_06_30079.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/d95658ea459c2dd93d04e51c9aba38e5.jpg","text":"TemporaryFile(/tmp/multipartBody2058556232293596678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741404572135,"filename":"image_08032025_04_27_35_30308.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341711436","file0":"1341711428"},"map_files_photo_id_array":[{"photo_id":"1341711436","filename":"file1"},{"photo_id":"1341711428","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341711428":["hashtag1","hashtag2"]},{"1341711436":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341711428, 1341711436)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.37485122680664 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 04:29:02.757213
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 04:29:31.948596
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/04/28/image_08032025_04_29_06_30217.jpg', 2), ('/home/nano/Desktop/images/08032025/04/28/image_08032025_04_28_36_30320.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/04/28/image_08032025_04_29_06_30217.jpg', '/home/nano/Desktop/images/08032025/04/28/image_08032025_04_28_36_30320.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/04/28/image_08032025_04_29_06_30217.jpg
/home/nano/Desktop/images/08032025/04/28/image_08032025_04_28_36_30320.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341711899","1341711892"],"photo_ids_order":["1341711892","1341711899"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/e131b0fa2c21509888774729a293d521.jpg","text":"TemporaryFile(/tmp/multipartBody1675790766416569925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741404632284,"filename":"image_08032025_04_28_36_30320.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/ae691c316b026f9724344215e9b4b470.jpg","text":"TemporaryFile(/tmp/multipartBody7375371271434985196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741404632284,"filename":"image_08032025_04_29_06_30217.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341711899","file0":"1341711892"},"map_files_photo_id_array":[{"photo_id":"1341711899","filename":"file1"},{"photo_id":"1341711892","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341711899":["hashtag1","hashtag2"]},{"1341711892":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341711899, 1341711892)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 13.752215385437012 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 04:30:02.678812
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 04:30:32.040998
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/04/29/image_08032025_04_30_06_30441.jpg', 2), ('/home/nano/Desktop/images/08032025/04/29/image_08032025_04_29_35_29287.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/04/29/image_08032025_04_30_06_30441.jpg', '/home/nano/Desktop/images/08032025/04/29/image_08032025_04_29_35_29287.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/04/29/image_08032025_04_30_06_30441.jpg
/home/nano/Desktop/images/08032025/04/29/image_08032025_04_29_35_29287.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341712067","1341712072"],"photo_ids_order":["1341712067","1341712072"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/a4b1972a099c464df130131cf50005bf.jpg","text":"TemporaryFile(/tmp/multipartBody2993334934660234056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741404692384,"filename":"image_08032025_04_30_06_30441.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/1672d6dc691e69cbe3875d792462ef8e.jpg","text":"TemporaryFile(/tmp/multipartBody4700788505292498984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741404692384,"filename":"image_08032025_04_29_35_29287.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341712072","file0":"1341712067"},"map_files_photo_id_array":[{"photo_id":"1341712072","filename":"file1"},{"photo_id":"1341712067","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341712067":["hashtag1","hashtag2"]},{"1341712072":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341712067, 1341712072)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.62058162689209 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 04:31:02.744337
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 04:31:32.155217
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/04/30/image_08032025_04_31_06_30449.jpg', 2), ('/home/nano/Desktop/images/08032025/04/30/image_08032025_04_30_35_29366.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/04/30/image_08032025_04_31_06_30449.jpg', '/home/nano/Desktop/images/08032025/04/30/image_08032025_04_30_35_29366.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/04/30/image_08032025_04_31_06_30449.jpg
/home/nano/Desktop/images/08032025/04/30/image_08032025_04_30_35_29366.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341713246","1341713333"],"photo_ids_order":["1341713246","1341713333"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/06b0931262f0c26f33bfa4e9fcbbe6b8.jpg","text":"TemporaryFile(/tmp/multipartBody3613830395686627314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741404752485,"filename":"image_08032025_04_31_06_30449.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/a7388c5d43af27b243d0c5e83331f2e1.jpg","text":"TemporaryFile(/tmp/multipartBody7485757190842596424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741404752485,"filename":"image_08032025_04_30_35_29366.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341713333","file0":"1341713246"},"map_files_photo_id_array":[{"photo_id":"1341713333","filename":"file1"},{"photo_id":"1341713246","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341713246":["hashtag1","hashtag2"]},{"1341713333":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341713246, 1341713333)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.552650690078735 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 04:32:02.789899
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 04:32:32.281527
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/04/31/image_08032025_04_32_06_30374.jpg', 2), ('/home/nano/Desktop/images/08032025/04/31/image_08032025_04_31_36_30061.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/04/31/image_08032025_04_32_06_30374.jpg', '/home/nano/Desktop/images/08032025/04/31/image_08032025_04_31_36_30061.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/04/31/image_08032025_04_32_06_30374.jpg
/home/nano/Desktop/images/08032025/04/31/image_08032025_04_31_36_30061.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.2624843120574951 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 marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 04:33:02.923932
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/04/31/image_08032025_04_32_06_30374.jpg', 2), ('/home/nano/Desktop/images/08032025/04/31/image_08032025_04_31_36_30061.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/04/31/image_08032025_04_32_06_30374.jpg', '/home/nano/Desktop/images/08032025/04/31/image_08032025_04_31_36_30061.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/04/31/image_08032025_04_32_06_30374.jpg
/home/nano/Desktop/images/08032025/04/31/image_08032025_04_31_36_30061.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341713717","1341713752"],"photo_ids_order":["1341713717","1341713752"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/036455e12e2d347365afc1abf30aa24f.jpg","text":"TemporaryFile(/tmp/multipartBody3594481114305554853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741404843333,"filename":"image_08032025_04_32_06_30374.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/026879e287fe6aac9f4827797d08299b.jpg","text":"TemporaryFile(/tmp/multipartBody3812254866963009125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741404843333,"filename":"image_08032025_04_31_36_30061.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341713752","file0":"1341713717"},"map_files_photo_id_array":[{"photo_id":"1341713752","filename":"file1"},{"photo_id":"1341713717","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341713717":["hashtag1","hashtag2"]},{"1341713752":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341713717, 1341713752)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.772756814956665 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 04:33:32.368344
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/04/32/image_08032025_04_33_06_30623.jpg', 2), ('/home/nano/Desktop/images/08032025/04/32/image_08032025_04_32_35_29293.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/04/32/image_08032025_04_33_06_30623.jpg', '/home/nano/Desktop/images/08032025/04/32/image_08032025_04_32_35_29293.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/04/32/image_08032025_04_33_06_30623.jpg
/home/nano/Desktop/images/08032025/04/32/image_08032025_04_32_35_29293.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341713768","1341713764"],"photo_ids_order":["1341713764","1341713768"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/86a064d7db3cb342096c1bb76457400a.jpg","text":"TemporaryFile(/tmp/multipartBody8663599767153339646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741404872704,"filename":"image_08032025_04_32_35_29293.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/ed06cb1d9f5b8f22532f741b99a3d01c.jpg","text":"TemporaryFile(/tmp/multipartBody3728572962524040117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741404872704,"filename":"image_08032025_04_33_06_30623.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341713768","file0":"1341713764"},"map_files_photo_id_array":[{"photo_id":"1341713768","filename":"file1"},{"photo_id":"1341713764","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341713768":["hashtag1","hashtag2"]},{"1341713764":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341713768, 1341713764)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.88466739654541 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 04:34:03.241814
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 04:34:32.468387
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/04/33/image_08032025_04_34_06_30415.jpg', 2), ('/home/nano/Desktop/images/08032025/04/33/image_08032025_04_33_35_29268.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/04/33/image_08032025_04_34_06_30415.jpg', '/home/nano/Desktop/images/08032025/04/33/image_08032025_04_33_35_29268.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/04/33/image_08032025_04_34_06_30415.jpg
/home/nano/Desktop/images/08032025/04/33/image_08032025_04_33_35_29268.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341714052","1341714040"],"photo_ids_order":["1341714040","1341714052"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/c71541c805daa0b76f7eec586097ca22.jpg","text":"TemporaryFile(/tmp/multipartBody6601782805837135732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741404932813,"filename":"image_08032025_04_33_35_29268.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/e4f542be1df417742b08e3f9118507eb.jpg","text":"TemporaryFile(/tmp/multipartBody3808256414957233775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741404932813,"filename":"image_08032025_04_34_06_30415.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341714052","file0":"1341714040"},"map_files_photo_id_array":[{"photo_id":"1341714052","filename":"file1"},{"photo_id":"1341714040","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341714052":["hashtag1","hashtag2"]},{"1341714040":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341714052, 1341714040)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 16.82558274269104 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 04:35:03.203083
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 04:35:32.566795
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/04/34/image_08032025_04_35_05_29474.jpg', 2), ('/home/nano/Desktop/images/08032025/04/34/image_08032025_04_34_36_30358.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/04/34/image_08032025_04_35_05_29474.jpg', '/home/nano/Desktop/images/08032025/04/34/image_08032025_04_34_36_30358.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/04/34/image_08032025_04_35_05_29474.jpg
/home/nano/Desktop/images/08032025/04/34/image_08032025_04_34_36_30358.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341714206","1341714202"],"photo_ids_order":["1341714202","1341714206"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/6118fc499c7521192d59ece8c1269b93.jpg","text":"TemporaryFile(/tmp/multipartBody7600918174643353336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741404992896,"filename":"image_08032025_04_34_36_30358.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/cd7c82ed56a4a6dc8aa65c479b39e889.jpg","text":"TemporaryFile(/tmp/multipartBody3255148111864544110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741404992896,"filename":"image_08032025_04_35_05_29474.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341714206","file0":"1341714202"},"map_files_photo_id_array":[{"photo_id":"1341714206","filename":"file1"},{"photo_id":"1341714202","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341714206":["hashtag1","hashtag2"]},{"1341714202":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341714206, 1341714202)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.584882497787476 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 04:36:03.296145
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 04:36:32.678508
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/04/35/image_08032025_04_36_05_29356.jpg', 2), ('/home/nano/Desktop/images/08032025/04/35/image_08032025_04_35_36_30407.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/04/35/image_08032025_04_36_05_29356.jpg', '/home/nano/Desktop/images/08032025/04/35/image_08032025_04_35_36_30407.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/04/35/image_08032025_04_36_05_29356.jpg
/home/nano/Desktop/images/08032025/04/35/image_08032025_04_35_36_30407.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341714252","1341714249"],"photo_ids_order":["1341714249","1341714252"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/b3027e383a89fc4d4529dfe80c3192e4.jpg","text":"TemporaryFile(/tmp/multipartBody7275861192690692914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741405053017,"filename":"image_08032025_04_35_36_30407.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/1eeb7b8ce547531caf4967456f0feb13.jpg","text":"TemporaryFile(/tmp/multipartBody8220559908709419210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741405053017,"filename":"image_08032025_04_36_05_29356.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341714252","file0":"1341714249"},"map_files_photo_id_array":[{"photo_id":"1341714252","filename":"file1"},{"photo_id":"1341714249","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341714252":["hashtag1","hashtag2"]},{"1341714249":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341714252, 1341714249)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.247626066207886 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 04:37:02.505994
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 04:37:31.802373
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/04/36/image_08032025_04_37_06_30324.jpg', 2), ('/home/nano/Desktop/images/08032025/04/36/image_08032025_04_36_36_30488.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/04/36/image_08032025_04_37_06_30324.jpg', '/home/nano/Desktop/images/08032025/04/36/image_08032025_04_36_36_30488.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/04/36/image_08032025_04_37_06_30324.jpg
/home/nano/Desktop/images/08032025/04/36/image_08032025_04_36_36_30488.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341714358","1341714372"],"photo_ids_order":["1341714358","1341714372"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/6e23864fe9c0f83df93539b02c2748f3.jpg","text":"TemporaryFile(/tmp/multipartBody2609938467106284792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741405112153,"filename":"image_08032025_04_37_06_30324.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/703b200d9495619f6be41d07b9059252.jpg","text":"TemporaryFile(/tmp/multipartBody2573867601224399795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741405112153,"filename":"image_08032025_04_36_36_30488.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341714372","file0":"1341714358"},"map_files_photo_id_array":[{"photo_id":"1341714372","filename":"file1"},{"photo_id":"1341714358","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341714358":["hashtag1","hashtag2"]},{"1341714372":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341714358, 1341714372)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.08152174949646 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 04:38:02.307602
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 04:38:31.895420
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/04/37/image_08032025_04_38_06_30351.jpg', 2), ('/home/nano/Desktop/images/08032025/04/37/image_08032025_04_37_36_29507.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/04/37/image_08032025_04_38_06_30351.jpg', '/home/nano/Desktop/images/08032025/04/37/image_08032025_04_37_36_29507.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/04/37/image_08032025_04_38_06_30351.jpg
/home/nano/Desktop/images/08032025/04/37/image_08032025_04_37_36_29507.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341714554","1341714515"],"photo_ids_order":["1341714515","1341714554"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/1f4f0755644ff047beddbadb54d943ba.jpg","text":"TemporaryFile(/tmp/multipartBody5375641039098893182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741405172259,"filename":"image_08032025_04_37_36_29507.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/d46910178bf2c3bd1644fef7fbd64eae.jpg","text":"TemporaryFile(/tmp/multipartBody3403680936813026124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741405172259,"filename":"image_08032025_04_38_06_30351.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341714554","file0":"1341714515"},"map_files_photo_id_array":[{"photo_id":"1341714554","filename":"file1"},{"photo_id":"1341714515","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341714554":["hashtag1","hashtag2"]},{"1341714515":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341714554, 1341714515)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.375126123428345 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 04:39:02.933253
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 04:39:32.030615
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/04/38/image_08032025_04_39_06_30478.jpg', 2), ('/home/nano/Desktop/images/08032025/04/38/image_08032025_04_38_35_29305.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/04/38/image_08032025_04_39_06_30478.jpg', '/home/nano/Desktop/images/08032025/04/38/image_08032025_04_38_35_29305.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/04/38/image_08032025_04_39_06_30478.jpg
/home/nano/Desktop/images/08032025/04/38/image_08032025_04_38_35_29305.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341715044","1341715038"],"photo_ids_order":["1341715038","1341715044"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/4b6ffbb6dc5a62b0d6f0102761a613e0.jpg","text":"TemporaryFile(/tmp/multipartBody6503539143398526228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741405232373,"filename":"image_08032025_04_38_35_29305.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/f19dc46c6520d13c2dd62cab62157fcc.jpg","text":"TemporaryFile(/tmp/multipartBody5025293024985687384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741405232373,"filename":"image_08032025_04_39_06_30478.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341715044","file0":"1341715038"},"map_files_photo_id_array":[{"photo_id":"1341715044","filename":"file1"},{"photo_id":"1341715038","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341715044":["hashtag1","hashtag2"]},{"1341715038":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341715044, 1341715038)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.179285764694214 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 04:40:02.735685
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 04:40:32.108936
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/04/39/image_08032025_04_40_05_29214.jpg', 2), ('/home/nano/Desktop/images/08032025/04/39/image_08032025_04_39_36_30310.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/04/39/image_08032025_04_40_05_29214.jpg', '/home/nano/Desktop/images/08032025/04/39/image_08032025_04_39_36_30310.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/04/39/image_08032025_04_40_05_29214.jpg
/home/nano/Desktop/images/08032025/04/39/image_08032025_04_39_36_30310.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341715161","1341715156"],"photo_ids_order":["1341715156","1341715161"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/5375765acb2bc9acafb1b43c8e3d9b29.jpg","text":"TemporaryFile(/tmp/multipartBody4081798299699460918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741405292451,"filename":"image_08032025_04_39_36_30310.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/c87607b57b9778531b03d531a6dd1790.jpg","text":"TemporaryFile(/tmp/multipartBody8991561458715269926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741405292451,"filename":"image_08032025_04_40_05_29214.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341715161","file0":"1341715156"},"map_files_photo_id_array":[{"photo_id":"1341715161","filename":"file1"},{"photo_id":"1341715156","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341715161":["hashtag1","hashtag2"]},{"1341715156":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341715161, 1341715156)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.795361518859863 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 04:41:02.671938
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 04:41:32.217472
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/04/40/image_08032025_04_41_06_30170.jpg', 2), ('/home/nano/Desktop/images/08032025/04/40/image_08032025_04_40_36_30542.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/04/40/image_08032025_04_41_06_30170.jpg', '/home/nano/Desktop/images/08032025/04/40/image_08032025_04_40_36_30542.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/04/40/image_08032025_04_41_06_30170.jpg
/home/nano/Desktop/images/08032025/04/40/image_08032025_04_40_36_30542.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341715407","1341715352"],"photo_ids_order":["1341715352","1341715407"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/ccd0b1e31e7f712b594aa6e718c29132.jpg","text":"TemporaryFile(/tmp/multipartBody3748475451598965717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741405352534,"filename":"image_08032025_04_40_36_30542.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/9ab836abdd1809f7809b41fecc6c5ceb.jpg","text":"TemporaryFile(/tmp/multipartBody8716308884654060349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741405352534,"filename":"image_08032025_04_41_06_30170.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341715407","file0":"1341715352"},"map_files_photo_id_array":[{"photo_id":"1341715407","filename":"file1"},{"photo_id":"1341715352","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341715407":["hashtag1","hashtag2"]},{"1341715352":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341715407, 1341715352)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.233129739761353 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 04:42:02.852472
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 04:42:32.351151
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/04/41/image_08032025_04_42_06_30391.jpg', 2), ('/home/nano/Desktop/images/08032025/04/41/image_08032025_04_41_35_29331.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/04/41/image_08032025_04_42_06_30391.jpg', '/home/nano/Desktop/images/08032025/04/41/image_08032025_04_41_35_29331.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/04/41/image_08032025_04_42_06_30391.jpg
/home/nano/Desktop/images/08032025/04/41/image_08032025_04_41_35_29331.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341715918","1341715982"],"photo_ids_order":["1341715918","1341715982"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/3042499878ec80a13549fc5740027854.jpg","text":"TemporaryFile(/tmp/multipartBody2736687414785455118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741405412699,"filename":"image_08032025_04_42_06_30391.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/a6510f9e7bc8db3dd06a67d771b5b7d1.jpg","text":"TemporaryFile(/tmp/multipartBody8531163636761135317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741405412699,"filename":"image_08032025_04_41_35_29331.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341715982","file0":"1341715918"},"map_files_photo_id_array":[{"photo_id":"1341715982","filename":"file1"},{"photo_id":"1341715918","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341715918":["hashtag1","hashtag2"]},{"1341715982":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341715918, 1341715982)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.575558185577393 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 04:43:03.001914
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/04/43/image_08032025_04_43_36_30415.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/04/43/image_08032025_04_43_36_30415.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/04/43/image_08032025_04_43_36_30415.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341716124"],"photo_id":"1341716124","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/e1c839cc01135f2a7c58b5d6125d53ea.jpg","text":"TemporaryFile(/tmp/multipartBody8425069911717601374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741405443308,"filename":"image_08032025_04_43_36_30415.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1341716124"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1341716124"}],"hashtags":[],"portfolio_id":"21163824","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 12.331354856491089 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 04:43:32.427391
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/04/42/image_08032025_04_42_35_29585.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/04/42/image_08032025_04_42_35_29585.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/04/42/image_08032025_04_42_35_29585.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341716261"],"photo_id":"1341716261","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/2702d57a925387bd1fabdfd1c27b7cc2.jpg","text":"TemporaryFile(/tmp/multipartBody6298802893582646245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741405472735,"filename":"image_08032025_04_42_35_29585.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1341716261"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1341716261"}],"hashtags":[],"portfolio_id":"21163824","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 9.794368028640747 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 04:44:03.425970
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 04:44:32.506979
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/04/43/image_08032025_04_44_06_29549.jpg', 2), ('/home/nano/Desktop/images/08032025/04/42/image_08032025_04_43_06_30471.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/04/43/image_08032025_04_44_06_29549.jpg', '/home/nano/Desktop/images/08032025/04/42/image_08032025_04_43_06_30471.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/04/43/image_08032025_04_44_06_29549.jpg
/home/nano/Desktop/images/08032025/04/42/image_08032025_04_43_06_30471.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341716757","1341716729"],"photo_ids_order":["1341716729","1341716757"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/36e11a5add9efbbf28621705869a2f5b.jpg","text":"TemporaryFile(/tmp/multipartBody1305357093501070491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741405532844,"filename":"image_08032025_04_43_06_30471.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/6c5ba9cc99d0d263dd643f8ab9adb990.jpg","text":"TemporaryFile(/tmp/multipartBody2765407479569827714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741405532844,"filename":"image_08032025_04_44_06_29549.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341716757","file0":"1341716729"},"map_files_photo_id_array":[{"photo_id":"1341716757","filename":"file1"},{"photo_id":"1341716729","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341716757":["hashtag1","hashtag2"]},{"1341716729":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341716757, 1341716729)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.054458379745483 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 04:45:03.186270
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 04:45:32.628617
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/04/44/image_08032025_04_45_06_30534.jpg', 2), ('/home/nano/Desktop/images/08032025/04/44/image_08032025_04_44_35_29489.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/04/44/image_08032025_04_45_06_30534.jpg', '/home/nano/Desktop/images/08032025/04/44/image_08032025_04_44_35_29489.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/04/44/image_08032025_04_45_06_30534.jpg
/home/nano/Desktop/images/08032025/04/44/image_08032025_04_44_35_29489.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341717142","1341717112"],"photo_ids_order":["1341717112","1341717142"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/df5cbfa2326adb65bdf751aff4e7f804.jpg","text":"TemporaryFile(/tmp/multipartBody5986957905096798664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741405592980,"filename":"image_08032025_04_44_35_29489.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/9d6d5746251e7eadce480aa137f08aa3.jpg","text":"TemporaryFile(/tmp/multipartBody8015714644075990184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741405592980,"filename":"image_08032025_04_45_06_30534.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341717142","file0":"1341717112"},"map_files_photo_id_array":[{"photo_id":"1341717142","filename":"file1"},{"photo_id":"1341717112","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341717142":["hashtag1","hashtag2"]},{"1341717112":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341717142, 1341717112)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.977527856826782 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 04:46:03.239681
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 04:46:32.737040
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/04/45/image_08032025_04_46_06_30510.jpg', 2), ('/home/nano/Desktop/images/08032025/04/45/image_08032025_04_45_35_29481.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/04/45/image_08032025_04_46_06_30510.jpg', '/home/nano/Desktop/images/08032025/04/45/image_08032025_04_45_35_29481.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/04/45/image_08032025_04_46_06_30510.jpg
/home/nano/Desktop/images/08032025/04/45/image_08032025_04_45_35_29481.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341717534","1341717554"],"photo_ids_order":["1341717534","1341717554"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/0571904ec34860f8ca3efdaf627533a8.jpg","text":"TemporaryFile(/tmp/multipartBody7531511717710026428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741405653077,"filename":"image_08032025_04_46_06_30510.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/c973c884ae88be486d5ce0e90d11cf0c.jpg","text":"TemporaryFile(/tmp/multipartBody196750810083458846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741405653077,"filename":"image_08032025_04_45_35_29481.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341717554","file0":"1341717534"},"map_files_photo_id_array":[{"photo_id":"1341717554","filename":"file1"},{"photo_id":"1341717534","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341717534":["hashtag1","hashtag2"]},{"1341717554":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341717534, 1341717554)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.6092848777771 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 04:47:02.458829
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 04:47:31.896056
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/04/46/image_08032025_04_47_05_29361.jpg', 2), ('/home/nano/Desktop/images/08032025/04/46/image_08032025_04_46_36_30369.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/04/46/image_08032025_04_47_05_29361.jpg', '/home/nano/Desktop/images/08032025/04/46/image_08032025_04_46_36_30369.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/04/46/image_08032025_04_47_05_29361.jpg
/home/nano/Desktop/images/08032025/04/46/image_08032025_04_46_36_30369.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341717965","1341718007"],"photo_ids_order":["1341717965","1341718007"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/f48785dd0a908901a822f1c31a7cf6ad.jpg","text":"TemporaryFile(/tmp/multipartBody8781267545397955317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741405712244,"filename":"image_08032025_04_47_05_29361.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/8ab9d7f35cddac75728b3a44f10d0da1.jpg","text":"TemporaryFile(/tmp/multipartBody8062371899233198766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741405712244,"filename":"image_08032025_04_46_36_30369.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341718007","file0":"1341717965"},"map_files_photo_id_array":[{"photo_id":"1341718007","filename":"file1"},{"photo_id":"1341717965","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341717965":["hashtag1","hashtag2"]},{"1341718007":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341717965, 1341718007)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.368690252304077 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 04:48:02.585984
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 04:48:31.976938
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/04/47/image_08032025_04_48_05_29495.jpg', 2), ('/home/nano/Desktop/images/08032025/04/47/image_08032025_04_47_36_30280.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/04/47/image_08032025_04_48_05_29495.jpg', '/home/nano/Desktop/images/08032025/04/47/image_08032025_04_47_36_30280.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/04/47/image_08032025_04_48_05_29495.jpg
/home/nano/Desktop/images/08032025/04/47/image_08032025_04_47_36_30280.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341718286","1341718314"],"photo_ids_order":["1341718286","1341718314"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/a032e02b6f25be13c432bd426588774b.jpg","text":"TemporaryFile(/tmp/multipartBody3709453764384900092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741405772307,"filename":"image_08032025_04_48_05_29495.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/f0d65e96c90b4f7e8d9851756b8907d0.jpg","text":"TemporaryFile(/tmp/multipartBody1616781499368646249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741405772307,"filename":"image_08032025_04_47_36_30280.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341718314","file0":"1341718286"},"map_files_photo_id_array":[{"photo_id":"1341718314","filename":"file1"},{"photo_id":"1341718286","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341718286":["hashtag1","hashtag2"]},{"1341718314":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341718286, 1341718314)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.701974391937256 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 04:49:02.899154
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 04:49:32.095318
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/04/48/image_08032025_04_49_06_30365.jpg', 2), ('/home/nano/Desktop/images/08032025/04/48/image_08032025_04_48_36_30358.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/04/48/image_08032025_04_49_06_30365.jpg', '/home/nano/Desktop/images/08032025/04/48/image_08032025_04_48_36_30358.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/04/48/image_08032025_04_49_06_30365.jpg
/home/nano/Desktop/images/08032025/04/48/image_08032025_04_48_36_30358.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341719312","1341719326"],"photo_ids_order":["1341719312","1341719326"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/c81b2b4f5ac0b4eb43eb12040e6144d5.jpg","text":"TemporaryFile(/tmp/multipartBody3922252270315019175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741405832437,"filename":"image_08032025_04_49_06_30365.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/16dc25478a2cc68aea2f51040acbcf88.jpg","text":"TemporaryFile(/tmp/multipartBody8100066678930883100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741405832437,"filename":"image_08032025_04_48_36_30358.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341719326","file0":"1341719312"},"map_files_photo_id_array":[{"photo_id":"1341719326","filename":"file1"},{"photo_id":"1341719312","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341719312":["hashtag1","hashtag2"]},{"1341719326":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341719312, 1341719326)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.183450698852539 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 04:50:02.792648
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 04:50:32.187923
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/04/49/image_08032025_04_50_06_30434.jpg', 2), ('/home/nano/Desktop/images/08032025/04/49/image_08032025_04_49_35_29391.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/04/49/image_08032025_04_50_06_30434.jpg', '/home/nano/Desktop/images/08032025/04/49/image_08032025_04_49_35_29391.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/04/49/image_08032025_04_50_06_30434.jpg
/home/nano/Desktop/images/08032025/04/49/image_08032025_04_49_35_29391.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341720584","1341720640"],"photo_ids_order":["1341720584","1341720640"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/6be90b8d2d59c917edb99080bdd043d2.jpg","text":"TemporaryFile(/tmp/multipartBody6900434477906860103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741405892537,"filename":"image_08032025_04_50_06_30434.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/22959bfab99b98be6e021ab988905a89.jpg","text":"TemporaryFile(/tmp/multipartBody5421226227631478116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741405892537,"filename":"image_08032025_04_49_35_29391.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341720640","file0":"1341720584"},"map_files_photo_id_array":[{"photo_id":"1341720640","filename":"file1"},{"photo_id":"1341720584","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341720584":["hashtag1","hashtag2"]},{"1341720640":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341720584, 1341720640)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.99778437614441 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 04:51:02.838448
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 04:51:32.323542
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/04/50/image_08032025_04_51_06_30485.jpg', 2), ('/home/nano/Desktop/images/08032025/04/50/image_08032025_04_50_35_29384.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/04/50/image_08032025_04_51_06_30485.jpg', '/home/nano/Desktop/images/08032025/04/50/image_08032025_04_50_35_29384.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/04/50/image_08032025_04_51_06_30485.jpg
/home/nano/Desktop/images/08032025/04/50/image_08032025_04_50_35_29384.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341721421","1341721377"],"photo_ids_order":["1341721377","1341721421"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/9c139e1e084b255e503ae328458467ab.jpg","text":"TemporaryFile(/tmp/multipartBody5591428943729507500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741405952643,"filename":"image_08032025_04_50_35_29384.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/2f5f209135146a1ca7fb374f5855c13e.jpg","text":"TemporaryFile(/tmp/multipartBody7604739910378601162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741405952643,"filename":"image_08032025_04_51_06_30485.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341721421","file0":"1341721377"},"map_files_photo_id_array":[{"photo_id":"1341721421","filename":"file1"},{"photo_id":"1341721377","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341721421":["hashtag1","hashtag2"]},{"1341721377":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341721421, 1341721377)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.17546796798706 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 04:52:02.817356
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 04:52:32.388436
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/04/51/image_08032025_04_52_05_29394.jpg', 2), ('/home/nano/Desktop/images/08032025/04/51/image_08032025_04_51_36_30303.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/04/51/image_08032025_04_52_05_29394.jpg', '/home/nano/Desktop/images/08032025/04/51/image_08032025_04_51_36_30303.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/04/51/image_08032025_04_52_05_29394.jpg
/home/nano/Desktop/images/08032025/04/51/image_08032025_04_51_36_30303.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341721948","1341721923"],"photo_ids_order":["1341721923","1341721948"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/2386831523a2ed918e310620a78bc597.jpg","text":"TemporaryFile(/tmp/multipartBody6916146463947306888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741406012725,"filename":"image_08032025_04_51_36_30303.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/0b03ab868f2c13d066561b5a846cb540.jpg","text":"TemporaryFile(/tmp/multipartBody7004329348711552046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741406012725,"filename":"image_08032025_04_52_05_29394.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341721948","file0":"1341721923"},"map_files_photo_id_array":[{"photo_id":"1341721948","filename":"file1"},{"photo_id":"1341721923","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341721948":["hashtag1","hashtag2"]},{"1341721923":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341721948, 1341721923)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.232012271881104 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 04:53:03.078846
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 04:53:32.504590
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/04/52/image_08032025_04_53_06_30453.jpg', 2), ('/home/nano/Desktop/images/08032025/04/52/image_08032025_04_52_35_30172.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/04/52/image_08032025_04_53_06_30453.jpg', '/home/nano/Desktop/images/08032025/04/52/image_08032025_04_52_35_30172.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/04/52/image_08032025_04_53_06_30453.jpg
/home/nano/Desktop/images/08032025/04/52/image_08032025_04_52_35_30172.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341722266","1341722294"],"photo_ids_order":["1341722266","1341722294"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/71c34b5e98608637bb6c7ee96403eb22.jpg","text":"TemporaryFile(/tmp/multipartBody1977169720014074349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741406072840,"filename":"image_08032025_04_53_06_30453.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/017f9c81a8a3aa5e142bae3b964e8d0c.jpg","text":"TemporaryFile(/tmp/multipartBody1415548609936770902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741406072840,"filename":"image_08032025_04_52_35_30172.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341722294","file0":"1341722266"},"map_files_photo_id_array":[{"photo_id":"1341722294","filename":"file1"},{"photo_id":"1341722266","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341722266":["hashtag1","hashtag2"]},{"1341722294":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341722266, 1341722294)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.022777557373047 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 04:54:03.468181
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 04:54:32.616824
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/04/53/image_08032025_04_54_05_29335.jpg', 2), ('/home/nano/Desktop/images/08032025/04/53/image_08032025_04_53_36_30166.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/04/53/image_08032025_04_54_05_29335.jpg', '/home/nano/Desktop/images/08032025/04/53/image_08032025_04_53_36_30166.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/04/53/image_08032025_04_54_05_29335.jpg
/home/nano/Desktop/images/08032025/04/53/image_08032025_04_53_36_30166.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341722599","1341722545"],"photo_ids_order":["1341722545","1341722599"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/ba50125ee58da254144a2e4eff077922.jpg","text":"TemporaryFile(/tmp/multipartBody6953998243612244820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741406132947,"filename":"image_08032025_04_53_36_30166.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/de3d315124c161bb923f68d59cb80835.jpg","text":"TemporaryFile(/tmp/multipartBody4968375058895201681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741406132947,"filename":"image_08032025_04_54_05_29335.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341722599","file0":"1341722545"},"map_files_photo_id_array":[{"photo_id":"1341722599","filename":"file1"},{"photo_id":"1341722545","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341722599":["hashtag1","hashtag2"]},{"1341722545":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341722599, 1341722545)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.379022598266602 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 04:55:03.307023
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 04:55:32.719357
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/04/54/image_08032025_04_55_05_29434.jpg', 2), ('/home/nano/Desktop/images/08032025/04/54/image_08032025_04_54_36_30406.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/04/54/image_08032025_04_55_05_29434.jpg', '/home/nano/Desktop/images/08032025/04/54/image_08032025_04_54_36_30406.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/04/54/image_08032025_04_55_05_29434.jpg
/home/nano/Desktop/images/08032025/04/54/image_08032025_04_54_36_30406.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341723607","1341723552"],"photo_ids_order":["1341723552","1341723607"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/8701e770b9bcac0cac3e03d289f1cdc2.jpg","text":"TemporaryFile(/tmp/multipartBody5478884434407747040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741406193053,"filename":"image_08032025_04_54_36_30406.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/3ab9c9c442f464b57723ad5f2ac9db63.jpg","text":"TemporaryFile(/tmp/multipartBody1852078251310558933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741406193053,"filename":"image_08032025_04_55_05_29434.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341723607","file0":"1341723552"},"map_files_photo_id_array":[{"photo_id":"1341723607","filename":"file1"},{"photo_id":"1341723552","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341723607":["hashtag1","hashtag2"]},{"1341723552":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341723607, 1341723552)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 16.574544668197632 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 04:56:02.391247
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 04:56:31.843815
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/04/55/image_08032025_04_56_06_30375.jpg', 2), ('/home/nano/Desktop/images/08032025/04/55/image_08032025_04_55_36_30442.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/04/55/image_08032025_04_56_06_30375.jpg', '/home/nano/Desktop/images/08032025/04/55/image_08032025_04_55_36_30442.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/04/55/image_08032025_04_56_06_30375.jpg
/home/nano/Desktop/images/08032025/04/55/image_08032025_04_55_36_30442.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341724020","1341724054"],"photo_ids_order":["1341724020","1341724054"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/4488fcbc964f8120c702cf6d08330908.jpg","text":"TemporaryFile(/tmp/multipartBody8136823654207373267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741406252199,"filename":"image_08032025_04_56_06_30375.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/3feee7877b4cf84d16f062aa3e214580.jpg","text":"TemporaryFile(/tmp/multipartBody3234625961365943350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741406252199,"filename":"image_08032025_04_55_36_30442.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341724054","file0":"1341724020"},"map_files_photo_id_array":[{"photo_id":"1341724054","filename":"file1"},{"photo_id":"1341724020","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341724020":["hashtag1","hashtag2"]},{"1341724054":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341724020, 1341724054)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.264541625976562 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 04:57:02.406548
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 04:57:31.941560
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/04/56/image_08032025_04_57_06_30453.jpg', 2), ('/home/nano/Desktop/images/08032025/04/56/image_08032025_04_56_35_29273.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/04/56/image_08032025_04_57_06_30453.jpg', '/home/nano/Desktop/images/08032025/04/56/image_08032025_04_56_35_29273.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/04/56/image_08032025_04_57_06_30453.jpg
/home/nano/Desktop/images/08032025/04/56/image_08032025_04_56_35_29273.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341724749","1341724820"],"photo_ids_order":["1341724749","1341724820"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/ade949670c6bf069caba9831d0d77cd7.jpg","text":"TemporaryFile(/tmp/multipartBody128945331106151728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741406312301,"filename":"image_08032025_04_57_06_30453.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/66b940e0e70d2aeb62cdd69ba3167a6e.jpg","text":"TemporaryFile(/tmp/multipartBody6078090217049907900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741406312301,"filename":"image_08032025_04_56_35_29273.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341724820","file0":"1341724749"},"map_files_photo_id_array":[{"photo_id":"1341724820","filename":"file1"},{"photo_id":"1341724749","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341724749":["hashtag1","hashtag2"]},{"1341724820":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341724749, 1341724820)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 20.957757234573364 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 04:58:02.725902
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 04:59:02.800012
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/04/57/image_08032025_04_58_06_30562.jpg', 2), ('/home/nano/Desktop/images/08032025/04/57/image_08032025_04_57_35_29465.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/04/57/image_08032025_04_58_06_30562.jpg', '/home/nano/Desktop/images/08032025/04/57/image_08032025_04_57_35_29465.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/04/57/image_08032025_04_58_06_30562.jpg
/home/nano/Desktop/images/08032025/04/57/image_08032025_04_57_35_29465.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341726081","1341726144"],"photo_ids_order":["1341726081","1341726144"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/badcde6d98b573424f5264ba6d8ac40e.jpg","text":"TemporaryFile(/tmp/multipartBody3938370842684999610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741406403351,"filename":"image_08032025_04_58_06_30562.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/98858559817160474740de490e40c141.jpg","text":"TemporaryFile(/tmp/multipartBody4748362807813439548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741406403351,"filename":"image_08032025_04_57_35_29465.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341726144","file0":"1341726081"},"map_files_photo_id_array":[{"photo_id":"1341726144","filename":"file1"},{"photo_id":"1341726081","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341726081":["hashtag1","hashtag2"]},{"1341726144":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341726081, 1341726144)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.132248163223267 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 04:59:31.927625
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/04/58/image_08032025_04_59_06_30714.jpg', 2), ('/home/nano/Desktop/images/08032025/04/58/image_08032025_04_58_35_29477.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/04/58/image_08032025_04_59_06_30714.jpg', '/home/nano/Desktop/images/08032025/04/58/image_08032025_04_58_35_29477.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/04/58/image_08032025_04_59_06_30714.jpg
/home/nano/Desktop/images/08032025/04/58/image_08032025_04_58_35_29477.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341726369","1341726414"],"photo_ids_order":["1341726369","1341726414"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/19dd9115be31500007fc0545a5853bcd.jpg","text":"TemporaryFile(/tmp/multipartBody5862438470795540510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741406432930,"filename":"image_08032025_04_59_06_30714.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/b66352dfd7e439426ca3e6e3fbf2f1e7.jpg","text":"TemporaryFile(/tmp/multipartBody729080053619595484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741406432930,"filename":"image_08032025_04_58_35_29477.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341726414","file0":"1341726369"},"map_files_photo_id_array":[{"photo_id":"1341726414","filename":"file1"},{"photo_id":"1341726369","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341726369":["hashtag1","hashtag2"]},{"1341726414":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341726369, 1341726414)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 16.54306936264038 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 05:00:02.560878
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 05:00:32.018621
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/04/59/image_08032025_05_00_05_29722.jpg', 2), ('/home/nano/Desktop/images/08032025/04/59/image_08032025_04_59_36_29724.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/04/59/image_08032025_05_00_05_29722.jpg', '/home/nano/Desktop/images/08032025/04/59/image_08032025_04_59_36_29724.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/04/59/image_08032025_05_00_05_29722.jpg
/home/nano/Desktop/images/08032025/04/59/image_08032025_04_59_36_29724.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341727036","1341727094"],"photo_ids_order":["1341727036","1341727094"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/9a62a4c68a3476e5995bf53b86c8e491.jpg","text":"TemporaryFile(/tmp/multipartBody3051286567770680412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741406492400,"filename":"image_08032025_05_00_05_29722.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/ca7f1e9f1ae4ac5b991a4ea855384032.jpg","text":"TemporaryFile(/tmp/multipartBody5025882403402946802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741406492400,"filename":"image_08032025_04_59_36_29724.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341727094","file0":"1341727036"},"map_files_photo_id_array":[{"photo_id":"1341727094","filename":"file1"},{"photo_id":"1341727036","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341727036":["hashtag1","hashtag2"]},{"1341727094":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341727036, 1341727094)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.717098236083984 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 05:01:02.738658
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 05:01:32.145370
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/05/00/image_08032025_05_01_06_30743.jpg', 2), ('/home/nano/Desktop/images/08032025/05/00/image_08032025_05_00_35_29689.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/05/00/image_08032025_05_01_06_30743.jpg', '/home/nano/Desktop/images/08032025/05/00/image_08032025_05_00_35_29689.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/05/00/image_08032025_05_01_06_30743.jpg
/home/nano/Desktop/images/08032025/05/00/image_08032025_05_00_35_29689.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341727718","1341727697"],"photo_ids_order":["1341727697","1341727718"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/26f0fc20ae54aa41e2d1a352e6836a81.jpg","text":"TemporaryFile(/tmp/multipartBody6874303032663144677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741406552488,"filename":"image_08032025_05_00_35_29689.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/820e622a43c9352a38468261730ad9fb.jpg","text":"TemporaryFile(/tmp/multipartBody4836363037171666035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741406552488,"filename":"image_08032025_05_01_06_30743.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341727718","file0":"1341727697"},"map_files_photo_id_array":[{"photo_id":"1341727718","filename":"file1"},{"photo_id":"1341727697","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341727718":["hashtag1","hashtag2"]},{"1341727697":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341727718, 1341727697)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.34162950515747 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 05:02:02.822810
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 05:02:32.241826
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/05/01/image_08032025_05_02_05_29724.jpg', 2), ('/home/nano/Desktop/images/08032025/05/01/image_08032025_05_01_36_29723.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/05/01/image_08032025_05_02_05_29724.jpg', '/home/nano/Desktop/images/08032025/05/01/image_08032025_05_01_36_29723.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/05/01/image_08032025_05_02_05_29724.jpg
/home/nano/Desktop/images/08032025/05/01/image_08032025_05_01_36_29723.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341728290","1341728242"],"photo_ids_order":["1341728242","1341728290"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/3b08ddb97da82ca5d4074f0111237aad.jpg","text":"TemporaryFile(/tmp/multipartBody8090598290107343834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741406612582,"filename":"image_08032025_05_01_36_29723.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/0d77163a16d3bfacea50882c0acc5a6b.jpg","text":"TemporaryFile(/tmp/multipartBody7556993031025573194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741406612582,"filename":"image_08032025_05_02_05_29724.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341728290","file0":"1341728242"},"map_files_photo_id_array":[{"photo_id":"1341728290","filename":"file1"},{"photo_id":"1341728242","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341728290":["hashtag1","hashtag2"]},{"1341728242":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341728290, 1341728242)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.74099326133728 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 05:03:02.944725
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 05:03:32.349603
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/05/02/image_08032025_05_03_06_29692.jpg', 2), ('/home/nano/Desktop/images/08032025/05/02/image_08032025_05_02_36_30705.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/05/02/image_08032025_05_03_06_29692.jpg', '/home/nano/Desktop/images/08032025/05/02/image_08032025_05_02_36_30705.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/05/02/image_08032025_05_03_06_29692.jpg
/home/nano/Desktop/images/08032025/05/02/image_08032025_05_02_36_30705.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341728783","1341728777"],"photo_ids_order":["1341728777","1341728783"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/d0fd21b9d9f1566c37c129c57308b54b.jpg","text":"TemporaryFile(/tmp/multipartBody1231893799773665147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741406672712,"filename":"image_08032025_05_02_36_30705.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/6b6d17de821c0738988f505063664ff4.jpg","text":"TemporaryFile(/tmp/multipartBody4485210532265450163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741406672712,"filename":"image_08032025_05_03_06_29692.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341728783","file0":"1341728777"},"map_files_photo_id_array":[{"photo_id":"1341728783","filename":"file1"},{"photo_id":"1341728777","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341728783":["hashtag1","hashtag2"]},{"1341728777":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341728783, 1341728777)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.479081869125366 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 05:04:03.259993
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 05:04:32.478028
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/05/03/image_08032025_05_04_05_29698.jpg', 2), ('/home/nano/Desktop/images/08032025/05/03/image_08032025_05_03_35_29702.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/05/03/image_08032025_05_04_05_29698.jpg', '/home/nano/Desktop/images/08032025/05/03/image_08032025_05_03_35_29702.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/05/03/image_08032025_05_04_05_29698.jpg
/home/nano/Desktop/images/08032025/05/03/image_08032025_05_03_35_29702.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341729072","1341729041"],"photo_ids_order":["1341729041","1341729072"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/6ae81508a622967263b142f5b82d3eb0.jpg","text":"TemporaryFile(/tmp/multipartBody3974902609276221403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741406732842,"filename":"image_08032025_05_03_35_29702.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/e8970825f058044672e63717a10f1b80.jpg","text":"TemporaryFile(/tmp/multipartBody3070358279765611211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741406732842,"filename":"image_08032025_05_04_05_29698.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341729072","file0":"1341729041"},"map_files_photo_id_array":[{"photo_id":"1341729072","filename":"file1"},{"photo_id":"1341729041","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341729072":["hashtag1","hashtag2"]},{"1341729041":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341729072, 1341729041)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.82391357421875 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 05:05:03.162217
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 05:05:32.594339
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/05/04/image_08032025_05_05_06_29745.jpg', 2), ('/home/nano/Desktop/images/08032025/05/04/image_08032025_05_04_36_30706.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/05/04/image_08032025_05_05_06_29745.jpg', '/home/nano/Desktop/images/08032025/05/04/image_08032025_05_04_36_30706.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/05/04/image_08032025_05_05_06_29745.jpg
/home/nano/Desktop/images/08032025/05/04/image_08032025_05_04_36_30706.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341729344","1341729347"],"photo_ids_order":["1341729344","1341729347"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/a15532114be600529f19ad3db8362b77.jpg","text":"TemporaryFile(/tmp/multipartBody737875212663598173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741406792955,"filename":"image_08032025_05_05_06_29745.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/f98eddd3bd847ea6fa068cc7ce851f65.jpg","text":"TemporaryFile(/tmp/multipartBody7308923052911353756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741406792955,"filename":"image_08032025_05_04_36_30706.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341729347","file0":"1341729344"},"map_files_photo_id_array":[{"photo_id":"1341729347","filename":"file1"},{"photo_id":"1341729344","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341729344":["hashtag1","hashtag2"]},{"1341729347":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341729344, 1341729347)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.332895994186401 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 05:06:03.211140
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 05:06:32.702595
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/05/05/image_08032025_05_06_06_30748.jpg', 2), ('/home/nano/Desktop/images/08032025/05/05/image_08032025_05_05_35_29692.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/05/05/image_08032025_05_06_06_30748.jpg', '/home/nano/Desktop/images/08032025/05/05/image_08032025_05_05_35_29692.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/05/05/image_08032025_05_06_06_30748.jpg
/home/nano/Desktop/images/08032025/05/05/image_08032025_05_05_35_29692.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.28331756591796875 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 marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 05:07:02.388521
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/05/05/image_08032025_05_06_06_30748.jpg', 2), ('/home/nano/Desktop/images/08032025/05/05/image_08032025_05_05_35_29692.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/05/05/image_08032025_05_06_06_30748.jpg', '/home/nano/Desktop/images/08032025/05/05/image_08032025_05_05_35_29692.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/05/05/image_08032025_05_06_06_30748.jpg
/home/nano/Desktop/images/08032025/05/05/image_08032025_05_05_35_29692.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341729435","1341729440"],"photo_ids_order":["1341729435","1341729440"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/1919764ca4e823b6870667ec3012b7ad.jpg","text":"TemporaryFile(/tmp/multipartBody3899425060640461744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741406882826,"filename":"image_08032025_05_06_06_30748.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/15acd7162b9a3adab48ea31803e720cb.jpg","text":"TemporaryFile(/tmp/multipartBody8488700490869652409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741406882826,"filename":"image_08032025_05_05_35_29692.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341729440","file0":"1341729435"},"map_files_photo_id_array":[{"photo_id":"1341729440","filename":"file1"},{"photo_id":"1341729435","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341729435":["hashtag1","hashtag2"]},{"1341729440":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341729435, 1341729440)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.775815963745117 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 05:07:31.819099
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/05/06/image_08032025_05_07_05_29717.jpg', 2), ('/home/nano/Desktop/images/08032025/05/06/image_08032025_05_06_36_29691.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/05/06/image_08032025_05_07_05_29717.jpg', '/home/nano/Desktop/images/08032025/05/06/image_08032025_05_06_36_29691.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/05/06/image_08032025_05_07_05_29717.jpg
/home/nano/Desktop/images/08032025/05/06/image_08032025_05_06_36_29691.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341729704","1341729707"],"photo_ids_order":["1341729704","1341729707"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/e79aed2f462afe60a47ec47c63a1b912.jpg","text":"TemporaryFile(/tmp/multipartBody31879886990812444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741406912168,"filename":"image_08032025_05_07_05_29717.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/0f257fec27faf8fd52ba2cc4e08a181e.jpg","text":"TemporaryFile(/tmp/multipartBody1638955877272533073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741406912168,"filename":"image_08032025_05_06_36_29691.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341729707","file0":"1341729704"},"map_files_photo_id_array":[{"photo_id":"1341729707","filename":"file1"},{"photo_id":"1341729704","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341729704":["hashtag1","hashtag2"]},{"1341729707":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341729704, 1341729707)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.981235265731812 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 05:08:02.491316
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 05:08:31.915462
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/05/07/image_08032025_05_08_06_30725.jpg', 2), ('/home/nano/Desktop/images/08032025/05/07/image_08032025_05_07_35_29693.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/05/07/image_08032025_05_08_06_30725.jpg', '/home/nano/Desktop/images/08032025/05/07/image_08032025_05_07_35_29693.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/05/07/image_08032025_05_08_06_30725.jpg
/home/nano/Desktop/images/08032025/05/07/image_08032025_05_07_35_29693.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341729780","1341729809"],"photo_ids_order":["1341729780","1341729809"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/b618705d6df9f099f1615dad38616268.jpg","text":"TemporaryFile(/tmp/multipartBody3967934345414938102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741406972284,"filename":"image_08032025_05_08_06_30725.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/ff395aa9e9fad25eb9f37b766efbcd2c.jpg","text":"TemporaryFile(/tmp/multipartBody6465523493467292262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741406972284,"filename":"image_08032025_05_07_35_29693.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341729809","file0":"1341729780"},"map_files_photo_id_array":[{"photo_id":"1341729809","filename":"file1"},{"photo_id":"1341729780","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341729780":["hashtag1","hashtag2"]},{"1341729809":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341729780, 1341729809)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.268880844116211 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 05:09:02.754828
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 05:09:32.013969
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/05/08/image_08032025_05_09_05_29727.jpg', 2), ('/home/nano/Desktop/images/08032025/05/08/image_08032025_05_08_36_29687.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/05/08/image_08032025_05_09_05_29727.jpg', '/home/nano/Desktop/images/08032025/05/08/image_08032025_05_08_36_29687.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/05/08/image_08032025_05_09_05_29727.jpg
/home/nano/Desktop/images/08032025/05/08/image_08032025_05_08_36_29687.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341730281","1341730277"],"photo_ids_order":["1341730277","1341730281"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/6ee7e2705a0f9a7c324e120df265e0db.jpg","text":"TemporaryFile(/tmp/multipartBody4961007204351225123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741407032367,"filename":"image_08032025_05_08_36_29687.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/da6b72a9a4459ae1069b9ad385b0712b.jpg","text":"TemporaryFile(/tmp/multipartBody8576635142596746552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741407032367,"filename":"image_08032025_05_09_05_29727.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341730281","file0":"1341730277"},"map_files_photo_id_array":[{"photo_id":"1341730281","filename":"file1"},{"photo_id":"1341730277","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341730281":["hashtag1","hashtag2"]},{"1341730277":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341730281, 1341730277)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 13.77948784828186 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 05:10:02.660317
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 05:10:32.105157
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/05/09/image_08032025_05_10_06_29713.jpg', 2), ('/home/nano/Desktop/images/08032025/05/09/image_08032025_05_09_36_30697.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/05/09/image_08032025_05_10_06_29713.jpg', '/home/nano/Desktop/images/08032025/05/09/image_08032025_05_09_36_30697.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/05/09/image_08032025_05_10_06_29713.jpg
/home/nano/Desktop/images/08032025/05/09/image_08032025_05_09_36_30697.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341730305","1341730301"],"photo_ids_order":["1341730301","1341730305"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/fc857896c55668b0de9b00fbf92db446.jpg","text":"TemporaryFile(/tmp/multipartBody4901207984412155121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741407092455,"filename":"image_08032025_05_09_36_30697.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/87326c06d6a044cf900ef4c88259a2d7.jpg","text":"TemporaryFile(/tmp/multipartBody8273780781062027208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741407092455,"filename":"image_08032025_05_10_06_29713.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341730305","file0":"1341730301"},"map_files_photo_id_array":[{"photo_id":"1341730305","filename":"file1"},{"photo_id":"1341730301","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341730305":["hashtag1","hashtag2"]},{"1341730301":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341730305, 1341730301)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.277706623077393 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 05:11:02.847638
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 05:11:32.204679
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/05/10/image_08032025_05_11_05_29716.jpg', 2), ('/home/nano/Desktop/images/08032025/05/10/image_08032025_05_10_35_29689.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/05/10/image_08032025_05_11_05_29716.jpg', '/home/nano/Desktop/images/08032025/05/10/image_08032025_05_10_35_29689.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/05/10/image_08032025_05_11_05_29716.jpg
/home/nano/Desktop/images/08032025/05/10/image_08032025_05_10_35_29689.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341730345","1341730370"],"photo_ids_order":["1341730345","1341730370"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/cf3ce72a622839e777b217879efa1306.jpg","text":"TemporaryFile(/tmp/multipartBody8615347425818349752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741407152568,"filename":"image_08032025_05_11_05_29716.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/a079adc67bd5917f17bd3f9ffdc3c265.jpg","text":"TemporaryFile(/tmp/multipartBody215918130424935644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741407152568,"filename":"image_08032025_05_10_35_29689.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341730370","file0":"1341730345"},"map_files_photo_id_array":[{"photo_id":"1341730370","filename":"file1"},{"photo_id":"1341730345","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341730345":["hashtag1","hashtag2"]},{"1341730370":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341730345, 1341730370)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.642509698867798 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 05:12:02.891763
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 05:12:32.309823
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/05/11/image_08032025_05_12_06_29727.jpg', 2), ('/home/nano/Desktop/images/08032025/05/11/image_08032025_05_11_36_30707.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/05/11/image_08032025_05_12_06_29727.jpg', '/home/nano/Desktop/images/08032025/05/11/image_08032025_05_11_36_30707.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/05/11/image_08032025_05_12_06_29727.jpg
/home/nano/Desktop/images/08032025/05/11/image_08032025_05_11_36_30707.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341730464","1341730472"],"photo_ids_order":["1341730464","1341730472"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/8070493bc5937f515c4567be0017bcdb.jpg","text":"TemporaryFile(/tmp/multipartBody4542163371233689908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741407212668,"filename":"image_08032025_05_12_06_29727.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/88560cc0a6177523876a0ea0386466b6.jpg","text":"TemporaryFile(/tmp/multipartBody4459387099694404491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741407212668,"filename":"image_08032025_05_11_36_30707.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341730472","file0":"1341730464"},"map_files_photo_id_array":[{"photo_id":"1341730472","filename":"file1"},{"photo_id":"1341730464","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341730464":["hashtag1","hashtag2"]},{"1341730472":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341730464, 1341730472)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.522306442260742 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 05:13:02.935195
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 05:13:32.386957
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/05/12/image_08032025_05_13_06_30718.jpg', 2), ('/home/nano/Desktop/images/08032025/05/12/image_08032025_05_12_35_29691.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/05/12/image_08032025_05_13_06_30718.jpg', '/home/nano/Desktop/images/08032025/05/12/image_08032025_05_12_35_29691.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/05/12/image_08032025_05_13_06_30718.jpg
/home/nano/Desktop/images/08032025/05/12/image_08032025_05_12_35_29691.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341730651","1341730635"],"photo_ids_order":["1341730635","1341730651"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/cc95a362b34cdb3a85f05f0a49fe4f66.jpg","text":"TemporaryFile(/tmp/multipartBody1440379544685067828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741407272726,"filename":"image_08032025_05_12_35_29691.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/c2720f341f9c2e0c89ee2c7fef9fe555.jpg","text":"TemporaryFile(/tmp/multipartBody2501819544689586005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741407272726,"filename":"image_08032025_05_13_06_30718.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341730651","file0":"1341730635"},"map_files_photo_id_array":[{"photo_id":"1341730651","filename":"file1"},{"photo_id":"1341730635","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341730651":["hashtag1","hashtag2"]},{"1341730635":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341730651, 1341730635)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 19.731844663619995 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 05:14:03.400433
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 05:14:32.515661
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/05/13/image_08032025_05_14_05_29720.jpg', 2), ('/home/nano/Desktop/images/08032025/05/13/image_08032025_05_13_36_29706.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/05/13/image_08032025_05_14_05_29720.jpg', '/home/nano/Desktop/images/08032025/05/13/image_08032025_05_13_36_29706.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/05/13/image_08032025_05_14_05_29720.jpg
/home/nano/Desktop/images/08032025/05/13/image_08032025_05_13_36_29706.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341730861","1341730865"],"photo_ids_order":["1341730861","1341730865"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/b36b43bd61accb9b622769a7adc72264.jpg","text":"TemporaryFile(/tmp/multipartBody7915402956306359985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741407332884,"filename":"image_08032025_05_14_05_29720.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/1f9a142b71d66dce0626bdd133956810.jpg","text":"TemporaryFile(/tmp/multipartBody3766344845071604721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741407332884,"filename":"image_08032025_05_13_36_29706.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341730865","file0":"1341730861"},"map_files_photo_id_array":[{"photo_id":"1341730865","filename":"file1"},{"photo_id":"1341730861","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341730861":["hashtag1","hashtag2"]},{"1341730865":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341730861, 1341730865)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.40615439414978 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 05:15:03.179616
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 05:15:32.596392
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/05/14/image_08032025_05_15_06_29699.jpg', 2), ('/home/nano/Desktop/images/08032025/05/14/image_08032025_05_14_36_30717.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/05/14/image_08032025_05_15_06_29699.jpg', '/home/nano/Desktop/images/08032025/05/14/image_08032025_05_14_36_30717.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/05/14/image_08032025_05_15_06_29699.jpg
/home/nano/Desktop/images/08032025/05/14/image_08032025_05_14_36_30717.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341731048","1341731077"],"photo_ids_order":["1341731048","1341731077"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/d013e674e72a789285c555278e07eccc.jpg","text":"TemporaryFile(/tmp/multipartBody516585891301520542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741407392935,"filename":"image_08032025_05_15_06_29699.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/b0432a210959bcbdf92823c22e2484da.jpg","text":"TemporaryFile(/tmp/multipartBody2787716542615101011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741407392935,"filename":"image_08032025_05_14_36_30717.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341731077","file0":"1341731048"},"map_files_photo_id_array":[{"photo_id":"1341731077","filename":"file1"},{"photo_id":"1341731048","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341731048":["hashtag1","hashtag2"]},{"1341731077":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341731048, 1341731077)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.35227370262146 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 05:16:03.087954
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 05:16:32.715287
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/05/15/image_08032025_05_16_05_29718.jpg', 2), ('/home/nano/Desktop/images/08032025/05/15/image_08032025_05_15_36_29703.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/05/15/image_08032025_05_16_05_29718.jpg', '/home/nano/Desktop/images/08032025/05/15/image_08032025_05_15_36_29703.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/05/15/image_08032025_05_16_05_29718.jpg
/home/nano/Desktop/images/08032025/05/15/image_08032025_05_15_36_29703.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.2769930362701416 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 marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 05:17:02.322526
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/05/15/image_08032025_05_16_05_29718.jpg', 2), ('/home/nano/Desktop/images/08032025/05/15/image_08032025_05_15_36_29703.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/05/15/image_08032025_05_16_05_29718.jpg', '/home/nano/Desktop/images/08032025/05/15/image_08032025_05_15_36_29703.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/05/15/image_08032025_05_16_05_29718.jpg
/home/nano/Desktop/images/08032025/05/15/image_08032025_05_15_36_29703.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341731350","1341731353"],"photo_ids_order":["1341731350","1341731353"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/ebf8bd491a9f9e37fce442cac0780ab0.jpg","text":"TemporaryFile(/tmp/multipartBody5715740447364465637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741407482758,"filename":"image_08032025_05_16_05_29718.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/d1122cf35663f927cf6a140fc42d68f5.jpg","text":"TemporaryFile(/tmp/multipartBody1275812190668484649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741407482758,"filename":"image_08032025_05_15_36_29703.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341731353","file0":"1341731350"},"map_files_photo_id_array":[{"photo_id":"1341731353","filename":"file1"},{"photo_id":"1341731350","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341731350":["hashtag1","hashtag2"]},{"1341731353":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341731350, 1341731353)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.587126970291138 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 05:17:31.815649
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/05/16/image_08032025_05_17_06_29709.jpg', 2), ('/home/nano/Desktop/images/08032025/05/16/image_08032025_05_16_36_30705.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/05/16/image_08032025_05_17_06_29709.jpg', '/home/nano/Desktop/images/08032025/05/16/image_08032025_05_16_36_30705.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/05/16/image_08032025_05_17_06_29709.jpg
/home/nano/Desktop/images/08032025/05/16/image_08032025_05_16_36_30705.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341731426","1341731446"],"photo_ids_order":["1341731426","1341731446"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/f4e6d4aa402568fbd24a07e80c07608e.jpg","text":"TemporaryFile(/tmp/multipartBody6432578433666912545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741407512156,"filename":"image_08032025_05_17_06_29709.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/e39bbb0c1c145ef39f1515dd3faceea0.jpg","text":"TemporaryFile(/tmp/multipartBody4043403231655843846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741407512156,"filename":"image_08032025_05_16_36_30705.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341731446","file0":"1341731426"},"map_files_photo_id_array":[{"photo_id":"1341731446","filename":"file1"},{"photo_id":"1341731426","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341731426":["hashtag1","hashtag2"]},{"1341731446":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341731426, 1341731446)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.075890064239502 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 05:18:02.515327
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 05:18:31.917041
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/05/17/image_08032025_05_18_06_30744.jpg', 2), ('/home/nano/Desktop/images/08032025/05/17/image_08032025_05_17_35_29690.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/05/17/image_08032025_05_18_06_30744.jpg', '/home/nano/Desktop/images/08032025/05/17/image_08032025_05_17_35_29690.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/05/17/image_08032025_05_18_06_30744.jpg
/home/nano/Desktop/images/08032025/05/17/image_08032025_05_17_35_29690.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341731546","1341731542"],"photo_ids_order":["1341731542","1341731546"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/d3cfc74d9453f681529eae50585eb43a.jpg","text":"TemporaryFile(/tmp/multipartBody43649535509962823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741407572274,"filename":"image_08032025_05_17_35_29690.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/ac3ffe6d5ebfd69a517457785a6a2562.jpg","text":"TemporaryFile(/tmp/multipartBody800322528392361020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741407572274,"filename":"image_08032025_05_18_06_30744.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341731546","file0":"1341731542"},"map_files_photo_id_array":[{"photo_id":"1341731546","filename":"file1"},{"photo_id":"1341731542","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341731546":["hashtag1","hashtag2"]},{"1341731542":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341731546, 1341731542)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 13.9756600856781 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 05:19:02.722069
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 05:19:31.996161
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/05/18/image_08032025_05_19_06_29737.jpg', 2), ('/home/nano/Desktop/images/08032025/05/18/image_08032025_05_18_36_29697.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/05/18/image_08032025_05_19_06_29737.jpg', '/home/nano/Desktop/images/08032025/05/18/image_08032025_05_18_36_29697.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/05/18/image_08032025_05_19_06_29737.jpg
/home/nano/Desktop/images/08032025/05/18/image_08032025_05_18_36_29697.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341731652","1341731690"],"photo_ids_order":["1341731652","1341731690"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/35e4b280740003c985f254c7d15ae0c7.jpg","text":"TemporaryFile(/tmp/multipartBody4108619745477505846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741407632362,"filename":"image_08032025_05_19_06_29737.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/7c201b6229af34a4666679c2ff1d1850.jpg","text":"TemporaryFile(/tmp/multipartBody3808472881967602227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741407632362,"filename":"image_08032025_05_18_36_29697.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341731690","file0":"1341731652"},"map_files_photo_id_array":[{"photo_id":"1341731690","filename":"file1"},{"photo_id":"1341731652","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341731652":["hashtag1","hashtag2"]},{"1341731690":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341731652, 1341731690)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.57014513015747 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 05:20:02.743768
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 05:20:32.128143
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/05/19/image_08032025_05_20_06_30718.jpg', 2), ('/home/nano/Desktop/images/08032025/05/19/image_08032025_05_19_35_29692.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/05/19/image_08032025_05_20_06_30718.jpg', '/home/nano/Desktop/images/08032025/05/19/image_08032025_05_19_35_29692.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/05/19/image_08032025_05_20_06_30718.jpg
/home/nano/Desktop/images/08032025/05/19/image_08032025_05_19_35_29692.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341732374","1341732578"],"photo_ids_order":["1341732374","1341732578"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/e882fc279acfb080fd2bd87b36f28e7f.jpg","text":"TemporaryFile(/tmp/multipartBody5697604224062270024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741407692478,"filename":"image_08032025_05_20_06_30718.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/9cb0c68571515395afd7d46510408507.jpg","text":"TemporaryFile(/tmp/multipartBody5597105537290810080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741407692478,"filename":"image_08032025_05_19_35_29692.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341732578","file0":"1341732374"},"map_files_photo_id_array":[{"photo_id":"1341732578","filename":"file1"},{"photo_id":"1341732374","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341732374":["hashtag1","hashtag2"]},{"1341732578":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341732374, 1341732578)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.621599435806274 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 05:21:02.885510
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 05:21:32.210998
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/05/20/image_08032025_05_21_05_29717.jpg', 2), ('/home/nano/Desktop/images/08032025/05/20/image_08032025_05_20_36_29687.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/05/20/image_08032025_05_21_05_29717.jpg', '/home/nano/Desktop/images/08032025/05/20/image_08032025_05_20_36_29687.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/05/20/image_08032025_05_21_05_29717.jpg
/home/nano/Desktop/images/08032025/05/20/image_08032025_05_20_36_29687.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341732884","1341732907"],"photo_ids_order":["1341732884","1341732907"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/b9465c8359aa02809c6d4ea2c129667d.jpg","text":"TemporaryFile(/tmp/multipartBody4519927475739918591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741407752577,"filename":"image_08032025_05_21_05_29717.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/76a6818685bd56bba44123e30051abb3.jpg","text":"TemporaryFile(/tmp/multipartBody5363527087957619793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741407752577,"filename":"image_08032025_05_20_36_29687.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341732907","file0":"1341732884"},"map_files_photo_id_array":[{"photo_id":"1341732907","filename":"file1"},{"photo_id":"1341732884","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341732884":["hashtag1","hashtag2"]},{"1341732907":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341732884, 1341732907)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.726383447647095 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 05:22:02.947577
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 05:22:32.327661
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/05/21/image_08032025_05_22_06_29695.jpg', 2), ('/home/nano/Desktop/images/08032025/05/21/image_08032025_05_21_36_30698.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/05/21/image_08032025_05_22_06_29695.jpg', '/home/nano/Desktop/images/08032025/05/21/image_08032025_05_21_36_30698.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/05/21/image_08032025_05_22_06_29695.jpg
/home/nano/Desktop/images/08032025/05/21/image_08032025_05_21_36_30698.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341733434","1341733537"],"photo_ids_order":["1341733434","1341733537"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/fc8c0f18ddc6d4e4ec1d1c89235b6879.jpg","text":"TemporaryFile(/tmp/multipartBody6523505042784154001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741407812676,"filename":"image_08032025_05_22_06_29695.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/95d14978c62048e2ffb9bd17a5dc9c7b.jpg","text":"TemporaryFile(/tmp/multipartBody6538280605596175607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741407812676,"filename":"image_08032025_05_21_36_30698.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341733537","file0":"1341733434"},"map_files_photo_id_array":[{"photo_id":"1341733537","filename":"file1"},{"photo_id":"1341733434","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341733434":["hashtag1","hashtag2"]},{"1341733537":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341733434, 1341733537)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 27.57283878326416 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 05:23:03.003401
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 05:23:32.517058
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/05/22/image_08032025_05_23_06_30710.jpg', 2), ('/home/nano/Desktop/images/08032025/05/22/image_08032025_05_22_35_29691.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/05/22/image_08032025_05_23_06_30710.jpg', '/home/nano/Desktop/images/08032025/05/22/image_08032025_05_22_35_29691.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/05/22/image_08032025_05_23_06_30710.jpg
/home/nano/Desktop/images/08032025/05/22/image_08032025_05_22_35_29691.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341733784","1341734118"],"photo_ids_order":["1341733784","1341734118"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/8e0169c3ca096d779a63ec803942bc0c.jpg","text":"TemporaryFile(/tmp/multipartBody4960557712131744697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741407872864,"filename":"image_08032025_05_23_06_30710.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/a5d7f4ff440cb7efee96a2d07fcd01e3.jpg","text":"TemporaryFile(/tmp/multipartBody1415085795083384153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741407872864,"filename":"image_08032025_05_22_35_29691.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341734118","file0":"1341733784"},"map_files_photo_id_array":[{"photo_id":"1341734118","filename":"file1"},{"photo_id":"1341733784","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341733784":["hashtag1","hashtag2"]},{"1341734118":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341733784, 1341734118)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 34.02887153625488 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 05:24:32.630554
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/05/23/image_08032025_05_24_06_29706.jpg', 2), ('/home/nano/Desktop/images/08032025/05/23/image_08032025_05_23_36_29696.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/05/23/image_08032025_05_24_06_29706.jpg', '/home/nano/Desktop/images/08032025/05/23/image_08032025_05_23_36_29696.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/05/23/image_08032025_05_24_06_29706.jpg
/home/nano/Desktop/images/08032025/05/23/image_08032025_05_23_36_29696.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341734948","1341734946"],"photo_ids_order":["1341734946","1341734948"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/a45ab39b362c44c7756770da454c33d3.jpg","text":"TemporaryFile(/tmp/multipartBody9101555959289571712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741407932987,"filename":"image_08032025_05_23_36_29696.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/7c7233ca825b95404433e30d896a24a8.jpg","text":"TemporaryFile(/tmp/multipartBody1283508412343257944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741407932987,"filename":"image_08032025_05_24_06_29706.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341734948","file0":"1341734946"},"map_files_photo_id_array":[{"photo_id":"1341734948","filename":"file1"},{"photo_id":"1341734946","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341734948":["hashtag1","hashtag2"]},{"1341734946":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341734948, 1341734946)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.480265617370605 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 05:25:03.336764
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 05:25:32.765494
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/05/24/image_08032025_05_25_06_30720.jpg', 2), ('/home/nano/Desktop/images/08032025/05/24/image_08032025_05_24_35_29721.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/05/24/image_08032025_05_25_06_30720.jpg', '/home/nano/Desktop/images/08032025/05/24/image_08032025_05_24_35_29721.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/05/24/image_08032025_05_25_06_30720.jpg
/home/nano/Desktop/images/08032025/05/24/image_08032025_05_24_35_29721.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341735238","1341735234"],"photo_ids_order":["1341735234","1341735238"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/8729a37bba7ebbe9758edde4d1647705.jpg","text":"TemporaryFile(/tmp/multipartBody5501319844669399546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741407993122,"filename":"image_08032025_05_24_35_29721.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/3726578049f4fccddaa07cf5c706f826.jpg","text":"TemporaryFile(/tmp/multipartBody8705978678801109965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741407993122,"filename":"image_08032025_05_25_06_30720.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341735238","file0":"1341735234"},"map_files_photo_id_array":[{"photo_id":"1341735238","filename":"file1"},{"photo_id":"1341735234","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341735238":["hashtag1","hashtag2"]},{"1341735234":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341735238, 1341735234)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.217446565628052 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 05:26:02.434918
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 05:26:31.942903
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/05/25/image_08032025_05_26_05_29709.jpg', 2), ('/home/nano/Desktop/images/08032025/05/25/image_08032025_05_25_36_29703.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/05/25/image_08032025_05_26_05_29709.jpg', '/home/nano/Desktop/images/08032025/05/25/image_08032025_05_25_36_29703.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/05/25/image_08032025_05_26_05_29709.jpg
/home/nano/Desktop/images/08032025/05/25/image_08032025_05_25_36_29703.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.27735209465026855 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 marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 05:27:02.511630
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/05/25/image_08032025_05_26_05_29709.jpg', 2), ('/home/nano/Desktop/images/08032025/05/25/image_08032025_05_25_36_29703.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/05/25/image_08032025_05_26_05_29709.jpg', '/home/nano/Desktop/images/08032025/05/25/image_08032025_05_25_36_29703.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/05/25/image_08032025_05_26_05_29709.jpg
/home/nano/Desktop/images/08032025/05/25/image_08032025_05_25_36_29703.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341735568","1341735566"],"photo_ids_order":["1341735566","1341735568"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/58797503e4501e0115e86b743c1e9f90.jpg","text":"TemporaryFile(/tmp/multipartBody7987300138519911477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741408082885,"filename":"image_08032025_05_25_36_29703.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/812a9195aca2ae665b737330ec51bc26.jpg","text":"TemporaryFile(/tmp/multipartBody4262573534377125143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741408082885,"filename":"image_08032025_05_26_05_29709.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341735568","file0":"1341735566"},"map_files_photo_id_array":[{"photo_id":"1341735568","filename":"file1"},{"photo_id":"1341735566","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341735568":["hashtag1","hashtag2"]},{"1341735566":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341735568, 1341735566)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 16.79148769378662 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 05:27:32.049526
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/05/26/image_08032025_05_27_06_29707.jpg', 2), ('/home/nano/Desktop/images/08032025/05/26/image_08032025_05_26_36_30693.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/05/26/image_08032025_05_27_06_29707.jpg', '/home/nano/Desktop/images/08032025/05/26/image_08032025_05_26_36_30693.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/05/26/image_08032025_05_27_06_29707.jpg
/home/nano/Desktop/images/08032025/05/26/image_08032025_05_26_36_30693.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341735575","1341735578"],"photo_ids_order":["1341735575","1341735578"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/d261e5f28c235fb9f5f82ad8c6fdf867.jpg","text":"TemporaryFile(/tmp/multipartBody2516021339736846818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741408112389,"filename":"image_08032025_05_27_06_29707.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/3348290bf4ba0895e4bd46f55ad93746.jpg","text":"TemporaryFile(/tmp/multipartBody7292962055679289887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741408112389,"filename":"image_08032025_05_26_36_30693.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341735578","file0":"1341735575"},"map_files_photo_id_array":[{"photo_id":"1341735578","filename":"file1"},{"photo_id":"1341735575","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341735575":["hashtag1","hashtag2"]},{"1341735578":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341735575, 1341735578)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 16.037651538848877 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 05:28:02.603199
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 05:28:32.264363
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/05/27/image_08032025_05_28_05_29709.jpg', 2), ('/home/nano/Desktop/images/08032025/05/27/image_08032025_05_27_35_29698.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/05/27/image_08032025_05_28_05_29709.jpg', '/home/nano/Desktop/images/08032025/05/27/image_08032025_05_27_35_29698.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/05/27/image_08032025_05_28_05_29709.jpg
/home/nano/Desktop/images/08032025/05/27/image_08032025_05_27_35_29698.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341736059","1341736008"],"photo_ids_order":["1341736008","1341736059"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/44939a90f185f1f4f1b18258efb2f0aa.jpg","text":"TemporaryFile(/tmp/multipartBody2214191304355208353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741408172643,"filename":"image_08032025_05_27_35_29698.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/b9cb2de36258acd2cf90389be1efdfe8.jpg","text":"TemporaryFile(/tmp/multipartBody5286903288906462834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741408172643,"filename":"image_08032025_05_28_05_29709.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341736059","file0":"1341736008"},"map_files_photo_id_array":[{"photo_id":"1341736059","filename":"file1"},{"photo_id":"1341736008","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341736059":["hashtag1","hashtag2"]},{"1341736008":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341736059, 1341736008)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 18.125276803970337 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 05:29:03.274397
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 05:29:32.364385
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/05/28/image_08032025_05_29_06_29740.jpg', 2), ('/home/nano/Desktop/images/08032025/05/28/image_08032025_05_28_36_30705.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/05/28/image_08032025_05_29_06_29740.jpg', '/home/nano/Desktop/images/08032025/05/28/image_08032025_05_28_36_30705.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/05/28/image_08032025_05_29_06_29740.jpg
/home/nano/Desktop/images/08032025/05/28/image_08032025_05_28_36_30705.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341736233","1341736160"],"photo_ids_order":["1341736160","1341736233"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/e651bcd14619b39ae2485f612e3d9551.jpg","text":"TemporaryFile(/tmp/multipartBody6868368197719026929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741408232737,"filename":"image_08032025_05_28_36_30705.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/2f61ba5ec7c8827647a8cc08a1f7853d.jpg","text":"TemporaryFile(/tmp/multipartBody3641930373197668658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741408232737,"filename":"image_08032025_05_29_06_29740.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341736233","file0":"1341736160"},"map_files_photo_id_array":[{"photo_id":"1341736233","filename":"file1"},{"photo_id":"1341736160","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341736233":["hashtag1","hashtag2"]},{"1341736160":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341736233, 1341736160)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.795411586761475 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 05:30:03.043121
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 05:30:32.463317
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/05/29/image_08032025_05_30_06_30716.jpg', 2), ('/home/nano/Desktop/images/08032025/05/29/image_08032025_05_29_35_29691.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/05/29/image_08032025_05_30_06_30716.jpg', '/home/nano/Desktop/images/08032025/05/29/image_08032025_05_29_35_29691.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/05/29/image_08032025_05_30_06_30716.jpg
/home/nano/Desktop/images/08032025/05/29/image_08032025_05_29_35_29691.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.258134126663208 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 marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 05:31:03.038044
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/05/29/image_08032025_05_30_06_30716.jpg', 2), ('/home/nano/Desktop/images/08032025/05/29/image_08032025_05_29_35_29691.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/05/29/image_08032025_05_30_06_30716.jpg', '/home/nano/Desktop/images/08032025/05/29/image_08032025_05_29_35_29691.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/05/29/image_08032025_05_30_06_30716.jpg
/home/nano/Desktop/images/08032025/05/29/image_08032025_05_29_35_29691.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341737202","1341737225"],"photo_ids_order":["1341737202","1341737225"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/e6a3ab2e5c9bc19ab92e8dd50b17885a.jpg","text":"TemporaryFile(/tmp/multipartBody9099734030006100858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741408323477,"filename":"image_08032025_05_30_06_30716.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/886105b1ae95bf8ef14dd10535916e54.jpg","text":"TemporaryFile(/tmp/multipartBody5422212903542337145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741408323477,"filename":"image_08032025_05_29_35_29691.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341737225","file0":"1341737202"},"map_files_photo_id_array":[{"photo_id":"1341737225","filename":"file1"},{"photo_id":"1341737202","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341737202":["hashtag1","hashtag2"]},{"1341737225":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341737202, 1341737225)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.7096266746521 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 05:31:32.566962
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/05/30/image_08032025_05_31_05_29701.jpg', 2), ('/home/nano/Desktop/images/08032025/05/30/image_08032025_05_30_36_29712.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/05/30/image_08032025_05_31_05_29701.jpg', '/home/nano/Desktop/images/08032025/05/30/image_08032025_05_30_36_29712.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/05/30/image_08032025_05_31_05_29701.jpg
/home/nano/Desktop/images/08032025/05/30/image_08032025_05_30_36_29712.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341737384","1341737404"],"photo_ids_order":["1341737384","1341737404"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/75c016c18df670b2399ecfc2f683ce21.jpg","text":"TemporaryFile(/tmp/multipartBody4869310863524498053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741408352905,"filename":"image_08032025_05_31_05_29701.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/4d6bbe6b6348e60efb2ab8ba498e9378.jpg","text":"TemporaryFile(/tmp/multipartBody6087944442664101574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741408352905,"filename":"image_08032025_05_30_36_29712.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341737404","file0":"1341737384"},"map_files_photo_id_array":[{"photo_id":"1341737404","filename":"file1"},{"photo_id":"1341737384","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341737384":["hashtag1","hashtag2"]},{"1341737404":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341737384, 1341737404)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 13.79745888710022 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 05:32:03.224678
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 05:32:32.728174
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/05/31/image_08032025_05_32_06_30721.jpg', 2), ('/home/nano/Desktop/images/08032025/05/31/image_08032025_05_31_35_29698.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/05/31/image_08032025_05_32_06_30721.jpg', '/home/nano/Desktop/images/08032025/05/31/image_08032025_05_31_35_29698.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/05/31/image_08032025_05_32_06_30721.jpg
/home/nano/Desktop/images/08032025/05/31/image_08032025_05_31_35_29698.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341737681","1341737740"],"photo_ids_order":["1341737681","1341737740"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/53e248b591736f84738abe1b3a6ef0c8.jpg","text":"TemporaryFile(/tmp/multipartBody4899246900590878240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741408413084,"filename":"image_08032025_05_32_06_30721.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/5b49c42204be8174b97a0818c69776c8.jpg","text":"TemporaryFile(/tmp/multipartBody8389983449915009601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741408413084,"filename":"image_08032025_05_31_35_29698.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341737740","file0":"1341737681"},"map_files_photo_id_array":[{"photo_id":"1341737740","filename":"file1"},{"photo_id":"1341737681","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341737681":["hashtag1","hashtag2"]},{"1341737740":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341737681, 1341737740)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 18.13140106201172 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 05:33:02.469491
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 05:33:31.897172
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/05/32/image_08032025_05_33_05_29692.jpg', 2), ('/home/nano/Desktop/images/08032025/05/32/image_08032025_05_32_36_29691.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/05/32/image_08032025_05_33_05_29692.jpg', '/home/nano/Desktop/images/08032025/05/32/image_08032025_05_32_36_29691.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/05/32/image_08032025_05_33_05_29692.jpg
/home/nano/Desktop/images/08032025/05/32/image_08032025_05_32_36_29691.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341738036","1341738087"],"photo_ids_order":["1341738036","1341738087"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/d313790dcd4afbeae6dcef4fef32b2ea.jpg","text":"TemporaryFile(/tmp/multipartBody650277369194804317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741408472256,"filename":"image_08032025_05_33_05_29692.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/a78c708e2149e7aee2d3e7e866f1c3e1.jpg","text":"TemporaryFile(/tmp/multipartBody5232489054160784072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741408472256,"filename":"image_08032025_05_32_36_29691.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341738087","file0":"1341738036"},"map_files_photo_id_array":[{"photo_id":"1341738087","filename":"file1"},{"photo_id":"1341738036","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341738036":["hashtag1","hashtag2"]},{"1341738087":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341738036, 1341738087)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 16.031691074371338 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 05:34:02.829625
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 05:34:32.008052
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/05/33/image_08032025_05_34_06_29689.jpg', 2), ('/home/nano/Desktop/images/08032025/05/33/image_08032025_05_33_36_30705.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/05/33/image_08032025_05_34_06_29689.jpg', '/home/nano/Desktop/images/08032025/05/33/image_08032025_05_33_36_30705.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/05/33/image_08032025_05_34_06_29689.jpg
/home/nano/Desktop/images/08032025/05/33/image_08032025_05_33_36_30705.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341738636","1341738596"],"photo_ids_order":["1341738596","1341738636"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/2103d537f7e35f2b210372edcd2c5315.jpg","text":"TemporaryFile(/tmp/multipartBody9043834247808293989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741408532451,"filename":"image_08032025_05_33_36_30705.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/de84beb07f32139ba4abbd7054d3aee1.jpg","text":"TemporaryFile(/tmp/multipartBody4010225066471279606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741408532451,"filename":"image_08032025_05_34_06_29689.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341738636","file0":"1341738596"},"map_files_photo_id_array":[{"photo_id":"1341738636","filename":"file1"},{"photo_id":"1341738596","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341738636":["hashtag1","hashtag2"]},{"1341738596":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341738636, 1341738596)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.72030758857727 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 05:35:02.649462
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 05:35:32.110175
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/05/34/image_08032025_05_35_06_30714.jpg', 2), ('/home/nano/Desktop/images/08032025/05/34/image_08032025_05_34_35_29685.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/05/34/image_08032025_05_35_06_30714.jpg', '/home/nano/Desktop/images/08032025/05/34/image_08032025_05_34_35_29685.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/05/34/image_08032025_05_35_06_30714.jpg
/home/nano/Desktop/images/08032025/05/34/image_08032025_05_34_35_29685.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341739094","1341739050"],"photo_ids_order":["1341739050","1341739094"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/8134b17b80300069a343a23ffd701733.jpg","text":"TemporaryFile(/tmp/multipartBody7685663363058971572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741408592561,"filename":"image_08032025_05_34_35_29685.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/0bba4cea34813d82e738de6d344f40af.jpg","text":"TemporaryFile(/tmp/multipartBody3324302791307055782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741408592561,"filename":"image_08032025_05_35_06_30714.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341739094","file0":"1341739050"},"map_files_photo_id_array":[{"photo_id":"1341739094","filename":"file1"},{"photo_id":"1341739050","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341739094":["hashtag1","hashtag2"]},{"1341739050":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341739094, 1341739050)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.644822359085083 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 05:36:02.802905
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 05:36:32.237167
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/05/35/image_08032025_05_36_05_29709.jpg', 2), ('/home/nano/Desktop/images/08032025/05/35/image_08032025_05_35_36_29682.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/05/35/image_08032025_05_36_05_29709.jpg', '/home/nano/Desktop/images/08032025/05/35/image_08032025_05_35_36_29682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/05/35/image_08032025_05_36_05_29709.jpg
/home/nano/Desktop/images/08032025/05/35/image_08032025_05_35_36_29682.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341739582","1341739606"],"photo_ids_order":["1341739582","1341739606"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/e6c9531cef1991397c0874e29c9822b0.jpg","text":"TemporaryFile(/tmp/multipartBody2258596548007688864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741408652672,"filename":"image_08032025_05_36_05_29709.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/55abe82e806c8cb8fa64f2bbcc75942d.jpg","text":"TemporaryFile(/tmp/multipartBody9004474233958779964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741408652672,"filename":"image_08032025_05_35_36_29682.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341739606","file0":"1341739582"},"map_files_photo_id_array":[{"photo_id":"1341739606","filename":"file1"},{"photo_id":"1341739582","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341739582":["hashtag1","hashtag2"]},{"1341739606":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341739582, 1341739606)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.118009328842163 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 05:37:02.894004
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 05:37:32.340568
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/05/36/image_08032025_05_37_06_30722.jpg', 2), ('/home/nano/Desktop/images/08032025/05/36/image_08032025_05_36_35_29717.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/05/36/image_08032025_05_37_06_30722.jpg', '/home/nano/Desktop/images/08032025/05/36/image_08032025_05_36_35_29717.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/05/36/image_08032025_05_37_06_30722.jpg
/home/nano/Desktop/images/08032025/05/36/image_08032025_05_36_35_29717.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341739769","1341739766"],"photo_ids_order":["1341739766","1341739769"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/3d8a78258e48ed3025c07d3291a9913a.jpg","text":"TemporaryFile(/tmp/multipartBody8717986710453769178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741408712767,"filename":"image_08032025_05_36_35_29717.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/f50045341824f7b70662a6bb4b30e3e5.jpg","text":"TemporaryFile(/tmp/multipartBody764751047363165713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741408712767,"filename":"image_08032025_05_37_06_30722.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341739769","file0":"1341739766"},"map_files_photo_id_array":[{"photo_id":"1341739769","filename":"file1"},{"photo_id":"1341739766","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341739769":["hashtag1","hashtag2"]},{"1341739766":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341739769, 1341739766)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.429099321365356 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 05:38:02.987215
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 05:38:32.461901
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/05/37/image_08032025_05_38_05_29707.jpg', 2), ('/home/nano/Desktop/images/08032025/05/37/image_08032025_05_37_36_29687.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/05/37/image_08032025_05_38_05_29707.jpg', '/home/nano/Desktop/images/08032025/05/37/image_08032025_05_37_36_29687.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/05/37/image_08032025_05_38_05_29707.jpg
/home/nano/Desktop/images/08032025/05/37/image_08032025_05_37_36_29687.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341739931","1341739986"],"photo_ids_order":["1341739931","1341739986"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/632c36cedd88bff1b498f08f0ca5f428.jpg","text":"TemporaryFile(/tmp/multipartBody3861206580496773942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741408772887,"filename":"image_08032025_05_38_05_29707.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/b99797020a765320af9b36a3ad1db565.jpg","text":"TemporaryFile(/tmp/multipartBody5382519108526145836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741408772887,"filename":"image_08032025_05_37_36_29687.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341739986","file0":"1341739931"},"map_files_photo_id_array":[{"photo_id":"1341739986","filename":"file1"},{"photo_id":"1341739931","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341739931":["hashtag1","hashtag2"]},{"1341739986":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341739931, 1341739986)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.233118057250977 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 05:39:03.397171
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 05:39:32.557389
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/05/38/image_08032025_05_39_06_29712.jpg', 2), ('/home/nano/Desktop/images/08032025/05/38/image_08032025_05_38_36_30699.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/05/38/image_08032025_05_39_06_29712.jpg', '/home/nano/Desktop/images/08032025/05/38/image_08032025_05_38_36_30699.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/05/38/image_08032025_05_39_06_29712.jpg
/home/nano/Desktop/images/08032025/05/38/image_08032025_05_38_36_30699.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341740303","1341740306"],"photo_ids_order":["1341740303","1341740306"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/9aa617ac8465ea55f3539c56c957f029.jpg","text":"TemporaryFile(/tmp/multipartBody1218486313784014366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741408832995,"filename":"image_08032025_05_39_06_29712.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/1ddd23c67d711ae20fbebc59bcefe3c6.jpg","text":"TemporaryFile(/tmp/multipartBody4143577694290019428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741408832995,"filename":"image_08032025_05_38_36_30699.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341740306","file0":"1341740303"},"map_files_photo_id_array":[{"photo_id":"1341740306","filename":"file1"},{"photo_id":"1341740303","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341740303":["hashtag1","hashtag2"]},{"1341740306":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341740303, 1341740306)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 16.117592811584473 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 05:40:03.239510
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 05:40:32.680104
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/05/39/image_08032025_05_40_06_30704.jpg', 2), ('/home/nano/Desktop/images/08032025/05/39/image_08032025_05_39_35_29693.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/05/39/image_08032025_05_40_06_30704.jpg', '/home/nano/Desktop/images/08032025/05/39/image_08032025_05_39_35_29693.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/05/39/image_08032025_05_40_06_30704.jpg
/home/nano/Desktop/images/08032025/05/39/image_08032025_05_39_35_29693.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341740763","1341740685"],"photo_ids_order":["1341740685","1341740763"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/0c1e78d23083449910f22af54331e8ee.jpg","text":"TemporaryFile(/tmp/multipartBody5923368288383740197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741408893173,"filename":"image_08032025_05_39_35_29693.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/eddf569b418a4354ac9b9b913b2682ef.jpg","text":"TemporaryFile(/tmp/multipartBody734080498605097457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741408893173,"filename":"image_08032025_05_40_06_30704.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341740763","file0":"1341740685"},"map_files_photo_id_array":[{"photo_id":"1341740763","filename":"file1"},{"photo_id":"1341740685","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341740763":["hashtag1","hashtag2"]},{"1341740685":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341740763, 1341740685)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.839268207550049 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 05:41:02.347840
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 05:41:31.763769
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/05/40/image_08032025_05_41_05_29708.jpg', 2), ('/home/nano/Desktop/images/08032025/05/40/image_08032025_05_40_36_29695.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/05/40/image_08032025_05_41_05_29708.jpg', '/home/nano/Desktop/images/08032025/05/40/image_08032025_05_40_36_29695.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/05/40/image_08032025_05_41_05_29708.jpg
/home/nano/Desktop/images/08032025/05/40/image_08032025_05_40_36_29695.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341740979","1341740983"],"photo_ids_order":["1341740979","1341740983"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/4a708823d70705ce98960addd37be2eb.jpg","text":"TemporaryFile(/tmp/multipartBody2979233357339545869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741408952113,"filename":"image_08032025_05_41_05_29708.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/8b36cd5a7fa78fe2fb87f5b2e57ad4e8.jpg","text":"TemporaryFile(/tmp/multipartBody4729101892793922486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741408952113,"filename":"image_08032025_05_40_36_29695.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341740983","file0":"1341740979"},"map_files_photo_id_array":[{"photo_id":"1341740983","filename":"file1"},{"photo_id":"1341740979","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341740979":["hashtag1","hashtag2"]},{"1341740983":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341740979, 1341740983)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.925580978393555 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 05:42:02.370799
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 05:42:31.908197
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/05/41/image_08032025_05_42_06_30706.jpg', 2), ('/home/nano/Desktop/images/08032025/05/41/image_08032025_05_41_35_29699.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/05/41/image_08032025_05_42_06_30706.jpg', '/home/nano/Desktop/images/08032025/05/41/image_08032025_05_41_35_29699.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/05/41/image_08032025_05_42_06_30706.jpg
/home/nano/Desktop/images/08032025/05/41/image_08032025_05_41_35_29699.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341741106","1341741078"],"photo_ids_order":["1341741078","1341741106"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/8ec180cba30f141875ed62e2e0dc3f0c.jpg","text":"TemporaryFile(/tmp/multipartBody2468899912278328477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741409012342,"filename":"image_08032025_05_41_35_29699.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/31fee2d9016711af342c7f663fd0fc04.jpg","text":"TemporaryFile(/tmp/multipartBody7008948132568533291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741409012342,"filename":"image_08032025_05_42_06_30706.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341741106","file0":"1341741078"},"map_files_photo_id_array":[{"photo_id":"1341741106","filename":"file1"},{"photo_id":"1341741078","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341741106":["hashtag1","hashtag2"]},{"1341741078":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341741106, 1341741078)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.638813734054565 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 05:43:02.454305
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 05:43:31.995826
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/05/42/image_08032025_05_43_05_29725.jpg', 2), ('/home/nano/Desktop/images/08032025/05/42/image_08032025_05_42_36_29697.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/05/42/image_08032025_05_43_05_29725.jpg', '/home/nano/Desktop/images/08032025/05/42/image_08032025_05_42_36_29697.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/05/42/image_08032025_05_43_05_29725.jpg
/home/nano/Desktop/images/08032025/05/42/image_08032025_05_42_36_29697.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341741269","1341741260"],"photo_ids_order":["1341741260","1341741269"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/54a9d3db7e139ee70f5fb7c93a73f0ff.jpg","text":"TemporaryFile(/tmp/multipartBody6075869369797827295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741409072424,"filename":"image_08032025_05_42_36_29697.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/e018cae547a49e72daef14cadad85650.jpg","text":"TemporaryFile(/tmp/multipartBody701209362238272228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741409072424,"filename":"image_08032025_05_43_05_29725.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341741269","file0":"1341741260"},"map_files_photo_id_array":[{"photo_id":"1341741269","filename":"file1"},{"photo_id":"1341741260","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341741269":["hashtag1","hashtag2"]},{"1341741260":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341741269, 1341741260)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.121198654174805 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 05:44:02.950546
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 05:44:32.099796
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/05/43/image_08032025_05_44_06_29692.jpg', 2), ('/home/nano/Desktop/images/08032025/05/43/image_08032025_05_43_36_30705.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/05/43/image_08032025_05_44_06_29692.jpg', '/home/nano/Desktop/images/08032025/05/43/image_08032025_05_43_36_30705.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/05/43/image_08032025_05_44_06_29692.jpg
/home/nano/Desktop/images/08032025/05/43/image_08032025_05_43_36_30705.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.3635993003845215 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 marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 05:45:02.606093
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/05/43/image_08032025_05_44_06_29692.jpg', 2), ('/home/nano/Desktop/images/08032025/05/43/image_08032025_05_43_36_30705.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/05/43/image_08032025_05_44_06_29692.jpg', '/home/nano/Desktop/images/08032025/05/43/image_08032025_05_43_36_30705.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/05/43/image_08032025_05_44_06_29692.jpg
/home/nano/Desktop/images/08032025/05/43/image_08032025_05_43_36_30705.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341741597","1341741596"],"photo_ids_order":["1341741596","1341741597"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/6822858921cd72b6398e2c85ca067ec0.jpg","text":"TemporaryFile(/tmp/multipartBody6317765035373563543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741409162965,"filename":"image_08032025_05_43_36_30705.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/a632b4b1137eae80ae72227dfd4b7d1d.jpg","text":"TemporaryFile(/tmp/multipartBody652980552337859804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741409162965,"filename":"image_08032025_05_44_06_29692.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341741597","file0":"1341741596"},"map_files_photo_id_array":[{"photo_id":"1341741597","filename":"file1"},{"photo_id":"1341741596","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341741597":["hashtag1","hashtag2"]},{"1341741596":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341741597, 1341741596)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 13.722512006759644 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 05:45:32.211896
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/05/44/image_08032025_05_45_05_29737.jpg', 2), ('/home/nano/Desktop/images/08032025/05/44/image_08032025_05_44_35_29697.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/05/44/image_08032025_05_45_05_29737.jpg', '/home/nano/Desktop/images/08032025/05/44/image_08032025_05_44_35_29697.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/05/44/image_08032025_05_45_05_29737.jpg
/home/nano/Desktop/images/08032025/05/44/image_08032025_05_44_35_29697.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.3477027416229248 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 marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 05:46:02.838316
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/05/44/image_08032025_05_45_05_29737.jpg', 2), ('/home/nano/Desktop/images/08032025/05/44/image_08032025_05_44_35_29697.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/05/44/image_08032025_05_45_05_29737.jpg', '/home/nano/Desktop/images/08032025/05/44/image_08032025_05_44_35_29697.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/05/44/image_08032025_05_45_05_29737.jpg
/home/nano/Desktop/images/08032025/05/44/image_08032025_05_44_35_29697.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341741615","1341741617"],"photo_ids_order":["1341741615","1341741617"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/d200df1846efe339f1300db6b7d5f2ae.jpg","text":"TemporaryFile(/tmp/multipartBody1112057454162628509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741409223182,"filename":"image_08032025_05_45_05_29737.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/0757f8d9c70acc3d1d7273924a13ea55.jpg","text":"TemporaryFile(/tmp/multipartBody4840802701440678484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741409223182,"filename":"image_08032025_05_44_35_29697.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341741617","file0":"1341741615"},"map_files_photo_id_array":[{"photo_id":"1341741617","filename":"file1"},{"photo_id":"1341741615","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341741615":["hashtag1","hashtag2"]},{"1341741617":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341741615, 1341741617)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.439328908920288 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 05:46:32.288207
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/05/45/image_08032025_05_46_06_29727.jpg', 2), ('/home/nano/Desktop/images/08032025/05/45/image_08032025_05_45_36_30714.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/05/45/image_08032025_05_46_06_29727.jpg', '/home/nano/Desktop/images/08032025/05/45/image_08032025_05_45_36_30714.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/05/45/image_08032025_05_46_06_29727.jpg
/home/nano/Desktop/images/08032025/05/45/image_08032025_05_45_36_30714.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.34476256370544434 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 marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 05:47:02.974444
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/05/45/image_08032025_05_46_06_29727.jpg', 2), ('/home/nano/Desktop/images/08032025/05/45/image_08032025_05_45_36_30714.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/05/45/image_08032025_05_46_06_29727.jpg', '/home/nano/Desktop/images/08032025/05/45/image_08032025_05_45_36_30714.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/05/45/image_08032025_05_46_06_29727.jpg
/home/nano/Desktop/images/08032025/05/45/image_08032025_05_45_36_30714.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341741899","1341741867"],"photo_ids_order":["1341741867","1341741899"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/e2b666291829e49ff6d9c73b15c8f236.jpg","text":"TemporaryFile(/tmp/multipartBody6093739018372519043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741409283344,"filename":"image_08032025_05_45_36_30714.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/a71bc516432dfe8055363300bfe09d07.jpg","text":"TemporaryFile(/tmp/multipartBody2249406390862234857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741409283344,"filename":"image_08032025_05_46_06_29727.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341741899","file0":"1341741867"},"map_files_photo_id_array":[{"photo_id":"1341741899","filename":"file1"},{"photo_id":"1341741867","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341741899":["hashtag1","hashtag2"]},{"1341741867":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341741899, 1341741867)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 16.19964051246643 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 05:47:32.408470
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/05/46/image_08032025_05_47_06_30717.jpg', 2), ('/home/nano/Desktop/images/08032025/05/46/image_08032025_05_46_35_29718.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/05/46/image_08032025_05_47_06_30717.jpg', '/home/nano/Desktop/images/08032025/05/46/image_08032025_05_46_35_29718.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/05/46/image_08032025_05_47_06_30717.jpg
/home/nano/Desktop/images/08032025/05/46/image_08032025_05_46_35_29718.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.36116456985473633 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 marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 05:48:03.110562
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/05/46/image_08032025_05_47_06_30717.jpg', 2), ('/home/nano/Desktop/images/08032025/05/46/image_08032025_05_46_35_29718.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/05/46/image_08032025_05_47_06_30717.jpg', '/home/nano/Desktop/images/08032025/05/46/image_08032025_05_46_35_29718.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/05/46/image_08032025_05_47_06_30717.jpg
/home/nano/Desktop/images/08032025/05/46/image_08032025_05_46_35_29718.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341742207","1341742227"],"photo_ids_order":["1341742207","1341742227"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/bd370deecd5291dbb26dfc2c985bb047.jpg","text":"TemporaryFile(/tmp/multipartBody9062495480048123270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741409343469,"filename":"image_08032025_05_47_06_30717.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/e27b9262166a7be4ebe6b8c3f3a46756.jpg","text":"TemporaryFile(/tmp/multipartBody579151007484789298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741409343469,"filename":"image_08032025_05_46_35_29718.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341742227","file0":"1341742207"},"map_files_photo_id_array":[{"photo_id":"1341742227","filename":"file1"},{"photo_id":"1341742207","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341742207":["hashtag1","hashtag2"]},{"1341742227":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341742207, 1341742227)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.377488136291504 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 05:48:32.524857
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/05/47/image_08032025_05_48_05_29742.jpg', 2), ('/home/nano/Desktop/images/08032025/05/47/image_08032025_05_47_36_29697.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/05/47/image_08032025_05_48_05_29742.jpg', '/home/nano/Desktop/images/08032025/05/47/image_08032025_05_47_36_29697.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/05/47/image_08032025_05_48_05_29742.jpg
/home/nano/Desktop/images/08032025/05/47/image_08032025_05_47_36_29697.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341742293","1341742302"],"photo_ids_order":["1341742293","1341742302"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/7490eb1484ebf655735e9e9eddbe88ed.jpg","text":"TemporaryFile(/tmp/multipartBody2244025414333414803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741409372967,"filename":"image_08032025_05_48_05_29742.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/a483332281b2a92da78071afc94a16b5.jpg","text":"TemporaryFile(/tmp/multipartBody5200227525417569159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741409372967,"filename":"image_08032025_05_47_36_29697.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341742302","file0":"1341742293"},"map_files_photo_id_array":[{"photo_id":"1341742302","filename":"file1"},{"photo_id":"1341742293","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341742293":["hashtag1","hashtag2"]},{"1341742302":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341742293, 1341742302)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 16.660597801208496 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 05:49:03.488560
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 05:49:32.655276
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/05/48/image_08032025_05_49_06_30725.jpg', 2), ('/home/nano/Desktop/images/08032025/05/48/image_08032025_05_48_35_29689.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/05/48/image_08032025_05_49_06_30725.jpg', '/home/nano/Desktop/images/08032025/05/48/image_08032025_05_48_35_29689.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/05/48/image_08032025_05_49_06_30725.jpg
/home/nano/Desktop/images/08032025/05/48/image_08032025_05_48_35_29689.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.37314462661743164 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 marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 05:50:03.307422
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 3 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/05/49/image_08032025_05_50_05_29694.jpg', 2), ('/home/nano/Desktop/images/08032025/05/48/image_08032025_05_49_06_30725.jpg', 2), ('/home/nano/Desktop/images/08032025/05/48/image_08032025_05_48_35_29689.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/05/49/image_08032025_05_50_05_29694.jpg', '/home/nano/Desktop/images/08032025/05/48/image_08032025_05_49_06_30725.jpg', '/home/nano/Desktop/images/08032025/05/48/image_08032025_05_48_35_29689.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/05/49/image_08032025_05_50_05_29694.jpg
/home/nano/Desktop/images/08032025/05/48/image_08032025_05_49_06_30725.jpg
/home/nano/Desktop/images/08032025/05/48/image_08032025_05_48_35_29689.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341742690","1341742689","1341742691"],"photo_ids_order":["1341742689","1341742690","1341742691"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/0a32c6b928104e2d286bdefcf8f897a9.jpg","text":"TemporaryFile(/tmp/multipartBody6180933759441841289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741409463717,"filename":"image_08032025_05_49_06_30725.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/f089456ce81f4362bc81677046e70dc4.jpg","text":"TemporaryFile(/tmp/multipartBody641054432822346394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741409463717,"filename":"image_08032025_05_50_05_29694.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/dae8775a372eef872b48113e27825286.jpg","text":"TemporaryFile(/tmp/multipartBody5987055381816322124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741409463717,"filename":"image_08032025_05_48_35_29689.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341742691","file1":"1341742690","file0":"1341742689"},"map_files_photo_id_array":[{"photo_id":"1341742691","filename":"file2"},{"photo_id":"1341742690","filename":"file1"},{"photo_id":"1341742689","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341742690":["hashtag1","hashtag2"]},{"1341742689":["hashtag1","hashtag2"]},{"1341742691":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341742690, 1341742689, 1341742691)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 19.237945795059204 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 05:50:32.742189
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/05/49/image_08032025_05_49_36_29721.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/05/49/image_08032025_05_49_36_29721.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/05/49/image_08032025_05_49_36_29721.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.30321836471557617 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 marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 05:51:02.383384
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/05/49/image_08032025_05_49_36_29721.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/05/49/image_08032025_05_49_36_29721.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/05/49/image_08032025_05_49_36_29721.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341742809"],"photo_id":"1341742809","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/35f3eed951d9dbdf14046591dfc997c4.jpg","text":"TemporaryFile(/tmp/multipartBody4144324036945546453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741409522710,"filename":"image_08032025_05_49_36_29721.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1341742809"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1341742809"}],"hashtags":[],"portfolio_id":"21163824","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 10.402026891708374 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 05:51:31.898743
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/05/50/image_08032025_05_51_06_29715.jpg', 2), ('/home/nano/Desktop/images/08032025/05/50/image_08032025_05_50_36_30703.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/05/50/image_08032025_05_51_06_29715.jpg', '/home/nano/Desktop/images/08032025/05/50/image_08032025_05_50_36_30703.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/05/50/image_08032025_05_51_06_29715.jpg
/home/nano/Desktop/images/08032025/05/50/image_08032025_05_50_36_30703.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341742925","1341742929"],"photo_ids_order":["1341742925","1341742929"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/530f027b0ebea2a4b3cd14f81b64e9d7.jpg","text":"TemporaryFile(/tmp/multipartBody588169084642455287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741409552329,"filename":"image_08032025_05_51_06_29715.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/0a7c41084605b49d31d15f25b5ee1113.jpg","text":"TemporaryFile(/tmp/multipartBody1145879604382003317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741409552329,"filename":"image_08032025_05_50_36_30703.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341742929","file0":"1341742925"},"map_files_photo_id_array":[{"photo_id":"1341742929","filename":"file1"},{"photo_id":"1341742925","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341742925":["hashtag1","hashtag2"]},{"1341742929":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341742925, 1341742929)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.508873701095581 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 05:52:02.538441
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 05:52:32.019435
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/05/51/image_08032025_05_52_05_29693.jpg', 2), ('/home/nano/Desktop/images/08032025/05/51/image_08032025_05_51_35_29722.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/05/51/image_08032025_05_52_05_29693.jpg', '/home/nano/Desktop/images/08032025/05/51/image_08032025_05_51_35_29722.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/05/51/image_08032025_05_52_05_29693.jpg
/home/nano/Desktop/images/08032025/05/51/image_08032025_05_51_35_29722.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341743032","1341743026"],"photo_ids_order":["1341743026","1341743032"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/6de8e6882f31b16a222858789c356046.jpg","text":"TemporaryFile(/tmp/multipartBody519742202573920540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741409612451,"filename":"image_08032025_05_51_35_29722.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/e719569d9240b01bbdb8517f2f9f504e.jpg","text":"TemporaryFile(/tmp/multipartBody4702459941542286225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741409612451,"filename":"image_08032025_05_52_05_29693.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341743032","file0":"1341743026"},"map_files_photo_id_array":[{"photo_id":"1341743032","filename":"file1"},{"photo_id":"1341743026","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341743032":["hashtag1","hashtag2"]},{"1341743026":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341743032, 1341743026)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.771030187606812 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 05:53:02.600278
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 05:53:32.107851
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/05/52/image_08032025_05_53_06_29705.jpg', 2), ('/home/nano/Desktop/images/08032025/05/52/image_08032025_05_52_36_30696.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/05/52/image_08032025_05_53_06_29705.jpg', '/home/nano/Desktop/images/08032025/05/52/image_08032025_05_52_36_30696.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/05/52/image_08032025_05_53_06_29705.jpg
/home/nano/Desktop/images/08032025/05/52/image_08032025_05_52_36_30696.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341743046","1341743051"],"photo_ids_order":["1341743046","1341743051"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/940388799314efbbd6f5c5700234804a.jpg","text":"TemporaryFile(/tmp/multipartBody835998088394658547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741409672547,"filename":"image_08032025_05_53_06_29705.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/54a6a3a2f88e1be1234dfa130b1dcd06.jpg","text":"TemporaryFile(/tmp/multipartBody4861246950976195372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741409672547,"filename":"image_08032025_05_52_36_30696.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341743051","file0":"1341743046"},"map_files_photo_id_array":[{"photo_id":"1341743051","filename":"file1"},{"photo_id":"1341743046","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341743046":["hashtag1","hashtag2"]},{"1341743051":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341743046, 1341743051)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 16.239758491516113 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 05:54:03.109734
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 05:54:32.192183
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/05/53/image_08032025_05_54_06_30726.jpg', 2), ('/home/nano/Desktop/images/08032025/05/53/image_08032025_05_53_35_29695.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/05/53/image_08032025_05_54_06_30726.jpg', '/home/nano/Desktop/images/08032025/05/53/image_08032025_05_53_35_29695.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/05/53/image_08032025_05_54_06_30726.jpg
/home/nano/Desktop/images/08032025/05/53/image_08032025_05_53_35_29695.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341743062","1341743066"],"photo_ids_order":["1341743062","1341743066"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/79e7fb95de2312436fdf6366bca49e27.jpg","text":"TemporaryFile(/tmp/multipartBody9043274742646349810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741409732615,"filename":"image_08032025_05_54_06_30726.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/5e5f886d412d1dcee2fd21c01c0d82c2.jpg","text":"TemporaryFile(/tmp/multipartBody7521295942407611911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741409732615,"filename":"image_08032025_05_53_35_29695.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341743066","file0":"1341743062"},"map_files_photo_id_array":[{"photo_id":"1341743066","filename":"file1"},{"photo_id":"1341743062","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341743062":["hashtag1","hashtag2"]},{"1341743066":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341743062, 1341743066)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 13.99040675163269 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 05:55:02.734581
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 05:55:32.307737
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/05/54/image_08032025_05_55_05_29710.jpg', 2), ('/home/nano/Desktop/images/08032025/05/54/image_08032025_05_54_36_29688.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/05/54/image_08032025_05_55_05_29710.jpg', '/home/nano/Desktop/images/08032025/05/54/image_08032025_05_54_36_29688.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/05/54/image_08032025_05_55_05_29710.jpg
/home/nano/Desktop/images/08032025/05/54/image_08032025_05_54_36_29688.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341743088","1341743084"],"photo_ids_order":["1341743084","1341743088"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/5daedd85b236ebf612502b00c570499c.jpg","text":"TemporaryFile(/tmp/multipartBody3033949550454912753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741409792713,"filename":"image_08032025_05_54_36_29688.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/8b3bc64dd76ca71a6d7806ed59c780d2.jpg","text":"TemporaryFile(/tmp/multipartBody6040281036572080519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741409792713,"filename":"image_08032025_05_55_05_29710.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341743088","file0":"1341743084"},"map_files_photo_id_array":[{"photo_id":"1341743088","filename":"file1"},{"photo_id":"1341743084","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341743088":["hashtag1","hashtag2"]},{"1341743084":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341743088, 1341743084)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 18.022233724594116 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 05:56:02.943603
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 05:56:32.381076
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/05/55/image_08032025_05_56_06_29717.jpg', 2), ('/home/nano/Desktop/images/08032025/05/55/image_08032025_05_55_36_30703.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/05/55/image_08032025_05_56_06_29717.jpg', '/home/nano/Desktop/images/08032025/05/55/image_08032025_05_55_36_30703.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/05/55/image_08032025_05_56_06_29717.jpg
/home/nano/Desktop/images/08032025/05/55/image_08032025_05_55_36_30703.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.27949023246765137 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 marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 05:57:03.030774
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/05/55/image_08032025_05_56_06_29717.jpg', 2), ('/home/nano/Desktop/images/08032025/05/55/image_08032025_05_55_36_30703.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/05/55/image_08032025_05_56_06_29717.jpg', '/home/nano/Desktop/images/08032025/05/55/image_08032025_05_55_36_30703.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/05/55/image_08032025_05_56_06_29717.jpg
/home/nano/Desktop/images/08032025/05/55/image_08032025_05_55_36_30703.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341743429","1341743420"],"photo_ids_order":["1341743420","1341743429"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/701c487bfb882977f27ce588a8ab4317.jpg","text":"TemporaryFile(/tmp/multipartBody3366658365796665794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741409883398,"filename":"image_08032025_05_55_36_30703.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/f9d904c6a9d15692d5f119b231622c21.jpg","text":"TemporaryFile(/tmp/multipartBody7484273366164888355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741409883398,"filename":"image_08032025_05_56_06_29717.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341743429","file0":"1341743420"},"map_files_photo_id_array":[{"photo_id":"1341743429","filename":"file1"},{"photo_id":"1341743420","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341743429":["hashtag1","hashtag2"]},{"1341743420":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341743429, 1341743420)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.251139163970947 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 05:57:32.509848
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/05/56/image_08032025_05_57_05_29719.jpg', 2), ('/home/nano/Desktop/images/08032025/05/56/image_08032025_05_56_35_29688.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/05/56/image_08032025_05_57_05_29719.jpg', '/home/nano/Desktop/images/08032025/05/56/image_08032025_05_56_35_29688.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/05/56/image_08032025_05_57_05_29719.jpg
/home/nano/Desktop/images/08032025/05/56/image_08032025_05_56_35_29688.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.30078577995300293 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 marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 05:59:03.496229
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/05/56/image_08032025_05_57_05_29719.jpg', 2), ('/home/nano/Desktop/images/08032025/05/56/image_08032025_05_56_35_29688.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/05/56/image_08032025_05_57_05_29719.jpg', '/home/nano/Desktop/images/08032025/05/56/image_08032025_05_56_35_29688.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/05/56/image_08032025_05_57_05_29719.jpg
/home/nano/Desktop/images/08032025/05/56/image_08032025_05_56_35_29688.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341743761","1341743786"],"photo_ids_order":["1341743761","1341743786"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/a15f08e2ecbdeae2c0ab3308f823cc05.jpg","text":"TemporaryFile(/tmp/multipartBody6156066307033460785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741410003849,"filename":"image_08032025_05_57_05_29719.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/795bcf8882c7bdf23ee4674fca514434.jpg","text":"TemporaryFile(/tmp/multipartBody6851519028218792545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741410003849,"filename":"image_08032025_05_56_35_29688.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341743786","file0":"1341743761"},"map_files_photo_id_array":[{"photo_id":"1341743786","filename":"file1"},{"photo_id":"1341743761","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341743761":["hashtag1","hashtag2"]},{"1341743786":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341743761, 1341743786)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 19.831201314926147 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 05:59:32.684113
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 4 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/05/58/image_08032025_05_59_06_30732.jpg', 2), ('/home/nano/Desktop/images/08032025/05/58/image_08032025_05_58_35_29695.jpg', 2), ('/home/nano/Desktop/images/08032025/05/57/image_08032025_05_58_06_29699.jpg', 2), ('/home/nano/Desktop/images/08032025/05/57/image_08032025_05_57_36_30701.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/05/58/image_08032025_05_59_06_30732.jpg', '/home/nano/Desktop/images/08032025/05/58/image_08032025_05_58_35_29695.jpg', '/home/nano/Desktop/images/08032025/05/57/image_08032025_05_58_06_29699.jpg', '/home/nano/Desktop/images/08032025/05/57/image_08032025_05_57_36_30701.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/05/58/image_08032025_05_59_06_30732.jpg
/home/nano/Desktop/images/08032025/05/58/image_08032025_05_58_35_29695.jpg
/home/nano/Desktop/images/08032025/05/57/image_08032025_05_58_06_29699.jpg
/home/nano/Desktop/images/08032025/05/57/image_08032025_05_57_36_30701.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341744070","1341743941","1341744048","1341744030"],"photo_ids_order":["1341743941","1341744030","1341744048","1341744070"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/d07bf95acd7e238c00c200fc21c24f63.jpg","text":"TemporaryFile(/tmp/multipartBody2931608135571078145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741410033283,"filename":"image_08032025_05_57_36_30701.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/5fe957a1f347a2d21515b5826a046b59.jpg","text":"TemporaryFile(/tmp/multipartBody2823589431059241274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741410033283,"filename":"image_08032025_05_59_06_30732.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/ddd10ce0f8fa793304dbdd0fa41e19d5.jpg","text":"TemporaryFile(/tmp/multipartBody6166079080543763660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741410033283,"filename":"image_08032025_05_58_06_29699.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/bc01067d1f18bb15a9e7a8eebf4fd3b7.jpg","text":"TemporaryFile(/tmp/multipartBody961328501287951150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741410033283,"filename":"image_08032025_05_58_35_29695.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341744048","file1":"1341744030","file0":"1341743941","file3":"1341744070"},"map_files_photo_id_array":[{"photo_id":"1341744048","filename":"file2"},{"photo_id":"1341744030","filename":"file1"},{"photo_id":"1341743941","filename":"file0"},{"photo_id":"1341744070","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341744070":["hashtag1","hashtag2"]},{"1341743941":["hashtag1","hashtag2"]},{"1341744048":["hashtag1","hashtag2"]},{"1341744030":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341744070, 1341743941, 1341744048, 1341744030)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 32.837021827697754 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 06:00:31.795536
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/05/59/image_08032025_06_00_05_29704.jpg', 2), ('/home/nano/Desktop/images/08032025/05/59/image_08032025_05_59_36_29686.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/05/59/image_08032025_06_00_05_29704.jpg', '/home/nano/Desktop/images/08032025/05/59/image_08032025_05_59_36_29686.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/05/59/image_08032025_06_00_05_29704.jpg
/home/nano/Desktop/images/08032025/05/59/image_08032025_05_59_36_29686.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341744474","1341744395"],"photo_ids_order":["1341744395","1341744474"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/55a55684aaf3e98b3ade7d26fd1283cb.jpg","text":"TemporaryFile(/tmp/multipartBody1796292601049677999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741410092226,"filename":"image_08032025_05_59_36_29686.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/6725467c9b38a30255b02fdf14770d13.jpg","text":"TemporaryFile(/tmp/multipartBody5917163902454795737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741410092226,"filename":"image_08032025_06_00_05_29704.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341744474","file0":"1341744395"},"map_files_photo_id_array":[{"photo_id":"1341744474","filename":"file1"},{"photo_id":"1341744395","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341744474":["hashtag1","hashtag2"]},{"1341744395":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341744474, 1341744395)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.727673768997192 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 06:01:02.459785
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 06:01:31.874321
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/06/00/image_08032025_06_01_06_30709.jpg', 2), ('/home/nano/Desktop/images/08032025/06/00/image_08032025_06_00_35_29701.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/06/00/image_08032025_06_01_06_30709.jpg', '/home/nano/Desktop/images/08032025/06/00/image_08032025_06_00_35_29701.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/06/00/image_08032025_06_01_06_30709.jpg
/home/nano/Desktop/images/08032025/06/00/image_08032025_06_00_35_29701.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341745347","1341745243"],"photo_ids_order":["1341745243","1341745347"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/328ac3e6df1cbe4aa4fa9d2c690be92f.jpg","text":"TemporaryFile(/tmp/multipartBody3926805975621375649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741410152284,"filename":"image_08032025_06_00_35_29701.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/ac4722bccf32ae0209c44f1c5a7dad57.jpg","text":"TemporaryFile(/tmp/multipartBody2448863234880754722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741410152284,"filename":"image_08032025_06_01_06_30709.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341745347","file0":"1341745243"},"map_files_photo_id_array":[{"photo_id":"1341745347","filename":"file1"},{"photo_id":"1341745243","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341745347":["hashtag1","hashtag2"]},{"1341745243":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341745347, 1341745243)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 16.11362862586975 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 06:02:02.550779
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 06:02:31.993997
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/06/01/image_08032025_06_02_05_29724.jpg', 2), ('/home/nano/Desktop/images/08032025/06/01/image_08032025_06_01_36_29687.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/06/01/image_08032025_06_02_05_29724.jpg', '/home/nano/Desktop/images/08032025/06/01/image_08032025_06_01_36_29687.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/06/01/image_08032025_06_02_05_29724.jpg
/home/nano/Desktop/images/08032025/06/01/image_08032025_06_01_36_29687.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341745902","1341746063"],"photo_ids_order":["1341745902","1341746063"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/2719e6300710dfcb1770ad62aee4e9cd.jpg","text":"TemporaryFile(/tmp/multipartBody2926765794349288120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741410212435,"filename":"image_08032025_06_02_05_29724.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/2cad7e93422e4bcce0a38505c250009b.jpg","text":"TemporaryFile(/tmp/multipartBody8365897946522051766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741410212435,"filename":"image_08032025_06_01_36_29687.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341746063","file0":"1341745902"},"map_files_photo_id_array":[{"photo_id":"1341746063","filename":"file1"},{"photo_id":"1341745902","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341745902":["hashtag1","hashtag2"]},{"1341746063":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341745902, 1341746063)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 18.486313581466675 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 06:03:02.639822
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 06:03:32.077047
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/06/02/image_08032025_06_03_06_29733.jpg', 2), ('/home/nano/Desktop/images/08032025/06/02/image_08032025_06_02_36_30704.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/06/02/image_08032025_06_03_06_29733.jpg', '/home/nano/Desktop/images/08032025/06/02/image_08032025_06_02_36_30704.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/06/02/image_08032025_06_03_06_29733.jpg
/home/nano/Desktop/images/08032025/06/02/image_08032025_06_02_36_30704.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341746331","1341746350"],"photo_ids_order":["1341746331","1341746350"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/3e6b617d76ef7be9e85a82f5a086de0e.jpg","text":"TemporaryFile(/tmp/multipartBody3142554982686165355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741410272479,"filename":"image_08032025_06_03_06_29733.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/64ffdcc8ab89bdd42dea61d82cb3be4d.jpg","text":"TemporaryFile(/tmp/multipartBody2841682822227718329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741410272479,"filename":"image_08032025_06_02_36_30704.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341746350","file0":"1341746331"},"map_files_photo_id_array":[{"photo_id":"1341746350","filename":"file1"},{"photo_id":"1341746331","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341746331":["hashtag1","hashtag2"]},{"1341746350":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341746331, 1341746350)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.68942141532898 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 06:04:02.969833
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 06:04:32.194874
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/06/03/image_08032025_06_04_06_30734.jpg', 2), ('/home/nano/Desktop/images/08032025/06/03/image_08032025_06_03_35_29695.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/06/03/image_08032025_06_04_06_30734.jpg', '/home/nano/Desktop/images/08032025/06/03/image_08032025_06_03_35_29695.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/06/03/image_08032025_06_04_06_30734.jpg
/home/nano/Desktop/images/08032025/06/03/image_08032025_06_03_35_29695.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341746910","1341746892"],"photo_ids_order":["1341746892","1341746910"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/c3bf0866b6f482c279c0f709d3bf5c9a.jpg","text":"TemporaryFile(/tmp/multipartBody2796154090494461939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741410332576,"filename":"image_08032025_06_03_35_29695.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/5d891bf285bcc5b75b92db14248592ad.jpg","text":"TemporaryFile(/tmp/multipartBody6812700826875963588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741410332576,"filename":"image_08032025_06_04_06_30734.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341746910","file0":"1341746892"},"map_files_photo_id_array":[{"photo_id":"1341746910","filename":"file1"},{"photo_id":"1341746892","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341746910":["hashtag1","hashtag2"]},{"1341746892":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341746910, 1341746892)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 16.376667261123657 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 06:05:02.920226
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 06:05:32.342117
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/06/04/image_08032025_06_05_06_29737.jpg', 2), ('/home/nano/Desktop/images/08032025/06/04/image_08032025_06_04_36_29732.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/06/04/image_08032025_06_05_06_29737.jpg', '/home/nano/Desktop/images/08032025/06/04/image_08032025_06_04_36_29732.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/06/04/image_08032025_06_05_06_29737.jpg
/home/nano/Desktop/images/08032025/06/04/image_08032025_06_04_36_29732.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341747195","1341747186"],"photo_ids_order":["1341747186","1341747195"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/149556ca95d1a81bcd89f040bf33d7f5.jpg","text":"TemporaryFile(/tmp/multipartBody7635956112066525791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741410392983,"filename":"image_08032025_06_04_36_29732.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/e0b5d66ab6de21b3e714d933b25531d4.jpg","text":"TemporaryFile(/tmp/multipartBody1384892988061893966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741410392983,"filename":"image_08032025_06_05_06_29737.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341747195","file0":"1341747186"},"map_files_photo_id_array":[{"photo_id":"1341747195","filename":"file1"},{"photo_id":"1341747186","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341747195":["hashtag1","hashtag2"]},{"1341747186":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341747195, 1341747186)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 16.35244107246399 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 06:06:03.077890
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 06:06:32.428313
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/06/05/image_08032025_06_06_06_30708.jpg', 2), ('/home/nano/Desktop/images/08032025/06/05/image_08032025_06_05_35_29697.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/06/05/image_08032025_06_06_06_30708.jpg', '/home/nano/Desktop/images/08032025/06/05/image_08032025_06_05_35_29697.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/06/05/image_08032025_06_06_06_30708.jpg
/home/nano/Desktop/images/08032025/06/05/image_08032025_06_05_35_29697.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.3148047924041748 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 marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 06:07:03.072634
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/06/05/image_08032025_06_06_06_30708.jpg', 2), ('/home/nano/Desktop/images/08032025/06/05/image_08032025_06_05_35_29697.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/06/05/image_08032025_06_06_06_30708.jpg', '/home/nano/Desktop/images/08032025/06/05/image_08032025_06_05_35_29697.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/06/05/image_08032025_06_06_06_30708.jpg
/home/nano/Desktop/images/08032025/06/05/image_08032025_06_05_35_29697.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341747919","1341747801"],"photo_ids_order":["1341747801","1341747919"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/7f0371137c69fc20fc5885527921dc4e.jpg","text":"TemporaryFile(/tmp/multipartBody5824081670711648099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741410483423,"filename":"image_08032025_06_05_35_29697.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/de36b2678cb2b8aa898e9f7bb3c7016f.jpg","text":"TemporaryFile(/tmp/multipartBody2509653415049476433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741410483423,"filename":"image_08032025_06_06_06_30708.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341747919","file0":"1341747801"},"map_files_photo_id_array":[{"photo_id":"1341747919","filename":"file1"},{"photo_id":"1341747801","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341747919":["hashtag1","hashtag2"]},{"1341747801":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341747919, 1341747801)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 19.598198175430298 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 06:07:32.543845
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/06/06/image_08032025_06_07_05_29721.jpg', 2), ('/home/nano/Desktop/images/08032025/06/06/image_08032025_06_06_36_29703.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/06/06/image_08032025_06_07_05_29721.jpg', '/home/nano/Desktop/images/08032025/06/06/image_08032025_06_06_36_29703.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/06/06/image_08032025_06_07_05_29721.jpg
/home/nano/Desktop/images/08032025/06/06/image_08032025_06_06_36_29703.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341748157","1341748166"],"photo_ids_order":["1341748157","1341748166"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/c2745f7c8bc9b0fdaf31ebac19ba6ff3.jpg","text":"TemporaryFile(/tmp/multipartBody7169329549783633684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741410512945,"filename":"image_08032025_06_07_05_29721.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/8715bdfce6cb2e112be662157b7243e4.jpg","text":"TemporaryFile(/tmp/multipartBody2223539966480866086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741410512945,"filename":"image_08032025_06_06_36_29703.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341748166","file0":"1341748157"},"map_files_photo_id_array":[{"photo_id":"1341748166","filename":"file1"},{"photo_id":"1341748157","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341748157":["hashtag1","hashtag2"]},{"1341748166":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341748157, 1341748166)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.53158473968506 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 06:08:03.172889
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 06:08:32.718751
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/06/07/image_08032025_06_08_06_29698.jpg', 2), ('/home/nano/Desktop/images/08032025/06/07/image_08032025_06_07_36_30706.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/06/07/image_08032025_06_08_06_29698.jpg', '/home/nano/Desktop/images/08032025/06/07/image_08032025_06_07_36_30706.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/06/07/image_08032025_06_08_06_29698.jpg
/home/nano/Desktop/images/08032025/06/07/image_08032025_06_07_36_30706.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.2738959789276123 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 marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 06:09:02.684006
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/06/07/image_08032025_06_08_06_29698.jpg', 2), ('/home/nano/Desktop/images/08032025/06/07/image_08032025_06_07_36_30706.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/06/07/image_08032025_06_08_06_29698.jpg', '/home/nano/Desktop/images/08032025/06/07/image_08032025_06_07_36_30706.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/06/07/image_08032025_06_08_06_29698.jpg
/home/nano/Desktop/images/08032025/06/07/image_08032025_06_07_36_30706.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341748560","1341748539"],"photo_ids_order":["1341748539","1341748560"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/bb7ad4cc2c8613480627db79b4476195.jpg","text":"TemporaryFile(/tmp/multipartBody9131908265351412558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741410603051,"filename":"image_08032025_06_07_36_30706.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/1e2688af5b09a3c2111abeeee26ecdf6.jpg","text":"TemporaryFile(/tmp/multipartBody449768627622072064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741410603051,"filename":"image_08032025_06_08_06_29698.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341748560","file0":"1341748539"},"map_files_photo_id_array":[{"photo_id":"1341748560","filename":"file1"},{"photo_id":"1341748539","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341748560":["hashtag1","hashtag2"]},{"1341748539":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341748560, 1341748539)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 18.665338277816772 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 06:09:31.798982
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/06/08/image_08032025_06_09_05_29718.jpg', 2), ('/home/nano/Desktop/images/08032025/06/08/image_08032025_06_08_36_29707.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/06/08/image_08032025_06_09_05_29718.jpg', '/home/nano/Desktop/images/08032025/06/08/image_08032025_06_08_36_29707.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/06/08/image_08032025_06_09_05_29718.jpg
/home/nano/Desktop/images/08032025/06/08/image_08032025_06_08_36_29707.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341748607","1341748611"],"photo_ids_order":["1341748607","1341748611"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/c0b8e1c54b813205c910680b5b374805.jpg","text":"TemporaryFile(/tmp/multipartBody2086103562524037522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741410632156,"filename":"image_08032025_06_09_05_29718.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/4989776109440f6002bebcd3ee367ee4.jpg","text":"TemporaryFile(/tmp/multipartBody3993684465641714164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741410632156,"filename":"image_08032025_06_08_36_29707.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341748611","file0":"1341748607"},"map_files_photo_id_array":[{"photo_id":"1341748611","filename":"file1"},{"photo_id":"1341748607","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341748607":["hashtag1","hashtag2"]},{"1341748611":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341748607, 1341748611)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.344181299209595 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 06:10:02.430129
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 06:10:31.923668
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/06/09/image_08032025_06_10_06_29745.jpg', 2), ('/home/nano/Desktop/images/08032025/06/09/image_08032025_06_09_36_30712.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/06/09/image_08032025_06_10_06_29745.jpg', '/home/nano/Desktop/images/08032025/06/09/image_08032025_06_09_36_30712.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/06/09/image_08032025_06_10_06_29745.jpg
/home/nano/Desktop/images/08032025/06/09/image_08032025_06_09_36_30712.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341749030","1341748976"],"photo_ids_order":["1341748976","1341749030"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/202aa09c7a33fd886cf02e4824527031.jpg","text":"TemporaryFile(/tmp/multipartBody7361743397671533130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741410692262,"filename":"image_08032025_06_09_36_30712.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/ff318e57b7ca71fa4654f77015befd0c.jpg","text":"TemporaryFile(/tmp/multipartBody8979519763791571374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741410692262,"filename":"image_08032025_06_10_06_29745.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341749030","file0":"1341748976"},"map_files_photo_id_array":[{"photo_id":"1341749030","filename":"file1"},{"photo_id":"1341748976","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341749030":["hashtag1","hashtag2"]},{"1341748976":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341749030, 1341748976)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.806418657302856 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 06:11:02.603700
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 06:11:32.013600
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/06/10/image_08032025_06_11_06_30716.jpg', 2), ('/home/nano/Desktop/images/08032025/06/10/image_08032025_06_10_35_29703.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/06/10/image_08032025_06_11_06_30716.jpg', '/home/nano/Desktop/images/08032025/06/10/image_08032025_06_10_35_29703.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/06/10/image_08032025_06_11_06_30716.jpg
/home/nano/Desktop/images/08032025/06/10/image_08032025_06_10_35_29703.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341749090","1341749084"],"photo_ids_order":["1341749084","1341749090"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/a24bdfcd389c480bc7de973d9ceca70e.jpg","text":"TemporaryFile(/tmp/multipartBody3207485068094944448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741410752369,"filename":"image_08032025_06_10_35_29703.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/5ff57a61c3e5587f8510adb4e2678114.jpg","text":"TemporaryFile(/tmp/multipartBody8899473561640378773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741410752369,"filename":"image_08032025_06_11_06_30716.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341749090","file0":"1341749084"},"map_files_photo_id_array":[{"photo_id":"1341749090","filename":"file1"},{"photo_id":"1341749084","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341749090":["hashtag1","hashtag2"]},{"1341749084":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341749090, 1341749084)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 16.377127408981323 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 06:12:02.739520
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 06:12:32.111317
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/06/11/image_08032025_06_12_06_29731.jpg', 2), ('/home/nano/Desktop/images/08032025/06/11/image_08032025_06_11_36_29690.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/06/11/image_08032025_06_12_06_29731.jpg', '/home/nano/Desktop/images/08032025/06/11/image_08032025_06_11_36_29690.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/06/11/image_08032025_06_12_06_29731.jpg
/home/nano/Desktop/images/08032025/06/11/image_08032025_06_11_36_29690.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341749113","1341749109"],"photo_ids_order":["1341749109","1341749113"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/f7e7eccdf3f0625bd5cded47c8e7dcc8.jpg","text":"TemporaryFile(/tmp/multipartBody8392516465705441033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741410812471,"filename":"image_08032025_06_11_36_29690.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/9896e2dcbc535f75ab4f2bb8c2ba511f.jpg","text":"TemporaryFile(/tmp/multipartBody9222406833138311933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741410812471,"filename":"image_08032025_06_12_06_29731.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341749113","file0":"1341749109"},"map_files_photo_id_array":[{"photo_id":"1341749113","filename":"file1"},{"photo_id":"1341749109","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341749113":["hashtag1","hashtag2"]},{"1341749109":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341749113, 1341749109)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.478275060653687 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 06:13:02.907663
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 06:13:32.305726
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/06/12/image_08032025_06_13_06_30715.jpg', 2), ('/home/nano/Desktop/images/08032025/06/12/image_08032025_06_12_35_29692.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/06/12/image_08032025_06_13_06_30715.jpg', '/home/nano/Desktop/images/08032025/06/12/image_08032025_06_12_35_29692.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/06/12/image_08032025_06_13_06_30715.jpg
/home/nano/Desktop/images/08032025/06/12/image_08032025_06_12_35_29692.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341749334","1341749299"],"photo_ids_order":["1341749299","1341749334"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/376037306cf8ed7bcc513bd4b0d817e0.jpg","text":"TemporaryFile(/tmp/multipartBody844614036035413404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741410872663,"filename":"image_08032025_06_12_35_29692.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/801f50d544986d60af2525738aceb9ae.jpg","text":"TemporaryFile(/tmp/multipartBody4185474663774273460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741410872663,"filename":"image_08032025_06_13_06_30715.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341749334","file0":"1341749299"},"map_files_photo_id_array":[{"photo_id":"1341749334","filename":"file1"},{"photo_id":"1341749299","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341749334":["hashtag1","hashtag2"]},{"1341749299":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341749334, 1341749299)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.722835302352905 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 06:14:03.203351
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 06:14:32.374734
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/06/13/image_08032025_06_14_05_29727.jpg', 2), ('/home/nano/Desktop/images/08032025/06/13/image_08032025_06_13_36_29701.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/06/13/image_08032025_06_14_05_29727.jpg', '/home/nano/Desktop/images/08032025/06/13/image_08032025_06_13_36_29701.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/06/13/image_08032025_06_14_05_29727.jpg
/home/nano/Desktop/images/08032025/06/13/image_08032025_06_13_36_29701.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341749394","1341749378"],"photo_ids_order":["1341749378","1341749394"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/7ad4de4c3d1db6981f2a9dfcdf526fe6.jpg","text":"TemporaryFile(/tmp/multipartBody1689908029950321365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741410932713,"filename":"image_08032025_06_13_36_29701.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/75e539259bb08760f3013cfc8593d3fb.jpg","text":"TemporaryFile(/tmp/multipartBody6998276431395748268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741410932713,"filename":"image_08032025_06_14_05_29727.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341749394","file0":"1341749378"},"map_files_photo_id_array":[{"photo_id":"1341749394","filename":"file1"},{"photo_id":"1341749378","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341749394":["hashtag1","hashtag2"]},{"1341749378":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341749394, 1341749378)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 16.663338661193848 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 06:15:03.106401
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 06:15:32.513472
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/06/14/image_08032025_06_15_06_29728.jpg', 2), ('/home/nano/Desktop/images/08032025/06/14/image_08032025_06_14_36_30704.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/06/14/image_08032025_06_15_06_29728.jpg', '/home/nano/Desktop/images/08032025/06/14/image_08032025_06_14_36_30704.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/06/14/image_08032025_06_15_06_29728.jpg
/home/nano/Desktop/images/08032025/06/14/image_08032025_06_14_36_30704.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341749806","1341749858"],"photo_ids_order":["1341749806","1341749858"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/25342a8347d5148d490aa4b082c6b473.jpg","text":"TemporaryFile(/tmp/multipartBody4659838720306103430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741410992852,"filename":"image_08032025_06_15_06_29728.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/ed48a91b926af130279d3300e661c03e.jpg","text":"TemporaryFile(/tmp/multipartBody3415752591625932752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741410992852,"filename":"image_08032025_06_14_36_30704.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341749858","file0":"1341749806"},"map_files_photo_id_array":[{"photo_id":"1341749858","filename":"file1"},{"photo_id":"1341749806","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341749806":["hashtag1","hashtag2"]},{"1341749858":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341749806, 1341749858)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.72078251838684 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 06:16:03.182838
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 06:16:32.622572
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/06/15/image_08032025_06_16_05_29704.jpg', 2), ('/home/nano/Desktop/images/08032025/06/15/image_08032025_06_15_36_29705.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/06/15/image_08032025_06_16_05_29704.jpg', '/home/nano/Desktop/images/08032025/06/15/image_08032025_06_15_36_29705.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/06/15/image_08032025_06_16_05_29704.jpg
/home/nano/Desktop/images/08032025/06/15/image_08032025_06_15_36_29705.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341750252","1341750225"],"photo_ids_order":["1341750225","1341750252"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/6e44e6a53dc0ddaacfba7799accff29b.jpg","text":"TemporaryFile(/tmp/multipartBody5800377616488234586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741411052962,"filename":"image_08032025_06_15_36_29705.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/6daca8c43477ea24bcdf4e81621c44c7.jpg","text":"TemporaryFile(/tmp/multipartBody8656709019234431603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741411052962,"filename":"image_08032025_06_16_05_29704.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341750252","file0":"1341750225"},"map_files_photo_id_array":[{"photo_id":"1341750252","filename":"file1"},{"photo_id":"1341750225","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341750252":["hashtag1","hashtag2"]},{"1341750225":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341750252, 1341750225)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 16.167351484298706 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 06:17:03.262616
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 06:17:32.731596
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/06/16/image_08032025_06_17_06_29697.jpg', 2), ('/home/nano/Desktop/images/08032025/06/16/image_08032025_06_16_36_30696.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/06/16/image_08032025_06_17_06_29697.jpg', '/home/nano/Desktop/images/08032025/06/16/image_08032025_06_16_36_30696.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/06/16/image_08032025_06_17_06_29697.jpg
/home/nano/Desktop/images/08032025/06/16/image_08032025_06_16_36_30696.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341750574","1341750606"],"photo_ids_order":["1341750574","1341750606"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/a64667640ad88a02246eeaaa9651e2ef.jpg","text":"TemporaryFile(/tmp/multipartBody2127369880584574266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741411113070,"filename":"image_08032025_06_17_06_29697.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/37b0b78ba375b7aa08fb4efb5b2d5aaf.jpg","text":"TemporaryFile(/tmp/multipartBody5648779070167115611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741411113070,"filename":"image_08032025_06_16_36_30696.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341750606","file0":"1341750574"},"map_files_photo_id_array":[{"photo_id":"1341750606","filename":"file1"},{"photo_id":"1341750574","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341750574":["hashtag1","hashtag2"]},{"1341750606":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341750574, 1341750606)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 19.5605206489563 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 06:18:02.391778
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 06:18:31.815536
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/06/17/image_08032025_06_18_06_30724.jpg', 2), ('/home/nano/Desktop/images/08032025/06/17/image_08032025_06_17_35_29691.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/06/17/image_08032025_06_18_06_30724.jpg', '/home/nano/Desktop/images/08032025/06/17/image_08032025_06_17_35_29691.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/06/17/image_08032025_06_18_06_30724.jpg
/home/nano/Desktop/images/08032025/06/17/image_08032025_06_17_35_29691.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341750853","1341750885"],"photo_ids_order":["1341750853","1341750885"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/805f1fef0034fe2baaea72199e513075.jpg","text":"TemporaryFile(/tmp/multipartBody2515667434323127356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741411172153,"filename":"image_08032025_06_18_06_30724.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/9720d1debbe88cf35764fd7916d67714.jpg","text":"TemporaryFile(/tmp/multipartBody3515154023986599854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741411172153,"filename":"image_08032025_06_17_35_29691.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341750885","file0":"1341750853"},"map_files_photo_id_array":[{"photo_id":"1341750885","filename":"file1"},{"photo_id":"1341750853","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341750853":["hashtag1","hashtag2"]},{"1341750885":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341750853, 1341750885)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.368488073348999 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 06:19:02.500037
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 06:19:31.922124
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/06/18/image_08032025_06_19_05_29702.jpg', 2), ('/home/nano/Desktop/images/08032025/06/18/image_08032025_06_18_36_29713.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/06/18/image_08032025_06_19_05_29702.jpg', '/home/nano/Desktop/images/08032025/06/18/image_08032025_06_18_36_29713.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/06/18/image_08032025_06_19_05_29702.jpg
/home/nano/Desktop/images/08032025/06/18/image_08032025_06_18_36_29713.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341751041","1341751029"],"photo_ids_order":["1341751029","1341751041"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/7b0109fb6bb7afb4e5404112db8da304.jpg","text":"TemporaryFile(/tmp/multipartBody8508414849026777773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741411232280,"filename":"image_08032025_06_18_36_29713.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/0e35511e2e61062d8f4aa9437d367e1b.jpg","text":"TemporaryFile(/tmp/multipartBody261641304253784136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741411232280,"filename":"image_08032025_06_19_05_29702.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341751041","file0":"1341751029"},"map_files_photo_id_array":[{"photo_id":"1341751041","filename":"file1"},{"photo_id":"1341751029","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341751041":["hashtag1","hashtag2"]},{"1341751029":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341751041, 1341751029)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 18.75737762451172 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 06:20:02.682283
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 06:20:32.019292
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/06/19/image_08032025_06_20_06_30737.jpg', 2), ('/home/nano/Desktop/images/08032025/06/19/image_08032025_06_19_35_29699.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/06/19/image_08032025_06_20_06_30737.jpg', '/home/nano/Desktop/images/08032025/06/19/image_08032025_06_19_35_29699.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/06/19/image_08032025_06_20_06_30737.jpg
/home/nano/Desktop/images/08032025/06/19/image_08032025_06_19_35_29699.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341751315","1341751419"],"photo_ids_order":["1341751315","1341751419"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/ca578c8fe28ea4c86872257be55bbcf3.jpg","text":"TemporaryFile(/tmp/multipartBody297732048159631450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741411292380,"filename":"image_08032025_06_20_06_30737.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/2cbec64ad81cdc2015397875599651fb.jpg","text":"TemporaryFile(/tmp/multipartBody6845447003988977909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741411292380,"filename":"image_08032025_06_19_35_29699.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341751419","file0":"1341751315"},"map_files_photo_id_array":[{"photo_id":"1341751419","filename":"file1"},{"photo_id":"1341751315","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341751315":["hashtag1","hashtag2"]},{"1341751419":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341751315, 1341751419)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.05940294265747 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 06:21:02.722335
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 06:21:32.118734
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/06/20/image_08032025_06_21_05_29706.jpg', 2), ('/home/nano/Desktop/images/08032025/06/20/image_08032025_06_20_36_29711.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/06/20/image_08032025_06_21_05_29706.jpg', '/home/nano/Desktop/images/08032025/06/20/image_08032025_06_20_36_29711.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/06/20/image_08032025_06_21_05_29706.jpg
/home/nano/Desktop/images/08032025/06/20/image_08032025_06_20_36_29711.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341752107","1341752097"],"photo_ids_order":["1341752097","1341752107"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/50acb0c6f333cddf6ae33a4dd4d99235.jpg","text":"TemporaryFile(/tmp/multipartBody6906846706737006006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741411352486,"filename":"image_08032025_06_20_36_29711.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/6ac0341e950c017c6403122e7731f7ec.jpg","text":"TemporaryFile(/tmp/multipartBody2352034303156257364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741411352486,"filename":"image_08032025_06_21_05_29706.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341752107","file0":"1341752097"},"map_files_photo_id_array":[{"photo_id":"1341752107","filename":"file1"},{"photo_id":"1341752097","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341752107":["hashtag1","hashtag2"]},{"1341752097":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341752107, 1341752097)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.66754150390625 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 06:22:02.863313
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/06/21/image_08032025_06_22_06_29684.jpg', 2), ('/home/nano/Desktop/images/08032025/06/21/image_08032025_06_21_36_30711.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/06/21/image_08032025_06_22_06_29684.jpg', '/home/nano/Desktop/images/08032025/06/21/image_08032025_06_21_36_30711.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/06/21/image_08032025_06_22_06_29684.jpg
/home/nano/Desktop/images/08032025/06/21/image_08032025_06_21_36_30711.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341752155","1341752158"],"photo_ids_order":["1341752155","1341752158"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/72907bc9d5812c0c323ec7854b9b5a42.jpg","text":"TemporaryFile(/tmp/multipartBody1043649415340218605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741411383276,"filename":"image_08032025_06_22_06_29684.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/daefa1bfd638585560c911b4c7423832.jpg","text":"TemporaryFile(/tmp/multipartBody5693855757912633915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741411383276,"filename":"image_08032025_06_21_36_30711.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341752158","file0":"1341752155"},"map_files_photo_id_array":[{"photo_id":"1341752158","filename":"file1"},{"photo_id":"1341752155","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341752155":["hashtag1","hashtag2"]},{"1341752158":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341752155, 1341752158)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 20.090025424957275 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 06:22:32.220716
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 06:23:02.909958
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/06/23/image_08032025_06_23_36_29697.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/06/23/image_08032025_06_23_36_29697.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/06/23/image_08032025_06_23_36_29697.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.24673819541931152 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 marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 06:23:32.324110
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/06/23/image_08032025_06_23_36_29697.jpg', 2), ('/home/nano/Desktop/images/08032025/06/22/image_08032025_06_22_35_29693.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/06/23/image_08032025_06_23_36_29697.jpg', '/home/nano/Desktop/images/08032025/06/22/image_08032025_06_22_35_29693.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/06/23/image_08032025_06_23_36_29697.jpg
/home/nano/Desktop/images/08032025/06/22/image_08032025_06_22_35_29693.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341752541","1341752546"],"photo_ids_order":["1341752541","1341752546"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/ef5c01c47bbe9569208a50e5da45278a.jpg","text":"TemporaryFile(/tmp/multipartBody5288691640486745279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741411472678,"filename":"image_08032025_06_23_36_29697.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/91bbb8672d6dcb02a50dab0faf93223e.jpg","text":"TemporaryFile(/tmp/multipartBody1831688227562003950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741411472678,"filename":"image_08032025_06_22_35_29693.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341752546","file0":"1341752541"},"map_files_photo_id_array":[{"photo_id":"1341752546","filename":"file1"},{"photo_id":"1341752541","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341752541":["hashtag1","hashtag2"]},{"1341752546":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341752541, 1341752546)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 16.526323080062866 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 06:24:03.041936
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 06:24:32.442549
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/06/23/image_08032025_06_24_06_29722.jpg', 2), ('/home/nano/Desktop/images/08032025/06/22/image_08032025_06_23_06_30725.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/06/23/image_08032025_06_24_06_29722.jpg', '/home/nano/Desktop/images/08032025/06/22/image_08032025_06_23_06_30725.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/06/23/image_08032025_06_24_06_29722.jpg
/home/nano/Desktop/images/08032025/06/22/image_08032025_06_23_06_30725.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341752690","1341752665"],"photo_ids_order":["1341752665","1341752690"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/e925a30b2804866545be520661daa08d.jpg","text":"TemporaryFile(/tmp/multipartBody2207541593949467343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741411532808,"filename":"image_08032025_06_23_06_30725.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/e3c66dbed37db57ad8693a43a11cf3fa.jpg","text":"TemporaryFile(/tmp/multipartBody1667876508263707849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741411532808,"filename":"image_08032025_06_24_06_29722.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341752690","file0":"1341752665"},"map_files_photo_id_array":[{"photo_id":"1341752690","filename":"file1"},{"photo_id":"1341752665","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341752690":["hashtag1","hashtag2"]},{"1341752665":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341752690, 1341752665)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.984774827957153 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 06:25:02.983941
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 06:25:32.511434
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/06/24/image_08032025_06_25_06_30720.jpg', 2), ('/home/nano/Desktop/images/08032025/06/24/image_08032025_06_24_35_29687.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/06/24/image_08032025_06_25_06_30720.jpg', '/home/nano/Desktop/images/08032025/06/24/image_08032025_06_24_35_29687.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/06/24/image_08032025_06_25_06_30720.jpg
/home/nano/Desktop/images/08032025/06/24/image_08032025_06_24_35_29687.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
'int' object is not iterable
time to upload: 130.39758229255676 secondes ---
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f76dccb00>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 06:28:02.715277
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/06/26/image_08032025_06_27_06_29731.jpg', 2), ('/home/nano/Desktop/images/08032025/06/26/image_08032025_06_26_36_30696.jpg', 2), ('/home/nano/Desktop/images/08032025/06/25/image_08032025_06_26_05_29711.jpg', 2), ('/home/nano/Desktop/images/08032025/06/25/image_08032025_06_25_36_29671.jpg', 2), ('/home/nano/Desktop/images/08032025/06/24/image_08032025_06_25_06_30720.jpg', 2), ('/home/nano/Desktop/images/08032025/06/24/image_08032025_06_24_35_29687.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/06/26/image_08032025_06_27_06_29731.jpg', '/home/nano/Desktop/images/08032025/06/26/image_08032025_06_26_36_30696.jpg', '/home/nano/Desktop/images/08032025/06/25/image_08032025_06_26_05_29711.jpg', '/home/nano/Desktop/images/08032025/06/25/image_08032025_06_25_36_29671.jpg', '/home/nano/Desktop/images/08032025/06/24/image_08032025_06_25_06_30720.jpg', '/home/nano/Desktop/images/08032025/06/24/image_08032025_06_24_35_29687.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/06/26/image_08032025_06_27_06_29731.jpg
/home/nano/Desktop/images/08032025/06/26/image_08032025_06_26_36_30696.jpg
/home/nano/Desktop/images/08032025/06/25/image_08032025_06_26_05_29711.jpg
/home/nano/Desktop/images/08032025/06/25/image_08032025_06_25_36_29671.jpg
/home/nano/Desktop/images/08032025/06/24/image_08032025_06_25_06_30720.jpg
/home/nano/Desktop/images/08032025/06/24/image_08032025_06_24_35_29687.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.6168241500854492 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 marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 06:28:31.851024
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/06/27/image_08032025_06_28_05_29689.jpg', 2), ('/home/nano/Desktop/images/08032025/06/27/image_08032025_06_27_35_29715.jpg', 2), ('/home/nano/Desktop/images/08032025/06/26/image_08032025_06_27_06_29731.jpg', 2), ('/home/nano/Desktop/images/08032025/06/26/image_08032025_06_26_36_30696.jpg', 2), ('/home/nano/Desktop/images/08032025/06/25/image_08032025_06_26_05_29711.jpg', 2), ('/home/nano/Desktop/images/08032025/06/25/image_08032025_06_25_36_29671.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/06/27/image_08032025_06_28_05_29689.jpg', '/home/nano/Desktop/images/08032025/06/27/image_08032025_06_27_35_29715.jpg', '/home/nano/Desktop/images/08032025/06/26/image_08032025_06_27_06_29731.jpg', '/home/nano/Desktop/images/08032025/06/26/image_08032025_06_26_36_30696.jpg', '/home/nano/Desktop/images/08032025/06/25/image_08032025_06_26_05_29711.jpg', '/home/nano/Desktop/images/08032025/06/25/image_08032025_06_25_36_29671.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/06/27/image_08032025_06_28_05_29689.jpg
/home/nano/Desktop/images/08032025/06/27/image_08032025_06_27_35_29715.jpg
/home/nano/Desktop/images/08032025/06/26/image_08032025_06_27_06_29731.jpg
/home/nano/Desktop/images/08032025/06/26/image_08032025_06_26_36_30696.jpg
/home/nano/Desktop/images/08032025/06/25/image_08032025_06_26_05_29711.jpg
/home/nano/Desktop/images/08032025/06/25/image_08032025_06_25_36_29671.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341753555","1341753558","1341753525","1341753557","1341753509","1341753539"],"photo_ids_order":["1341753509","1341753525","1341753539","1341753555","1341753557","1341753558"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/5d3587d964ddb7e7a685606ab816b280.jpg","text":"TemporaryFile(/tmp/multipartBody2368998259612741320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741411772447,"filename":"image_08032025_06_26_36_30696.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/bf964d828aa8189b2e84d1f2892be7f6.jpg","text":"TemporaryFile(/tmp/multipartBody1504838175020613016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741411772447,"filename":"image_08032025_06_25_36_29671.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/b08b0715619c75f0ac16dd454137abda.jpg","text":"TemporaryFile(/tmp/multipartBody2065950975032396069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741411772447,"filename":"image_08032025_06_27_35_29715.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/784c7a915a2cb9c21df473f045aafab3.jpg","text":"TemporaryFile(/tmp/multipartBody5084857068688245249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741411772447,"filename":"image_08032025_06_26_05_29711.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/68bf4220d97c5b10eb6ada50e06c6f49.jpg","text":"TemporaryFile(/tmp/multipartBody1218034646481493149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741411772447,"filename":"image_08032025_06_28_05_29689.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/d0fb18db7fa31230da00b450abf5d944.jpg","text":"TemporaryFile(/tmp/multipartBody8686952094612505838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741411772447,"filename":"image_08032025_06_27_06_29731.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341753539","file1":"1341753525","file0":"1341753509","file4":"1341753557","file5":"1341753558","file3":"1341753555"},"map_files_photo_id_array":[{"photo_id":"1341753558","filename":"file5"},{"photo_id":"1341753539","filename":"file2"},{"photo_id":"1341753557","filename":"file4"},{"photo_id":"1341753525","filename":"file1"},{"photo_id":"1341753509","filename":"file0"},{"photo_id":"1341753555","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341753555":["hashtag1","hashtag2"]},{"1341753558":["hashtag1","hashtag2"]},{"1341753525":["hashtag1","hashtag2"]},{"1341753557":["hashtag1","hashtag2"]},{"1341753509":["hashtag1","hashtag2"]},{"1341753539":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341753555, 1341753558, 1341753525, 1341753557, 1341753509, 1341753539)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.58844494819641 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 06:29:31.961279
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 4 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/06/28/image_08032025_06_29_06_29702.jpg', 2), ('/home/nano/Desktop/images/08032025/06/28/image_08032025_06_28_36_30710.jpg', 2), ('/home/nano/Desktop/images/08032025/06/24/image_08032025_06_25_06_30720.jpg', 2), ('/home/nano/Desktop/images/08032025/06/24/image_08032025_06_24_35_29687.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/06/28/image_08032025_06_29_06_29702.jpg', '/home/nano/Desktop/images/08032025/06/28/image_08032025_06_28_36_30710.jpg', '/home/nano/Desktop/images/08032025/06/24/image_08032025_06_25_06_30720.jpg', '/home/nano/Desktop/images/08032025/06/24/image_08032025_06_24_35_29687.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/06/28/image_08032025_06_29_06_29702.jpg
/home/nano/Desktop/images/08032025/06/28/image_08032025_06_28_36_30710.jpg
/home/nano/Desktop/images/08032025/06/24/image_08032025_06_25_06_30720.jpg
/home/nano/Desktop/images/08032025/06/24/image_08032025_06_24_35_29687.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341753980","1341753983","1341753977","1341753985"],"photo_ids_order":["1341753977","1341753980","1341753983","1341753985"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/051c07bc961f7634b41922e1a8e684af.jpg","text":"TemporaryFile(/tmp/multipartBody8629836972157353207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741411833995,"filename":"image_08032025_06_28_36_30710.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/1749f51bb7342490dbaadb0619313d1a.jpg","text":"TemporaryFile(/tmp/multipartBody4815806248894085009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741411833995,"filename":"image_08032025_06_25_06_30720.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/6dd18c4caeb0d947878526142a8b455a.jpg","text":"TemporaryFile(/tmp/multipartBody4775294650741440403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741411833995,"filename":"image_08032025_06_29_06_29702.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/bde6f9fc1d49edec21af3255e43330fe.jpg","text":"TemporaryFile(/tmp/multipartBody2302563058795002363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741411833995,"filename":"image_08032025_06_24_35_29687.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341753983","file1":"1341753980","file0":"1341753977","file3":"1341753985"},"map_files_photo_id_array":[{"photo_id":"1341753983","filename":"file2"},{"photo_id":"1341753980","filename":"file1"},{"photo_id":"1341753977","filename":"file0"},{"photo_id":"1341753985","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341753980":["hashtag1","hashtag2"]},{"1341753983":["hashtag1","hashtag2"]},{"1341753977":["hashtag1","hashtag2"]},{"1341753985":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341753980, 1341753983, 1341753977, 1341753985)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 30.249553203582764 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 06:30:32.051979
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/06/29/image_08032025_06_30_06_30753.jpg', 2), ('/home/nano/Desktop/images/08032025/06/29/image_08032025_06_29_35_29727.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/06/29/image_08032025_06_30_06_30753.jpg', '/home/nano/Desktop/images/08032025/06/29/image_08032025_06_29_35_29727.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/06/29/image_08032025_06_30_06_30753.jpg
/home/nano/Desktop/images/08032025/06/29/image_08032025_06_29_35_29727.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341754022","1341754003"],"photo_ids_order":["1341754003","1341754022"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/dd4b03a715631faa3624193a4a20fbba.jpg","text":"TemporaryFile(/tmp/multipartBody8987098189503708357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741411892393,"filename":"image_08032025_06_29_35_29727.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/77a4c4b1e77a7401df5985cb587fc5bd.jpg","text":"TemporaryFile(/tmp/multipartBody5129895025941390196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741411892393,"filename":"image_08032025_06_30_06_30753.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341754022","file0":"1341754003"},"map_files_photo_id_array":[{"photo_id":"1341754022","filename":"file1"},{"photo_id":"1341754003","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341754022":["hashtag1","hashtag2"]},{"1341754003":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341754022, 1341754003)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.975553512573242 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 06:31:02.880770
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 06:31:32.170337
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/06/30/image_08032025_06_31_05_29722.jpg', 2), ('/home/nano/Desktop/images/08032025/06/30/image_08032025_06_30_36_29685.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/06/30/image_08032025_06_31_05_29722.jpg', '/home/nano/Desktop/images/08032025/06/30/image_08032025_06_30_36_29685.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/06/30/image_08032025_06_31_05_29722.jpg
/home/nano/Desktop/images/08032025/06/30/image_08032025_06_30_36_29685.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341754219","1341754216"],"photo_ids_order":["1341754216","1341754219"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/fe75eeedc40db98e823b1756a29369b3.jpg","text":"TemporaryFile(/tmp/multipartBody5943485651995587454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741411952528,"filename":"image_08032025_06_30_36_29685.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/13491cc911e9bc5b7b89597973ff7a59.jpg","text":"TemporaryFile(/tmp/multipartBody8538325033774530474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741411952528,"filename":"image_08032025_06_31_05_29722.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341754219","file0":"1341754216"},"map_files_photo_id_array":[{"photo_id":"1341754219","filename":"file1"},{"photo_id":"1341754216","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341754219":["hashtag1","hashtag2"]},{"1341754216":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341754219, 1341754216)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.461448669433594 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 06:32:03.084780
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 06:32:32.285858
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/06/31/image_08032025_06_32_06_30707.jpg', 2), ('/home/nano/Desktop/images/08032025/06/31/image_08032025_06_31_35_29678.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/06/31/image_08032025_06_32_06_30707.jpg', '/home/nano/Desktop/images/08032025/06/31/image_08032025_06_31_35_29678.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/06/31/image_08032025_06_32_06_30707.jpg
/home/nano/Desktop/images/08032025/06/31/image_08032025_06_31_35_29678.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341754279","1341754284"],"photo_ids_order":["1341754279","1341754284"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/747e323a275a7f7117950db800b3bd56.jpg","text":"TemporaryFile(/tmp/multipartBody5807812917006312191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741412012626,"filename":"image_08032025_06_32_06_30707.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/23fa21cd58d3482ddeec1ede81d31ba2.jpg","text":"TemporaryFile(/tmp/multipartBody3749282100635433002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741412012626,"filename":"image_08032025_06_31_35_29678.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341754284","file0":"1341754279"},"map_files_photo_id_array":[{"photo_id":"1341754284","filename":"file1"},{"photo_id":"1341754279","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341754279":["hashtag1","hashtag2"]},{"1341754284":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341754279, 1341754284)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.375258684158325 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 06:33:03.251314
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 06:33:32.416836
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/06/32/image_08032025_06_33_05_29726.jpg', 2), ('/home/nano/Desktop/images/08032025/06/32/image_08032025_06_32_36_29685.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/06/32/image_08032025_06_33_05_29726.jpg', '/home/nano/Desktop/images/08032025/06/32/image_08032025_06_32_36_29685.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/06/32/image_08032025_06_33_05_29726.jpg
/home/nano/Desktop/images/08032025/06/32/image_08032025_06_32_36_29685.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341754388","1341754373"],"photo_ids_order":["1341754373","1341754388"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/3bfa382fafd47753a3afd0a1584b0f8a.jpg","text":"TemporaryFile(/tmp/multipartBody5826843652686821767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741412072779,"filename":"image_08032025_06_32_36_29685.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/5b59eb2f68b6b327e39b7826efed6aba.jpg","text":"TemporaryFile(/tmp/multipartBody8391834950959848879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741412072779,"filename":"image_08032025_06_33_05_29726.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341754388","file0":"1341754373"},"map_files_photo_id_array":[{"photo_id":"1341754388","filename":"file1"},{"photo_id":"1341754373","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341754388":["hashtag1","hashtag2"]},{"1341754373":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341754388, 1341754373)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.88814401626587 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 06:34:03.229908
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 06:34:32.528107
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/06/33/image_08032025_06_34_06_29712.jpg', 2), ('/home/nano/Desktop/images/08032025/06/33/image_08032025_06_33_36_30709.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/06/33/image_08032025_06_34_06_29712.jpg', '/home/nano/Desktop/images/08032025/06/33/image_08032025_06_33_36_30709.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/06/33/image_08032025_06_34_06_29712.jpg
/home/nano/Desktop/images/08032025/06/33/image_08032025_06_33_36_30709.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341754437","1341754440"],"photo_ids_order":["1341754437","1341754440"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/fc8ef9050d427d9bfec46a32ebdea030.jpg","text":"TemporaryFile(/tmp/multipartBody2322503221871287028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741412132895,"filename":"image_08032025_06_34_06_29712.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/ef0f881cc39e511c3d9fd99090e31c6f.jpg","text":"TemporaryFile(/tmp/multipartBody78158538739567930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741412132895,"filename":"image_08032025_06_33_36_30709.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341754440","file0":"1341754437"},"map_files_photo_id_array":[{"photo_id":"1341754440","filename":"file1"},{"photo_id":"1341754437","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341754437":["hashtag1","hashtag2"]},{"1341754440":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341754437, 1341754440)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 16.515440225601196 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 06:35:03.326277
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 06:35:32.609257
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/06/34/image_08032025_06_35_06_30715.jpg', 2), ('/home/nano/Desktop/images/08032025/06/34/image_08032025_06_34_35_29693.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/06/34/image_08032025_06_35_06_30715.jpg', '/home/nano/Desktop/images/08032025/06/34/image_08032025_06_34_35_29693.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/06/34/image_08032025_06_35_06_30715.jpg
/home/nano/Desktop/images/08032025/06/34/image_08032025_06_34_35_29693.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341754646","1341754642"],"photo_ids_order":["1341754642","1341754646"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/2a7f5a85db6bea24fe8cc5b4d4df3f55.jpg","text":"TemporaryFile(/tmp/multipartBody2872386731627727781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741412192967,"filename":"image_08032025_06_34_35_29693.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/7880a51948c265fc4e102281521b5ef4.jpg","text":"TemporaryFile(/tmp/multipartBody4694777545234464324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741412192967,"filename":"image_08032025_06_35_06_30715.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341754646","file0":"1341754642"},"map_files_photo_id_array":[{"photo_id":"1341754646","filename":"file1"},{"photo_id":"1341754642","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341754646":["hashtag1","hashtag2"]},{"1341754642":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341754646, 1341754642)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.450682640075684 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 06:36:03.459124
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 06:36:32.732573
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/06/35/image_08032025_06_36_06_29718.jpg', 2), ('/home/nano/Desktop/images/08032025/06/35/image_08032025_06_35_36_29710.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/06/35/image_08032025_06_36_06_29718.jpg', '/home/nano/Desktop/images/08032025/06/35/image_08032025_06_35_36_29710.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/06/35/image_08032025_06_36_06_29718.jpg
/home/nano/Desktop/images/08032025/06/35/image_08032025_06_35_36_29710.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341754749","1341754739"],"photo_ids_order":["1341754739","1341754749"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/e55648cee5aa203fa59e4d6abc5bf84d.jpg","text":"TemporaryFile(/tmp/multipartBody6700781367735486920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741412253073,"filename":"image_08032025_06_35_36_29710.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/fba87af8e0a5554665181ac12bafb511.jpg","text":"TemporaryFile(/tmp/multipartBody4888951403376934087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741412253073,"filename":"image_08032025_06_36_06_29718.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341754749","file0":"1341754739"},"map_files_photo_id_array":[{"photo_id":"1341754749","filename":"file1"},{"photo_id":"1341754739","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341754749":["hashtag1","hashtag2"]},{"1341754739":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341754749, 1341754739)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 13.903595209121704 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 06:37:02.535460
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 06:37:31.806491
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/06/36/image_08032025_06_37_06_30731.jpg', 2), ('/home/nano/Desktop/images/08032025/06/36/image_08032025_06_36_35_29700.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/06/36/image_08032025_06_37_06_30731.jpg', '/home/nano/Desktop/images/08032025/06/36/image_08032025_06_36_35_29700.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/06/36/image_08032025_06_37_06_30731.jpg
/home/nano/Desktop/images/08032025/06/36/image_08032025_06_36_35_29700.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341755040","1341755043"],"photo_ids_order":["1341755040","1341755043"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/694932749d71bfcc05ffd4e732f70e59.jpg","text":"TemporaryFile(/tmp/multipartBody7876375488460225307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741412312154,"filename":"image_08032025_06_37_06_30731.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/2e111dd5ddd6f17788fae0994e228186.jpg","text":"TemporaryFile(/tmp/multipartBody3796577032954374323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741412312154,"filename":"image_08032025_06_36_35_29700.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341755043","file0":"1341755040"},"map_files_photo_id_array":[{"photo_id":"1341755043","filename":"file1"},{"photo_id":"1341755040","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341755040":["hashtag1","hashtag2"]},{"1341755043":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341755040, 1341755043)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.22018551826477 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 06:38:02.700797
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 06:38:31.924177
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/06/37/image_08032025_06_38_05_29711.jpg', 2), ('/home/nano/Desktop/images/08032025/06/37/image_08032025_06_37_36_29694.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/06/37/image_08032025_06_38_05_29711.jpg', '/home/nano/Desktop/images/08032025/06/37/image_08032025_06_37_36_29694.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/06/37/image_08032025_06_38_05_29711.jpg
/home/nano/Desktop/images/08032025/06/37/image_08032025_06_37_36_29694.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.2919492721557617 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 marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 06:39:03.108382
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/06/37/image_08032025_06_38_05_29711.jpg', 2), ('/home/nano/Desktop/images/08032025/06/37/image_08032025_06_37_36_29694.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/06/37/image_08032025_06_38_05_29711.jpg', '/home/nano/Desktop/images/08032025/06/37/image_08032025_06_37_36_29694.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/06/37/image_08032025_06_38_05_29711.jpg
/home/nano/Desktop/images/08032025/06/37/image_08032025_06_37_36_29694.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341755086","1341755083"],"photo_ids_order":["1341755083","1341755086"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/4b29adbee2d0b5ec4151cae4e19515f6.jpg","text":"TemporaryFile(/tmp/multipartBody3149776022294486169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741412403491,"filename":"image_08032025_06_37_36_29694.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/fecdce67b0935c4e98e800671fbb944f.jpg","text":"TemporaryFile(/tmp/multipartBody5609366119415956167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741412403491,"filename":"image_08032025_06_38_05_29711.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341755086","file0":"1341755083"},"map_files_photo_id_array":[{"photo_id":"1341755086","filename":"file1"},{"photo_id":"1341755083","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341755086":["hashtag1","hashtag2"]},{"1341755083":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341755086, 1341755083)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.763872146606445 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 06:39:32.008872
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/06/38/image_08032025_06_39_06_29701.jpg', 2), ('/home/nano/Desktop/images/08032025/06/38/image_08032025_06_38_36_30705.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/06/38/image_08032025_06_39_06_29701.jpg', '/home/nano/Desktop/images/08032025/06/38/image_08032025_06_38_36_30705.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/06/38/image_08032025_06_39_06_29701.jpg
/home/nano/Desktop/images/08032025/06/38/image_08032025_06_38_36_30705.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341755100","1341755097"],"photo_ids_order":["1341755097","1341755100"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/2dfa716a9a46b4ec323f84bffebdba33.jpg","text":"TemporaryFile(/tmp/multipartBody7785926005451538189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741412432488,"filename":"image_08032025_06_38_36_30705.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/73cf738d6cf8d46989617d34b23e1fdb.jpg","text":"TemporaryFile(/tmp/multipartBody4427072710181740172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741412432488,"filename":"image_08032025_06_39_06_29701.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341755100","file0":"1341755097"},"map_files_photo_id_array":[{"photo_id":"1341755100","filename":"file1"},{"photo_id":"1341755097","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341755100":["hashtag1","hashtag2"]},{"1341755097":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341755100, 1341755097)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.38662338256836 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 06:40:03.007276
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 06:40:32.112728
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/06/39/image_08032025_06_40_05_29718.jpg', 2), ('/home/nano/Desktop/images/08032025/06/39/image_08032025_06_39_35_29717.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/06/39/image_08032025_06_40_05_29718.jpg', '/home/nano/Desktop/images/08032025/06/39/image_08032025_06_39_35_29717.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/06/39/image_08032025_06_40_05_29718.jpg
/home/nano/Desktop/images/08032025/06/39/image_08032025_06_39_35_29717.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341755383","1341755394"],"photo_ids_order":["1341755383","1341755394"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/9ec886dfc9cf838a7d06821b69fac9c3.jpg","text":"TemporaryFile(/tmp/multipartBody8477434655149220923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741412492472,"filename":"image_08032025_06_40_05_29718.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/48a8b44ed22a778f8b9360b817f76072.jpg","text":"TemporaryFile(/tmp/multipartBody3641251637223115789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741412492472,"filename":"image_08032025_06_39_35_29717.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341755394","file0":"1341755383"},"map_files_photo_id_array":[{"photo_id":"1341755394","filename":"file1"},{"photo_id":"1341755383","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341755383":["hashtag1","hashtag2"]},{"1341755394":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341755383, 1341755394)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 22.49873375892639 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 06:41:03.065289
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/06/40/image_08032025_06_41_06_29706.jpg', 2), ('/home/nano/Desktop/images/08032025/06/40/image_08032025_06_40_36_30729.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/06/40/image_08032025_06_41_06_29706.jpg', '/home/nano/Desktop/images/08032025/06/40/image_08032025_06_40_36_30729.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/06/40/image_08032025_06_41_06_29706.jpg
/home/nano/Desktop/images/08032025/06/40/image_08032025_06_40_36_30729.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341755404","1341755403"],"photo_ids_order":["1341755403","1341755404"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/d505a59cf79d68c507bcecde82781760.jpg","text":"TemporaryFile(/tmp/multipartBody8568978711200835598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741412523460,"filename":"image_08032025_06_40_36_30729.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/a8deb6fa86b825ed2a0a71370069aeda.jpg","text":"TemporaryFile(/tmp/multipartBody3625991610190479889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741412523460,"filename":"image_08032025_06_41_06_29706.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341755404","file0":"1341755403"},"map_files_photo_id_array":[{"photo_id":"1341755404","filename":"file1"},{"photo_id":"1341755403","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341755404":["hashtag1","hashtag2"]},{"1341755403":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341755404, 1341755403)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 19.223113298416138 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 06:41:32.213002
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 06:42:03.103931
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 06:42:32.329411
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/06/41/image_08032025_06_42_06_30715.jpg', 2), ('/home/nano/Desktop/images/08032025/06/41/image_08032025_06_41_35_29695.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/06/41/image_08032025_06_42_06_30715.jpg', '/home/nano/Desktop/images/08032025/06/41/image_08032025_06_41_35_29695.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/06/41/image_08032025_06_42_06_30715.jpg
/home/nano/Desktop/images/08032025/06/41/image_08032025_06_41_35_29695.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341755792","1341755775"],"photo_ids_order":["1341755775","1341755792"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/117ca7621e8fee9a8411714b4ba92cc0.jpg","text":"TemporaryFile(/tmp/multipartBody934805780383810675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741412612683,"filename":"image_08032025_06_41_35_29695.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/9a008b8e12d2e8b8bc7b8a95c56dc8ca.jpg","text":"TemporaryFile(/tmp/multipartBody9174527090807695614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741412612683,"filename":"image_08032025_06_42_06_30715.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341755792","file0":"1341755775"},"map_files_photo_id_array":[{"photo_id":"1341755792","filename":"file1"},{"photo_id":"1341755775","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341755792":["hashtag1","hashtag2"]},{"1341755775":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341755792, 1341755775)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 18.82546329498291 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 06:43:03.220692
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 06:43:32.444125
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/06/42/image_08032025_06_43_05_29729.jpg', 2), ('/home/nano/Desktop/images/08032025/06/42/image_08032025_06_42_36_29696.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/06/42/image_08032025_06_43_05_29729.jpg', '/home/nano/Desktop/images/08032025/06/42/image_08032025_06_42_36_29696.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/06/42/image_08032025_06_43_05_29729.jpg
/home/nano/Desktop/images/08032025/06/42/image_08032025_06_42_36_29696.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341755898","1341755877"],"photo_ids_order":["1341755877","1341755898"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/b5d4d83106d6d87ec878608475c3c815.jpg","text":"TemporaryFile(/tmp/multipartBody2099100366948526111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741412672800,"filename":"image_08032025_06_42_36_29696.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/33c90d89ea74cfd7a5d5b41d238710f4.jpg","text":"TemporaryFile(/tmp/multipartBody7697260236756870350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741412672800,"filename":"image_08032025_06_43_05_29729.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341755898","file0":"1341755877"},"map_files_photo_id_array":[{"photo_id":"1341755898","filename":"file1"},{"photo_id":"1341755877","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341755898":["hashtag1","hashtag2"]},{"1341755877":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341755898, 1341755877)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.261230945587158 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 06:44:03.723593
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 06:44:32.525914
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/06/43/image_08032025_06_44_06_30723.jpg', 2), ('/home/nano/Desktop/images/08032025/06/43/image_08032025_06_43_35_29696.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/06/43/image_08032025_06_44_06_30723.jpg', '/home/nano/Desktop/images/08032025/06/43/image_08032025_06_43_35_29696.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/06/43/image_08032025_06_44_06_30723.jpg
/home/nano/Desktop/images/08032025/06/43/image_08032025_06_43_35_29696.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341756015","1341756000"],"photo_ids_order":["1341756000","1341756015"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/db338901b4f3ffa5c68949f2cd3b9b21.jpg","text":"TemporaryFile(/tmp/multipartBody6933242642965484733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741412732886,"filename":"image_08032025_06_43_35_29696.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/6540b4d88dbf3a516489cc95bd714c3b.jpg","text":"TemporaryFile(/tmp/multipartBody2334363781953269320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741412732886,"filename":"image_08032025_06_44_06_30723.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341756015","file0":"1341756000"},"map_files_photo_id_array":[{"photo_id":"1341756015","filename":"file1"},{"photo_id":"1341756000","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341756015":["hashtag1","hashtag2"]},{"1341756000":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341756015, 1341756000)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.038048028945923 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 06:45:03.475295
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 06:45:32.645643
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/06/44/image_08032025_06_45_05_29706.jpg', 2), ('/home/nano/Desktop/images/08032025/06/44/image_08032025_06_44_36_29690.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/06/44/image_08032025_06_45_05_29706.jpg', '/home/nano/Desktop/images/08032025/06/44/image_08032025_06_44_36_29690.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/06/44/image_08032025_06_45_05_29706.jpg
/home/nano/Desktop/images/08032025/06/44/image_08032025_06_44_36_29690.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341756090","1341756095"],"photo_ids_order":["1341756090","1341756095"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/7a67bacb2a543d0d816f30c5cc9e093f.jpg","text":"TemporaryFile(/tmp/multipartBody419008386517182036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741412793009,"filename":"image_08032025_06_45_05_29706.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/1fe67847e461e9b6da90a7279fa36fc6.jpg","text":"TemporaryFile(/tmp/multipartBody899847542031691605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741412793009,"filename":"image_08032025_06_44_36_29690.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341756095","file0":"1341756090"},"map_files_photo_id_array":[{"photo_id":"1341756095","filename":"file1"},{"photo_id":"1341756090","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341756090":["hashtag1","hashtag2"]},{"1341756095":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341756090, 1341756095)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.649145126342773 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 06:46:02.557773
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 06:46:31.740357
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/06/45/image_08032025_06_46_06_29728.jpg', 2), ('/home/nano/Desktop/images/08032025/06/45/image_08032025_06_45_36_30711.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/06/45/image_08032025_06_46_06_29728.jpg', '/home/nano/Desktop/images/08032025/06/45/image_08032025_06_45_36_30711.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/06/45/image_08032025_06_46_06_29728.jpg
/home/nano/Desktop/images/08032025/06/45/image_08032025_06_45_36_30711.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341756142","1341756137"],"photo_ids_order":["1341756137","1341756142"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/4ed727795007307afb7fb04133d5100f.jpg","text":"TemporaryFile(/tmp/multipartBody60074171350682411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741412852097,"filename":"image_08032025_06_45_36_30711.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/af5f4386fd0e46d063c500b8189cf34a.jpg","text":"TemporaryFile(/tmp/multipartBody1806979587581425457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741412852097,"filename":"image_08032025_06_46_06_29728.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341756142","file0":"1341756137"},"map_files_photo_id_array":[{"photo_id":"1341756142","filename":"file1"},{"photo_id":"1341756137","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341756142":["hashtag1","hashtag2"]},{"1341756137":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341756142, 1341756137)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.507135152816772 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 06:47:02.634685
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 06:47:31.843327
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/06/46/image_08032025_06_47_05_29723.jpg', 2), ('/home/nano/Desktop/images/08032025/06/46/image_08032025_06_46_35_29713.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/06/46/image_08032025_06_47_05_29723.jpg', '/home/nano/Desktop/images/08032025/06/46/image_08032025_06_46_35_29713.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/06/46/image_08032025_06_47_05_29723.jpg
/home/nano/Desktop/images/08032025/06/46/image_08032025_06_46_35_29713.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341756370","1341756365"],"photo_ids_order":["1341756365","1341756370"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/b219add19f64e92d36f4d8b14eb38cdd.jpg","text":"TemporaryFile(/tmp/multipartBody5387965980303026016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741412912205,"filename":"image_08032025_06_46_35_29713.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/6de7ec4cacbac2fb6d875db818500edd.jpg","text":"TemporaryFile(/tmp/multipartBody5197780272584940498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741412912205,"filename":"image_08032025_06_47_05_29723.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341756370","file0":"1341756365"},"map_files_photo_id_array":[{"photo_id":"1341756370","filename":"file1"},{"photo_id":"1341756365","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341756370":["hashtag1","hashtag2"]},{"1341756365":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341756370, 1341756365)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.18846321105957 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 06:48:02.748873
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 06:48:31.923079
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/06/47/image_08032025_06_48_06_29713.jpg', 2), ('/home/nano/Desktop/images/08032025/06/47/image_08032025_06_47_36_30703.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/06/47/image_08032025_06_48_06_29713.jpg', '/home/nano/Desktop/images/08032025/06/47/image_08032025_06_47_36_30703.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/06/47/image_08032025_06_48_06_29713.jpg
/home/nano/Desktop/images/08032025/06/47/image_08032025_06_47_36_30703.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341756531","1341756398"],"photo_ids_order":["1341756398","1341756531"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/a93b7d917e47324acb9880542205de48.jpg","text":"TemporaryFile(/tmp/multipartBody2859582946832555180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741412972280,"filename":"image_08032025_06_47_36_30703.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/30319a295d082afca5c2c5c6431229e2.jpg","text":"TemporaryFile(/tmp/multipartBody1898622640955143011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741412972280,"filename":"image_08032025_06_48_06_29713.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341756531","file0":"1341756398"},"map_files_photo_id_array":[{"photo_id":"1341756531","filename":"file1"},{"photo_id":"1341756398","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341756531":["hashtag1","hashtag2"]},{"1341756398":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341756531, 1341756398)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.227330923080444 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 06:49:03.086413
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 06:49:32.011857
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/06/48/image_08032025_06_49_06_30722.jpg', 2), ('/home/nano/Desktop/images/08032025/06/48/image_08032025_06_48_35_29690.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/06/48/image_08032025_06_49_06_30722.jpg', '/home/nano/Desktop/images/08032025/06/48/image_08032025_06_48_35_29690.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/06/48/image_08032025_06_49_06_30722.jpg
/home/nano/Desktop/images/08032025/06/48/image_08032025_06_48_35_29690.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341757068","1341757031"],"photo_ids_order":["1341757031","1341757068"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/6d199ae4df2abec87376056a26348047.jpg","text":"TemporaryFile(/tmp/multipartBody2702230785209135245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741413032352,"filename":"image_08032025_06_48_35_29690.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/465e533364224ba5cb4550b89e36319a.jpg","text":"TemporaryFile(/tmp/multipartBody5867475794071249084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741413032352,"filename":"image_08032025_06_49_06_30722.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341757068","file0":"1341757031"},"map_files_photo_id_array":[{"photo_id":"1341757068","filename":"file1"},{"photo_id":"1341757031","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341757068":["hashtag1","hashtag2"]},{"1341757031":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341757068, 1341757031)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.195288896560669 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 06:50:03.018695
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 06:50:32.120730
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/06/49/image_08032025_06_50_05_29748.jpg', 2), ('/home/nano/Desktop/images/08032025/06/49/image_08032025_06_49_36_29726.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/06/49/image_08032025_06_50_05_29748.jpg', '/home/nano/Desktop/images/08032025/06/49/image_08032025_06_49_36_29726.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/06/49/image_08032025_06_50_05_29748.jpg
/home/nano/Desktop/images/08032025/06/49/image_08032025_06_49_36_29726.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341757435","1341757430"],"photo_ids_order":["1341757430","1341757435"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/08aceb04665767b38987ae1895d716f3.jpg","text":"TemporaryFile(/tmp/multipartBody2117984593245050513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741413092463,"filename":"image_08032025_06_49_36_29726.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/b2d29e2e3f59ed8a225091c1532757db.jpg","text":"TemporaryFile(/tmp/multipartBody4028919554725974874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741413092463,"filename":"image_08032025_06_50_05_29748.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341757435","file0":"1341757430"},"map_files_photo_id_array":[{"photo_id":"1341757435","filename":"file1"},{"photo_id":"1341757430","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341757435":["hashtag1","hashtag2"]},{"1341757430":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341757435, 1341757430)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 13.741457462310791 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 06:51:03.105915
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 06:51:32.219765
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/06/50/image_08032025_06_51_06_30722.jpg', 2), ('/home/nano/Desktop/images/08032025/06/50/image_08032025_06_50_35_29697.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/06/50/image_08032025_06_51_06_30722.jpg', '/home/nano/Desktop/images/08032025/06/50/image_08032025_06_50_35_29697.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/06/50/image_08032025_06_51_06_30722.jpg
/home/nano/Desktop/images/08032025/06/50/image_08032025_06_50_35_29697.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341757654","1341757676"],"photo_ids_order":["1341757654","1341757676"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/d75ade3ae89a648b48c5138ff3d5e85d.jpg","text":"TemporaryFile(/tmp/multipartBody7680456744033622006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741413152577,"filename":"image_08032025_06_51_06_30722.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/aa438420830e2404eb9d1fa0936223b4.jpg","text":"TemporaryFile(/tmp/multipartBody4429861448042350421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741413152577,"filename":"image_08032025_06_50_35_29697.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341757676","file0":"1341757654"},"map_files_photo_id_array":[{"photo_id":"1341757676","filename":"file1"},{"photo_id":"1341757654","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341757654":["hashtag1","hashtag2"]},{"1341757676":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341757654, 1341757676)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.56135845184326 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 06:52:02.911797
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 06:52:32.356005
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/06/51/image_08032025_06_52_05_29718.jpg', 2), ('/home/nano/Desktop/images/08032025/06/51/image_08032025_06_51_36_29689.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/06/51/image_08032025_06_52_05_29718.jpg', '/home/nano/Desktop/images/08032025/06/51/image_08032025_06_51_36_29689.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/06/51/image_08032025_06_52_05_29718.jpg
/home/nano/Desktop/images/08032025/06/51/image_08032025_06_51_36_29689.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341757819","1341757814"],"photo_ids_order":["1341757814","1341757819"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/1b6744da827cb00f30bc5aaa523feb8e.jpg","text":"TemporaryFile(/tmp/multipartBody4093024688861027778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741413212700,"filename":"image_08032025_06_51_36_29689.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/5456de401186fee8f1f8de0fead923b2.jpg","text":"TemporaryFile(/tmp/multipartBody7420978635999483585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741413212700,"filename":"image_08032025_06_52_05_29718.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341757819","file0":"1341757814"},"map_files_photo_id_array":[{"photo_id":"1341757819","filename":"file1"},{"photo_id":"1341757814","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341757819":["hashtag1","hashtag2"]},{"1341757814":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341757819, 1341757814)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 16.42200541496277 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 06:53:03.217010
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 06:53:32.474552
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/06/52/image_08032025_06_53_06_29735.jpg', 2), ('/home/nano/Desktop/images/08032025/06/52/image_08032025_06_52_36_30716.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/06/52/image_08032025_06_53_06_29735.jpg', '/home/nano/Desktop/images/08032025/06/52/image_08032025_06_52_36_30716.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/06/52/image_08032025_06_53_06_29735.jpg
/home/nano/Desktop/images/08032025/06/52/image_08032025_06_52_36_30716.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341758028","1341758004"],"photo_ids_order":["1341758004","1341758028"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/bdc4c07d4913c42462736bacbc2a4bef.jpg","text":"TemporaryFile(/tmp/multipartBody5091333185476391584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741413272833,"filename":"image_08032025_06_52_36_30716.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/f7eac119689c5d1f2fa6c0f29dd20634.jpg","text":"TemporaryFile(/tmp/multipartBody7448389507845165666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741413272833,"filename":"image_08032025_06_53_06_29735.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341758028","file0":"1341758004"},"map_files_photo_id_array":[{"photo_id":"1341758028","filename":"file1"},{"photo_id":"1341758004","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341758028":["hashtag1","hashtag2"]},{"1341758004":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341758028, 1341758004)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 19.54868769645691 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 06:54:03.747093
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 06:54:32.536933
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/06/53/image_08032025_06_54_05_29713.jpg', 2), ('/home/nano/Desktop/images/08032025/06/53/image_08032025_06_53_35_29698.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/06/53/image_08032025_06_54_05_29713.jpg', '/home/nano/Desktop/images/08032025/06/53/image_08032025_06_53_35_29698.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/06/53/image_08032025_06_54_05_29713.jpg
/home/nano/Desktop/images/08032025/06/53/image_08032025_06_53_35_29698.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341758292","1341758271"],"photo_ids_order":["1341758271","1341758292"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/00925b786ba222df37649da416372c57.jpg","text":"TemporaryFile(/tmp/multipartBody6293417812639041290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741413332958,"filename":"image_08032025_06_53_35_29698.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/16cb7512e81b9398a960d98f4347f709.jpg","text":"TemporaryFile(/tmp/multipartBody3453187547355283773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741413332958,"filename":"image_08032025_06_54_05_29713.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341758292","file0":"1341758271"},"map_files_photo_id_array":[{"photo_id":"1341758292","filename":"file1"},{"photo_id":"1341758271","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341758292":["hashtag1","hashtag2"]},{"1341758271":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341758292, 1341758271)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 16.857465982437134 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 06:55:03.522212
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 06:55:32.627327
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/06/54/image_08032025_06_55_06_29711.jpg', 2), ('/home/nano/Desktop/images/08032025/06/54/image_08032025_06_54_36_30709.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/06/54/image_08032025_06_55_06_29711.jpg', '/home/nano/Desktop/images/08032025/06/54/image_08032025_06_54_36_30709.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/06/54/image_08032025_06_55_06_29711.jpg
/home/nano/Desktop/images/08032025/06/54/image_08032025_06_54_36_30709.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341758367","1341758357"],"photo_ids_order":["1341758357","1341758367"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/fa92f8960aa4b5eb8b8df9bbf47dd8d3.jpg","text":"TemporaryFile(/tmp/multipartBody6979929891543228383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741413392973,"filename":"image_08032025_06_54_36_30709.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/957fc13290e3eedff58419c8475192ad.jpg","text":"TemporaryFile(/tmp/multipartBody2264226419086429186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741413392973,"filename":"image_08032025_06_55_06_29711.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341758367","file0":"1341758357"},"map_files_photo_id_array":[{"photo_id":"1341758367","filename":"file1"},{"photo_id":"1341758357","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341758367":["hashtag1","hashtag2"]},{"1341758357":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341758367, 1341758357)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.562101125717163 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 06:56:03.685390
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 06:56:32.731410
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/06/55/image_08032025_06_56_06_30732.jpg', 2), ('/home/nano/Desktop/images/08032025/06/55/image_08032025_06_55_35_29693.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/06/55/image_08032025_06_56_06_30732.jpg', '/home/nano/Desktop/images/08032025/06/55/image_08032025_06_55_35_29693.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/06/55/image_08032025_06_56_06_30732.jpg
/home/nano/Desktop/images/08032025/06/55/image_08032025_06_55_35_29693.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341758620","1341758615"],"photo_ids_order":["1341758615","1341758620"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/b44b42b6121eb1e916f89099c98e8b71.jpg","text":"TemporaryFile(/tmp/multipartBody3717117433083539286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741413453095,"filename":"image_08032025_06_55_35_29693.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/223fac0525c393c35ae06f5cce22eb79.jpg","text":"TemporaryFile(/tmp/multipartBody6443491375330570016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741413453095,"filename":"image_08032025_06_56_06_30732.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341758620","file0":"1341758615"},"map_files_photo_id_array":[{"photo_id":"1341758620","filename":"file1"},{"photo_id":"1341758615","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341758620":["hashtag1","hashtag2"]},{"1341758615":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341758620, 1341758615)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.446601629257202 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 06:57:02.671101
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 06:57:31.825046
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/06/56/image_08032025_06_57_05_29711.jpg', 2), ('/home/nano/Desktop/images/08032025/06/56/image_08032025_06_56_36_29693.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/06/56/image_08032025_06_57_05_29711.jpg', '/home/nano/Desktop/images/08032025/06/56/image_08032025_06_56_36_29693.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/06/56/image_08032025_06_57_05_29711.jpg
/home/nano/Desktop/images/08032025/06/56/image_08032025_06_56_36_29693.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341758700","1341758717"],"photo_ids_order":["1341758700","1341758717"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/9b8fb048c90b38434b5c7148e4236195.jpg","text":"TemporaryFile(/tmp/multipartBody4222427852124950512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741413512181,"filename":"image_08032025_06_57_05_29711.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/e86c6e85619e376bc40bee9da6be5dad.jpg","text":"TemporaryFile(/tmp/multipartBody8573379996346692321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741413512181,"filename":"image_08032025_06_56_36_29693.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341758717","file0":"1341758700"},"map_files_photo_id_array":[{"photo_id":"1341758717","filename":"file1"},{"photo_id":"1341758700","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341758700":["hashtag1","hashtag2"]},{"1341758717":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341758700, 1341758717)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.122596025466919 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 06:59:03.783708
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 06:59:32.577189
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 4 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/06/58/image_08032025_06_59_05_29719.jpg', 2), ('/home/nano/Desktop/images/08032025/06/58/image_08032025_06_58_36_29721.jpg', 2), ('/home/nano/Desktop/images/08032025/06/57/image_08032025_06_58_06_30767.jpg', 2), ('/home/nano/Desktop/images/08032025/06/57/image_08032025_06_57_35_29705.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/06/58/image_08032025_06_59_05_29719.jpg', '/home/nano/Desktop/images/08032025/06/58/image_08032025_06_58_36_29721.jpg', '/home/nano/Desktop/images/08032025/06/57/image_08032025_06_58_06_30767.jpg', '/home/nano/Desktop/images/08032025/06/57/image_08032025_06_57_35_29705.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/06/58/image_08032025_06_59_05_29719.jpg
/home/nano/Desktop/images/08032025/06/58/image_08032025_06_58_36_29721.jpg
/home/nano/Desktop/images/08032025/06/57/image_08032025_06_58_06_30767.jpg
/home/nano/Desktop/images/08032025/06/57/image_08032025_06_57_35_29705.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341759738","1341759720","1341759722","1341759733"],"photo_ids_order":["1341759720","1341759722","1341759733","1341759738"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/485a162be62945b36576d7be0b3c1446.jpg","text":"TemporaryFile(/tmp/multipartBody316547391136649763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741413633033,"filename":"image_08032025_06_57_35_29705.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/467f9b06408069e0c312988707859221.jpg","text":"TemporaryFile(/tmp/multipartBody2779257455440685975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741413633033,"filename":"image_08032025_06_59_05_29719.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/8a86723515cd788f1b4edfafb32b3f31.jpg","text":"TemporaryFile(/tmp/multipartBody3138665775285546869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741413633033,"filename":"image_08032025_06_58_36_29721.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/25b50af398f5107983037cea1eac457e.jpg","text":"TemporaryFile(/tmp/multipartBody2555576504799388816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741413633033,"filename":"image_08032025_06_58_06_30767.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341759733","file1":"1341759722","file0":"1341759720","file3":"1341759738"},"map_files_photo_id_array":[{"photo_id":"1341759733","filename":"file2"},{"photo_id":"1341759722","filename":"file1"},{"photo_id":"1341759720","filename":"file0"},{"photo_id":"1341759738","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341759738":["hashtag1","hashtag2"]},{"1341759720":["hashtag1","hashtag2"]},{"1341759722":["hashtag1","hashtag2"]},{"1341759733":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341759738, 1341759720, 1341759722, 1341759733)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 23.349647045135498 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 07:00:03.492962
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 07:00:32.691336
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/06/59/image_08032025_07_00_06_29712.jpg', 2), ('/home/nano/Desktop/images/08032025/06/59/image_08032025_06_59_36_30706.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/06/59/image_08032025_07_00_06_29712.jpg', '/home/nano/Desktop/images/08032025/06/59/image_08032025_06_59_36_30706.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/06/59/image_08032025_07_00_06_29712.jpg
/home/nano/Desktop/images/08032025/06/59/image_08032025_06_59_36_30706.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341759983","1341759997"],"photo_ids_order":["1341759983","1341759997"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/496728bf45cccb20a36bbb4df6b8a1b0.jpg","text":"TemporaryFile(/tmp/multipartBody4082795607616447998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741413693048,"filename":"image_08032025_07_00_06_29712.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/4e2fb592ac0a632bf326d2e5602ec722.jpg","text":"TemporaryFile(/tmp/multipartBody5452356441858124435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741413693048,"filename":"image_08032025_06_59_36_30706.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341759997","file0":"1341759983"},"map_files_photo_id_array":[{"photo_id":"1341759997","filename":"file1"},{"photo_id":"1341759983","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341759983":["hashtag1","hashtag2"]},{"1341759997":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341759983, 1341759997)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.456082344055176 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 07:01:02.511362
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 07:01:31.808526
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/07/00/image_08032025_07_01_05_29728.jpg', 2), ('/home/nano/Desktop/images/08032025/07/00/image_08032025_07_00_35_29692.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/07/00/image_08032025_07_01_05_29728.jpg', '/home/nano/Desktop/images/08032025/07/00/image_08032025_07_00_35_29692.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/07/00/image_08032025_07_01_05_29728.jpg
/home/nano/Desktop/images/08032025/07/00/image_08032025_07_00_35_29692.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341760197","1341760224"],"photo_ids_order":["1341760197","1341760224"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/8d8361722b09ec00bcf132cf684d7b7b.jpg","text":"TemporaryFile(/tmp/multipartBody8053934649460238432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741413752175,"filename":"image_08032025_07_01_05_29728.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/2997ac4dc293b6752e69334d845bb83e.jpg","text":"TemporaryFile(/tmp/multipartBody3926572662493713080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741413752175,"filename":"image_08032025_07_00_35_29692.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341760224","file0":"1341760197"},"map_files_photo_id_array":[{"photo_id":"1341760224","filename":"file1"},{"photo_id":"1341760197","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341760197":["hashtag1","hashtag2"]},{"1341760224":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341760197, 1341760224)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.189375638961792 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 07:02:02.861078
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 07:02:31.963227
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/07/01/image_08032025_07_02_06_29736.jpg', 2), ('/home/nano/Desktop/images/08032025/07/01/image_08032025_07_01_36_30724.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/07/01/image_08032025_07_02_06_29736.jpg', '/home/nano/Desktop/images/08032025/07/01/image_08032025_07_01_36_30724.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/07/01/image_08032025_07_02_06_29736.jpg
/home/nano/Desktop/images/08032025/07/01/image_08032025_07_01_36_30724.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341760592","1341760562"],"photo_ids_order":["1341760562","1341760592"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/2f071b6cd870778ac54651a6313c1791.jpg","text":"TemporaryFile(/tmp/multipartBody4609614525458593798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741413812331,"filename":"image_08032025_07_01_36_30724.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/2751e3ee745d88ef968e71858634db0b.jpg","text":"TemporaryFile(/tmp/multipartBody2283789744400160280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741413812331,"filename":"image_08032025_07_02_06_29736.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341760592","file0":"1341760562"},"map_files_photo_id_array":[{"photo_id":"1341760592","filename":"file1"},{"photo_id":"1341760562","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341760592":["hashtag1","hashtag2"]},{"1341760562":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341760592, 1341760562)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.276846647262573 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 07:03:02.792041
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 07:03:32.094879
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/07/02/image_08032025_07_03_06_30771.jpg', 2), ('/home/nano/Desktop/images/08032025/07/02/image_08032025_07_02_35_29694.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/07/02/image_08032025_07_03_06_30771.jpg', '/home/nano/Desktop/images/08032025/07/02/image_08032025_07_02_35_29694.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/07/02/image_08032025_07_03_06_30771.jpg
/home/nano/Desktop/images/08032025/07/02/image_08032025_07_02_35_29694.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341761060","1341761064"],"photo_ids_order":["1341761060","1341761064"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/c8e06c29a751e14ef51c56ed3a14b266.jpg","text":"TemporaryFile(/tmp/multipartBody620821490781731977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741413872436,"filename":"image_08032025_07_03_06_30771.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/47b6dc249340f259046a7f8924cf1acd.jpg","text":"TemporaryFile(/tmp/multipartBody2417429801109029072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741413872436,"filename":"image_08032025_07_02_35_29694.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341761064","file0":"1341761060"},"map_files_photo_id_array":[{"photo_id":"1341761064","filename":"file1"},{"photo_id":"1341761060","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341761060":["hashtag1","hashtag2"]},{"1341761064":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341761060, 1341761064)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 18.075117588043213 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 07:04:03.155840
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 07:04:32.192364
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/07/03/image_08032025_07_04_06_29710.jpg', 2), ('/home/nano/Desktop/images/08032025/07/03/image_08032025_07_03_36_29698.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/07/03/image_08032025_07_04_06_29710.jpg', '/home/nano/Desktop/images/08032025/07/03/image_08032025_07_03_36_29698.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/07/03/image_08032025_07_04_06_29710.jpg
/home/nano/Desktop/images/08032025/07/03/image_08032025_07_03_36_29698.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341761086","1341761082"],"photo_ids_order":["1341761082","1341761086"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/d8c99e37b269589220e100d6be97d88b.jpg","text":"TemporaryFile(/tmp/multipartBody3259227827540357506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741413932884,"filename":"image_08032025_07_03_36_29698.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/6472b87e4e4e62a50f623ca0cd34e871.jpg","text":"TemporaryFile(/tmp/multipartBody8491157710461616869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741413932884,"filename":"image_08032025_07_04_06_29710.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341761086","file0":"1341761082"},"map_files_photo_id_array":[{"photo_id":"1341761086","filename":"file1"},{"photo_id":"1341761082","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341761086":["hashtag1","hashtag2"]},{"1341761082":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341761086, 1341761082)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.749891996383667 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 07:05:02.873350
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 07:05:32.327721
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/07/04/image_08032025_07_05_06_30726.jpg', 2), ('/home/nano/Desktop/images/08032025/07/04/image_08032025_07_04_35_29693.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/07/04/image_08032025_07_05_06_30726.jpg', '/home/nano/Desktop/images/08032025/07/04/image_08032025_07_04_35_29693.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/07/04/image_08032025_07_05_06_30726.jpg
/home/nano/Desktop/images/08032025/07/04/image_08032025_07_04_35_29693.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341761627","1341761623"],"photo_ids_order":["1341761623","1341761627"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/e26692c0655bbd659f7376dce6091b1c.jpg","text":"TemporaryFile(/tmp/multipartBody5016002223515321013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741413992702,"filename":"image_08032025_07_04_35_29693.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/22a58fd6834a4955481918e67ffd5be4.jpg","text":"TemporaryFile(/tmp/multipartBody195156003588541792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741413992702,"filename":"image_08032025_07_05_06_30726.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341761627","file0":"1341761623"},"map_files_photo_id_array":[{"photo_id":"1341761627","filename":"file1"},{"photo_id":"1341761623","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341761627":["hashtag1","hashtag2"]},{"1341761623":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341761627, 1341761623)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.431593179702759 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 07:06:03.239145
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 07:06:32.445727
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/07/05/image_08032025_07_06_05_29711.jpg', 2), ('/home/nano/Desktop/images/08032025/07/05/image_08032025_07_05_36_29688.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/07/05/image_08032025_07_06_05_29711.jpg', '/home/nano/Desktop/images/08032025/07/05/image_08032025_07_05_36_29688.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/07/05/image_08032025_07_06_05_29711.jpg
/home/nano/Desktop/images/08032025/07/05/image_08032025_07_05_36_29688.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341761687","1341761683"],"photo_ids_order":["1341761683","1341761687"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/184ab1c36823885a668ba4cde1f53cce.jpg","text":"TemporaryFile(/tmp/multipartBody2418873815425980277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741414052816,"filename":"image_08032025_07_05_36_29688.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/5f843f7991661e38c93e346ae495ba36.jpg","text":"TemporaryFile(/tmp/multipartBody390422263372570425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741414052816,"filename":"image_08032025_07_06_05_29711.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341761687","file0":"1341761683"},"map_files_photo_id_array":[{"photo_id":"1341761687","filename":"file1"},{"photo_id":"1341761683","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341761687":["hashtag1","hashtag2"]},{"1341761683":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341761687, 1341761683)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 13.983115911483765 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 07:07:03.208236
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 07:07:32.562851
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/07/06/image_08032025_07_07_06_29714.jpg', 2), ('/home/nano/Desktop/images/08032025/07/06/image_08032025_07_06_36_30709.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/07/06/image_08032025_07_07_06_29714.jpg', '/home/nano/Desktop/images/08032025/07/06/image_08032025_07_06_36_30709.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/07/06/image_08032025_07_07_06_29714.jpg
/home/nano/Desktop/images/08032025/07/06/image_08032025_07_06_36_30709.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341762570","1341762489"],"photo_ids_order":["1341762489","1341762570"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/2b76159a0485573f839a1a8f1b22a206.jpg","text":"TemporaryFile(/tmp/multipartBody2538749222326531445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741414112923,"filename":"image_08032025_07_06_36_30709.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/c3269e1c89361588c414d40570c8196c.jpg","text":"TemporaryFile(/tmp/multipartBody8887346905690220964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741414112923,"filename":"image_08032025_07_07_06_29714.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341762570","file0":"1341762489"},"map_files_photo_id_array":[{"photo_id":"1341762570","filename":"file1"},{"photo_id":"1341762489","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341762570":["hashtag1","hashtag2"]},{"1341762489":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341762570, 1341762489)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.237952470779419 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 07:08:03.546551
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 07:08:32.658726
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/07/07/image_08032025_07_08_05_29703.jpg', 2), ('/home/nano/Desktop/images/08032025/07/07/image_08032025_07_07_35_29694.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/07/07/image_08032025_07_08_05_29703.jpg', '/home/nano/Desktop/images/08032025/07/07/image_08032025_07_07_35_29694.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/07/07/image_08032025_07_08_05_29703.jpg
/home/nano/Desktop/images/08032025/07/07/image_08032025_07_07_35_29694.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341763000","1341763107"],"photo_ids_order":["1341763000","1341763107"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/f48cd2b200f9dfa538a735921c3ceeca.jpg","text":"TemporaryFile(/tmp/multipartBody1040852703959484014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741414173018,"filename":"image_08032025_07_08_05_29703.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/2e85052c282a0f68fae448834a314af2.jpg","text":"TemporaryFile(/tmp/multipartBody8543932563117754655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741414173018,"filename":"image_08032025_07_07_35_29694.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341763107","file0":"1341763000"},"map_files_photo_id_array":[{"photo_id":"1341763107","filename":"file1"},{"photo_id":"1341763000","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341763000":["hashtag1","hashtag2"]},{"1341763107":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341763000, 1341763107)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 18.87802505493164 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 07:09:02.773208
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 07:09:31.799860
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/07/08/image_08032025_07_09_06_29714.jpg', 2), ('/home/nano/Desktop/images/08032025/07/08/image_08032025_07_08_36_30726.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/07/08/image_08032025_07_09_06_29714.jpg', '/home/nano/Desktop/images/08032025/07/08/image_08032025_07_08_36_30726.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/07/08/image_08032025_07_09_06_29714.jpg
/home/nano/Desktop/images/08032025/07/08/image_08032025_07_08_36_30726.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 30.319109678268433 secondes ---
<Response [500]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Error</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #A31012;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #690000;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F5A0A0;\n\t\t        border-top: 4px solid #D36D6D;\n\t\t        color: #730000;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7A7A;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Oops, an error occured</h1>\n\n\t\t<p id="detail">\n\t\t\tThis exception has been logged with id <strong>88l4ig0j6</strong>.\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
500
			This exception has been logged with id <strong>88l4ig0j6</strong>.
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 07:10:31.790874
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 4 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/07/09/image_08032025_07_10_06_30743.jpg', 2), ('/home/nano/Desktop/images/08032025/07/09/image_08032025_07_09_35_29717.jpg', 2), ('/home/nano/Desktop/images/08032025/07/08/image_08032025_07_09_06_29714.jpg', 2), ('/home/nano/Desktop/images/08032025/07/08/image_08032025_07_08_36_30726.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/07/09/image_08032025_07_10_06_30743.jpg', '/home/nano/Desktop/images/08032025/07/09/image_08032025_07_09_35_29717.jpg', '/home/nano/Desktop/images/08032025/07/08/image_08032025_07_09_06_29714.jpg', '/home/nano/Desktop/images/08032025/07/08/image_08032025_07_08_36_30726.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/07/09/image_08032025_07_10_06_30743.jpg
/home/nano/Desktop/images/08032025/07/09/image_08032025_07_09_35_29717.jpg
/home/nano/Desktop/images/08032025/07/08/image_08032025_07_09_06_29714.jpg
/home/nano/Desktop/images/08032025/07/08/image_08032025_07_08_36_30726.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.3715248107910156 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 marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 07:11:02.640811
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 4 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/07/09/image_08032025_07_10_06_30743.jpg', 2), ('/home/nano/Desktop/images/08032025/07/09/image_08032025_07_09_35_29717.jpg', 2), ('/home/nano/Desktop/images/08032025/07/08/image_08032025_07_09_06_29714.jpg', 2), ('/home/nano/Desktop/images/08032025/07/08/image_08032025_07_08_36_30726.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/07/09/image_08032025_07_10_06_30743.jpg', '/home/nano/Desktop/images/08032025/07/09/image_08032025_07_09_35_29717.jpg', '/home/nano/Desktop/images/08032025/07/08/image_08032025_07_09_06_29714.jpg', '/home/nano/Desktop/images/08032025/07/08/image_08032025_07_08_36_30726.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/07/09/image_08032025_07_10_06_30743.jpg
/home/nano/Desktop/images/08032025/07/09/image_08032025_07_09_35_29717.jpg
/home/nano/Desktop/images/08032025/07/08/image_08032025_07_09_06_29714.jpg
/home/nano/Desktop/images/08032025/07/08/image_08032025_07_08_36_30726.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 30.491422653198242 secondes ---
<Response [500]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Error</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #A31012;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #690000;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F5A0A0;\n\t\t        border-top: 4px solid #D36D6D;\n\t\t        color: #730000;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7A7A;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Oops, an error occured</h1>\n\n\t\t<p id="detail">\n\t\t\tThis exception has been logged with id <strong>88l4il598</strong>.\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
500
			This exception has been logged with id <strong>88l4il598</strong>.
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 07:12:02.717477
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/07/10/image_08032025_07_11_05_29755.jpg', 2), ('/home/nano/Desktop/images/08032025/07/10/image_08032025_07_10_36_29688.jpg', 2), ('/home/nano/Desktop/images/08032025/07/09/image_08032025_07_10_06_30743.jpg', 2), ('/home/nano/Desktop/images/08032025/07/09/image_08032025_07_09_35_29717.jpg', 2), ('/home/nano/Desktop/images/08032025/07/08/image_08032025_07_09_06_29714.jpg', 2), ('/home/nano/Desktop/images/08032025/07/08/image_08032025_07_08_36_30726.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/07/10/image_08032025_07_11_05_29755.jpg', '/home/nano/Desktop/images/08032025/07/10/image_08032025_07_10_36_29688.jpg', '/home/nano/Desktop/images/08032025/07/09/image_08032025_07_10_06_30743.jpg', '/home/nano/Desktop/images/08032025/07/09/image_08032025_07_09_35_29717.jpg', '/home/nano/Desktop/images/08032025/07/08/image_08032025_07_09_06_29714.jpg', '/home/nano/Desktop/images/08032025/07/08/image_08032025_07_08_36_30726.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/07/10/image_08032025_07_11_05_29755.jpg
/home/nano/Desktop/images/08032025/07/10/image_08032025_07_10_36_29688.jpg
/home/nano/Desktop/images/08032025/07/09/image_08032025_07_10_06_30743.jpg
/home/nano/Desktop/images/08032025/07/09/image_08032025_07_09_35_29717.jpg
/home/nano/Desktop/images/08032025/07/08/image_08032025_07_09_06_29714.jpg
/home/nano/Desktop/images/08032025/07/08/image_08032025_07_08_36_30726.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 30.487360954284668 secondes ---
<Response [500]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Error</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #A31012;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #690000;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F5A0A0;\n\t\t        border-top: 4px solid #D36D6D;\n\t\t        color: #730000;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7A7A;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Oops, an error occured</h1>\n\n\t\t<p id="detail">\n\t\t\tThis exception has been logged with id <strong>88l4iog68</strong>.\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
500
			This exception has been logged with id <strong>88l4iog68</strong>.
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 07:13:02.807039
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/07/11/image_08032025_07_12_06_30720.jpg', 2), ('/home/nano/Desktop/images/08032025/07/11/image_08032025_07_11_35_29696.jpg', 2), ('/home/nano/Desktop/images/08032025/07/10/image_08032025_07_11_05_29755.jpg', 2), ('/home/nano/Desktop/images/08032025/07/10/image_08032025_07_10_36_29688.jpg', 2), ('/home/nano/Desktop/images/08032025/07/09/image_08032025_07_10_06_30743.jpg', 2), ('/home/nano/Desktop/images/08032025/07/09/image_08032025_07_09_35_29717.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/07/11/image_08032025_07_12_06_30720.jpg', '/home/nano/Desktop/images/08032025/07/11/image_08032025_07_11_35_29696.jpg', '/home/nano/Desktop/images/08032025/07/10/image_08032025_07_11_05_29755.jpg', '/home/nano/Desktop/images/08032025/07/10/image_08032025_07_10_36_29688.jpg', '/home/nano/Desktop/images/08032025/07/09/image_08032025_07_10_06_30743.jpg', '/home/nano/Desktop/images/08032025/07/09/image_08032025_07_09_35_29717.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/07/11/image_08032025_07_12_06_30720.jpg
/home/nano/Desktop/images/08032025/07/11/image_08032025_07_11_35_29696.jpg
/home/nano/Desktop/images/08032025/07/10/image_08032025_07_11_05_29755.jpg
/home/nano/Desktop/images/08032025/07/10/image_08032025_07_10_36_29688.jpg
/home/nano/Desktop/images/08032025/07/09/image_08032025_07_10_06_30743.jpg
/home/nano/Desktop/images/08032025/07/09/image_08032025_07_09_35_29717.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 30.591819524765015 secondes ---
<Response [500]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Error</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #A31012;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #690000;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F5A0A0;\n\t\t        border-top: 4px solid #D36D6D;\n\t\t        color: #730000;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7A7A;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Oops, an error occured</h1>\n\n\t\t<p id="detail">\n\t\t\tThis exception has been logged with id <strong>88l4j217c</strong>.\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
500
			This exception has been logged with id <strong>88l4j217c</strong>.
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 07:14:03.206459
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/07/12/image_08032025_07_13_05_29755.jpg', 2), ('/home/nano/Desktop/images/08032025/07/12/image_08032025_07_12_36_29696.jpg', 2), ('/home/nano/Desktop/images/08032025/07/11/image_08032025_07_12_06_30720.jpg', 2), ('/home/nano/Desktop/images/08032025/07/11/image_08032025_07_11_35_29696.jpg', 2), ('/home/nano/Desktop/images/08032025/07/10/image_08032025_07_11_05_29755.jpg', 2), ('/home/nano/Desktop/images/08032025/07/10/image_08032025_07_10_36_29688.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/07/12/image_08032025_07_13_05_29755.jpg', '/home/nano/Desktop/images/08032025/07/12/image_08032025_07_12_36_29696.jpg', '/home/nano/Desktop/images/08032025/07/11/image_08032025_07_12_06_30720.jpg', '/home/nano/Desktop/images/08032025/07/11/image_08032025_07_11_35_29696.jpg', '/home/nano/Desktop/images/08032025/07/10/image_08032025_07_11_05_29755.jpg', '/home/nano/Desktop/images/08032025/07/10/image_08032025_07_10_36_29688.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/07/12/image_08032025_07_13_05_29755.jpg
/home/nano/Desktop/images/08032025/07/12/image_08032025_07_12_36_29696.jpg
/home/nano/Desktop/images/08032025/07/11/image_08032025_07_12_06_30720.jpg
/home/nano/Desktop/images/08032025/07/11/image_08032025_07_11_35_29696.jpg
/home/nano/Desktop/images/08032025/07/10/image_08032025_07_11_05_29755.jpg
/home/nano/Desktop/images/08032025/07/10/image_08032025_07_10_36_29688.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341763286","1341763297","1341763279","1341763264","1341763293","1341763260"],"photo_ids_order":["1341763260","1341763264","1341763279","1341763286","1341763293","1341763297"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/127816e9988308f3df3047402b88e8bb.jpg","text":"TemporaryFile(/tmp/multipartBody8088664916387657987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741414518866,"filename":"image_08032025_07_11_35_29696.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/a74a48d4ce67d56a5e548efd6e144f8c.jpg","text":"TemporaryFile(/tmp/multipartBody7025772802733164787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741414518866,"filename":"image_08032025_07_10_36_29688.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/9277964fa47210021194e445b167e854.jpg","text":"TemporaryFile(/tmp/multipartBody2731366972238799802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741414518866,"filename":"image_08032025_07_12_06_30720.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/f81d484ae1dd2e4d65d425461a40fd37.jpg","text":"TemporaryFile(/tmp/multipartBody4650223933441962427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741414518866,"filename":"image_08032025_07_12_36_29696.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/ce4263da522790c7190d12272d415a39.jpg","text":"TemporaryFile(/tmp/multipartBody2977230949610273544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741414518866,"filename":"image_08032025_07_11_05_29755.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/38d41bced0bbb6da6723c495968d8f5e.jpg","text":"TemporaryFile(/tmp/multipartBody3480480911322659650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741414518866,"filename":"image_08032025_07_13_05_29755.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341763279","file1":"1341763264","file0":"1341763260","file4":"1341763293","file5":"1341763297","file3":"1341763286"},"map_files_photo_id_array":[{"photo_id":"1341763297","filename":"file5"},{"photo_id":"1341763279","filename":"file2"},{"photo_id":"1341763293","filename":"file4"},{"photo_id":"1341763264","filename":"file1"},{"photo_id":"1341763260","filename":"file0"},{"photo_id":"1341763286","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341763286":["hashtag1","hashtag2"]},{"1341763297":["hashtag1","hashtag2"]},{"1341763279":["hashtag1","hashtag2"]},{"1341763264":["hashtag1","hashtag2"]},{"1341763293":["hashtag1","hashtag2"]},{"1341763260":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341763286, 1341763297, 1341763279, 1341763264, 1341763293, 1341763260)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 62.81093072891235 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 07:15:32.208178
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/07/14/image_08032025_07_15_05_29712.jpg', 2), ('/home/nano/Desktop/images/08032025/07/14/image_08032025_07_14_35_29700.jpg', 2), ('/home/nano/Desktop/images/08032025/07/13/image_08032025_07_14_06_29729.jpg', 2), ('/home/nano/Desktop/images/08032025/07/13/image_08032025_07_13_36_30709.jpg', 2), ('/home/nano/Desktop/images/08032025/07/09/image_08032025_07_10_06_30743.jpg', 2), ('/home/nano/Desktop/images/08032025/07/09/image_08032025_07_09_35_29717.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/07/14/image_08032025_07_15_05_29712.jpg', '/home/nano/Desktop/images/08032025/07/14/image_08032025_07_14_35_29700.jpg', '/home/nano/Desktop/images/08032025/07/13/image_08032025_07_14_06_29729.jpg', '/home/nano/Desktop/images/08032025/07/13/image_08032025_07_13_36_30709.jpg', '/home/nano/Desktop/images/08032025/07/09/image_08032025_07_10_06_30743.jpg', '/home/nano/Desktop/images/08032025/07/09/image_08032025_07_09_35_29717.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/07/14/image_08032025_07_15_05_29712.jpg
/home/nano/Desktop/images/08032025/07/14/image_08032025_07_14_35_29700.jpg
/home/nano/Desktop/images/08032025/07/13/image_08032025_07_14_06_29729.jpg
/home/nano/Desktop/images/08032025/07/13/image_08032025_07_13_36_30709.jpg
/home/nano/Desktop/images/08032025/07/09/image_08032025_07_10_06_30743.jpg
/home/nano/Desktop/images/08032025/07/09/image_08032025_07_09_35_29717.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341763319","1341763336","1341763333","1341763312","1341763306","1341763329"],"photo_ids_order":["1341763306","1341763312","1341763319","1341763329","1341763333","1341763336"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/1a1a430f1779c4fa0ccb6ac2bff9fb0c.jpg","text":"TemporaryFile(/tmp/multipartBody2761349980157464757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741414592921,"filename":"image_08032025_07_14_06_29729.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/a95530fb0d0bdd79ac74ad4ed3e65fc2.jpg","text":"TemporaryFile(/tmp/multipartBody453320849733690089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741414592921,"filename":"image_08032025_07_09_35_29717.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/2a253f7b668e1ac70f9a23232527fa90.jpg","text":"TemporaryFile(/tmp/multipartBody6021698218557709784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741414592921,"filename":"image_08032025_07_10_06_30743.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/256f1a3c47e38a0f9edc199e5dd8e7c6.jpg","text":"TemporaryFile(/tmp/multipartBody5406854738363692598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741414592921,"filename":"image_08032025_07_14_35_29700.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/afcd696a0e2e5ac6b1106269b38d321c.jpg","text":"TemporaryFile(/tmp/multipartBody3081547267868750108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741414592921,"filename":"image_08032025_07_15_05_29712.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/2018b200657bf52380640e17f3a7fc95.jpg","text":"TemporaryFile(/tmp/multipartBody7509204321797200190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741414592921,"filename":"image_08032025_07_13_36_30709.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341763319","file1":"1341763312","file0":"1341763306","file4":"1341763333","file5":"1341763336","file3":"1341763329"},"map_files_photo_id_array":[{"photo_id":"1341763336","filename":"file5"},{"photo_id":"1341763319","filename":"file2"},{"photo_id":"1341763333","filename":"file4"},{"photo_id":"1341763312","filename":"file1"},{"photo_id":"1341763306","filename":"file0"},{"photo_id":"1341763329","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341763319":["hashtag1","hashtag2"]},{"1341763336":["hashtag1","hashtag2"]},{"1341763333":["hashtag1","hashtag2"]},{"1341763312":["hashtag1","hashtag2"]},{"1341763306":["hashtag1","hashtag2"]},{"1341763329":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341763319, 1341763336, 1341763333, 1341763312, 1341763306, 1341763329)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.55501437187195 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 07:16:32.333247
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 4 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/07/15/image_08032025_07_16_06_29719.jpg', 2), ('/home/nano/Desktop/images/08032025/07/15/image_08032025_07_15_36_30699.jpg', 2), ('/home/nano/Desktop/images/08032025/07/08/image_08032025_07_09_06_29714.jpg', 2), ('/home/nano/Desktop/images/08032025/07/08/image_08032025_07_08_36_30726.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/07/15/image_08032025_07_16_06_29719.jpg', '/home/nano/Desktop/images/08032025/07/15/image_08032025_07_15_36_30699.jpg', '/home/nano/Desktop/images/08032025/07/08/image_08032025_07_09_06_29714.jpg', '/home/nano/Desktop/images/08032025/07/08/image_08032025_07_08_36_30726.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/07/15/image_08032025_07_16_06_29719.jpg
/home/nano/Desktop/images/08032025/07/15/image_08032025_07_15_36_30699.jpg
/home/nano/Desktop/images/08032025/07/08/image_08032025_07_09_06_29714.jpg
/home/nano/Desktop/images/08032025/07/08/image_08032025_07_08_36_30726.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341763352","1341763360","1341763348","1341763356"],"photo_ids_order":["1341763348","1341763352","1341763356","1341763360"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/4c0506f24b803592714e8928a30373c8.jpg","text":"TemporaryFile(/tmp/multipartBody4425494471645815171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741414652926,"filename":"image_08032025_07_15_36_30699.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/a05fda8c64f3bb94bec070059ca50891.jpg","text":"TemporaryFile(/tmp/multipartBody6433111525390561796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741414652926,"filename":"image_08032025_07_08_36_30726.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/de8c679b636a5aee09852ba903df9839.jpg","text":"TemporaryFile(/tmp/multipartBody5442325238991819359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741414652926,"filename":"image_08032025_07_16_06_29719.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/a79d26cf1429ec8cc14cd43de913e64a.jpg","text":"TemporaryFile(/tmp/multipartBody3906028008343895413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741414652926,"filename":"image_08032025_07_09_06_29714.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341763356","file1":"1341763352","file0":"1341763348","file3":"1341763360"},"map_files_photo_id_array":[{"photo_id":"1341763356","filename":"file2"},{"photo_id":"1341763352","filename":"file1"},{"photo_id":"1341763348","filename":"file0"},{"photo_id":"1341763360","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341763352":["hashtag1","hashtag2"]},{"1341763360":["hashtag1","hashtag2"]},{"1341763348":["hashtag1","hashtag2"]},{"1341763356":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341763352, 1341763360, 1341763348, 1341763356)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 24.52977967262268 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 07:17:03.224728
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 07:17:32.440176
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/07/16/image_08032025_07_17_06_30245.jpg', 2), ('/home/nano/Desktop/images/08032025/07/16/image_08032025_07_16_36_30218.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/07/16/image_08032025_07_17_06_30245.jpg', '/home/nano/Desktop/images/08032025/07/16/image_08032025_07_16_36_30218.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/07/16/image_08032025_07_17_06_30245.jpg
/home/nano/Desktop/images/08032025/07/16/image_08032025_07_16_36_30218.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341763383","1341763377"],"photo_ids_order":["1341763377","1341763383"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/619bb3ab1724ad8d5c450eda8257a032.jpg","text":"TemporaryFile(/tmp/multipartBody6284695612843389621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741414712788,"filename":"image_08032025_07_16_36_30218.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/a9b6dbc057e1631e17d272810bfcfe1f.jpg","text":"TemporaryFile(/tmp/multipartBody7517999338528629804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741414712788,"filename":"image_08032025_07_17_06_30245.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341763383","file0":"1341763377"},"map_files_photo_id_array":[{"photo_id":"1341763383","filename":"file1"},{"photo_id":"1341763377","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341763383":["hashtag1","hashtag2"]},{"1341763377":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341763383, 1341763377)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.410725831985474 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 07:18:03.238102
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 07:18:32.522431
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/07/17/image_08032025_07_18_06_30231.jpg', 2), ('/home/nano/Desktop/images/08032025/07/17/image_08032025_07_17_35_29240.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/07/17/image_08032025_07_18_06_30231.jpg', '/home/nano/Desktop/images/08032025/07/17/image_08032025_07_17_35_29240.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/07/17/image_08032025_07_18_06_30231.jpg
/home/nano/Desktop/images/08032025/07/17/image_08032025_07_17_35_29240.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.2377638816833496 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 marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 07:19:03.900982
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 4 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/07/18/image_08032025_07_19_06_30220.jpg', 2), ('/home/nano/Desktop/images/08032025/07/18/image_08032025_07_18_36_30245.jpg', 2), ('/home/nano/Desktop/images/08032025/07/17/image_08032025_07_18_06_30231.jpg', 2), ('/home/nano/Desktop/images/08032025/07/17/image_08032025_07_17_35_29240.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/07/18/image_08032025_07_19_06_30220.jpg', '/home/nano/Desktop/images/08032025/07/18/image_08032025_07_18_36_30245.jpg', '/home/nano/Desktop/images/08032025/07/17/image_08032025_07_18_06_30231.jpg', '/home/nano/Desktop/images/08032025/07/17/image_08032025_07_17_35_29240.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/07/18/image_08032025_07_19_06_30220.jpg
/home/nano/Desktop/images/08032025/07/18/image_08032025_07_18_36_30245.jpg
/home/nano/Desktop/images/08032025/07/17/image_08032025_07_18_06_30231.jpg
/home/nano/Desktop/images/08032025/07/17/image_08032025_07_17_35_29240.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341763495","1341763498","1341763504","1341763500"],"photo_ids_order":["1341763495","1341763498","1341763500","1341763504"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/6228955f0f9c56fd4c8409b7063db66e.jpg","text":"TemporaryFile(/tmp/multipartBody6945615361496755130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741414804358,"filename":"image_08032025_07_19_06_30220.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/a384cf46084ba574de51c4e5b4c38c9e.jpg","text":"TemporaryFile(/tmp/multipartBody5588740524422387157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741414804358,"filename":"image_08032025_07_18_36_30245.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/63b4edce10201f3b9ef79bef4759dd37.jpg","text":"TemporaryFile(/tmp/multipartBody5008438647065656318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741414804358,"filename":"image_08032025_07_17_35_29240.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/0523bf401f9acd874b80bf65e2d2e0bd.jpg","text":"TemporaryFile(/tmp/multipartBody3066046332119775607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741414804358,"filename":"image_08032025_07_18_06_30231.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341763500","file1":"1341763498","file0":"1341763495","file3":"1341763504"},"map_files_photo_id_array":[{"photo_id":"1341763500","filename":"file2"},{"photo_id":"1341763498","filename":"file1"},{"photo_id":"1341763495","filename":"file0"},{"photo_id":"1341763504","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341763495":["hashtag1","hashtag2"]},{"1341763498":["hashtag1","hashtag2"]},{"1341763504":["hashtag1","hashtag2"]},{"1341763500":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341763495, 1341763498, 1341763504, 1341763500)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 22.530887842178345 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 07:19:32.639308
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 07:20:03.684685
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 07:20:32.725610
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/07/19/image_08032025_07_20_05_30255.jpg', 2), ('/home/nano/Desktop/images/08032025/07/19/image_08032025_07_19_35_29210.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/07/19/image_08032025_07_20_05_30255.jpg', '/home/nano/Desktop/images/08032025/07/19/image_08032025_07_19_35_29210.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/07/19/image_08032025_07_20_05_30255.jpg
/home/nano/Desktop/images/08032025/07/19/image_08032025_07_19_35_29210.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341763774","1341763788"],"photo_ids_order":["1341763774","1341763788"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/19721a78f6fc37ec65fbc3289d464efa.jpg","text":"TemporaryFile(/tmp/multipartBody8032738925256530421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741414893039,"filename":"image_08032025_07_20_05_30255.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/0aa2cd67fa0fc92c53f2e72b72a03bbf.jpg","text":"TemporaryFile(/tmp/multipartBody7945060337521413016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741414893039,"filename":"image_08032025_07_19_35_29210.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341763788","file0":"1341763774"},"map_files_photo_id_array":[{"photo_id":"1341763788","filename":"file1"},{"photo_id":"1341763774","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341763774":["hashtag1","hashtag2"]},{"1341763788":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341763774, 1341763788)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 21.484554529190063 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 07:21:02.491116
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 07:21:31.851025
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/07/20/image_08032025_07_21_06_30283.jpg', 2), ('/home/nano/Desktop/images/08032025/07/20/image_08032025_07_20_36_30225.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/07/20/image_08032025_07_21_06_30283.jpg', '/home/nano/Desktop/images/08032025/07/20/image_08032025_07_20_36_30225.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/07/20/image_08032025_07_21_06_30283.jpg
/home/nano/Desktop/images/08032025/07/20/image_08032025_07_20_36_30225.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341763875","1341763883"],"photo_ids_order":["1341763875","1341763883"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/fdb1a1a8c0fceec139cbef2f143203f6.jpg","text":"TemporaryFile(/tmp/multipartBody6465367254793669427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741414952165,"filename":"image_08032025_07_21_06_30283.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/1ecf5a2169543eeef6fab0bd223a4ae3.jpg","text":"TemporaryFile(/tmp/multipartBody3414122107461725734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741414952165,"filename":"image_08032025_07_20_36_30225.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341763883","file0":"1341763875"},"map_files_photo_id_array":[{"photo_id":"1341763883","filename":"file1"},{"photo_id":"1341763875","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341763875":["hashtag1","hashtag2"]},{"1341763883":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341763875, 1341763883)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 16.89668345451355 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 07:22:02.583196
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 07:22:31.944409
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/07/21/image_08032025_07_22_05_30216.jpg', 2), ('/home/nano/Desktop/images/08032025/07/21/image_08032025_07_21_35_29204.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/07/21/image_08032025_07_22_05_30216.jpg', '/home/nano/Desktop/images/08032025/07/21/image_08032025_07_21_35_29204.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/07/21/image_08032025_07_22_05_30216.jpg
/home/nano/Desktop/images/08032025/07/21/image_08032025_07_21_35_29204.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341764215","1341764204"],"photo_ids_order":["1341764204","1341764215"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/823bd20b04453a73dee0020f4ed3fc7c.jpg","text":"TemporaryFile(/tmp/multipartBody5881809354676082976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741415012256,"filename":"image_08032025_07_21_35_29204.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/93ea7a113a1bfcdf49064e10e7c30df6.jpg","text":"TemporaryFile(/tmp/multipartBody4202912964526281082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741415012256,"filename":"image_08032025_07_22_05_30216.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341764215","file0":"1341764204"},"map_files_photo_id_array":[{"photo_id":"1341764215","filename":"file1"},{"photo_id":"1341764204","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341764215":["hashtag1","hashtag2"]},{"1341764204":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341764215, 1341764204)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.063179969787598 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 07:23:02.792625
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 07:23:32.059693
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/07/22/image_08032025_07_23_06_30264.jpg', 2), ('/home/nano/Desktop/images/08032025/07/22/image_08032025_07_22_36_30225.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/07/22/image_08032025_07_23_06_30264.jpg', '/home/nano/Desktop/images/08032025/07/22/image_08032025_07_22_36_30225.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/07/22/image_08032025_07_23_06_30264.jpg
/home/nano/Desktop/images/08032025/07/22/image_08032025_07_22_36_30225.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341764397","1341764393"],"photo_ids_order":["1341764393","1341764397"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/c25e79131c7c7f63bc7cde6a126c05b7.jpg","text":"TemporaryFile(/tmp/multipartBody6828384640126350510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741415072387,"filename":"image_08032025_07_22_36_30225.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/56c1e680ca904496dd953db4f821be52.jpg","text":"TemporaryFile(/tmp/multipartBody5546730887704538638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741415072387,"filename":"image_08032025_07_23_06_30264.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341764397","file0":"1341764393"},"map_files_photo_id_array":[{"photo_id":"1341764397","filename":"file1"},{"photo_id":"1341764393","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341764397":["hashtag1","hashtag2"]},{"1341764393":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341764397, 1341764393)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.259465217590332 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 07:24:03.131234
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 07:24:32.140542
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/07/23/image_08032025_07_24_05_30234.jpg', 2), ('/home/nano/Desktop/images/08032025/07/23/image_08032025_07_23_35_29198.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/07/23/image_08032025_07_24_05_30234.jpg', '/home/nano/Desktop/images/08032025/07/23/image_08032025_07_23_35_29198.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/07/23/image_08032025_07_24_05_30234.jpg
/home/nano/Desktop/images/08032025/07/23/image_08032025_07_23_35_29198.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341764785","1341764808"],"photo_ids_order":["1341764785","1341764808"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/85821c087d1c29acd6e7b5f892792b78.jpg","text":"TemporaryFile(/tmp/multipartBody7703557260598714755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741415132467,"filename":"image_08032025_07_24_05_30234.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/839512923b1694443c330c60396def66.jpg","text":"TemporaryFile(/tmp/multipartBody166401852704410852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741415132467,"filename":"image_08032025_07_23_35_29198.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341764808","file0":"1341764785"},"map_files_photo_id_array":[{"photo_id":"1341764808","filename":"file1"},{"photo_id":"1341764785","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341764785":["hashtag1","hashtag2"]},{"1341764808":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341764785, 1341764808)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.202284812927246 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 07:25:03.039394
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 07:25:32.272769
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/07/24/image_08032025_07_25_06_30230.jpg', 2), ('/home/nano/Desktop/images/08032025/07/24/image_08032025_07_24_36_30214.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/07/24/image_08032025_07_25_06_30230.jpg', '/home/nano/Desktop/images/08032025/07/24/image_08032025_07_24_36_30214.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/07/24/image_08032025_07_25_06_30230.jpg
/home/nano/Desktop/images/08032025/07/24/image_08032025_07_24_36_30214.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341765170","1341765175"],"photo_ids_order":["1341765170","1341765175"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/52b0da8ddf9c740803e09beab867d4ab.jpg","text":"TemporaryFile(/tmp/multipartBody5979379550927271966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741415192587,"filename":"image_08032025_07_25_06_30230.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/6e28e6928d56176878269a55963bbef4.jpg","text":"TemporaryFile(/tmp/multipartBody6621612484466628876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741415192587,"filename":"image_08032025_07_24_36_30214.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341765175","file0":"1341765170"},"map_files_photo_id_array":[{"photo_id":"1341765175","filename":"file1"},{"photo_id":"1341765170","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341765170":["hashtag1","hashtag2"]},{"1341765175":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341765170, 1341765175)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.374562740325928 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 07:26:03.212483
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 07:26:32.356588
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/07/25/image_08032025_07_26_05_29254.jpg', 2), ('/home/nano/Desktop/images/08032025/07/25/image_08032025_07_25_36_30223.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/07/25/image_08032025_07_26_05_29254.jpg', '/home/nano/Desktop/images/08032025/07/25/image_08032025_07_25_36_30223.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/07/25/image_08032025_07_26_05_29254.jpg
/home/nano/Desktop/images/08032025/07/25/image_08032025_07_25_36_30223.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341765290","1341765283"],"photo_ids_order":["1341765283","1341765290"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/3bbbe9d1047ea607f11b33ebc256128d.jpg","text":"TemporaryFile(/tmp/multipartBody8536695183436053536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741415252669,"filename":"image_08032025_07_25_36_30223.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/1c30cd8d9e90661b239bacd95c05bb0e.jpg","text":"TemporaryFile(/tmp/multipartBody2640743641704433929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741415252669,"filename":"image_08032025_07_26_05_29254.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341765290","file0":"1341765283"},"map_files_photo_id_array":[{"photo_id":"1341765290","filename":"file1"},{"photo_id":"1341765283","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341765290":["hashtag1","hashtag2"]},{"1341765283":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341765290, 1341765283)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.092437744140625 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 07:27:03.204357
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 07:27:32.456551
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/07/26/image_08032025_07_27_06_30223.jpg', 2), ('/home/nano/Desktop/images/08032025/07/26/image_08032025_07_26_35_30223.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/07/26/image_08032025_07_27_06_30223.jpg', '/home/nano/Desktop/images/08032025/07/26/image_08032025_07_26_35_30223.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/07/26/image_08032025_07_27_06_30223.jpg
/home/nano/Desktop/images/08032025/07/26/image_08032025_07_26_35_30223.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341765403","1341765398"],"photo_ids_order":["1341765398","1341765403"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/c0a265ddaeea8d6aded8470546b0a056.jpg","text":"TemporaryFile(/tmp/multipartBody4213461180330998591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741415312776,"filename":"image_08032025_07_26_35_30223.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/c87272f355bc0c723e9547fd3efb7e92.jpg","text":"TemporaryFile(/tmp/multipartBody1467956002296405659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741415312776,"filename":"image_08032025_07_27_06_30223.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341765403","file0":"1341765398"},"map_files_photo_id_array":[{"photo_id":"1341765403","filename":"file1"},{"photo_id":"1341765398","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341765403":["hashtag1","hashtag2"]},{"1341765398":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341765403, 1341765398)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 16.263507843017578 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 07:28:03.080870
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 07:28:32.566882
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/07/27/image_08032025_07_28_05_29237.jpg', 2), ('/home/nano/Desktop/images/08032025/07/27/image_08032025_07_27_36_30217.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/07/27/image_08032025_07_28_05_29237.jpg', '/home/nano/Desktop/images/08032025/07/27/image_08032025_07_27_36_30217.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/07/27/image_08032025_07_28_05_29237.jpg
/home/nano/Desktop/images/08032025/07/27/image_08032025_07_27_36_30217.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.24567675590515137 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 marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 07:29:03.701422
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/07/27/image_08032025_07_28_05_29237.jpg', 2), ('/home/nano/Desktop/images/08032025/07/27/image_08032025_07_27_36_30217.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/07/27/image_08032025_07_28_05_29237.jpg', '/home/nano/Desktop/images/08032025/07/27/image_08032025_07_27_36_30217.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/07/27/image_08032025_07_28_05_29237.jpg
/home/nano/Desktop/images/08032025/07/27/image_08032025_07_27_36_30217.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341765660","1341765632"],"photo_ids_order":["1341765632","1341765660"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/fbab46c9a6b23e74549d494060cd7c06.jpg","text":"TemporaryFile(/tmp/multipartBody4109199596329831590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741415404058,"filename":"image_08032025_07_27_36_30217.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/e0111072a747bfe48f6b5fce4089c84f.jpg","text":"TemporaryFile(/tmp/multipartBody6983044772000412540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741415404058,"filename":"image_08032025_07_28_05_29237.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341765660","file0":"1341765632"},"map_files_photo_id_array":[{"photo_id":"1341765660","filename":"file1"},{"photo_id":"1341765632","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341765660":["hashtag1","hashtag2"]},{"1341765632":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341765660, 1341765632)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.496313095092773 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 07:29:32.730958
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/07/28/image_08032025_07_29_06_30241.jpg', 2), ('/home/nano/Desktop/images/08032025/07/28/image_08032025_07_28_35_30246.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/07/28/image_08032025_07_29_06_30241.jpg', '/home/nano/Desktop/images/08032025/07/28/image_08032025_07_28_35_30246.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/07/28/image_08032025_07_29_06_30241.jpg
/home/nano/Desktop/images/08032025/07/28/image_08032025_07_28_35_30246.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341765928","1341765961"],"photo_ids_order":["1341765928","1341765961"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/988fb7042cfd9b0b5304cc88b28b8b6c.jpg","text":"TemporaryFile(/tmp/multipartBody1456331550464340618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741415433057,"filename":"image_08032025_07_29_06_30241.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/e813675650ce62a84e62469e65eab785.jpg","text":"TemporaryFile(/tmp/multipartBody6819181989885689019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741415433057,"filename":"image_08032025_07_28_35_30246.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341765961","file0":"1341765928"},"map_files_photo_id_array":[{"photo_id":"1341765961","filename":"file1"},{"photo_id":"1341765928","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341765928":["hashtag1","hashtag2"]},{"1341765961":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341765928, 1341765961)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.527149677276611 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 07:30:02.842829
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/07/29/image_08032025_07_30_05_29242.jpg', 2), ('/home/nano/Desktop/images/08032025/07/29/image_08032025_07_29_36_30235.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/07/29/image_08032025_07_30_05_29242.jpg', '/home/nano/Desktop/images/08032025/07/29/image_08032025_07_29_36_30235.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/07/29/image_08032025_07_30_05_29242.jpg
/home/nano/Desktop/images/08032025/07/29/image_08032025_07_29_36_30235.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.27561092376708984 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 marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 07:30:31.845724
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/07/29/image_08032025_07_30_05_29242.jpg', 2), ('/home/nano/Desktop/images/08032025/07/29/image_08032025_07_29_36_30235.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/07/29/image_08032025_07_30_05_29242.jpg', '/home/nano/Desktop/images/08032025/07/29/image_08032025_07_29_36_30235.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/07/29/image_08032025_07_30_05_29242.jpg
/home/nano/Desktop/images/08032025/07/29/image_08032025_07_29_36_30235.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341766194","1341766172"],"photo_ids_order":["1341766172","1341766194"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/166327886ba966b684bf38742c0ccb37.jpg","text":"TemporaryFile(/tmp/multipartBody6866725494818231685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741415492166,"filename":"image_08032025_07_29_36_30235.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/5cc2acd720b1fe44dd96d913255259be.jpg","text":"TemporaryFile(/tmp/multipartBody3397675294688676265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741415492166,"filename":"image_08032025_07_30_05_29242.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341766194","file0":"1341766172"},"map_files_photo_id_array":[{"photo_id":"1341766194","filename":"file1"},{"photo_id":"1341766172","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341766194":["hashtag1","hashtag2"]},{"1341766172":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341766194, 1341766172)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.941548824310303 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 07:31:02.853383
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 07:31:31.966973
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/07/30/image_08032025_07_31_06_30254.jpg', 2), ('/home/nano/Desktop/images/08032025/07/30/image_08032025_07_30_35_30226.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/07/30/image_08032025_07_31_06_30254.jpg', '/home/nano/Desktop/images/08032025/07/30/image_08032025_07_30_35_30226.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/07/30/image_08032025_07_31_06_30254.jpg
/home/nano/Desktop/images/08032025/07/30/image_08032025_07_30_35_30226.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341766351","1341766354"],"photo_ids_order":["1341766351","1341766354"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/b6702700fdf16f699a714b9b639a5f5d.jpg","text":"TemporaryFile(/tmp/multipartBody7188658657692586691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741415552292,"filename":"image_08032025_07_31_06_30254.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/19ae158bec08fed18f7c1993adb70c83.jpg","text":"TemporaryFile(/tmp/multipartBody3277799678356295268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741415552292,"filename":"image_08032025_07_30_35_30226.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341766354","file0":"1341766351"},"map_files_photo_id_array":[{"photo_id":"1341766354","filename":"file1"},{"photo_id":"1341766351","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341766351":["hashtag1","hashtag2"]},{"1341766354":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341766351, 1341766354)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.704274654388428 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 07:32:02.814929
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 07:32:32.081211
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/07/31/image_08032025_07_32_05_29273.jpg', 2), ('/home/nano/Desktop/images/08032025/07/31/image_08032025_07_31_36_30220.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/07/31/image_08032025_07_32_05_29273.jpg', '/home/nano/Desktop/images/08032025/07/31/image_08032025_07_31_36_30220.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/07/31/image_08032025_07_32_05_29273.jpg
/home/nano/Desktop/images/08032025/07/31/image_08032025_07_31_36_30220.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341766377","1341766381"],"photo_ids_order":["1341766377","1341766381"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/6d9d0b950a28e238bc017330dc7bae9b.jpg","text":"TemporaryFile(/tmp/multipartBody4377822044443806358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741415612405,"filename":"image_08032025_07_32_05_29273.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/1b20b4e628f889127bd6333690f36f63.jpg","text":"TemporaryFile(/tmp/multipartBody4320694106312173808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741415612405,"filename":"image_08032025_07_31_36_30220.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341766381","file0":"1341766377"},"map_files_photo_id_array":[{"photo_id":"1341766381","filename":"file1"},{"photo_id":"1341766377","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341766377":["hashtag1","hashtag2"]},{"1341766381":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341766377, 1341766381)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.719233989715576 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 07:33:03.006851
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 07:33:32.163179
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/07/32/image_08032025_07_33_06_30226.jpg', 2), ('/home/nano/Desktop/images/08032025/07/32/image_08032025_07_32_35_30210.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/07/32/image_08032025_07_33_06_30226.jpg', '/home/nano/Desktop/images/08032025/07/32/image_08032025_07_32_35_30210.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/07/32/image_08032025_07_33_06_30226.jpg
/home/nano/Desktop/images/08032025/07/32/image_08032025_07_32_35_30210.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341766791","1341766773"],"photo_ids_order":["1341766773","1341766791"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/738643f0bf698ca9059ef602c244997a.jpg","text":"TemporaryFile(/tmp/multipartBody3569331580884001434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741415672485,"filename":"image_08032025_07_32_35_30210.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/36384f5331696954b4d4c94997dadfc1.jpg","text":"TemporaryFile(/tmp/multipartBody3749070116526765957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741415672485,"filename":"image_08032025_07_33_06_30226.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341766791","file0":"1341766773"},"map_files_photo_id_array":[{"photo_id":"1341766791","filename":"file1"},{"photo_id":"1341766773","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341766791":["hashtag1","hashtag2"]},{"1341766773":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341766791, 1341766773)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.641362428665161 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 07:34:03.280481
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 07:34:32.268157
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/07/33/image_08032025_07_34_06_30238.jpg', 2), ('/home/nano/Desktop/images/08032025/07/33/image_08032025_07_33_36_30210.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/07/33/image_08032025_07_34_06_30238.jpg', '/home/nano/Desktop/images/08032025/07/33/image_08032025_07_33_36_30210.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/07/33/image_08032025_07_34_06_30238.jpg
/home/nano/Desktop/images/08032025/07/33/image_08032025_07_33_36_30210.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341766839","1341766843"],"photo_ids_order":["1341766839","1341766843"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/97f0fe23b4d6a81cb12b585dee399ac5.jpg","text":"TemporaryFile(/tmp/multipartBody5453882591734406236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741415732611,"filename":"image_08032025_07_34_06_30238.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/e61fcdc5163c6bc3758ef42a47c6c216.jpg","text":"TemporaryFile(/tmp/multipartBody6217947358593574510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741415732611,"filename":"image_08032025_07_33_36_30210.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341766843","file0":"1341766839"},"map_files_photo_id_array":[{"photo_id":"1341766843","filename":"file1"},{"photo_id":"1341766839","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341766839":["hashtag1","hashtag2"]},{"1341766843":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341766839, 1341766843)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.430338621139526 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 07:35:03.198696
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 07:35:32.393872
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/07/34/image_08032025_07_35_05_30228.jpg', 2), ('/home/nano/Desktop/images/08032025/07/34/image_08032025_07_34_35_29210.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/07/34/image_08032025_07_35_05_30228.jpg', '/home/nano/Desktop/images/08032025/07/34/image_08032025_07_34_35_29210.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/07/34/image_08032025_07_35_05_30228.jpg
/home/nano/Desktop/images/08032025/07/34/image_08032025_07_34_35_29210.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341766866","1341766889"],"photo_ids_order":["1341766866","1341766889"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/f2fd90d65da6e0ac93ef93c065bd3926.jpg","text":"TemporaryFile(/tmp/multipartBody3200562396869452718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741415792721,"filename":"image_08032025_07_35_05_30228.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/ddf789d2295fd38c8c27042daa84dbc3.jpg","text":"TemporaryFile(/tmp/multipartBody3543759418930405882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741415792721,"filename":"image_08032025_07_34_35_29210.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341766889","file0":"1341766866"},"map_files_photo_id_array":[{"photo_id":"1341766889","filename":"file1"},{"photo_id":"1341766866","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341766866":["hashtag1","hashtag2"]},{"1341766889":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341766866, 1341766889)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.962455987930298 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 07:36:03.308496
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 07:36:32.481927
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/07/35/image_08032025_07_36_06_30227.jpg', 2), ('/home/nano/Desktop/images/08032025/07/35/image_08032025_07_35_36_30204.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/07/35/image_08032025_07_36_06_30227.jpg', '/home/nano/Desktop/images/08032025/07/35/image_08032025_07_35_36_30204.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/07/35/image_08032025_07_36_06_30227.jpg
/home/nano/Desktop/images/08032025/07/35/image_08032025_07_35_36_30204.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341767301","1341767261"],"photo_ids_order":["1341767261","1341767301"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/ee9ce43c371e5536886b544ace2ffe72.jpg","text":"TemporaryFile(/tmp/multipartBody8953991405603075487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741415852790,"filename":"image_08032025_07_35_36_30204.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/08696c799e20d2d01382bef34a556f30.jpg","text":"TemporaryFile(/tmp/multipartBody4425985821219460262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741415852790,"filename":"image_08032025_07_36_06_30227.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341767301","file0":"1341767261"},"map_files_photo_id_array":[{"photo_id":"1341767301","filename":"file1"},{"photo_id":"1341767261","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341767301":["hashtag1","hashtag2"]},{"1341767261":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341767301, 1341767261)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.265568017959595 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 07:37:03.271289
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 07:37:32.587828
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/07/36/image_08032025_07_37_05_29233.jpg', 2), ('/home/nano/Desktop/images/08032025/07/36/image_08032025_07_36_36_30213.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/07/36/image_08032025_07_37_05_29233.jpg', '/home/nano/Desktop/images/08032025/07/36/image_08032025_07_36_36_30213.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/07/36/image_08032025_07_37_05_29233.jpg
/home/nano/Desktop/images/08032025/07/36/image_08032025_07_36_36_30213.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341767570","1341767545"],"photo_ids_order":["1341767545","1341767570"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/8e7ffb0e29ca6f34e39e823f9480a3fc.jpg","text":"TemporaryFile(/tmp/multipartBody1161160118895691935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741415912919,"filename":"image_08032025_07_36_36_30213.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/2b66f3972dbe7af5bec5447314cb1e61.jpg","text":"TemporaryFile(/tmp/multipartBody2043813657925684879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741415912919,"filename":"image_08032025_07_37_05_29233.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341767570","file0":"1341767545"},"map_files_photo_id_array":[{"photo_id":"1341767570","filename":"file1"},{"photo_id":"1341767545","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341767570":["hashtag1","hashtag2"]},{"1341767545":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341767570, 1341767545)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.085639953613281 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 07:38:03.607765
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 07:38:32.660586
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/07/37/image_08032025_07_38_06_30255.jpg', 2), ('/home/nano/Desktop/images/08032025/07/37/image_08032025_07_37_36_30208.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/07/37/image_08032025_07_38_06_30255.jpg', '/home/nano/Desktop/images/08032025/07/37/image_08032025_07_37_36_30208.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/07/37/image_08032025_07_38_06_30255.jpg
/home/nano/Desktop/images/08032025/07/37/image_08032025_07_37_36_30208.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341767750","1341767746"],"photo_ids_order":["1341767746","1341767750"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/ea9934051e6195ad13713da92203417b.jpg","text":"TemporaryFile(/tmp/multipartBody6648847955112038860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741415972991,"filename":"image_08032025_07_37_36_30208.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/1849f0d26df50a98f7fde3eab5a5b0a2.jpg","text":"TemporaryFile(/tmp/multipartBody1630261388344145503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741415972991,"filename":"image_08032025_07_38_06_30255.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341767750","file0":"1341767746"},"map_files_photo_id_array":[{"photo_id":"1341767750","filename":"file1"},{"photo_id":"1341767746","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341767750":["hashtag1","hashtag2"]},{"1341767746":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341767750, 1341767746)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.44488263130188 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 07:39:02.776166
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 07:39:31.799391
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/07/38/image_08032025_07_39_05_29232.jpg', 2), ('/home/nano/Desktop/images/08032025/07/38/image_08032025_07_38_36_30216.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/07/38/image_08032025_07_39_05_29232.jpg', '/home/nano/Desktop/images/08032025/07/38/image_08032025_07_38_36_30216.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/07/38/image_08032025_07_39_05_29232.jpg
/home/nano/Desktop/images/08032025/07/38/image_08032025_07_38_36_30216.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341767995","1341768025"],"photo_ids_order":["1341767995","1341768025"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/6c4cadb95dc79ba25d317083bc1cd9cd.jpg","text":"TemporaryFile(/tmp/multipartBody6894302126958654640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741416032111,"filename":"image_08032025_07_39_05_29232.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/2bf4ae4bfb8ec44fc0fb7e147121890c.jpg","text":"TemporaryFile(/tmp/multipartBody225956342842721428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741416032111,"filename":"image_08032025_07_38_36_30216.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341768025","file0":"1341767995"},"map_files_photo_id_array":[{"photo_id":"1341768025","filename":"file1"},{"photo_id":"1341767995","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341767995":["hashtag1","hashtag2"]},{"1341768025":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341767995, 1341768025)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 19.08482789993286 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 07:40:02.792873
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/07/39/image_08032025_07_40_06_30261.jpg', 2), ('/home/nano/Desktop/images/08032025/07/39/image_08032025_07_39_35_30227.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/07/39/image_08032025_07_40_06_30261.jpg', '/home/nano/Desktop/images/08032025/07/39/image_08032025_07_39_35_30227.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/07/39/image_08032025_07_40_06_30261.jpg
/home/nano/Desktop/images/08032025/07/39/image_08032025_07_39_35_30227.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341768083","1341768085"],"photo_ids_order":["1341768083","1341768085"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/198f04d810882fea88409927246a08fd.jpg","text":"TemporaryFile(/tmp/multipartBody2693008690678884318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741416063250,"filename":"image_08032025_07_40_06_30261.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/b37bcf655a937932029609dee07a97f1.jpg","text":"TemporaryFile(/tmp/multipartBody4881637612243300003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741416063250,"filename":"image_08032025_07_39_35_30227.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341768085","file0":"1341768083"},"map_files_photo_id_array":[{"photo_id":"1341768085","filename":"file1"},{"photo_id":"1341768083","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341768083":["hashtag1","hashtag2"]},{"1341768085":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341768083, 1341768085)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.81942892074585 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 07:40:31.880932
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 07:41:02.692044
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 07:41:31.966583
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/07/40/image_08032025_07_41_05_29259.jpg', 2), ('/home/nano/Desktop/images/08032025/07/40/image_08032025_07_40_36_30231.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/07/40/image_08032025_07_41_05_29259.jpg', '/home/nano/Desktop/images/08032025/07/40/image_08032025_07_40_36_30231.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/07/40/image_08032025_07_41_05_29259.jpg
/home/nano/Desktop/images/08032025/07/40/image_08032025_07_40_36_30231.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341768284","1341768301"],"photo_ids_order":["1341768284","1341768301"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/4736fca296a506c17fe1f5d26a37a1ab.jpg","text":"TemporaryFile(/tmp/multipartBody7849287187623497640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741416152287,"filename":"image_08032025_07_41_05_29259.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/e0eaba1c3101ad7cb277b1a75fc4ae70.jpg","text":"TemporaryFile(/tmp/multipartBody2510207799138734718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741416152287,"filename":"image_08032025_07_40_36_30231.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341768301","file0":"1341768284"},"map_files_photo_id_array":[{"photo_id":"1341768301","filename":"file1"},{"photo_id":"1341768284","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341768284":["hashtag1","hashtag2"]},{"1341768301":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341768284, 1341768301)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.249836206436157 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 07:42:02.766806
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 07:42:32.094919
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/07/41/image_08032025_07_42_06_30232.jpg', 2), ('/home/nano/Desktop/images/08032025/07/41/image_08032025_07_41_35_30218.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/07/41/image_08032025_07_42_06_30232.jpg', '/home/nano/Desktop/images/08032025/07/41/image_08032025_07_41_35_30218.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/07/41/image_08032025_07_42_06_30232.jpg
/home/nano/Desktop/images/08032025/07/41/image_08032025_07_41_35_30218.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341768480","1341768459"],"photo_ids_order":["1341768459","1341768480"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/d4380ea85079acb16d3827c3a906bb25.jpg","text":"TemporaryFile(/tmp/multipartBody5753424536088999672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741416212415,"filename":"image_08032025_07_41_35_30218.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/2cc391a7634765027a303d498654e73a.jpg","text":"TemporaryFile(/tmp/multipartBody2559513860999328035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741416212415,"filename":"image_08032025_07_42_06_30232.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341768480","file0":"1341768459"},"map_files_photo_id_array":[{"photo_id":"1341768480","filename":"file1"},{"photo_id":"1341768459","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341768480":["hashtag1","hashtag2"]},{"1341768459":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341768480, 1341768459)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.159507274627686 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 07:43:03.090919
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 07:43:32.163068
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/07/42/image_08032025_07_43_05_29282.jpg', 2), ('/home/nano/Desktop/images/08032025/07/42/image_08032025_07_42_36_30225.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/07/42/image_08032025_07_43_05_29282.jpg', '/home/nano/Desktop/images/08032025/07/42/image_08032025_07_42_36_30225.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/07/42/image_08032025_07_43_05_29282.jpg
/home/nano/Desktop/images/08032025/07/42/image_08032025_07_42_36_30225.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341768934","1341768966"],"photo_ids_order":["1341768934","1341768966"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/db7d9bcc54a756722d69b39dc86e224e.jpg","text":"TemporaryFile(/tmp/multipartBody4046743151902634294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741416272469,"filename":"image_08032025_07_43_05_29282.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/7db62deb7a682c24fa92bd00e2322d35.jpg","text":"TemporaryFile(/tmp/multipartBody1304175161218129754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741416272469,"filename":"image_08032025_07_42_36_30225.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341768966","file0":"1341768934"},"map_files_photo_id_array":[{"photo_id":"1341768966","filename":"file1"},{"photo_id":"1341768934","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341768934":["hashtag1","hashtag2"]},{"1341768966":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341768934, 1341768966)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.980708360671997 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 07:44:03.612176
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 07:44:32.271809
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/07/43/image_08032025_07_44_06_30267.jpg', 2), ('/home/nano/Desktop/images/08032025/07/43/image_08032025_07_43_35_30229.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/07/43/image_08032025_07_44_06_30267.jpg', '/home/nano/Desktop/images/08032025/07/43/image_08032025_07_43_35_30229.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/07/43/image_08032025_07_44_06_30267.jpg
/home/nano/Desktop/images/08032025/07/43/image_08032025_07_43_35_30229.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341769108","1341769101"],"photo_ids_order":["1341769101","1341769108"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/d8cb1e0596f31d03b13de50d60cb422a.jpg","text":"TemporaryFile(/tmp/multipartBody7669586952829842901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741416332596,"filename":"image_08032025_07_43_35_30229.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/c1837bb02c82927626c4a240831da65b.jpg","text":"TemporaryFile(/tmp/multipartBody2123767400253491330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741416332596,"filename":"image_08032025_07_44_06_30267.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341769108","file0":"1341769101"},"map_files_photo_id_array":[{"photo_id":"1341769108","filename":"file1"},{"photo_id":"1341769101","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341769108":["hashtag1","hashtag2"]},{"1341769101":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341769108, 1341769101)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.472481966018677 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 07:45:03.178001
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/07/44/image_08032025_07_45_05_29235.jpg', 2), ('/home/nano/Desktop/images/08032025/07/44/image_08032025_07_44_36_30221.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/07/44/image_08032025_07_45_05_29235.jpg', '/home/nano/Desktop/images/08032025/07/44/image_08032025_07_44_36_30221.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/07/44/image_08032025_07_45_05_29235.jpg
/home/nano/Desktop/images/08032025/07/44/image_08032025_07_44_36_30221.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341769140","1341769142"],"photo_ids_order":["1341769140","1341769142"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/a567467322deaa92e18d5d2d1e18dfbe.jpg","text":"TemporaryFile(/tmp/multipartBody2101348157462676037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741416363557,"filename":"image_08032025_07_45_05_29235.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/dfaa4d530fce4249218d373caf6294f9.jpg","text":"TemporaryFile(/tmp/multipartBody5640414882466013339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741416363557,"filename":"image_08032025_07_44_36_30221.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341769142","file0":"1341769140"},"map_files_photo_id_array":[{"photo_id":"1341769142","filename":"file1"},{"photo_id":"1341769140","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341769140":["hashtag1","hashtag2"]},{"1341769142":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341769140, 1341769142)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.794804334640503 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 07:45:32.412288
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 07:46:03.361918
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 07:46:32.523384
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/07/45/image_08032025_07_46_06_30261.jpg', 2), ('/home/nano/Desktop/images/08032025/07/45/image_08032025_07_45_35_30244.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/07/45/image_08032025_07_46_06_30261.jpg', '/home/nano/Desktop/images/08032025/07/45/image_08032025_07_45_35_30244.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/07/45/image_08032025_07_46_06_30261.jpg
/home/nano/Desktop/images/08032025/07/45/image_08032025_07_45_35_30244.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341769301","1341769296"],"photo_ids_order":["1341769296","1341769301"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/af4a5656089287ccb36da85a63aa4533.jpg","text":"TemporaryFile(/tmp/multipartBody8280510041402224973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741416452843,"filename":"image_08032025_07_45_35_30244.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/0ac58ac5c35d2ed55c1f024b435912eb.jpg","text":"TemporaryFile(/tmp/multipartBody3273204334616031276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741416452843,"filename":"image_08032025_07_46_06_30261.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341769301","file0":"1341769296"},"map_files_photo_id_array":[{"photo_id":"1341769301","filename":"file1"},{"photo_id":"1341769296","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341769301":["hashtag1","hashtag2"]},{"1341769296":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341769301, 1341769296)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 19.18294358253479 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 07:47:03.463168
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 07:47:32.612501
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/07/46/image_08032025_07_47_06_30248.jpg', 2), ('/home/nano/Desktop/images/08032025/07/46/image_08032025_07_46_36_30239.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/07/46/image_08032025_07_47_06_30248.jpg', '/home/nano/Desktop/images/08032025/07/46/image_08032025_07_46_36_30239.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/07/46/image_08032025_07_47_06_30248.jpg
/home/nano/Desktop/images/08032025/07/46/image_08032025_07_46_36_30239.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341769909","1341769905"],"photo_ids_order":["1341769905","1341769909"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/c5f9d4e6c8ddf6f5feea3e24023fb3a3.jpg","text":"TemporaryFile(/tmp/multipartBody339963643819068666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741416512942,"filename":"image_08032025_07_46_36_30239.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/b8d97839afa30e878fcccf7ee087e16a.jpg","text":"TemporaryFile(/tmp/multipartBody2629429021068845724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741416512942,"filename":"image_08032025_07_47_06_30248.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341769909","file0":"1341769905"},"map_files_photo_id_array":[{"photo_id":"1341769909","filename":"file1"},{"photo_id":"1341769905","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341769909":["hashtag1","hashtag2"]},{"1341769905":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341769909, 1341769905)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.477129936218262 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 07:48:03.452313
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 07:48:32.691112
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/07/47/image_08032025_07_48_06_30282.jpg', 2), ('/home/nano/Desktop/images/08032025/07/47/image_08032025_07_47_35_29225.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/07/47/image_08032025_07_48_06_30282.jpg', '/home/nano/Desktop/images/08032025/07/47/image_08032025_07_47_35_29225.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/07/47/image_08032025_07_48_06_30282.jpg
/home/nano/Desktop/images/08032025/07/47/image_08032025_07_47_35_29225.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341770188","1341770184"],"photo_ids_order":["1341770184","1341770188"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/59d1849ed412c14fd2914679f26beac6.jpg","text":"TemporaryFile(/tmp/multipartBody7397825878403806014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741416573022,"filename":"image_08032025_07_47_35_29225.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/c77765bf43fd067ef24e117b69322502.jpg","text":"TemporaryFile(/tmp/multipartBody1167433488965399584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741416573022,"filename":"image_08032025_07_48_06_30282.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341770188","file0":"1341770184"},"map_files_photo_id_array":[{"photo_id":"1341770188","filename":"file1"},{"photo_id":"1341770184","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341770188":["hashtag1","hashtag2"]},{"1341770184":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341770188, 1341770184)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.782923698425293 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 07:49:02.727257
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 07:49:31.801524
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/07/48/image_08032025_07_49_05_29251.jpg', 2), ('/home/nano/Desktop/images/08032025/07/48/image_08032025_07_48_36_30249.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/07/48/image_08032025_07_49_05_29251.jpg', '/home/nano/Desktop/images/08032025/07/48/image_08032025_07_48_36_30249.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/07/48/image_08032025_07_49_05_29251.jpg
/home/nano/Desktop/images/08032025/07/48/image_08032025_07_48_36_30249.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341770222","1341770218"],"photo_ids_order":["1341770218","1341770222"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/fea77333e21b55294c3bcf609bf79c73.jpg","text":"TemporaryFile(/tmp/multipartBody7562311074416367316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741416632129,"filename":"image_08032025_07_48_36_30249.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/1fe34faca59286d910f755babcef6127.jpg","text":"TemporaryFile(/tmp/multipartBody3813301334358790736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741416632129,"filename":"image_08032025_07_49_05_29251.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341770222","file0":"1341770218"},"map_files_photo_id_array":[{"photo_id":"1341770222","filename":"file1"},{"photo_id":"1341770218","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341770222":["hashtag1","hashtag2"]},{"1341770218":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341770222, 1341770218)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.315232276916504 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 07:50:02.773486
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 07:50:31.878782
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/07/49/image_08032025_07_50_06_30281.jpg', 2), ('/home/nano/Desktop/images/08032025/07/49/image_08032025_07_49_35_30258.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/07/49/image_08032025_07_50_06_30281.jpg', '/home/nano/Desktop/images/08032025/07/49/image_08032025_07_49_35_30258.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/07/49/image_08032025_07_50_06_30281.jpg
/home/nano/Desktop/images/08032025/07/49/image_08032025_07_49_35_30258.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341770459","1341770421"],"photo_ids_order":["1341770421","1341770459"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/887693fce1b1cb10af8b79344abb393e.jpg","text":"TemporaryFile(/tmp/multipartBody7150797082247064709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741416692189,"filename":"image_08032025_07_49_35_30258.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/69efcea6820c55a5ddcfae5ad63e3a18.jpg","text":"TemporaryFile(/tmp/multipartBody7346026069546567807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741416692189,"filename":"image_08032025_07_50_06_30281.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341770459","file0":"1341770421"},"map_files_photo_id_array":[{"photo_id":"1341770459","filename":"file1"},{"photo_id":"1341770421","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341770459":["hashtag1","hashtag2"]},{"1341770421":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341770459, 1341770421)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.434908866882324 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 07:51:02.964672
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 07:51:32.000752
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/07/50/image_08032025_07_51_05_29263.jpg', 2), ('/home/nano/Desktop/images/08032025/07/50/image_08032025_07_50_36_30250.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/07/50/image_08032025_07_51_05_29263.jpg', '/home/nano/Desktop/images/08032025/07/50/image_08032025_07_50_36_30250.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/07/50/image_08032025_07_51_05_29263.jpg
/home/nano/Desktop/images/08032025/07/50/image_08032025_07_50_36_30250.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341770692","1341770668"],"photo_ids_order":["1341770668","1341770692"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/3cccbaa7d6a6a75f58196d9226cbce31.jpg","text":"TemporaryFile(/tmp/multipartBody8844913711700363637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741416752325,"filename":"image_08032025_07_50_36_30250.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/ae00cd2bf39ee8e5e2377541eadc6e7b.jpg","text":"TemporaryFile(/tmp/multipartBody7459009844641992272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741416752325,"filename":"image_08032025_07_51_05_29263.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341770692","file0":"1341770668"},"map_files_photo_id_array":[{"photo_id":"1341770692","filename":"file1"},{"photo_id":"1341770668","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341770692":["hashtag1","hashtag2"]},{"1341770668":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341770692, 1341770668)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.228959321975708 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 07:52:03.102044
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/07/51/image_08032025_07_52_06_30264.jpg', 2), ('/home/nano/Desktop/images/08032025/07/51/image_08032025_07_51_35_30267.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/07/51/image_08032025_07_52_06_30264.jpg', '/home/nano/Desktop/images/08032025/07/51/image_08032025_07_51_35_30267.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/07/51/image_08032025_07_52_06_30264.jpg
/home/nano/Desktop/images/08032025/07/51/image_08032025_07_51_35_30267.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341770779","1341770758"],"photo_ids_order":["1341770758","1341770779"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/7c6cafbab12328da34bce90aaf17c14e.jpg","text":"TemporaryFile(/tmp/multipartBody7358800974065784085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741416783534,"filename":"image_08032025_07_51_35_30267.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/e311c410b8c3e5e1a49adc60c76cf368.jpg","text":"TemporaryFile(/tmp/multipartBody6339605982518823105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741416783534,"filename":"image_08032025_07_52_06_30264.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341770779","file0":"1341770758"},"map_files_photo_id_array":[{"photo_id":"1341770779","filename":"file1"},{"photo_id":"1341770758","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341770779":["hashtag1","hashtag2"]},{"1341770758":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341770779, 1341770758)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.778675317764282 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 07:52:32.096168
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 07:53:03.106684
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 07:53:32.204461
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/07/52/image_08032025_07_53_05_29299.jpg', 2), ('/home/nano/Desktop/images/08032025/07/52/image_08032025_07_52_36_30244.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/07/52/image_08032025_07_53_05_29299.jpg', '/home/nano/Desktop/images/08032025/07/52/image_08032025_07_52_36_30244.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/07/52/image_08032025_07_53_05_29299.jpg
/home/nano/Desktop/images/08032025/07/52/image_08032025_07_52_36_30244.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341771196","1341771168"],"photo_ids_order":["1341771168","1341771196"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/d1b60023deec981fc145415f02c0f85a.jpg","text":"TemporaryFile(/tmp/multipartBody6215518590186646612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741416872535,"filename":"image_08032025_07_52_36_30244.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/2170da270d7e331eafead51aa7e83c86.jpg","text":"TemporaryFile(/tmp/multipartBody2125200977743217599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741416872535,"filename":"image_08032025_07_53_05_29299.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341771196","file0":"1341771168"},"map_files_photo_id_array":[{"photo_id":"1341771196","filename":"file1"},{"photo_id":"1341771168","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341771196":["hashtag1","hashtag2"]},{"1341771168":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341771196, 1341771168)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.55751895904541 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 07:54:03.454957
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 07:54:32.338429
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/07/53/image_08032025_07_54_06_30299.jpg', 2), ('/home/nano/Desktop/images/08032025/07/53/image_08032025_07_53_36_30251.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/07/53/image_08032025_07_54_06_30299.jpg', '/home/nano/Desktop/images/08032025/07/53/image_08032025_07_53_36_30251.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/07/53/image_08032025_07_54_06_30299.jpg
/home/nano/Desktop/images/08032025/07/53/image_08032025_07_53_36_30251.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341771495","1341771453"],"photo_ids_order":["1341771453","1341771495"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/373292899d183b5533884190832e2405.jpg","text":"TemporaryFile(/tmp/multipartBody6877593947471626375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741416932653,"filename":"image_08032025_07_53_36_30251.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/9529ee6b285cb4fdfc46f21f84918f55.jpg","text":"TemporaryFile(/tmp/multipartBody4421632014939108614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741416932653,"filename":"image_08032025_07_54_06_30299.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341771495","file0":"1341771453"},"map_files_photo_id_array":[{"photo_id":"1341771495","filename":"file1"},{"photo_id":"1341771453","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341771495":["hashtag1","hashtag2"]},{"1341771453":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341771495, 1341771453)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.580249309539795 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 07:55:03.197098
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 07:55:32.430533
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/07/54/image_08032025_07_55_05_29276.jpg', 2), ('/home/nano/Desktop/images/08032025/07/54/image_08032025_07_54_36_30253.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/07/54/image_08032025_07_55_05_29276.jpg', '/home/nano/Desktop/images/08032025/07/54/image_08032025_07_54_36_30253.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/07/54/image_08032025_07_55_05_29276.jpg
/home/nano/Desktop/images/08032025/07/54/image_08032025_07_54_36_30253.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341771684","1341771671"],"photo_ids_order":["1341771671","1341771684"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/4993922150f4e2382cf290d91db7fc06.jpg","text":"TemporaryFile(/tmp/multipartBody8731087419214705535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741416992748,"filename":"image_08032025_07_54_36_30253.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/a00aafe753ea92d8acfdaf3bea7420c4.jpg","text":"TemporaryFile(/tmp/multipartBody5367311419706665078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741416992748,"filename":"image_08032025_07_55_05_29276.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341771684","file0":"1341771671"},"map_files_photo_id_array":[{"photo_id":"1341771684","filename":"file1"},{"photo_id":"1341771671","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341771684":["hashtag1","hashtag2"]},{"1341771671":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341771684, 1341771671)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.57141637802124 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 07:56:03.221896
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 07:56:32.537731
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/07/55/image_08032025_07_56_06_30268.jpg', 2), ('/home/nano/Desktop/images/08032025/07/55/image_08032025_07_55_36_30258.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/07/55/image_08032025_07_56_06_30268.jpg', '/home/nano/Desktop/images/08032025/07/55/image_08032025_07_55_36_30258.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/07/55/image_08032025_07_56_06_30268.jpg
/home/nano/Desktop/images/08032025/07/55/image_08032025_07_55_36_30258.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341771748","1341771744"],"photo_ids_order":["1341771744","1341771748"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/e02b8027979a934e38294f37bc0ff526.jpg","text":"TemporaryFile(/tmp/multipartBody3866497492620653927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741417052863,"filename":"image_08032025_07_55_36_30258.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/b3d0b661ecef4201085cdf4b822f7aab.jpg","text":"TemporaryFile(/tmp/multipartBody8392645075616311823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741417052863,"filename":"image_08032025_07_56_06_30268.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341771748","file0":"1341771744"},"map_files_photo_id_array":[{"photo_id":"1341771748","filename":"file1"},{"photo_id":"1341771744","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341771748":["hashtag1","hashtag2"]},{"1341771744":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341771748, 1341771744)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.204352617263794 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 07:57:03.566198
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/07/56/image_08032025_07_57_05_30272.jpg', 2), ('/home/nano/Desktop/images/08032025/07/56/image_08032025_07_56_35_29249.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/07/56/image_08032025_07_57_05_30272.jpg', '/home/nano/Desktop/images/08032025/07/56/image_08032025_07_56_35_29249.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/07/56/image_08032025_07_57_05_30272.jpg
/home/nano/Desktop/images/08032025/07/56/image_08032025_07_56_35_29249.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341771818","1341771819"],"photo_ids_order":["1341771818","1341771819"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/c97fe9484d6a3d38073da434cb58283a.jpg","text":"TemporaryFile(/tmp/multipartBody3873355853717800375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741417083943,"filename":"image_08032025_07_57_05_30272.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/4af2f0667fe17f753d0ef4182aae95a0.jpg","text":"TemporaryFile(/tmp/multipartBody7686147283174989171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741417083943,"filename":"image_08032025_07_56_35_29249.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341771819","file0":"1341771818"},"map_files_photo_id_array":[{"photo_id":"1341771819","filename":"file1"},{"photo_id":"1341771818","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341771818":["hashtag1","hashtag2"]},{"1341771819":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341771818, 1341771819)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.6299889087677 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 07:57:32.644503
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 07:58:03.363733
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 07:59:03.717238
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 07:59:32.690291
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 4 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/07/58/image_08032025_07_59_05_30248.jpg', 2), ('/home/nano/Desktop/images/08032025/07/58/image_08032025_07_58_35_29228.jpg', 2), ('/home/nano/Desktop/images/08032025/07/57/image_08032025_07_58_06_30265.jpg', 2), ('/home/nano/Desktop/images/08032025/07/57/image_08032025_07_57_36_30247.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/07/58/image_08032025_07_59_05_30248.jpg', '/home/nano/Desktop/images/08032025/07/58/image_08032025_07_58_35_29228.jpg', '/home/nano/Desktop/images/08032025/07/57/image_08032025_07_58_06_30265.jpg', '/home/nano/Desktop/images/08032025/07/57/image_08032025_07_57_36_30247.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/07/58/image_08032025_07_59_05_30248.jpg
/home/nano/Desktop/images/08032025/07/58/image_08032025_07_58_35_29228.jpg
/home/nano/Desktop/images/08032025/07/57/image_08032025_07_58_06_30265.jpg
/home/nano/Desktop/images/08032025/07/57/image_08032025_07_57_36_30247.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341772705","1341772609","1341772662","1341772687"],"photo_ids_order":["1341772609","1341772662","1341772687","1341772705"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/b16732bd3fc0ed303915f6636001a500.jpg","text":"TemporaryFile(/tmp/multipartBody527291992752683674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741417233069,"filename":"image_08032025_07_57_36_30247.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/061c23f03b351529d9dc93cf5f1ea2c7.jpg","text":"TemporaryFile(/tmp/multipartBody3580280636013144566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741417233069,"filename":"image_08032025_07_59_05_30248.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/5763e3a6e261fb2dc6906edc56f0bca9.jpg","text":"TemporaryFile(/tmp/multipartBody8140174403121308011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741417233069,"filename":"image_08032025_07_58_35_29228.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/76ff45dc8a94535de92036eb205df10a.jpg","text":"TemporaryFile(/tmp/multipartBody9156577834880510663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741417233069,"filename":"image_08032025_07_58_06_30265.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341772687","file1":"1341772662","file0":"1341772609","file3":"1341772705"},"map_files_photo_id_array":[{"photo_id":"1341772687","filename":"file2"},{"photo_id":"1341772662","filename":"file1"},{"photo_id":"1341772609","filename":"file0"},{"photo_id":"1341772705","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341772705":["hashtag1","hashtag2"]},{"1341772609":["hashtag1","hashtag2"]},{"1341772662":["hashtag1","hashtag2"]},{"1341772687":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341772705, 1341772609, 1341772662, 1341772687)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 23.844650268554688 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 08:00:02.572083
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 08:00:31.812953
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/07/59/image_08032025_08_00_06_30294.jpg', 2), ('/home/nano/Desktop/images/08032025/07/59/image_08032025_07_59_36_30248.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/07/59/image_08032025_08_00_06_30294.jpg', '/home/nano/Desktop/images/08032025/07/59/image_08032025_07_59_36_30248.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/07/59/image_08032025_08_00_06_30294.jpg
/home/nano/Desktop/images/08032025/07/59/image_08032025_07_59_36_30248.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341772933","1341772959"],"photo_ids_order":["1341772933","1341772959"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/1938efd67e2dba5812009ac68e6f736c.jpg","text":"TemporaryFile(/tmp/multipartBody2093298699689766429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741417292136,"filename":"image_08032025_08_00_06_30294.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/83d287ebcef5a33b4866cbf564c3b4d9.jpg","text":"TemporaryFile(/tmp/multipartBody1758106759769424776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741417292136,"filename":"image_08032025_07_59_36_30248.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341772959","file0":"1341772933"},"map_files_photo_id_array":[{"photo_id":"1341772959","filename":"file1"},{"photo_id":"1341772933","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341772933":["hashtag1","hashtag2"]},{"1341772959":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341772933, 1341772959)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 16.719690799713135 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 08:01:02.658595
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 08:01:31.908831
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/08/00/image_08032025_08_01_05_30250.jpg', 2), ('/home/nano/Desktop/images/08032025/08/00/image_08032025_08_00_35_29256.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/08/00/image_08032025_08_01_05_30250.jpg', '/home/nano/Desktop/images/08032025/08/00/image_08032025_08_00_35_29256.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/08/00/image_08032025_08_01_05_30250.jpg
/home/nano/Desktop/images/08032025/08/00/image_08032025_08_00_35_29256.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341773758","1341773732"],"photo_ids_order":["1341773732","1341773758"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/9aa944aab8fde263ed81a00d5e19ccbf.jpg","text":"TemporaryFile(/tmp/multipartBody5042126431542239661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741417352235,"filename":"image_08032025_08_00_35_29256.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/d26668f78c5a3790828b45ada9a6d9b9.jpg","text":"TemporaryFile(/tmp/multipartBody6852021178712882962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741417352235,"filename":"image_08032025_08_01_05_30250.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341773758","file0":"1341773732"},"map_files_photo_id_array":[{"photo_id":"1341773758","filename":"file1"},{"photo_id":"1341773732","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341773758":["hashtag1","hashtag2"]},{"1341773732":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341773758, 1341773732)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.19216513633728 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 08:02:02.807661
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 08:02:32.001810
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/08/01/image_08032025_08_02_06_30263.jpg', 2), ('/home/nano/Desktop/images/08032025/08/01/image_08032025_08_01_36_30242.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/08/01/image_08032025_08_02_06_30263.jpg', '/home/nano/Desktop/images/08032025/08/01/image_08032025_08_01_36_30242.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/08/01/image_08032025_08_02_06_30263.jpg
/home/nano/Desktop/images/08032025/08/01/image_08032025_08_01_36_30242.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341774323","1341774286"],"photo_ids_order":["1341774286","1341774323"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/4c2f4f896452befbdea2b37b7a43dcc0.jpg","text":"TemporaryFile(/tmp/multipartBody8180335470434034812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741417412312,"filename":"image_08032025_08_01_36_30242.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/fbb25f01a1b7d4900a2d0df992f17a8d.jpg","text":"TemporaryFile(/tmp/multipartBody4498307370365620364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741417412312,"filename":"image_08032025_08_02_06_30263.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341774323","file0":"1341774286"},"map_files_photo_id_array":[{"photo_id":"1341774323","filename":"file1"},{"photo_id":"1341774286","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341774323":["hashtag1","hashtag2"]},{"1341774286":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341774323, 1341774286)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.303890466690063 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 08:03:02.980026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 08:03:32.120736
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/08/03/image_08032025_08_03_36_30230.jpg', 2), ('/home/nano/Desktop/images/08032025/08/02/image_08032025_08_02_35_29262.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/08/03/image_08032025_08_03_36_30230.jpg', '/home/nano/Desktop/images/08032025/08/02/image_08032025_08_02_35_29262.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/08/03/image_08032025_08_03_36_30230.jpg
/home/nano/Desktop/images/08032025/08/02/image_08032025_08_02_35_29262.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341774446","1341774421"],"photo_ids_order":["1341774421","1341774446"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/8542d1e1358b546917f181cc5ac3febe.jpg","text":"TemporaryFile(/tmp/multipartBody420393699996799625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741417472445,"filename":"image_08032025_08_02_35_29262.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/cb4b10c2666d4d4a1e9565ee26607089.jpg","text":"TemporaryFile(/tmp/multipartBody8013633934957647272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741417472445,"filename":"image_08032025_08_03_36_30230.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341774446","file0":"1341774421"},"map_files_photo_id_array":[{"photo_id":"1341774446","filename":"file1"},{"photo_id":"1341774421","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341774446":["hashtag1","hashtag2"]},{"1341774421":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341774446, 1341774421)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.358459234237671 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 08:04:03.470387
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 08:04:32.249445
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/08/03/image_08032025_08_04_06_30308.jpg', 2), ('/home/nano/Desktop/images/08032025/08/02/image_08032025_08_03_05_30268.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/08/03/image_08032025_08_04_06_30308.jpg', '/home/nano/Desktop/images/08032025/08/02/image_08032025_08_03_05_30268.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/08/03/image_08032025_08_04_06_30308.jpg
/home/nano/Desktop/images/08032025/08/02/image_08032025_08_03_05_30268.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341774804","1341774800"],"photo_ids_order":["1341774800","1341774804"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/a463573071b97dc94a69cbc592368f28.jpg","text":"TemporaryFile(/tmp/multipartBody8037598697726163537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741417532565,"filename":"image_08032025_08_03_05_30268.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/414eda34b1dce58af8ee9dd5aee32d7c.jpg","text":"TemporaryFile(/tmp/multipartBody8895799412976259397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741417532565,"filename":"image_08032025_08_04_06_30308.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341774804","file0":"1341774800"},"map_files_photo_id_array":[{"photo_id":"1341774804","filename":"file1"},{"photo_id":"1341774800","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341774804":["hashtag1","hashtag2"]},{"1341774800":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341774804, 1341774800)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.990984201431274 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 08:05:03.062947
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 08:05:32.332877
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/08/04/image_08032025_08_05_06_30260.jpg', 2), ('/home/nano/Desktop/images/08032025/08/04/image_08032025_08_04_35_29233.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/08/04/image_08032025_08_05_06_30260.jpg', '/home/nano/Desktop/images/08032025/08/04/image_08032025_08_04_35_29233.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/08/04/image_08032025_08_05_06_30260.jpg
/home/nano/Desktop/images/08032025/08/04/image_08032025_08_04_35_29233.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341775085","1341775080"],"photo_ids_order":["1341775080","1341775085"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/cf7b0e3fc0e1865d9147dea6f545a63d.jpg","text":"TemporaryFile(/tmp/multipartBody3432139487629175350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741417592662,"filename":"image_08032025_08_04_35_29233.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/a50b84ff41346bf3272f918b4e571d9d.jpg","text":"TemporaryFile(/tmp/multipartBody7236842696583744838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741417592662,"filename":"image_08032025_08_05_06_30260.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341775085","file0":"1341775080"},"map_files_photo_id_array":[{"photo_id":"1341775085","filename":"file1"},{"photo_id":"1341775080","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341775085":["hashtag1","hashtag2"]},{"1341775080":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341775085, 1341775080)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.25501322746277 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 08:06:03.223207
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 08:06:32.422561
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/08/05/image_08032025_08_06_06_30269.jpg', 2), ('/home/nano/Desktop/images/08032025/08/05/image_08032025_08_05_36_30271.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/08/05/image_08032025_08_06_06_30269.jpg', '/home/nano/Desktop/images/08032025/08/05/image_08032025_08_05_36_30271.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/08/05/image_08032025_08_06_06_30269.jpg
/home/nano/Desktop/images/08032025/08/05/image_08032025_08_05_36_30271.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341775134","1341775138"],"photo_ids_order":["1341775134","1341775138"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/50483d9256c85c6a574d6586b7c35352.jpg","text":"TemporaryFile(/tmp/multipartBody2741449344220427684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741417652748,"filename":"image_08032025_08_06_06_30269.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/2346a12436ba23c1646eb281cade82cd.jpg","text":"TemporaryFile(/tmp/multipartBody7397140975091898421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741417652748,"filename":"image_08032025_08_05_36_30271.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341775138","file0":"1341775134"},"map_files_photo_id_array":[{"photo_id":"1341775138","filename":"file1"},{"photo_id":"1341775134","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341775134":["hashtag1","hashtag2"]},{"1341775138":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341775134, 1341775138)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.310961246490479 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 08:07:03.276059
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 08:07:32.517976
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/08/06/image_08032025_08_07_06_30278.jpg', 2), ('/home/nano/Desktop/images/08032025/08/06/image_08032025_08_06_35_29236.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/08/06/image_08032025_08_07_06_30278.jpg', '/home/nano/Desktop/images/08032025/08/06/image_08032025_08_06_35_29236.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/08/06/image_08032025_08_07_06_30278.jpg
/home/nano/Desktop/images/08032025/08/06/image_08032025_08_06_35_29236.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341775446","1341775443"],"photo_ids_order":["1341775443","1341775446"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/cf582b09bba2100f300190ee0e1c7104.jpg","text":"TemporaryFile(/tmp/multipartBody4233964313341661115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741417712853,"filename":"image_08032025_08_06_35_29236.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/c18fd028581b41e7f3fffc1b95492520.jpg","text":"TemporaryFile(/tmp/multipartBody7232243261929912938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741417712853,"filename":"image_08032025_08_07_06_30278.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341775446","file0":"1341775443"},"map_files_photo_id_array":[{"photo_id":"1341775446","filename":"file1"},{"photo_id":"1341775443","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341775446":["hashtag1","hashtag2"]},{"1341775443":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341775446, 1341775443)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.154401540756226 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 08:08:03.555256
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 08:08:32.606084
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/08/07/image_08032025_08_08_06_30250.jpg', 2), ('/home/nano/Desktop/images/08032025/08/07/image_08032025_08_07_36_30246.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/08/07/image_08032025_08_08_06_30250.jpg', '/home/nano/Desktop/images/08032025/08/07/image_08032025_08_07_36_30246.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/08/07/image_08032025_08_08_06_30250.jpg
/home/nano/Desktop/images/08032025/08/07/image_08032025_08_07_36_30246.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.2318422794342041 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 marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 08:09:03.745458
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/08/07/image_08032025_08_08_06_30250.jpg', 2), ('/home/nano/Desktop/images/08032025/08/07/image_08032025_08_07_36_30246.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/08/07/image_08032025_08_08_06_30250.jpg', '/home/nano/Desktop/images/08032025/08/07/image_08032025_08_07_36_30246.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/08/07/image_08032025_08_08_06_30250.jpg
/home/nano/Desktop/images/08032025/08/07/image_08032025_08_07_36_30246.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341775736","1341775738"],"photo_ids_order":["1341775736","1341775738"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/4d98f0cac3f0175f3ab36449894bccdd.jpg","text":"TemporaryFile(/tmp/multipartBody6402423654198518424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741417804085,"filename":"image_08032025_08_08_06_30250.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/02c425cbc7630c6cad46a50abdad7762.jpg","text":"TemporaryFile(/tmp/multipartBody6519521392729737961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741417804085,"filename":"image_08032025_08_07_36_30246.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341775738","file0":"1341775736"},"map_files_photo_id_array":[{"photo_id":"1341775738","filename":"file1"},{"photo_id":"1341775736","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341775736":["hashtag1","hashtag2"]},{"1341775738":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341775736, 1341775738)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.825236082077026 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 08:09:32.770312
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/08/08/image_08032025_08_09_06_30278.jpg', 2), ('/home/nano/Desktop/images/08032025/08/08/image_08032025_08_08_35_29234.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/08/08/image_08032025_08_09_06_30278.jpg', '/home/nano/Desktop/images/08032025/08/08/image_08032025_08_08_35_29234.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/08/08/image_08032025_08_09_06_30278.jpg
/home/nano/Desktop/images/08032025/08/08/image_08032025_08_08_35_29234.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341775763","1341775759"],"photo_ids_order":["1341775759","1341775763"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/175a0ec757a18a6d647913d01098d84e.jpg","text":"TemporaryFile(/tmp/multipartBody492581370752571312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741417833103,"filename":"image_08032025_08_08_35_29234.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/ad0ac91a4b45966bd9e620f206c10b07.jpg","text":"TemporaryFile(/tmp/multipartBody2602586844991442031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741417833103,"filename":"image_08032025_08_09_06_30278.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341775763","file0":"1341775759"},"map_files_photo_id_array":[{"photo_id":"1341775763","filename":"file1"},{"photo_id":"1341775759","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341775763":["hashtag1","hashtag2"]},{"1341775759":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341775763, 1341775759)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.995676517486572 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 08:10:02.811219
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 08:10:31.897778
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/08/09/image_08032025_08_10_05_29306.jpg', 2), ('/home/nano/Desktop/images/08032025/08/09/image_08032025_08_09_36_30245.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/08/09/image_08032025_08_10_05_29306.jpg', '/home/nano/Desktop/images/08032025/08/09/image_08032025_08_09_36_30245.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/08/09/image_08032025_08_10_05_29306.jpg
/home/nano/Desktop/images/08032025/08/09/image_08032025_08_09_36_30245.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341775937","1341775931"],"photo_ids_order":["1341775931","1341775937"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/f75fb9bb42d714d141ee457b8219c99e.jpg","text":"TemporaryFile(/tmp/multipartBody4615303584018051928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741417892227,"filename":"image_08032025_08_09_36_30245.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/ce7338b6697277baddd92ccdb3cad4a1.jpg","text":"TemporaryFile(/tmp/multipartBody5916671246351229998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741417892227,"filename":"image_08032025_08_10_05_29306.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341775937","file0":"1341775931"},"map_files_photo_id_array":[{"photo_id":"1341775937","filename":"file1"},{"photo_id":"1341775931","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341775937":["hashtag1","hashtag2"]},{"1341775931":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341775937, 1341775931)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 18.302661418914795 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 08:11:02.751656
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 08:11:31.995708
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/08/10/image_08032025_08_11_06_30273.jpg', 2), ('/home/nano/Desktop/images/08032025/08/10/image_08032025_08_10_35_30278.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/08/10/image_08032025_08_11_06_30273.jpg', '/home/nano/Desktop/images/08032025/08/10/image_08032025_08_10_35_30278.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/08/10/image_08032025_08_11_06_30273.jpg
/home/nano/Desktop/images/08032025/08/10/image_08032025_08_10_35_30278.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341776019","1341776028"],"photo_ids_order":["1341776019","1341776028"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/b764152b55e1a74cb40edb6c83d229a2.jpg","text":"TemporaryFile(/tmp/multipartBody1550319886056128791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741417952310,"filename":"image_08032025_08_11_06_30273.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/1c4bef6b29dee9018c830fa89bfb67e3.jpg","text":"TemporaryFile(/tmp/multipartBody4561499165180124333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741417952310,"filename":"image_08032025_08_10_35_30278.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341776028","file0":"1341776019"},"map_files_photo_id_array":[{"photo_id":"1341776028","filename":"file1"},{"photo_id":"1341776019","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341776019":["hashtag1","hashtag2"]},{"1341776028":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341776019, 1341776028)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.80820345878601 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 08:12:03.004979
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 08:12:32.110664
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/08/11/image_08032025_08_12_05_29269.jpg', 2), ('/home/nano/Desktop/images/08032025/08/11/image_08032025_08_11_36_30247.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/08/11/image_08032025_08_12_05_29269.jpg', '/home/nano/Desktop/images/08032025/08/11/image_08032025_08_11_36_30247.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/08/11/image_08032025_08_12_05_29269.jpg
/home/nano/Desktop/images/08032025/08/11/image_08032025_08_11_36_30247.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341776054","1341776049"],"photo_ids_order":["1341776049","1341776054"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/291550b7ca71af1182ab07dac911eef2.jpg","text":"TemporaryFile(/tmp/multipartBody6086852675106082442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741418012432,"filename":"image_08032025_08_11_36_30247.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/bdc52f295242a5a5375249e01a6090fb.jpg","text":"TemporaryFile(/tmp/multipartBody2973587032625432736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741418012432,"filename":"image_08032025_08_12_05_29269.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341776054","file0":"1341776049"},"map_files_photo_id_array":[{"photo_id":"1341776054","filename":"file1"},{"photo_id":"1341776049","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341776054":["hashtag1","hashtag2"]},{"1341776049":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341776054, 1341776049)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.094274044036865 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 08:13:03.098263
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 08:13:32.198700
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/08/12/image_08032025_08_13_06_30255.jpg', 2), ('/home/nano/Desktop/images/08032025/08/12/image_08032025_08_12_35_30260.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/08/12/image_08032025_08_13_06_30255.jpg', '/home/nano/Desktop/images/08032025/08/12/image_08032025_08_12_35_30260.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/08/12/image_08032025_08_13_06_30255.jpg
/home/nano/Desktop/images/08032025/08/12/image_08032025_08_12_35_30260.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341776246","1341776251"],"photo_ids_order":["1341776246","1341776251"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/a45d0941a6e6c8264b136f969a3ae642.jpg","text":"TemporaryFile(/tmp/multipartBody2989399996013716411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741418072526,"filename":"image_08032025_08_13_06_30255.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/eae2d0aa8f636b69453d26a4842fe31f.jpg","text":"TemporaryFile(/tmp/multipartBody4105019304741042478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741418072526,"filename":"image_08032025_08_12_35_30260.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341776251","file0":"1341776246"},"map_files_photo_id_array":[{"photo_id":"1341776251","filename":"file1"},{"photo_id":"1341776246","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341776246":["hashtag1","hashtag2"]},{"1341776251":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341776246, 1341776251)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.986621141433716 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 08:14:03.399525
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 08:14:32.347212
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/08/13/image_08032025_08_14_05_29260.jpg', 2), ('/home/nano/Desktop/images/08032025/08/13/image_08032025_08_13_36_30240.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/08/13/image_08032025_08_14_05_29260.jpg', '/home/nano/Desktop/images/08032025/08/13/image_08032025_08_13_36_30240.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/08/13/image_08032025_08_14_05_29260.jpg
/home/nano/Desktop/images/08032025/08/13/image_08032025_08_13_36_30240.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341776332","1341776326"],"photo_ids_order":["1341776326","1341776332"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/7fba12ab7db0e5d97b511a37c9643f05.jpg","text":"TemporaryFile(/tmp/multipartBody8853525633261421103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741418132662,"filename":"image_08032025_08_13_36_30240.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/d59aee1e43582f89d0dfacef5f18f1ae.jpg","text":"TemporaryFile(/tmp/multipartBody3469835554526540012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741418132662,"filename":"image_08032025_08_14_05_29260.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341776332","file0":"1341776326"},"map_files_photo_id_array":[{"photo_id":"1341776332","filename":"file1"},{"photo_id":"1341776326","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341776332":["hashtag1","hashtag2"]},{"1341776326":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341776332, 1341776326)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.085420846939087 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 08:15:03.372278
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 08:15:32.460004
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/08/14/image_08032025_08_15_06_30268.jpg', 2), ('/home/nano/Desktop/images/08032025/08/14/image_08032025_08_14_35_30270.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/08/14/image_08032025_08_15_06_30268.jpg', '/home/nano/Desktop/images/08032025/08/14/image_08032025_08_14_35_30270.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/08/14/image_08032025_08_15_06_30268.jpg
/home/nano/Desktop/images/08032025/08/14/image_08032025_08_14_35_30270.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341776356","1341776371"],"photo_ids_order":["1341776356","1341776371"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/703656a015deb9b49fb8dee490f482c9.jpg","text":"TemporaryFile(/tmp/multipartBody6754895996461569156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741418192785,"filename":"image_08032025_08_15_06_30268.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/405b71574281652ba8a1bc112b95241d.jpg","text":"TemporaryFile(/tmp/multipartBody7404286344554197680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741418192785,"filename":"image_08032025_08_14_35_30270.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341776371","file0":"1341776356"},"map_files_photo_id_array":[{"photo_id":"1341776371","filename":"file1"},{"photo_id":"1341776356","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341776356":["hashtag1","hashtag2"]},{"1341776371":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341776356, 1341776371)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 18.173492670059204 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 08:16:03.313852
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 08:16:32.567267
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/08/15/image_08032025_08_16_05_29252.jpg', 2), ('/home/nano/Desktop/images/08032025/08/15/image_08032025_08_15_36_30237.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/08/15/image_08032025_08_16_05_29252.jpg', '/home/nano/Desktop/images/08032025/08/15/image_08032025_08_15_36_30237.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/08/15/image_08032025_08_16_05_29252.jpg
/home/nano/Desktop/images/08032025/08/15/image_08032025_08_15_36_30237.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341776707","1341776712"],"photo_ids_order":["1341776707","1341776712"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/b628a05e2c5157cc3c5bd9be06941686.jpg","text":"TemporaryFile(/tmp/multipartBody1993275338233223706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741418252883,"filename":"image_08032025_08_16_05_29252.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/e429bf991f23661dd083d027073c733d.jpg","text":"TemporaryFile(/tmp/multipartBody1023109927163076722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741418252883,"filename":"image_08032025_08_15_36_30237.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341776712","file0":"1341776707"},"map_files_photo_id_array":[{"photo_id":"1341776712","filename":"file1"},{"photo_id":"1341776707","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341776707":["hashtag1","hashtag2"]},{"1341776712":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341776707, 1341776712)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.512257099151611 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 08:17:03.343278
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 08:17:32.643216
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/08/16/image_08032025_08_17_06_30265.jpg', 2), ('/home/nano/Desktop/images/08032025/08/16/image_08032025_08_16_35_30260.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/08/16/image_08032025_08_17_06_30265.jpg', '/home/nano/Desktop/images/08032025/08/16/image_08032025_08_16_35_30260.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/08/16/image_08032025_08_17_06_30265.jpg
/home/nano/Desktop/images/08032025/08/16/image_08032025_08_16_35_30260.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341776761","1341776766"],"photo_ids_order":["1341776761","1341776766"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/10f7af5af04ca76b2e0a82b111fbc015.jpg","text":"TemporaryFile(/tmp/multipartBody7079405164135913132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741418312952,"filename":"image_08032025_08_17_06_30265.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/11d89dc1618fdd4daa2dfa0c3cdfbe87.jpg","text":"TemporaryFile(/tmp/multipartBody3448100892822250899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741418312952,"filename":"image_08032025_08_16_35_30260.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341776766","file0":"1341776761"},"map_files_photo_id_array":[{"photo_id":"1341776766","filename":"file1"},{"photo_id":"1341776761","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341776761":["hashtag1","hashtag2"]},{"1341776766":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341776761, 1341776766)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.740356206893921 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 08:18:03.482454
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 08:18:32.758320
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/08/17/image_08032025_08_18_05_29237.jpg', 2), ('/home/nano/Desktop/images/08032025/08/17/image_08032025_08_17_36_30239.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/08/17/image_08032025_08_18_05_29237.jpg', '/home/nano/Desktop/images/08032025/08/17/image_08032025_08_17_36_30239.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/08/17/image_08032025_08_18_05_29237.jpg
/home/nano/Desktop/images/08032025/08/17/image_08032025_08_17_36_30239.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341776797","1341776803"],"photo_ids_order":["1341776797","1341776803"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/09aa8a22b379901c677fef6041d05904.jpg","text":"TemporaryFile(/tmp/multipartBody2075567934467278815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741418373097,"filename":"image_08032025_08_18_05_29237.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/98531516054a713e0d916a901efb3904.jpg","text":"TemporaryFile(/tmp/multipartBody3331851671831575200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741418373097,"filename":"image_08032025_08_17_36_30239.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341776803","file0":"1341776797"},"map_files_photo_id_array":[{"photo_id":"1341776803","filename":"file1"},{"photo_id":"1341776797","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341776797":["hashtag1","hashtag2"]},{"1341776803":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341776797, 1341776803)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 21.615694046020508 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 08:19:02.986811
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 08:19:31.848027
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/08/18/image_08032025_08_19_06_30272.jpg', 2), ('/home/nano/Desktop/images/08032025/08/18/image_08032025_08_18_35_30236.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/08/18/image_08032025_08_19_06_30272.jpg', '/home/nano/Desktop/images/08032025/08/18/image_08032025_08_18_35_30236.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/08/18/image_08032025_08_19_06_30272.jpg
/home/nano/Desktop/images/08032025/08/18/image_08032025_08_18_35_30236.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341777081","1341777077"],"photo_ids_order":["1341777077","1341777081"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/1ec29f9e9338ab5fed4a91b2d7fafbbe.jpg","text":"TemporaryFile(/tmp/multipartBody6770297180983816861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741418432183,"filename":"image_08032025_08_18_35_30236.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/d178babb5828d82704af74b3119fbf78.jpg","text":"TemporaryFile(/tmp/multipartBody5213779273865729046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741418432183,"filename":"image_08032025_08_19_06_30272.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341777081","file0":"1341777077"},"map_files_photo_id_array":[{"photo_id":"1341777081","filename":"file1"},{"photo_id":"1341777077","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341777081":["hashtag1","hashtag2"]},{"1341777077":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341777081, 1341777077)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.711341381072998 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 08:20:02.648809
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 08:20:31.954503
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/08/19/image_08032025_08_20_05_29287.jpg', 2), ('/home/nano/Desktop/images/08032025/08/19/image_08032025_08_19_36_30252.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/08/19/image_08032025_08_20_05_29287.jpg', '/home/nano/Desktop/images/08032025/08/19/image_08032025_08_19_36_30252.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/08/19/image_08032025_08_20_05_29287.jpg
/home/nano/Desktop/images/08032025/08/19/image_08032025_08_19_36_30252.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341777130","1341777124"],"photo_ids_order":["1341777124","1341777130"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/98d740a8fd6f2ae4b166b34ba10d07c9.jpg","text":"TemporaryFile(/tmp/multipartBody6742026844077483791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741418492267,"filename":"image_08032025_08_19_36_30252.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/2170fb16771834b8849645029d454086.jpg","text":"TemporaryFile(/tmp/multipartBody7170002567982314696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741418492267,"filename":"image_08032025_08_20_05_29287.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341777130","file0":"1341777124"},"map_files_photo_id_array":[{"photo_id":"1341777130","filename":"file1"},{"photo_id":"1341777124","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341777130":["hashtag1","hashtag2"]},{"1341777124":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341777130, 1341777124)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.532891035079956 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 08:21:02.787650
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 08:21:32.164024
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/08/20/image_08032025_08_20_36_30249.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/08/20/image_08032025_08_20_36_30249.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/08/20/image_08032025_08_20_36_30249.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341777206"],"photo_id":"1341777206","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/322c354b4bc9b35ea8a1382793fef62a.jpg","text":"TemporaryFile(/tmp/multipartBody2465396593351635224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741418552439,"filename":"image_08032025_08_20_36_30249.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1341777206"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1341777206"}],"hashtags":[],"portfolio_id":"21163824","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 11.146448850631714 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 08:22:02.877520
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 08:22:32.241439
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/08/21/image_08032025_08_22_05_29247.jpg', 2), ('/home/nano/Desktop/images/08032025/08/21/image_08032025_08_21_36_30254.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/08/21/image_08032025_08_22_05_29247.jpg', '/home/nano/Desktop/images/08032025/08/21/image_08032025_08_21_36_30254.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/08/21/image_08032025_08_22_05_29247.jpg
/home/nano/Desktop/images/08032025/08/21/image_08032025_08_21_36_30254.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341777311","1341777265"],"photo_ids_order":["1341777265","1341777311"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/8b1238773fc8f8f3b327aa0800917386.jpg","text":"TemporaryFile(/tmp/multipartBody1165726325033613424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741418612568,"filename":"image_08032025_08_21_36_30254.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/20d3f7f81b8f9c6a18858bb95bc42a20.jpg","text":"TemporaryFile(/tmp/multipartBody7240218707211739521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741418612568,"filename":"image_08032025_08_22_05_29247.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341777311","file0":"1341777265"},"map_files_photo_id_array":[{"photo_id":"1341777311","filename":"file1"},{"photo_id":"1341777265","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341777311":["hashtag1","hashtag2"]},{"1341777265":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341777311, 1341777265)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.440736293792725 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 08:23:03.286508
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 08:23:32.366271
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/08/22/image_08032025_08_23_06_30274.jpg', 2), ('/home/nano/Desktop/images/08032025/08/22/image_08032025_08_22_36_30249.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/08/22/image_08032025_08_23_06_30274.jpg', '/home/nano/Desktop/images/08032025/08/22/image_08032025_08_22_36_30249.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/08/22/image_08032025_08_23_06_30274.jpg
/home/nano/Desktop/images/08032025/08/22/image_08032025_08_22_36_30249.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341777391","1341777389"],"photo_ids_order":["1341777389","1341777391"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/6d9367741777bbb2c355060a2b9d2aef.jpg","text":"TemporaryFile(/tmp/multipartBody58564975270066748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741418672698,"filename":"image_08032025_08_22_36_30249.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/7c9c3f1e7cb6ec1ffbbe8edf16cdfa7f.jpg","text":"TemporaryFile(/tmp/multipartBody6482036418026567304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741418672698,"filename":"image_08032025_08_23_06_30274.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341777391","file0":"1341777389"},"map_files_photo_id_array":[{"photo_id":"1341777391","filename":"file1"},{"photo_id":"1341777389","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341777391":["hashtag1","hashtag2"]},{"1341777389":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341777391, 1341777389)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.517627239227295 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 08:24:03.347315
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 08:24:32.448416
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/08/23/image_08032025_08_24_05_29278.jpg', 2), ('/home/nano/Desktop/images/08032025/08/23/image_08032025_08_23_36_30249.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/08/23/image_08032025_08_24_05_29278.jpg', '/home/nano/Desktop/images/08032025/08/23/image_08032025_08_23_36_30249.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/08/23/image_08032025_08_24_05_29278.jpg
/home/nano/Desktop/images/08032025/08/23/image_08032025_08_23_36_30249.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341777428","1341777423"],"photo_ids_order":["1341777423","1341777428"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/b796a37a021590ceda9829b0baa2ab87.jpg","text":"TemporaryFile(/tmp/multipartBody8293146535117641178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741418732869,"filename":"image_08032025_08_23_36_30249.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/d980abe83ae128d30cdf547d8a02da70.jpg","text":"TemporaryFile(/tmp/multipartBody7271766925554399315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741418732869,"filename":"image_08032025_08_24_05_29278.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341777428","file0":"1341777423"},"map_files_photo_id_array":[{"photo_id":"1341777428","filename":"file1"},{"photo_id":"1341777423","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341777428":["hashtag1","hashtag2"]},{"1341777423":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341777428, 1341777423)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.36416506767273 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 08:25:03.587245
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/08/24/image_08032025_08_25_06_30284.jpg', 2), ('/home/nano/Desktop/images/08032025/08/24/image_08032025_08_24_36_30255.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/08/24/image_08032025_08_25_06_30284.jpg', '/home/nano/Desktop/images/08032025/08/24/image_08032025_08_24_36_30255.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/08/24/image_08032025_08_25_06_30284.jpg
/home/nano/Desktop/images/08032025/08/24/image_08032025_08_24_36_30255.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341777446","1341777448"],"photo_ids_order":["1341777446","1341777448"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/350495f28dd167d6028e747e1d8ace5e.jpg","text":"TemporaryFile(/tmp/multipartBody4335782008154842951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741418763950,"filename":"image_08032025_08_25_06_30284.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/f971283c27f778026f7c9772b54557b6.jpg","text":"TemporaryFile(/tmp/multipartBody4301344640183499406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741418763950,"filename":"image_08032025_08_24_36_30255.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341777448","file0":"1341777446"},"map_files_photo_id_array":[{"photo_id":"1341777448","filename":"file1"},{"photo_id":"1341777446","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341777446":["hashtag1","hashtag2"]},{"1341777448":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341777446, 1341777448)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.824314594268799 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 08:25:32.602556
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 08:26:03.425494
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 08:26:32.693477
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/08/25/image_08032025_08_26_05_30281.jpg', 2), ('/home/nano/Desktop/images/08032025/08/25/image_08032025_08_25_35_29245.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/08/25/image_08032025_08_26_05_30281.jpg', '/home/nano/Desktop/images/08032025/08/25/image_08032025_08_25_35_29245.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/08/25/image_08032025_08_26_05_30281.jpg
/home/nano/Desktop/images/08032025/08/25/image_08032025_08_25_35_29245.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341777730","1341777736"],"photo_ids_order":["1341777730","1341777736"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/69f9da4e2883dd67cf7ce9c4c838b705.jpg","text":"TemporaryFile(/tmp/multipartBody2486060860877768140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741418853020,"filename":"image_08032025_08_26_05_30281.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/a079ba0f3e24f4383787d31368de6085.jpg","text":"TemporaryFile(/tmp/multipartBody959077122970311487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741418853020,"filename":"image_08032025_08_25_35_29245.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341777736","file0":"1341777730"},"map_files_photo_id_array":[{"photo_id":"1341777736","filename":"file1"},{"photo_id":"1341777730","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341777730":["hashtag1","hashtag2"]},{"1341777736":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341777730, 1341777736)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.275362491607666 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 08:27:02.743360
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 08:27:31.781151
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/08/26/image_08032025_08_27_06_30270.jpg', 2), ('/home/nano/Desktop/images/08032025/08/26/image_08032025_08_26_36_30253.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/08/26/image_08032025_08_27_06_30270.jpg', '/home/nano/Desktop/images/08032025/08/26/image_08032025_08_26_36_30253.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/08/26/image_08032025_08_27_06_30270.jpg
/home/nano/Desktop/images/08032025/08/26/image_08032025_08_26_36_30253.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341777765","1341777761"],"photo_ids_order":["1341777761","1341777765"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/3e2bd9406c5d6b666d75d82bd7a77116.jpg","text":"TemporaryFile(/tmp/multipartBody4805284303747694471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741418912106,"filename":"image_08032025_08_26_36_30253.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/6e162a8449be8c91c323de7a7878a6f2.jpg","text":"TemporaryFile(/tmp/multipartBody3035213696698186606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741418912106,"filename":"image_08032025_08_27_06_30270.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341777765","file0":"1341777761"},"map_files_photo_id_array":[{"photo_id":"1341777765","filename":"file1"},{"photo_id":"1341777761","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341777765":["hashtag1","hashtag2"]},{"1341777761":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341777765, 1341777761)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.201728820800781 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 08:28:02.754207
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 08:28:31.908676
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/08/27/image_08032025_08_28_06_30260.jpg', 2), ('/home/nano/Desktop/images/08032025/08/27/image_08032025_08_27_35_29276.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/08/27/image_08032025_08_28_06_30260.jpg', '/home/nano/Desktop/images/08032025/08/27/image_08032025_08_27_35_29276.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/08/27/image_08032025_08_28_06_30260.jpg
/home/nano/Desktop/images/08032025/08/27/image_08032025_08_27_35_29276.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341777850","1341777846"],"photo_ids_order":["1341777846","1341777850"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/41190b6805cd2616def66f0d4c4b1eb0.jpg","text":"TemporaryFile(/tmp/multipartBody280141174859448739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741418972219,"filename":"image_08032025_08_27_35_29276.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/8980c425a68fd2e669e98db4f679beb3.jpg","text":"TemporaryFile(/tmp/multipartBody2403797930100148106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741418972219,"filename":"image_08032025_08_28_06_30260.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341777850","file0":"1341777846"},"map_files_photo_id_array":[{"photo_id":"1341777850","filename":"file1"},{"photo_id":"1341777846","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341777850":["hashtag1","hashtag2"]},{"1341777846":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341777850, 1341777846)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 13.919702053070068 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 08:29:02.906962
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 08:29:32.014579
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/08/28/image_08032025_08_29_06_30280.jpg', 2), ('/home/nano/Desktop/images/08032025/08/28/image_08032025_08_28_36_30247.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/08/28/image_08032025_08_29_06_30280.jpg', '/home/nano/Desktop/images/08032025/08/28/image_08032025_08_28_36_30247.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/08/28/image_08032025_08_29_06_30280.jpg
/home/nano/Desktop/images/08032025/08/28/image_08032025_08_28_36_30247.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341777940","1341777936"],"photo_ids_order":["1341777936","1341777940"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/c9ad995d9308992cb096fb269e5ce82c.jpg","text":"TemporaryFile(/tmp/multipartBody6521635814724292567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741419032354,"filename":"image_08032025_08_28_36_30247.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/f21a69138f7eb9b224dc01b3e535634d.jpg","text":"TemporaryFile(/tmp/multipartBody221344904603413038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741419032354,"filename":"image_08032025_08_29_06_30280.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341777940","file0":"1341777936"},"map_files_photo_id_array":[{"photo_id":"1341777940","filename":"file1"},{"photo_id":"1341777936","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341777940":["hashtag1","hashtag2"]},{"1341777936":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341777940, 1341777936)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 16.98716950416565 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 08:30:02.996599
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 08:30:32.192361
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/08/29/image_08032025_08_30_06_30305.jpg', 2), ('/home/nano/Desktop/images/08032025/08/29/image_08032025_08_29_35_29241.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/08/29/image_08032025_08_30_06_30305.jpg', '/home/nano/Desktop/images/08032025/08/29/image_08032025_08_29_35_29241.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/08/29/image_08032025_08_30_06_30305.jpg
/home/nano/Desktop/images/08032025/08/29/image_08032025_08_29_35_29241.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341778274","1341778276"],"photo_ids_order":["1341778274","1341778276"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/b33fa92e1fefb2977145eae232a552a0.jpg","text":"TemporaryFile(/tmp/multipartBody2795362300193542266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741419092554,"filename":"image_08032025_08_30_06_30305.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/ab8127b6cf7f3209352b488c00320e23.jpg","text":"TemporaryFile(/tmp/multipartBody2781098373008662710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741419092554,"filename":"image_08032025_08_29_35_29241.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341778276","file0":"1341778274"},"map_files_photo_id_array":[{"photo_id":"1341778276","filename":"file1"},{"photo_id":"1341778274","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341778274":["hashtag1","hashtag2"]},{"1341778276":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341778274, 1341778276)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.671383619308472 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 08:31:02.977704
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 08:31:32.283729
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/08/30/image_08032025_08_31_06_30264.jpg', 2), ('/home/nano/Desktop/images/08032025/08/30/image_08032025_08_30_36_30273.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/08/30/image_08032025_08_31_06_30264.jpg', '/home/nano/Desktop/images/08032025/08/30/image_08032025_08_30_36_30273.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/08/30/image_08032025_08_31_06_30264.jpg
/home/nano/Desktop/images/08032025/08/30/image_08032025_08_30_36_30273.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341778301","1341778305"],"photo_ids_order":["1341778301","1341778305"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/0a4e630e6a0532125bc67c44b16eaf37.jpg","text":"TemporaryFile(/tmp/multipartBody1479980369471013646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741419152600,"filename":"image_08032025_08_31_06_30264.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/fa6b763b66c2a17bb6e3a308298f1bcd.jpg","text":"TemporaryFile(/tmp/multipartBody3129161471890850919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741419152600,"filename":"image_08032025_08_30_36_30273.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341778305","file0":"1341778301"},"map_files_photo_id_array":[{"photo_id":"1341778305","filename":"file1"},{"photo_id":"1341778301","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341778301":["hashtag1","hashtag2"]},{"1341778305":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341778301, 1341778305)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 16.22373938560486 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 08:32:03.152915
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 08:32:32.396621
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/08/31/image_08032025_08_32_06_30298.jpg', 2), ('/home/nano/Desktop/images/08032025/08/31/image_08032025_08_31_35_29245.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/08/31/image_08032025_08_32_06_30298.jpg', '/home/nano/Desktop/images/08032025/08/31/image_08032025_08_31_35_29245.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/08/31/image_08032025_08_32_06_30298.jpg
/home/nano/Desktop/images/08032025/08/31/image_08032025_08_31_35_29245.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341778420","1341778414"],"photo_ids_order":["1341778414","1341778420"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/d3806895665fe276d66500e3519027a9.jpg","text":"TemporaryFile(/tmp/multipartBody5572447316100987005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741419212732,"filename":"image_08032025_08_31_35_29245.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/7a8e50964506ac27682ee97490cbb542.jpg","text":"TemporaryFile(/tmp/multipartBody7296255216752851183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741419212732,"filename":"image_08032025_08_32_06_30298.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341778420","file0":"1341778414"},"map_files_photo_id_array":[{"photo_id":"1341778420","filename":"file1"},{"photo_id":"1341778414","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341778420":["hashtag1","hashtag2"]},{"1341778414":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341778420, 1341778414)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.28345799446106 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 08:33:03.374167
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 08:33:32.490201
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/08/32/image_08032025_08_33_05_29261.jpg', 2), ('/home/nano/Desktop/images/08032025/08/32/image_08032025_08_32_36_30254.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/08/32/image_08032025_08_33_05_29261.jpg', '/home/nano/Desktop/images/08032025/08/32/image_08032025_08_32_36_30254.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/08/32/image_08032025_08_33_05_29261.jpg
/home/nano/Desktop/images/08032025/08/32/image_08032025_08_32_36_30254.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341778587","1341778585"],"photo_ids_order":["1341778585","1341778587"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/3b27b129322eca3a5d40dfe749752937.jpg","text":"TemporaryFile(/tmp/multipartBody8728486577364347665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741419272831,"filename":"image_08032025_08_32_36_30254.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/f774aaf94b9bbc12ac704883d578af67.jpg","text":"TemporaryFile(/tmp/multipartBody562918218929893347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741419272831,"filename":"image_08032025_08_33_05_29261.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341778587","file0":"1341778585"},"map_files_photo_id_array":[{"photo_id":"1341778587","filename":"file1"},{"photo_id":"1341778585","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341778587":["hashtag1","hashtag2"]},{"1341778585":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341778587, 1341778585)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 13.98949646949768 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 08:34:03.365649
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 08:34:32.590345
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/08/33/image_08032025_08_34_06_30272.jpg', 2), ('/home/nano/Desktop/images/08032025/08/33/image_08032025_08_33_35_30268.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/08/33/image_08032025_08_34_06_30272.jpg', '/home/nano/Desktop/images/08032025/08/33/image_08032025_08_33_35_30268.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/08/33/image_08032025_08_34_06_30272.jpg
/home/nano/Desktop/images/08032025/08/33/image_08032025_08_33_35_30268.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341779233","1341779224"],"photo_ids_order":["1341779224","1341779233"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/5eba0cd23fec120775d3aa207f0fdc66.jpg","text":"TemporaryFile(/tmp/multipartBody4752713514569312965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741419332917,"filename":"image_08032025_08_33_35_30268.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/2f1bb03de06be0751ddd94a0eadedb81.jpg","text":"TemporaryFile(/tmp/multipartBody714766567090098722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741419332917,"filename":"image_08032025_08_34_06_30272.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341779233","file0":"1341779224"},"map_files_photo_id_array":[{"photo_id":"1341779233","filename":"file1"},{"photo_id":"1341779224","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341779233":["hashtag1","hashtag2"]},{"1341779224":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341779233, 1341779224)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.457139492034912 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 08:35:03.481009
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 08:35:32.700238
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/08/34/image_08032025_08_35_05_29254.jpg', 2), ('/home/nano/Desktop/images/08032025/08/34/image_08032025_08_34_36_30259.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/08/34/image_08032025_08_35_05_29254.jpg', '/home/nano/Desktop/images/08032025/08/34/image_08032025_08_34_36_30259.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/08/34/image_08032025_08_35_05_29254.jpg
/home/nano/Desktop/images/08032025/08/34/image_08032025_08_34_36_30259.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341779475","1341779471"],"photo_ids_order":["1341779471","1341779475"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/77766bf9484804dd87fc80fff9d76a10.jpg","text":"TemporaryFile(/tmp/multipartBody9077283892445748524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741419393030,"filename":"image_08032025_08_34_36_30259.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/af62cc6407104a40b7b37876a2e846da.jpg","text":"TemporaryFile(/tmp/multipartBody8308110532958423087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741419393030,"filename":"image_08032025_08_35_05_29254.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341779475","file0":"1341779471"},"map_files_photo_id_array":[{"photo_id":"1341779475","filename":"file1"},{"photo_id":"1341779471","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341779475":["hashtag1","hashtag2"]},{"1341779471":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341779475, 1341779471)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 22.93235945701599 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 08:36:02.656970
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/08/35/image_08032025_08_36_06_30277.jpg', 2), ('/home/nano/Desktop/images/08032025/08/35/image_08032025_08_35_35_30252.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/08/35/image_08032025_08_36_06_30277.jpg', '/home/nano/Desktop/images/08032025/08/35/image_08032025_08_35_35_30252.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/08/35/image_08032025_08_36_06_30277.jpg
/home/nano/Desktop/images/08032025/08/35/image_08032025_08_35_35_30252.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341779486","1341779489"],"photo_ids_order":["1341779486","1341779489"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/a324c2ceff3ea240e6d2b4ca9ef1aa4e.jpg","text":"TemporaryFile(/tmp/multipartBody450797248641094851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741419423012,"filename":"image_08032025_08_36_06_30277.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/bb8599efa86d1ee9201b49399bc52361.jpg","text":"TemporaryFile(/tmp/multipartBody228957785900854612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741419423012,"filename":"image_08032025_08_35_35_30252.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341779489","file0":"1341779486"},"map_files_photo_id_array":[{"photo_id":"1341779489","filename":"file1"},{"photo_id":"1341779486","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341779486":["hashtag1","hashtag2"]},{"1341779489":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341779486, 1341779489)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.558917045593262 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 08:36:31.819062
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 08:37:02.467069
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 08:37:31.937337
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/08/36/image_08032025_08_37_05_29245.jpg', 2), ('/home/nano/Desktop/images/08032025/08/36/image_08032025_08_36_36_30251.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/08/36/image_08032025_08_37_05_29245.jpg', '/home/nano/Desktop/images/08032025/08/36/image_08032025_08_36_36_30251.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/08/36/image_08032025_08_37_05_29245.jpg
/home/nano/Desktop/images/08032025/08/36/image_08032025_08_36_36_30251.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341779800","1341779758"],"photo_ids_order":["1341779758","1341779800"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/ca55d344d44c7cbf8040d83e4660594a.jpg","text":"TemporaryFile(/tmp/multipartBody7015007286821813674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741419512251,"filename":"image_08032025_08_36_36_30251.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/a271073594894edd9127d1b3b7a36f38.jpg","text":"TemporaryFile(/tmp/multipartBody1521929958813803782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741419512251,"filename":"image_08032025_08_37_05_29245.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341779800","file0":"1341779758"},"map_files_photo_id_array":[{"photo_id":"1341779800","filename":"file1"},{"photo_id":"1341779758","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341779800":["hashtag1","hashtag2"]},{"1341779758":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341779800, 1341779758)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 23.917498350143433 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 08:38:02.849307
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 08:38:32.039563
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/08/37/image_08032025_08_38_06_30273.jpg', 2), ('/home/nano/Desktop/images/08032025/08/37/image_08032025_08_37_36_30254.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/08/37/image_08032025_08_38_06_30273.jpg', '/home/nano/Desktop/images/08032025/08/37/image_08032025_08_37_36_30254.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/08/37/image_08032025_08_38_06_30273.jpg
/home/nano/Desktop/images/08032025/08/37/image_08032025_08_37_36_30254.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341779824","1341779819"],"photo_ids_order":["1341779819","1341779824"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/d53b3bc691066e6cc39d0ea04510e886.jpg","text":"TemporaryFile(/tmp/multipartBody3240134254000425623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741419572375,"filename":"image_08032025_08_37_36_30254.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/be7395173db8613c200187dba6cac654.jpg","text":"TemporaryFile(/tmp/multipartBody4687165528086288355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741419572375,"filename":"image_08032025_08_38_06_30273.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341779824","file0":"1341779819"},"map_files_photo_id_array":[{"photo_id":"1341779824","filename":"file1"},{"photo_id":"1341779819","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341779824":["hashtag1","hashtag2"]},{"1341779819":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341779824, 1341779819)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.778834581375122 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 08:39:03.244410
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 08:39:32.151324
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/08/38/image_08032025_08_39_05_29258.jpg', 2), ('/home/nano/Desktop/images/08032025/08/38/image_08032025_08_38_36_30254.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/08/38/image_08032025_08_39_05_29258.jpg', '/home/nano/Desktop/images/08032025/08/38/image_08032025_08_38_36_30254.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/08/38/image_08032025_08_39_05_29258.jpg
/home/nano/Desktop/images/08032025/08/38/image_08032025_08_38_36_30254.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341780250","1341780246"],"photo_ids_order":["1341780246","1341780250"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/bee637ddf26df2e3398abc95f64bd9d5.jpg","text":"TemporaryFile(/tmp/multipartBody6269865257343289124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741419632481,"filename":"image_08032025_08_38_36_30254.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/28c4e89d813d37b907146c8475186bb6.jpg","text":"TemporaryFile(/tmp/multipartBody813546206472786174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741419632481,"filename":"image_08032025_08_39_05_29258.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341780250","file0":"1341780246"},"map_files_photo_id_array":[{"photo_id":"1341780250","filename":"file1"},{"photo_id":"1341780246","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341780250":["hashtag1","hashtag2"]},{"1341780246":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341780250, 1341780246)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.079556941986084 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 08:40:02.874830
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 08:40:32.327051
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/08/39/image_08032025_08_40_06_30286.jpg', 2), ('/home/nano/Desktop/images/08032025/08/39/image_08032025_08_39_36_30250.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/08/39/image_08032025_08_40_06_30286.jpg', '/home/nano/Desktop/images/08032025/08/39/image_08032025_08_39_36_30250.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/08/39/image_08032025_08_40_06_30286.jpg
/home/nano/Desktop/images/08032025/08/39/image_08032025_08_39_36_30250.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341780277","1341780273"],"photo_ids_order":["1341780273","1341780277"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/2dd884e4b4774c8bec7359abcd035581.jpg","text":"TemporaryFile(/tmp/multipartBody2955289788548275831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741419692659,"filename":"image_08032025_08_39_36_30250.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/ab7cb2c3124837758501d751f522f5f5.jpg","text":"TemporaryFile(/tmp/multipartBody7942018828187653825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741419692659,"filename":"image_08032025_08_40_06_30286.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341780277","file0":"1341780273"},"map_files_photo_id_array":[{"photo_id":"1341780277","filename":"file1"},{"photo_id":"1341780273","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341780277":["hashtag1","hashtag2"]},{"1341780273":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341780277, 1341780273)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.558205366134644 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 08:41:03.233002
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 08:41:32.431364
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/08/40/image_08032025_08_41_05_29286.jpg', 2), ('/home/nano/Desktop/images/08032025/08/40/image_08032025_08_40_36_30248.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/08/40/image_08032025_08_41_05_29286.jpg', '/home/nano/Desktop/images/08032025/08/40/image_08032025_08_40_36_30248.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/08/40/image_08032025_08_41_05_29286.jpg
/home/nano/Desktop/images/08032025/08/40/image_08032025_08_40_36_30248.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341780301","1341780305"],"photo_ids_order":["1341780301","1341780305"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/4490c721b7c3682e42749c744f6ebd77.jpg","text":"TemporaryFile(/tmp/multipartBody7777629200697521598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741419752742,"filename":"image_08032025_08_41_05_29286.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/4ec3e49092001717e8af670739dd6785.jpg","text":"TemporaryFile(/tmp/multipartBody1602496613410600016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741419752742,"filename":"image_08032025_08_40_36_30248.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341780305","file0":"1341780301"},"map_files_photo_id_array":[{"photo_id":"1341780305","filename":"file1"},{"photo_id":"1341780301","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341780301":["hashtag1","hashtag2"]},{"1341780305":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341780301, 1341780305)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.744772672653198 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 08:42:03.526683
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 08:42:32.523974
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/08/41/image_08032025_08_42_06_30293.jpg', 2), ('/home/nano/Desktop/images/08032025/08/41/image_08032025_08_41_36_30278.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/08/41/image_08032025_08_42_06_30293.jpg', '/home/nano/Desktop/images/08032025/08/41/image_08032025_08_41_36_30278.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/08/41/image_08032025_08_42_06_30293.jpg
/home/nano/Desktop/images/08032025/08/41/image_08032025_08_41_36_30278.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341780403","1341780409"],"photo_ids_order":["1341780403","1341780409"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/6d39db16ee48eccf86fda22167595c2d.jpg","text":"TemporaryFile(/tmp/multipartBody7166097423915108609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741419812858,"filename":"image_08032025_08_42_06_30293.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/1ab7c92df6e139478486f570c47b86b0.jpg","text":"TemporaryFile(/tmp/multipartBody8829849454218168079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741419812858,"filename":"image_08032025_08_41_36_30278.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341780409","file0":"1341780403"},"map_files_photo_id_array":[{"photo_id":"1341780409","filename":"file1"},{"photo_id":"1341780403","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341780403":["hashtag1","hashtag2"]},{"1341780409":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341780403, 1341780409)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.257585763931274 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 08:43:03.212727
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 08:43:32.634415
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/08/42/image_08032025_08_43_05_30292.jpg', 2), ('/home/nano/Desktop/images/08032025/08/42/image_08032025_08_42_35_29252.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/08/42/image_08032025_08_43_05_30292.jpg', '/home/nano/Desktop/images/08032025/08/42/image_08032025_08_42_35_29252.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/08/42/image_08032025_08_43_05_30292.jpg
/home/nano/Desktop/images/08032025/08/42/image_08032025_08_42_35_29252.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341780742","1341780707"],"photo_ids_order":["1341780707","1341780742"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/643749bd99794d486e7a83b293f54c1a.jpg","text":"TemporaryFile(/tmp/multipartBody2896507251460192695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741419872960,"filename":"image_08032025_08_42_35_29252.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/a5bb8b0bd8ff2ce5cae60fa268fd8dd2.jpg","text":"TemporaryFile(/tmp/multipartBody8571414113476670646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741419872960,"filename":"image_08032025_08_43_05_30292.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341780742","file0":"1341780707"},"map_files_photo_id_array":[{"photo_id":"1341780742","filename":"file1"},{"photo_id":"1341780707","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341780742":["hashtag1","hashtag2"]},{"1341780707":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341780742, 1341780707)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 22.58087158203125 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 08:44:03.773409
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 08:44:32.763734
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/08/43/image_08032025_08_44_06_30262.jpg', 2), ('/home/nano/Desktop/images/08032025/08/43/image_08032025_08_43_36_30257.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/08/43/image_08032025_08_44_06_30262.jpg', '/home/nano/Desktop/images/08032025/08/43/image_08032025_08_43_36_30257.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/08/43/image_08032025_08_44_06_30262.jpg
/home/nano/Desktop/images/08032025/08/43/image_08032025_08_43_36_30257.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341780959","1341780994"],"photo_ids_order":["1341780959","1341780994"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/3e724ec5b3dd0d274d0de25f53fa45b3.jpg","text":"TemporaryFile(/tmp/multipartBody3566063162227198366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741419933094,"filename":"image_08032025_08_44_06_30262.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/46408f8d981fb8c416262f735fc03fd3.jpg","text":"TemporaryFile(/tmp/multipartBody7816615533948745198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741419933094,"filename":"image_08032025_08_43_36_30257.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341780994","file0":"1341780959"},"map_files_photo_id_array":[{"photo_id":"1341780994","filename":"file1"},{"photo_id":"1341780959","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341780959":["hashtag1","hashtag2"]},{"1341780994":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341780959, 1341780994)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.853768110275269 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 08:45:02.732919
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 08:45:31.835912
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/08/44/image_08032025_08_45_05_30237.jpg', 2), ('/home/nano/Desktop/images/08032025/08/44/image_08032025_08_44_35_29247.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/08/44/image_08032025_08_45_05_30237.jpg', '/home/nano/Desktop/images/08032025/08/44/image_08032025_08_44_35_29247.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/08/44/image_08032025_08_45_05_30237.jpg
/home/nano/Desktop/images/08032025/08/44/image_08032025_08_44_35_29247.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341781355","1341781330"],"photo_ids_order":["1341781330","1341781355"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/1ea32f8646b82b6fc91fc84e8f948ae9.jpg","text":"TemporaryFile(/tmp/multipartBody5992307742886327728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741419992165,"filename":"image_08032025_08_44_35_29247.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/45ae8ffee9db06f81a845b656c1b2eb0.jpg","text":"TemporaryFile(/tmp/multipartBody5231247410023815339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741419992165,"filename":"image_08032025_08_45_05_30237.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341781355","file0":"1341781330"},"map_files_photo_id_array":[{"photo_id":"1341781355","filename":"file1"},{"photo_id":"1341781330","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341781355":["hashtag1","hashtag2"]},{"1341781330":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341781355, 1341781330)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.631759881973267 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 08:46:02.627144
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 08:46:31.949215
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/08/45/image_08032025_08_46_06_30268.jpg', 2), ('/home/nano/Desktop/images/08032025/08/45/image_08032025_08_45_36_30261.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/08/45/image_08032025_08_46_06_30268.jpg', '/home/nano/Desktop/images/08032025/08/45/image_08032025_08_45_36_30261.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/08/45/image_08032025_08_46_06_30268.jpg
/home/nano/Desktop/images/08032025/08/45/image_08032025_08_45_36_30261.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341781719","1341781762"],"photo_ids_order":["1341781719","1341781762"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/548041d3a31dbb670c9f6b2ac9933b56.jpg","text":"TemporaryFile(/tmp/multipartBody8619310323654418213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741420052279,"filename":"image_08032025_08_46_06_30268.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/8c13d5d19948375c6e12a7b03ccd00f9.jpg","text":"TemporaryFile(/tmp/multipartBody1379497448489602810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741420052279,"filename":"image_08032025_08_45_36_30261.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341781762","file0":"1341781719"},"map_files_photo_id_array":[{"photo_id":"1341781762","filename":"file1"},{"photo_id":"1341781719","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341781719":["hashtag1","hashtag2"]},{"1341781762":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341781719, 1341781762)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.464100360870361 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 08:47:02.916661
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/08/46/image_08032025_08_47_06_30290.jpg', 2), ('/home/nano/Desktop/images/08032025/08/46/image_08032025_08_46_35_29245.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/08/46/image_08032025_08_47_06_30290.jpg', '/home/nano/Desktop/images/08032025/08/46/image_08032025_08_46_35_29245.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/08/46/image_08032025_08_47_06_30290.jpg
/home/nano/Desktop/images/08032025/08/46/image_08032025_08_46_35_29245.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341781911","1341782060"],"photo_ids_order":["1341781911","1341782060"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/ffda8422f041e9c31c38d5d72d78a34e.jpg","text":"TemporaryFile(/tmp/multipartBody4069951081800327787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741420083263,"filename":"image_08032025_08_47_06_30290.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/ce78e521aaff1ba7426d769bfb8c937e.jpg","text":"TemporaryFile(/tmp/multipartBody4367188674908003481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741420083263,"filename":"image_08032025_08_46_35_29245.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341782060","file0":"1341781911"},"map_files_photo_id_array":[{"photo_id":"1341782060","filename":"file1"},{"photo_id":"1341781911","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341781911":["hashtag1","hashtag2"]},{"1341782060":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341781911, 1341782060)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 21.17305612564087 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 08:47:32.045306
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 08:48:02.961675
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 08:48:32.146162
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/08/47/image_08032025_08_48_06_30301.jpg', 2), ('/home/nano/Desktop/images/08032025/08/47/image_08032025_08_47_36_30253.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/08/47/image_08032025_08_48_06_30301.jpg', '/home/nano/Desktop/images/08032025/08/47/image_08032025_08_47_36_30253.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/08/47/image_08032025_08_48_06_30301.jpg
/home/nano/Desktop/images/08032025/08/47/image_08032025_08_47_36_30253.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.2473466396331787 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 marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 08:49:03.534106
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/08/47/image_08032025_08_48_06_30301.jpg', 2), ('/home/nano/Desktop/images/08032025/08/47/image_08032025_08_47_36_30253.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/08/47/image_08032025_08_48_06_30301.jpg', '/home/nano/Desktop/images/08032025/08/47/image_08032025_08_47_36_30253.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/08/47/image_08032025_08_48_06_30301.jpg
/home/nano/Desktop/images/08032025/08/47/image_08032025_08_47_36_30253.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341782486","1341782485"],"photo_ids_order":["1341782485","1341782486"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/03ba9263e359770025ae0e040d05bdd5.jpg","text":"TemporaryFile(/tmp/multipartBody5467638986905585833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741420203871,"filename":"image_08032025_08_47_36_30253.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/83ec59755ef4a486175ec4c21e240df0.jpg","text":"TemporaryFile(/tmp/multipartBody2668564297630320485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741420203871,"filename":"image_08032025_08_48_06_30301.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341782486","file0":"1341782485"},"map_files_photo_id_array":[{"photo_id":"1341782486","filename":"file1"},{"photo_id":"1341782485","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341782486":["hashtag1","hashtag2"]},{"1341782485":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341782486, 1341782485)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 18.438091278076172 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 08:49:32.256860
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/08/48/image_08032025_08_49_06_30269.jpg', 2), ('/home/nano/Desktop/images/08032025/08/48/image_08032025_08_48_35_29270.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/08/48/image_08032025_08_49_06_30269.jpg', '/home/nano/Desktop/images/08032025/08/48/image_08032025_08_48_35_29270.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/08/48/image_08032025_08_49_06_30269.jpg
/home/nano/Desktop/images/08032025/08/48/image_08032025_08_48_35_29270.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341782496","1341782500"],"photo_ids_order":["1341782496","1341782500"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/69265b4f0512935c9ff03231051d00c2.jpg","text":"TemporaryFile(/tmp/multipartBody1643557511740836799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741420232582,"filename":"image_08032025_08_49_06_30269.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/8a0b537a5c4e70c7b0488c6414b2c86e.jpg","text":"TemporaryFile(/tmp/multipartBody7593019538053267946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741420232582,"filename":"image_08032025_08_48_35_29270.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341782500","file0":"1341782496"},"map_files_photo_id_array":[{"photo_id":"1341782500","filename":"file1"},{"photo_id":"1341782496","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341782496":["hashtag1","hashtag2"]},{"1341782500":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341782496, 1341782500)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.717100381851196 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 08:50:03.020860
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 08:50:32.399368
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/08/49/image_08032025_08_50_05_29260.jpg', 2), ('/home/nano/Desktop/images/08032025/08/49/image_08032025_08_49_36_30262.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/08/49/image_08032025_08_50_05_29260.jpg', '/home/nano/Desktop/images/08032025/08/49/image_08032025_08_49_36_30262.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/08/49/image_08032025_08_50_05_29260.jpg
/home/nano/Desktop/images/08032025/08/49/image_08032025_08_49_36_30262.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341782531","1341782528"],"photo_ids_order":["1341782528","1341782531"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/166c62d77f72aa0833a4d498d77b65b3.jpg","text":"TemporaryFile(/tmp/multipartBody3837558917803676515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741420293477,"filename":"image_08032025_08_49_36_30262.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/4dda46773270968b689403db81c1a392.jpg","text":"TemporaryFile(/tmp/multipartBody2180357025606920033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741420293477,"filename":"image_08032025_08_50_05_29260.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341782531","file0":"1341782528"},"map_files_photo_id_array":[{"photo_id":"1341782531","filename":"file1"},{"photo_id":"1341782528","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341782531":["hashtag1","hashtag2"]},{"1341782528":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341782531, 1341782528)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 19.35089635848999 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 08:51:03.388985
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 08:51:32.491630
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/08/50/image_08032025_08_51_06_30278.jpg', 2), ('/home/nano/Desktop/images/08032025/08/50/image_08032025_08_50_35_30251.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/08/50/image_08032025_08_51_06_30278.jpg', '/home/nano/Desktop/images/08032025/08/50/image_08032025_08_50_35_30251.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/08/50/image_08032025_08_51_06_30278.jpg
/home/nano/Desktop/images/08032025/08/50/image_08032025_08_50_35_30251.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341782605","1341782608"],"photo_ids_order":["1341782605","1341782608"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/b4dfa364615dfec78160e35057c00257.jpg","text":"TemporaryFile(/tmp/multipartBody8826337477121863064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741420352824,"filename":"image_08032025_08_51_06_30278.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/ed21a11189e99f7af2b4868a60fac8c3.jpg","text":"TemporaryFile(/tmp/multipartBody2039584837609204804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741420352824,"filename":"image_08032025_08_50_35_30251.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341782608","file0":"1341782605"},"map_files_photo_id_array":[{"photo_id":"1341782608","filename":"file1"},{"photo_id":"1341782605","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341782605":["hashtag1","hashtag2"]},{"1341782608":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341782605, 1341782608)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.954251289367676 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 08:52:03.456921
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 08:52:32.624319
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/08/51/image_08032025_08_51_36_30246.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/08/51/image_08032025_08_51_36_30246.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/08/51/image_08032025_08_51_36_30246.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341782701"],"photo_id":"1341782701","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/180e528d8233e6a629e9881d2707a453.jpg","text":"TemporaryFile(/tmp/multipartBody6238828735789773280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741420413021,"filename":"image_08032025_08_51_36_30246.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1341782701"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1341782701"}],"hashtags":[],"portfolio_id":"21163824","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 12.75121521949768 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 08:53:03.455755
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 08:53:32.770827
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/08/52/image_08032025_08_53_06_30275.jpg', 2), ('/home/nano/Desktop/images/08032025/08/52/image_08032025_08_52_35_30245.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/08/52/image_08032025_08_53_06_30275.jpg', '/home/nano/Desktop/images/08032025/08/52/image_08032025_08_52_35_30245.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/08/52/image_08032025_08_53_06_30275.jpg
/home/nano/Desktop/images/08032025/08/52/image_08032025_08_52_35_30245.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341782848","1341782853"],"photo_ids_order":["1341782848","1341782853"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/a8e53cf6d459ead12f3f6fbcb7d3006d.jpg","text":"TemporaryFile(/tmp/multipartBody8846976516646353477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741420473081,"filename":"image_08032025_08_53_06_30275.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/6c789d060a0ab0d70c149b3a1e08d549.jpg","text":"TemporaryFile(/tmp/multipartBody8078169573575413502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741420473081,"filename":"image_08032025_08_52_35_30245.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341782853","file0":"1341782848"},"map_files_photo_id_array":[{"photo_id":"1341782853","filename":"file1"},{"photo_id":"1341782848","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341782848":["hashtag1","hashtag2"]},{"1341782853":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341782848, 1341782853)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.390925645828247 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 08:54:03.062670
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 08:54:31.891992
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/08/53/image_08032025_08_54_05_29267.jpg', 2), ('/home/nano/Desktop/images/08032025/08/53/image_08032025_08_53_36_30247.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/08/53/image_08032025_08_54_05_29267.jpg', '/home/nano/Desktop/images/08032025/08/53/image_08032025_08_53_36_30247.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/08/53/image_08032025_08_54_05_29267.jpg
/home/nano/Desktop/images/08032025/08/53/image_08032025_08_53_36_30247.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341782916","1341782913"],"photo_ids_order":["1341782913","1341782916"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/fdcf62e7de64792e203ba20e92e4cb01.jpg","text":"TemporaryFile(/tmp/multipartBody4886245342609004936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741420532216,"filename":"image_08032025_08_53_36_30247.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/216bb82b5f68cf35bbfd7e0cf8ca6596.jpg","text":"TemporaryFile(/tmp/multipartBody8792077125764942458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741420532216,"filename":"image_08032025_08_54_05_29267.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341782916","file0":"1341782913"},"map_files_photo_id_array":[{"photo_id":"1341782916","filename":"file1"},{"photo_id":"1341782913","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341782916":["hashtag1","hashtag2"]},{"1341782913":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341782916, 1341782913)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.581458568572998 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 08:55:02.720201
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 08:55:31.995940
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/08/54/image_08032025_08_55_06_30283.jpg', 2), ('/home/nano/Desktop/images/08032025/08/54/image_08032025_08_54_36_30259.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/08/54/image_08032025_08_55_06_30283.jpg', '/home/nano/Desktop/images/08032025/08/54/image_08032025_08_54_36_30259.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/08/54/image_08032025_08_55_06_30283.jpg
/home/nano/Desktop/images/08032025/08/54/image_08032025_08_54_36_30259.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341782982","1341782976"],"photo_ids_order":["1341782976","1341782982"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/c85cbf5072657f2516de702411c98480.jpg","text":"TemporaryFile(/tmp/multipartBody3226914598699347330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741420592321,"filename":"image_08032025_08_54_36_30259.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/33dd3722ba27743cc63ddb3511609f9a.jpg","text":"TemporaryFile(/tmp/multipartBody1812308211864467123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741420592321,"filename":"image_08032025_08_55_06_30283.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341782982","file0":"1341782976"},"map_files_photo_id_array":[{"photo_id":"1341782982","filename":"file1"},{"photo_id":"1341782976","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341782982":["hashtag1","hashtag2"]},{"1341782976":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341782982, 1341782976)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 19.375088214874268 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 08:56:02.880331
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 08:56:32.087253
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/08/55/image_08032025_08_56_05_29266.jpg', 2), ('/home/nano/Desktop/images/08032025/08/55/image_08032025_08_55_36_30298.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/08/55/image_08032025_08_56_05_29266.jpg', '/home/nano/Desktop/images/08032025/08/55/image_08032025_08_55_36_30298.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/08/55/image_08032025_08_56_05_29266.jpg
/home/nano/Desktop/images/08032025/08/55/image_08032025_08_55_36_30298.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341783210","1341783267"],"photo_ids_order":["1341783210","1341783267"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/4d537f9c741b78d4127d1d3ff59537a5.jpg","text":"TemporaryFile(/tmp/multipartBody3488861774840331138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741420652399,"filename":"image_08032025_08_56_05_29266.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/b18b4537f1348951f49b4d9c4034df24.jpg","text":"TemporaryFile(/tmp/multipartBody8885606972206076179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741420652399,"filename":"image_08032025_08_55_36_30298.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341783267","file0":"1341783210"},"map_files_photo_id_array":[{"photo_id":"1341783267","filename":"file1"},{"photo_id":"1341783210","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341783210":["hashtag1","hashtag2"]},{"1341783267":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341783210, 1341783267)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 19.099844932556152 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 08:57:03.007009
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 08:57:32.191728
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/08/56/image_08032025_08_57_06_30249.jpg', 2), ('/home/nano/Desktop/images/08032025/08/56/image_08032025_08_56_36_30255.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/08/56/image_08032025_08_57_06_30249.jpg', '/home/nano/Desktop/images/08032025/08/56/image_08032025_08_56_36_30255.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/08/56/image_08032025_08_57_06_30249.jpg
/home/nano/Desktop/images/08032025/08/56/image_08032025_08_56_36_30255.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341783903","1341783831"],"photo_ids_order":["1341783831","1341783903"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/076c29d1e0413574357ddee8b6c37ae9.jpg","text":"TemporaryFile(/tmp/multipartBody5985642832146415452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741420712514,"filename":"image_08032025_08_56_36_30255.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/c0315a7e2cb61dc208405c43b89d7f3b.jpg","text":"TemporaryFile(/tmp/multipartBody5565143755563953210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741420712514,"filename":"image_08032025_08_57_06_30249.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341783903","file0":"1341783831"},"map_files_photo_id_array":[{"photo_id":"1341783903","filename":"file1"},{"photo_id":"1341783831","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341783903":["hashtag1","hashtag2"]},{"1341783831":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341783903, 1341783831)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 16.034425497055054 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 08:59:03.235376
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/08/57/image_08032025_08_58_05_30283.jpg', 2), ('/home/nano/Desktop/images/08032025/08/57/image_08032025_08_57_35_29262.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/08/57/image_08032025_08_58_05_30283.jpg', '/home/nano/Desktop/images/08032025/08/57/image_08032025_08_57_35_29262.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/08/57/image_08032025_08_58_05_30283.jpg
/home/nano/Desktop/images/08032025/08/57/image_08032025_08_57_35_29262.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341784808","1341784779"],"photo_ids_order":["1341784779","1341784808"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/198c8866b302ebc4f275ef0bb297c3f8.jpg","text":"TemporaryFile(/tmp/multipartBody5895881301749494325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741420803584,"filename":"image_08032025_08_57_35_29262.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/25e41c4c711b34f5879c3e5272fd0e39.jpg","text":"TemporaryFile(/tmp/multipartBody7824476686813351455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741420803584,"filename":"image_08032025_08_58_05_30283.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341784808","file0":"1341784779"},"map_files_photo_id_array":[{"photo_id":"1341784808","filename":"file1"},{"photo_id":"1341784779","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341784808":["hashtag1","hashtag2"]},{"1341784779":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341784808, 1341784779)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.285150289535522 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 08:59:32.193819
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/08/58/image_08032025_08_59_06_30270.jpg', 2), ('/home/nano/Desktop/images/08032025/08/58/image_08032025_08_58_36_30240.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/08/58/image_08032025_08_59_06_30270.jpg', '/home/nano/Desktop/images/08032025/08/58/image_08032025_08_58_36_30240.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/08/58/image_08032025_08_59_06_30270.jpg
/home/nano/Desktop/images/08032025/08/58/image_08032025_08_58_36_30240.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341784941","1341784988"],"photo_ids_order":["1341784941","1341784988"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/65bada1ed4a679e8edfb96b6f3e76cd4.jpg","text":"TemporaryFile(/tmp/multipartBody4048012495677770286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741420832534,"filename":"image_08032025_08_59_06_30270.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/4f68f5eb3f5f5f52bcb88c8e7ae116ce.jpg","text":"TemporaryFile(/tmp/multipartBody268791217953136884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741420832534,"filename":"image_08032025_08_58_36_30240.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341784988","file0":"1341784941"},"map_files_photo_id_array":[{"photo_id":"1341784988","filename":"file1"},{"photo_id":"1341784941","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341784941":["hashtag1","hashtag2"]},{"1341784988":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341784941, 1341784988)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.474813222885132 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 09:00:03.185901
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 09:00:32.324311
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/08/59/image_08032025_09_00_05_30278.jpg', 2), ('/home/nano/Desktop/images/08032025/08/59/image_08032025_08_59_35_29230.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/08/59/image_08032025_09_00_05_30278.jpg', '/home/nano/Desktop/images/08032025/08/59/image_08032025_08_59_35_29230.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/08/59/image_08032025_09_00_05_30278.jpg
/home/nano/Desktop/images/08032025/08/59/image_08032025_08_59_35_29230.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341785326","1341785306"],"photo_ids_order":["1341785306","1341785326"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/25a98724e206f3aadd934101d3df542f.jpg","text":"TemporaryFile(/tmp/multipartBody5100875616006308816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741420892658,"filename":"image_08032025_08_59_35_29230.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/ed8fa24a959b9d51433e858c356f0768.jpg","text":"TemporaryFile(/tmp/multipartBody3008575939003243686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741420892658,"filename":"image_08032025_09_00_05_30278.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341785326","file0":"1341785306"},"map_files_photo_id_array":[{"photo_id":"1341785326","filename":"file1"},{"photo_id":"1341785306","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341785326":["hashtag1","hashtag2"]},{"1341785306":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341785326, 1341785306)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.031079769134521 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 09:01:03.198904
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 09:01:32.396180
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/09/00/image_08032025_09_01_06_30277.jpg', 2), ('/home/nano/Desktop/images/08032025/09/00/image_08032025_09_00_36_30263.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/09/00/image_08032025_09_01_06_30277.jpg', '/home/nano/Desktop/images/08032025/09/00/image_08032025_09_00_36_30263.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/09/00/image_08032025_09_01_06_30277.jpg
/home/nano/Desktop/images/08032025/09/00/image_08032025_09_00_36_30263.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341785671","1341785635"],"photo_ids_order":["1341785635","1341785671"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/d534e047a4e98739e52079c8edeb8d0b.jpg","text":"TemporaryFile(/tmp/multipartBody5114015949760525797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741420952792,"filename":"image_08032025_09_00_36_30263.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/490b90214136ad300b85292cf4e9a50e.jpg","text":"TemporaryFile(/tmp/multipartBody2338094004094780939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741420952792,"filename":"image_08032025_09_01_06_30277.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341785671","file0":"1341785635"},"map_files_photo_id_array":[{"photo_id":"1341785671","filename":"file1"},{"photo_id":"1341785635","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341785671":["hashtag1","hashtag2"]},{"1341785635":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341785671, 1341785635)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.440601825714111 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 09:02:03.478069
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 09:02:32.497372
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/09/01/image_08032025_09_02_06_30289.jpg', 2), ('/home/nano/Desktop/images/08032025/09/01/image_08032025_09_01_35_29246.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/09/01/image_08032025_09_02_06_30289.jpg', '/home/nano/Desktop/images/08032025/09/01/image_08032025_09_01_35_29246.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/09/01/image_08032025_09_02_06_30289.jpg
/home/nano/Desktop/images/08032025/09/01/image_08032025_09_01_35_29246.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341786042","1341786014"],"photo_ids_order":["1341786014","1341786042"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/d399b981dec56af09966ea37af15a306.jpg","text":"TemporaryFile(/tmp/multipartBody107679788070639190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741421012826,"filename":"image_08032025_09_01_35_29246.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/d185a4a7d49a5ce92104a0dd78d14303.jpg","text":"TemporaryFile(/tmp/multipartBody7396504526714753915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741421012826,"filename":"image_08032025_09_02_06_30289.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341786042","file0":"1341786014"},"map_files_photo_id_array":[{"photo_id":"1341786042","filename":"file1"},{"photo_id":"1341786014","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341786042":["hashtag1","hashtag2"]},{"1341786014":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341786042, 1341786014)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 16.934308528900146 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 09:03:03.335866
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 09:03:32.610689
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/09/02/image_08032025_09_03_06_30255.jpg', 2), ('/home/nano/Desktop/images/08032025/09/02/image_08032025_09_02_36_30255.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/09/02/image_08032025_09_03_06_30255.jpg', '/home/nano/Desktop/images/08032025/09/02/image_08032025_09_02_36_30255.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/09/02/image_08032025_09_03_06_30255.jpg
/home/nano/Desktop/images/08032025/09/02/image_08032025_09_02_36_30255.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341786433","1341786410"],"photo_ids_order":["1341786410","1341786433"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/292b393fb6148cc86e80bdc8b5d54f95.jpg","text":"TemporaryFile(/tmp/multipartBody2683094930550103919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741421072926,"filename":"image_08032025_09_02_36_30255.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/6bd45138403133af796a877f2c959f2d.jpg","text":"TemporaryFile(/tmp/multipartBody6080890205506750122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741421072926,"filename":"image_08032025_09_03_06_30255.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341786433","file0":"1341786410"},"map_files_photo_id_array":[{"photo_id":"1341786433","filename":"file1"},{"photo_id":"1341786410","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341786433":["hashtag1","hashtag2"]},{"1341786410":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341786433, 1341786410)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.021361589431763 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 09:04:03.920761
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 09:04:32.710789
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/09/03/image_08032025_09_04_06_30307.jpg', 2), ('/home/nano/Desktop/images/08032025/09/03/image_08032025_09_03_35_29268.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/09/03/image_08032025_09_04_06_30307.jpg', '/home/nano/Desktop/images/08032025/09/03/image_08032025_09_03_35_29268.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/09/03/image_08032025_09_04_06_30307.jpg
/home/nano/Desktop/images/08032025/09/03/image_08032025_09_03_35_29268.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341786670","1341786693"],"photo_ids_order":["1341786670","1341786693"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/a94e386b33b6b9b03c6f3b3b1f069087.jpg","text":"TemporaryFile(/tmp/multipartBody2387255738618536587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741421133048,"filename":"image_08032025_09_04_06_30307.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/9925193b9439f3457922cd5435154742.jpg","text":"TemporaryFile(/tmp/multipartBody5588533724401244440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741421133048,"filename":"image_08032025_09_03_35_29268.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341786693","file0":"1341786670"},"map_files_photo_id_array":[{"photo_id":"1341786693","filename":"file1"},{"photo_id":"1341786670","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341786670":["hashtag1","hashtag2"]},{"1341786693":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341786670, 1341786693)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.448252439498901 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 09:05:02.641150
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 09:05:31.831165
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/09/04/image_08032025_09_05_05_29256.jpg', 2), ('/home/nano/Desktop/images/08032025/09/04/image_08032025_09_04_36_30280.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/09/04/image_08032025_09_05_05_29256.jpg', '/home/nano/Desktop/images/08032025/09/04/image_08032025_09_04_36_30280.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/09/04/image_08032025_09_05_05_29256.jpg
/home/nano/Desktop/images/08032025/09/04/image_08032025_09_04_36_30280.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341786829","1341786849"],"photo_ids_order":["1341786829","1341786849"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/6a884dbb9899dbb80898a839e75cd139.jpg","text":"TemporaryFile(/tmp/multipartBody5343903470544910981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741421192160,"filename":"image_08032025_09_05_05_29256.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/ac269428f58a963a939a8f4149a6f5e1.jpg","text":"TemporaryFile(/tmp/multipartBody5346871034202117500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741421192160,"filename":"image_08032025_09_04_36_30280.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341786849","file0":"1341786829"},"map_files_photo_id_array":[{"photo_id":"1341786849","filename":"file1"},{"photo_id":"1341786829","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341786829":["hashtag1","hashtag2"]},{"1341786849":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341786829, 1341786849)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.352974891662598 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 09:06:02.569207
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 09:06:31.965784
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/09/05/image_08032025_09_06_06_30269.jpg', 2), ('/home/nano/Desktop/images/08032025/09/05/image_08032025_09_05_35_30253.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/09/05/image_08032025_09_06_06_30269.jpg', '/home/nano/Desktop/images/08032025/09/05/image_08032025_09_05_35_30253.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/09/05/image_08032025_09_06_06_30269.jpg
/home/nano/Desktop/images/08032025/09/05/image_08032025_09_05_35_30253.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341787177","1341787147"],"photo_ids_order":["1341787147","1341787177"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/d813d4da6f347e689f33583cd1ab9cba.jpg","text":"TemporaryFile(/tmp/multipartBody8091687320677647479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741421252304,"filename":"image_08032025_09_05_35_30253.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/ff60236080b52c8b7624175ebc3df4f4.jpg","text":"TemporaryFile(/tmp/multipartBody7329014215381995742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741421252304,"filename":"image_08032025_09_06_06_30269.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341787177","file0":"1341787147"},"map_files_photo_id_array":[{"photo_id":"1341787177","filename":"file1"},{"photo_id":"1341787147","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341787177":["hashtag1","hashtag2"]},{"1341787147":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341787177, 1341787147)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.613749265670776 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 09:07:02.769772
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 09:07:32.058810
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/09/06/image_08032025_09_07_05_29282.jpg', 2), ('/home/nano/Desktop/images/08032025/09/06/image_08032025_09_06_36_30261.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/09/06/image_08032025_09_07_05_29282.jpg', '/home/nano/Desktop/images/08032025/09/06/image_08032025_09_06_36_30261.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/09/06/image_08032025_09_07_05_29282.jpg
/home/nano/Desktop/images/08032025/09/06/image_08032025_09_06_36_30261.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341787356","1341787349"],"photo_ids_order":["1341787349","1341787356"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/032a0751954cf84c8e387f5622c83bef.jpg","text":"TemporaryFile(/tmp/multipartBody4254062760027297720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741421312448,"filename":"image_08032025_09_06_36_30261.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/8704c9f1b312872935a7416b40b4fcfa.jpg","text":"TemporaryFile(/tmp/multipartBody4337652512899170432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741421312448,"filename":"image_08032025_09_07_05_29282.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341787356","file0":"1341787349"},"map_files_photo_id_array":[{"photo_id":"1341787356","filename":"file1"},{"photo_id":"1341787349","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341787356":["hashtag1","hashtag2"]},{"1341787349":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341787356, 1341787349)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.644081115722656 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 09:08:02.971289
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 09:08:32.223241
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/09/07/image_08032025_09_08_06_30250.jpg', 2), ('/home/nano/Desktop/images/08032025/09/07/image_08032025_09_07_35_30259.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/09/07/image_08032025_09_08_06_30250.jpg', '/home/nano/Desktop/images/08032025/09/07/image_08032025_09_07_35_30259.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/09/07/image_08032025_09_08_06_30250.jpg
/home/nano/Desktop/images/08032025/09/07/image_08032025_09_07_35_30259.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341787383","1341787378"],"photo_ids_order":["1341787378","1341787383"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/e3641384367b9d7b68a42eff1049428c.jpg","text":"TemporaryFile(/tmp/multipartBody3760946257164600489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741421372558,"filename":"image_08032025_09_07_35_30259.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/7e5d39ad8a6efbeebca524d471098793.jpg","text":"TemporaryFile(/tmp/multipartBody6242027077371044393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741421372558,"filename":"image_08032025_09_08_06_30250.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341787383","file0":"1341787378"},"map_files_photo_id_array":[{"photo_id":"1341787383","filename":"file1"},{"photo_id":"1341787378","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341787383":["hashtag1","hashtag2"]},{"1341787378":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341787383, 1341787378)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.741949558258057 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 09:09:03.486435
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 09:09:32.288865
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/09/08/image_08032025_09_09_05_29278.jpg', 2), ('/home/nano/Desktop/images/08032025/09/08/image_08032025_09_08_36_30261.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/09/08/image_08032025_09_09_05_29278.jpg', '/home/nano/Desktop/images/08032025/09/08/image_08032025_09_08_36_30261.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/09/08/image_08032025_09_09_05_29278.jpg
/home/nano/Desktop/images/08032025/09/08/image_08032025_09_08_36_30261.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341787455","1341787448"],"photo_ids_order":["1341787448","1341787455"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/b4136e81a26babf2d411fdf0dfb5dde5.jpg","text":"TemporaryFile(/tmp/multipartBody2559504457247588712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741421432648,"filename":"image_08032025_09_08_36_30261.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/b124b2f14adf6723eb0c12b5354796ae.jpg","text":"TemporaryFile(/tmp/multipartBody3657311642471981427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741421432648,"filename":"image_08032025_09_09_05_29278.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341787455","file0":"1341787448"},"map_files_photo_id_array":[{"photo_id":"1341787455","filename":"file1"},{"photo_id":"1341787448","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341787455":["hashtag1","hashtag2"]},{"1341787448":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341787455, 1341787448)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.786375999450684 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 09:10:03.263989
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/09/09/image_08032025_09_10_06_30300.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/09/09/image_08032025_09_10_06_30300.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/09/09/image_08032025_09_10_06_30300.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341787488"],"photo_id":"1341787488","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/09107423b1e95a6d34d6338485bd8079.jpg","text":"TemporaryFile(/tmp/multipartBody6503563075688782574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741421463592,"filename":"image_08032025_09_10_06_30300.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1341787488"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1341787488"}],"hashtags":[],"portfolio_id":"21163824","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 17.94815683364868 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 09:10:32.384976
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/09/09/image_08032025_09_09_35_30244.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/09/09/image_08032025_09_09_35_30244.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/09/09/image_08032025_09_09_35_30244.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341787539"],"photo_id":"1341787539","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/a4ed1f73d11a9e7cb3263452a5f193b6.jpg","text":"TemporaryFile(/tmp/multipartBody7243005839227806002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741421492700,"filename":"image_08032025_09_09_35_30244.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1341787539"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1341787539"}],"hashtags":[],"portfolio_id":"21163824","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 10.66347622871399 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 09:11:03.453189
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 09:11:32.492528
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/09/10/image_08032025_09_11_05_29258.jpg', 2), ('/home/nano/Desktop/images/08032025/09/10/image_08032025_09_10_36_30225.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/09/10/image_08032025_09_11_05_29258.jpg', '/home/nano/Desktop/images/08032025/09/10/image_08032025_09_10_36_30225.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/09/10/image_08032025_09_11_05_29258.jpg
/home/nano/Desktop/images/08032025/09/10/image_08032025_09_10_36_30225.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341787888","1341787873"],"photo_ids_order":["1341787873","1341787888"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/8f9c05390837636a8eb3c48ed77e595d.jpg","text":"TemporaryFile(/tmp/multipartBody7391371384355790198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741421552912,"filename":"image_08032025_09_10_36_30225.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/cfa7a509d36804b7ecb70ac9629764c4.jpg","text":"TemporaryFile(/tmp/multipartBody6715317550369809895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741421552912,"filename":"image_08032025_09_11_05_29258.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341787888","file0":"1341787873"},"map_files_photo_id_array":[{"photo_id":"1341787888","filename":"file1"},{"photo_id":"1341787873","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341787888":["hashtag1","hashtag2"]},{"1341787873":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341787888, 1341787873)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.903106927871704 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 09:12:03.285922
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 09:12:32.576240
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/09/11/image_08032025_09_12_06_30259.jpg', 2), ('/home/nano/Desktop/images/08032025/09/11/image_08032025_09_11_36_30245.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/09/11/image_08032025_09_12_06_30259.jpg', '/home/nano/Desktop/images/08032025/09/11/image_08032025_09_11_36_30245.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/09/11/image_08032025_09_12_06_30259.jpg
/home/nano/Desktop/images/08032025/09/11/image_08032025_09_11_36_30245.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341787940","1341787999"],"photo_ids_order":["1341787940","1341787999"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/3e700941b27389ada1d40cd79d2cc9f1.jpg","text":"TemporaryFile(/tmp/multipartBody1276164681016987370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741421612948,"filename":"image_08032025_09_12_06_30259.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/383f2af164396b8d6dcb29e4cd1f8d56.jpg","text":"TemporaryFile(/tmp/multipartBody6618547292752533486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741421612948,"filename":"image_08032025_09_11_36_30245.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341787999","file0":"1341787940"},"map_files_photo_id_array":[{"photo_id":"1341787999","filename":"file1"},{"photo_id":"1341787940","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341787940":["hashtag1","hashtag2"]},{"1341787999":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341787940, 1341787999)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.449458599090576 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 09:13:03.499494
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 09:13:32.705943
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/09/12/image_08032025_09_13_05_29183.jpg', 2), ('/home/nano/Desktop/images/08032025/09/12/image_08032025_09_12_36_30243.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/09/12/image_08032025_09_13_05_29183.jpg', '/home/nano/Desktop/images/08032025/09/12/image_08032025_09_12_36_30243.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/09/12/image_08032025_09_13_05_29183.jpg
/home/nano/Desktop/images/08032025/09/12/image_08032025_09_12_36_30243.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341788486","1341788481"],"photo_ids_order":["1341788481","1341788486"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/b387779cdcd1805155cdc6745cba05c0.jpg","text":"TemporaryFile(/tmp/multipartBody4100434012479703234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741421673105,"filename":"image_08032025_09_12_36_30243.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/c7efba22577bb6ed3df2b8eb9f1e0a8a.jpg","text":"TemporaryFile(/tmp/multipartBody4551358595042015502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741421673105,"filename":"image_08032025_09_13_05_29183.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341788486","file0":"1341788481"},"map_files_photo_id_array":[{"photo_id":"1341788486","filename":"file1"},{"photo_id":"1341788481","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341788486":["hashtag1","hashtag2"]},{"1341788481":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341788486, 1341788481)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.8757803440094 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 09:14:02.652993
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 09:14:31.800933
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/09/13/image_08032025_09_14_06_30258.jpg', 2), ('/home/nano/Desktop/images/08032025/09/13/image_08032025_09_13_35_30222.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/09/13/image_08032025_09_14_06_30258.jpg', '/home/nano/Desktop/images/08032025/09/13/image_08032025_09_13_35_30222.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/09/13/image_08032025_09_14_06_30258.jpg
/home/nano/Desktop/images/08032025/09/13/image_08032025_09_13_35_30222.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341788571","1341788577"],"photo_ids_order":["1341788571","1341788577"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/f078fd53d599113854459e385b94bb15.jpg","text":"TemporaryFile(/tmp/multipartBody7033615200854195066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741421732121,"filename":"image_08032025_09_14_06_30258.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/f94447b84626e5c3cdc6eecf6d47762a.jpg","text":"TemporaryFile(/tmp/multipartBody7301265910287247020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741421732121,"filename":"image_08032025_09_13_35_30222.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341788577","file0":"1341788571"},"map_files_photo_id_array":[{"photo_id":"1341788577","filename":"file1"},{"photo_id":"1341788571","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341788571":["hashtag1","hashtag2"]},{"1341788577":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341788571, 1341788577)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.004097938537598 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 09:15:02.715970
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 09:15:32.004811
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/09/14/image_08032025_09_15_05_29309.jpg', 2), ('/home/nano/Desktop/images/08032025/09/14/image_08032025_09_14_36_30270.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/09/14/image_08032025_09_15_05_29309.jpg', '/home/nano/Desktop/images/08032025/09/14/image_08032025_09_14_36_30270.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/09/14/image_08032025_09_15_05_29309.jpg
/home/nano/Desktop/images/08032025/09/14/image_08032025_09_14_36_30270.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341789110","1341789103"],"photo_ids_order":["1341789103","1341789110"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/f64035884485808a1c9a5b7513976c52.jpg","text":"TemporaryFile(/tmp/multipartBody4093557901927397987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741421792379,"filename":"image_08032025_09_14_36_30270.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/7c5191f5fb36f36f0320069258fc6e7d.jpg","text":"TemporaryFile(/tmp/multipartBody3291448441544916155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741421792379,"filename":"image_08032025_09_15_05_29309.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341789110","file0":"1341789103"},"map_files_photo_id_array":[{"photo_id":"1341789110","filename":"file1"},{"photo_id":"1341789103","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341789110":["hashtag1","hashtag2"]},{"1341789103":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341789110, 1341789103)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 16.943702459335327 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 09:16:02.931015
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 09:16:32.143414
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/09/15/image_08032025_09_16_06_30311.jpg', 2), ('/home/nano/Desktop/images/08032025/09/15/image_08032025_09_15_36_30249.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/09/15/image_08032025_09_16_06_30311.jpg', '/home/nano/Desktop/images/08032025/09/15/image_08032025_09_15_36_30249.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/09/15/image_08032025_09_16_06_30311.jpg
/home/nano/Desktop/images/08032025/09/15/image_08032025_09_15_36_30249.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341789434","1341789415"],"photo_ids_order":["1341789415","1341789434"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/3ceb934138b3925b046a9b1fc08e8b8f.jpg","text":"TemporaryFile(/tmp/multipartBody116419806003300504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741421852536,"filename":"image_08032025_09_15_36_30249.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/de19de23e71fcea4c98bec7cd0d6b269.jpg","text":"TemporaryFile(/tmp/multipartBody3287077660302476157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741421852536,"filename":"image_08032025_09_16_06_30311.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341789434","file0":"1341789415"},"map_files_photo_id_array":[{"photo_id":"1341789434","filename":"file1"},{"photo_id":"1341789415","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341789434":["hashtag1","hashtag2"]},{"1341789415":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341789434, 1341789415)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 16.162039041519165 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 09:17:03.014316
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 09:17:32.227744
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/09/16/image_08032025_09_17_05_29269.jpg', 2), ('/home/nano/Desktop/images/08032025/09/16/image_08032025_09_16_36_30253.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/09/16/image_08032025_09_17_05_29269.jpg', '/home/nano/Desktop/images/08032025/09/16/image_08032025_09_16_36_30253.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/09/16/image_08032025_09_17_05_29269.jpg
/home/nano/Desktop/images/08032025/09/16/image_08032025_09_16_36_30253.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341789628","1341789603"],"photo_ids_order":["1341789603","1341789628"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/3711f2a66d092854e3baece61d26d9b9.jpg","text":"TemporaryFile(/tmp/multipartBody8748738958885863402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741421912611,"filename":"image_08032025_09_16_36_30253.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/aec154ff42dfa876a758406afa8f5b25.jpg","text":"TemporaryFile(/tmp/multipartBody8361961989452602139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741421912611,"filename":"image_08032025_09_17_05_29269.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341789628","file0":"1341789603"},"map_files_photo_id_array":[{"photo_id":"1341789628","filename":"file1"},{"photo_id":"1341789603","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341789628":["hashtag1","hashtag2"]},{"1341789603":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341789628, 1341789603)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.560811519622803 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 09:18:03.106130
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 09:18:32.368012
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/09/17/image_08032025_09_18_06_30269.jpg', 2), ('/home/nano/Desktop/images/08032025/09/17/image_08032025_09_17_36_30247.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/09/17/image_08032025_09_18_06_30269.jpg', '/home/nano/Desktop/images/08032025/09/17/image_08032025_09_17_36_30247.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/09/17/image_08032025_09_18_06_30269.jpg
/home/nano/Desktop/images/08032025/09/17/image_08032025_09_17_36_30247.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341790011","1341790007"],"photo_ids_order":["1341790007","1341790011"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/e19807de6aad6f6723181a6f732362d8.jpg","text":"TemporaryFile(/tmp/multipartBody4980508871746171795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741421972740,"filename":"image_08032025_09_17_36_30247.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/a76cda60f745ccb0fc675c8deeb431b6.jpg","text":"TemporaryFile(/tmp/multipartBody1051557554427414137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741421972740,"filename":"image_08032025_09_18_06_30269.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341790011","file0":"1341790007"},"map_files_photo_id_array":[{"photo_id":"1341790011","filename":"file1"},{"photo_id":"1341790007","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341790011":["hashtag1","hashtag2"]},{"1341790007":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341790011, 1341790007)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.28083062171936 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 09:19:03.491613
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 09:19:32.481011
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/09/18/image_08032025_09_19_05_30282.jpg', 2), ('/home/nano/Desktop/images/08032025/09/18/image_08032025_09_18_35_29245.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/09/18/image_08032025_09_19_05_30282.jpg', '/home/nano/Desktop/images/08032025/09/18/image_08032025_09_18_35_29245.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/09/18/image_08032025_09_19_05_30282.jpg
/home/nano/Desktop/images/08032025/09/18/image_08032025_09_18_35_29245.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.29661989212036133 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 marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 09:20:03.470644
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/09/18/image_08032025_09_19_05_30282.jpg', 2), ('/home/nano/Desktop/images/08032025/09/18/image_08032025_09_18_35_29245.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/09/18/image_08032025_09_19_05_30282.jpg', '/home/nano/Desktop/images/08032025/09/18/image_08032025_09_18_35_29245.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/09/18/image_08032025_09_19_05_30282.jpg
/home/nano/Desktop/images/08032025/09/18/image_08032025_09_18_35_29245.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341790358","1341790355"],"photo_ids_order":["1341790355","1341790358"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/2b8ec8f13899ba91b45fd2dc1b00fcb7.jpg","text":"TemporaryFile(/tmp/multipartBody8258948245324155717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741422063820,"filename":"image_08032025_09_18_35_29245.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/e6240918f90cfd89037a29b91c41c219.jpg","text":"TemporaryFile(/tmp/multipartBody648511579564163476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741422063820,"filename":"image_08032025_09_19_05_30282.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341790358","file0":"1341790355"},"map_files_photo_id_array":[{"photo_id":"1341790358","filename":"file1"},{"photo_id":"1341790355","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341790358":["hashtag1","hashtag2"]},{"1341790355":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341790358, 1341790355)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.401642560958862 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 09:20:32.588070
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/09/19/image_08032025_09_20_06_30275.jpg', 2), ('/home/nano/Desktop/images/08032025/09/19/image_08032025_09_19_36_30260.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/09/19/image_08032025_09_20_06_30275.jpg', '/home/nano/Desktop/images/08032025/09/19/image_08032025_09_19_36_30260.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/09/19/image_08032025_09_20_06_30275.jpg
/home/nano/Desktop/images/08032025/09/19/image_08032025_09_19_36_30260.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.30017542839050293 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 marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 09:21:03.335129
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/09/19/image_08032025_09_20_06_30275.jpg', 2), ('/home/nano/Desktop/images/08032025/09/19/image_08032025_09_19_36_30260.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/09/19/image_08032025_09_20_06_30275.jpg', '/home/nano/Desktop/images/08032025/09/19/image_08032025_09_19_36_30260.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/09/19/image_08032025_09_20_06_30275.jpg
/home/nano/Desktop/images/08032025/09/19/image_08032025_09_19_36_30260.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341790575","1341790573"],"photo_ids_order":["1341790573","1341790575"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/fa1f3f619fe9b1dcea9008888a2e9f7a.jpg","text":"TemporaryFile(/tmp/multipartBody2758783341083824356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741422123721,"filename":"image_08032025_09_19_36_30260.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/a0790a673b7365d77f947c7ac14b7571.jpg","text":"TemporaryFile(/tmp/multipartBody9043986492178297752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741422123721,"filename":"image_08032025_09_20_06_30275.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341790575","file0":"1341790573"},"map_files_photo_id_array":[{"photo_id":"1341790575","filename":"file1"},{"photo_id":"1341790573","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341790575":["hashtag1","hashtag2"]},{"1341790573":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341790575, 1341790573)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 19.919769763946533 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 09:21:32.651597
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/09/20/image_08032025_09_21_05_30296.jpg', 2), ('/home/nano/Desktop/images/08032025/09/20/image_08032025_09_20_35_29241.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/09/20/image_08032025_09_21_05_30296.jpg', '/home/nano/Desktop/images/08032025/09/20/image_08032025_09_20_35_29241.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/09/20/image_08032025_09_21_05_30296.jpg
/home/nano/Desktop/images/08032025/09/20/image_08032025_09_20_35_29241.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341790585","1341790590"],"photo_ids_order":["1341790585","1341790590"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/af8e2789dcc9d11c8429d5a5ec1a94e2.jpg","text":"TemporaryFile(/tmp/multipartBody4805769187204448447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741422153016,"filename":"image_08032025_09_21_05_30296.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/c49071631a126ba922514f9c5e3e55a2.jpg","text":"TemporaryFile(/tmp/multipartBody4002830894607622985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741422153016,"filename":"image_08032025_09_20_35_29241.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341790590","file0":"1341790585"},"map_files_photo_id_array":[{"photo_id":"1341790590","filename":"file1"},{"photo_id":"1341790585","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341790585":["hashtag1","hashtag2"]},{"1341790590":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341790585, 1341790590)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.347601413726807 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 09:22:02.283338
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 09:22:31.786863
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/09/21/image_08032025_09_22_06_30265.jpg', 2), ('/home/nano/Desktop/images/08032025/09/21/image_08032025_09_21_36_30256.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/09/21/image_08032025_09_22_06_30265.jpg', '/home/nano/Desktop/images/08032025/09/21/image_08032025_09_21_36_30256.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/09/21/image_08032025_09_22_06_30265.jpg
/home/nano/Desktop/images/08032025/09/21/image_08032025_09_21_36_30256.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341790818","1341790797"],"photo_ids_order":["1341790797","1341790818"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/eadb8ebe326b4ac220b71002e55f5992.jpg","text":"TemporaryFile(/tmp/multipartBody512162724768935325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741422212140,"filename":"image_08032025_09_21_36_30256.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/41062e005a1c059e78a066ca63273fa1.jpg","text":"TemporaryFile(/tmp/multipartBody1960452984485240988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741422212140,"filename":"image_08032025_09_22_06_30265.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341790818","file0":"1341790797"},"map_files_photo_id_array":[{"photo_id":"1341790818","filename":"file1"},{"photo_id":"1341790797","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341790818":["hashtag1","hashtag2"]},{"1341790797":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341790818, 1341790797)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 18.00510549545288 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 09:23:02.608313
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 09:23:31.922204
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/09/22/image_08032025_09_23_06_30278.jpg', 2), ('/home/nano/Desktop/images/08032025/09/22/image_08032025_09_22_35_29232.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/09/22/image_08032025_09_23_06_30278.jpg', '/home/nano/Desktop/images/08032025/09/22/image_08032025_09_22_35_29232.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/09/22/image_08032025_09_23_06_30278.jpg
/home/nano/Desktop/images/08032025/09/22/image_08032025_09_22_35_29232.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341791048","1341791035"],"photo_ids_order":["1341791035","1341791048"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/b931b1c19dc2f74e0154964c591bad55.jpg","text":"TemporaryFile(/tmp/multipartBody5427794813228899796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741422272253,"filename":"image_08032025_09_22_35_29232.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/8c21a74014100babbed27d59f69897f2.jpg","text":"TemporaryFile(/tmp/multipartBody3909444016523548833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741422272253,"filename":"image_08032025_09_23_06_30278.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341791048","file0":"1341791035"},"map_files_photo_id_array":[{"photo_id":"1341791048","filename":"file1"},{"photo_id":"1341791035","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341791048":["hashtag1","hashtag2"]},{"1341791035":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341791048, 1341791035)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.880903720855713 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 09:24:03.013265
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 09:24:32.027844
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/09/23/image_08032025_09_24_06_30287.jpg', 2), ('/home/nano/Desktop/images/08032025/09/23/image_08032025_09_23_36_30247.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/09/23/image_08032025_09_24_06_30287.jpg', '/home/nano/Desktop/images/08032025/09/23/image_08032025_09_23_36_30247.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/09/23/image_08032025_09_24_06_30287.jpg
/home/nano/Desktop/images/08032025/09/23/image_08032025_09_23_36_30247.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341791178","1341791169"],"photo_ids_order":["1341791169","1341791178"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/055348c3dc95a0294128e65015c2925e.jpg","text":"TemporaryFile(/tmp/multipartBody1181156088743874894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741422332435,"filename":"image_08032025_09_23_36_30247.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/dc4ff92cd629f9a4e1f194d9b894224b.jpg","text":"TemporaryFile(/tmp/multipartBody563026000564952726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741422332435,"filename":"image_08032025_09_24_06_30287.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341791178","file0":"1341791169"},"map_files_photo_id_array":[{"photo_id":"1341791178","filename":"file1"},{"photo_id":"1341791169","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341791178":["hashtag1","hashtag2"]},{"1341791169":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341791178, 1341791169)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 16.93146061897278 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 09:25:02.974316
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 09:25:32.143028
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/09/24/image_08032025_09_25_06_30298.jpg', 2), ('/home/nano/Desktop/images/08032025/09/24/image_08032025_09_24_35_29228.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/09/24/image_08032025_09_25_06_30298.jpg', '/home/nano/Desktop/images/08032025/09/24/image_08032025_09_24_35_29228.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/09/24/image_08032025_09_25_06_30298.jpg
/home/nano/Desktop/images/08032025/09/24/image_08032025_09_24_35_29228.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341791546","1341791632"],"photo_ids_order":["1341791546","1341791632"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/0ad87312f7b7798c76ee39bc2e722dec.jpg","text":"TemporaryFile(/tmp/multipartBody3033071617945026775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741422392533,"filename":"image_08032025_09_25_06_30298.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/923feb1974938b40e58cbf46f6d0a19c.jpg","text":"TemporaryFile(/tmp/multipartBody4573038022847792955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741422392533,"filename":"image_08032025_09_24_35_29228.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341791632","file0":"1341791546"},"map_files_photo_id_array":[{"photo_id":"1341791632","filename":"file1"},{"photo_id":"1341791546","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341791546":["hashtag1","hashtag2"]},{"1341791632":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341791546, 1341791632)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.971229553222656 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 09:26:03.197528
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/09/25/image_08032025_09_26_05_29362.jpg', 2), ('/home/nano/Desktop/images/08032025/09/25/image_08032025_09_25_36_30272.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/09/25/image_08032025_09_26_05_29362.jpg', '/home/nano/Desktop/images/08032025/09/25/image_08032025_09_25_36_30272.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/09/25/image_08032025_09_26_05_29362.jpg
/home/nano/Desktop/images/08032025/09/25/image_08032025_09_25_36_30272.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341792560","1341792490"],"photo_ids_order":["1341792490","1341792560"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/36af7993f5f5ccccd42b96c517fe755c.jpg","text":"TemporaryFile(/tmp/multipartBody3217193870911291846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741422423558,"filename":"image_08032025_09_25_36_30272.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/e9d7e61874827eaa28cef1ccf71754b4.jpg","text":"TemporaryFile(/tmp/multipartBody4077117115899380103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741422423558,"filename":"image_08032025_09_26_05_29362.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341792560","file0":"1341792490"},"map_files_photo_id_array":[{"photo_id":"1341792560","filename":"file1"},{"photo_id":"1341792490","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341792560":["hashtag1","hashtag2"]},{"1341792490":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341792560, 1341792490)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.475257396697998 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 09:26:32.245827
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 09:27:03.142508
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 09:27:32.362331
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/09/26/image_08032025_09_27_06_30280.jpg', 2), ('/home/nano/Desktop/images/08032025/09/26/image_08032025_09_26_35_30278.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/09/26/image_08032025_09_27_06_30280.jpg', '/home/nano/Desktop/images/08032025/09/26/image_08032025_09_26_35_30278.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/09/26/image_08032025_09_27_06_30280.jpg
/home/nano/Desktop/images/08032025/09/26/image_08032025_09_26_35_30278.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341793252","1341793256"],"photo_ids_order":["1341793252","1341793256"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/7f9b0510f82cca220916910a85be24f0.jpg","text":"TemporaryFile(/tmp/multipartBody5345385963456376201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741422512758,"filename":"image_08032025_09_27_06_30280.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/0be34ff43df13978ace4a48154a5952d.jpg","text":"TemporaryFile(/tmp/multipartBody6227945756987980967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741422512758,"filename":"image_08032025_09_26_35_30278.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341793256","file0":"1341793252"},"map_files_photo_id_array":[{"photo_id":"1341793256","filename":"file1"},{"photo_id":"1341793252","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341793252":["hashtag1","hashtag2"]},{"1341793256":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341793252, 1341793256)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.37304949760437 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 09:28:03.440740
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/09/27/image_08032025_09_28_05_29301.jpg', 2), ('/home/nano/Desktop/images/08032025/09/27/image_08032025_09_27_36_30285.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/09/27/image_08032025_09_28_05_29301.jpg', '/home/nano/Desktop/images/08032025/09/27/image_08032025_09_27_36_30285.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/09/27/image_08032025_09_28_05_29301.jpg
/home/nano/Desktop/images/08032025/09/27/image_08032025_09_27_36_30285.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341793769","1341793795"],"photo_ids_order":["1341793769","1341793795"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/4db9521b9d09481198fb8cd3e2ab0e01.jpg","text":"TemporaryFile(/tmp/multipartBody2010236358150426795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741422543888,"filename":"image_08032025_09_28_05_29301.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/0acbb839527752dd0bb3c7ab9731c221.jpg","text":"TemporaryFile(/tmp/multipartBody7755016770427403625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741422543888,"filename":"image_08032025_09_27_36_30285.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341793795","file0":"1341793769"},"map_files_photo_id_array":[{"photo_id":"1341793795","filename":"file1"},{"photo_id":"1341793769","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341793769":["hashtag1","hashtag2"]},{"1341793795":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341793769, 1341793795)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 16.473947048187256 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 09:28:32.461853
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 09:29:03.671093
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 09:29:32.589414
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/09/28/image_08032025_09_29_06_30278.jpg', 2), ('/home/nano/Desktop/images/08032025/09/28/image_08032025_09_28_36_30276.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/09/28/image_08032025_09_29_06_30278.jpg', '/home/nano/Desktop/images/08032025/09/28/image_08032025_09_28_36_30276.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/09/28/image_08032025_09_29_06_30278.jpg
/home/nano/Desktop/images/08032025/09/28/image_08032025_09_28_36_30276.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341794803","1341794849"],"photo_ids_order":["1341794803","1341794849"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/eb220fb768ce31712e78db022e2a1eea.jpg","text":"TemporaryFile(/tmp/multipartBody5855047173957568394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741422633009,"filename":"image_08032025_09_29_06_30278.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/d190b79ec676917b1e973c832cd99c8f.jpg","text":"TemporaryFile(/tmp/multipartBody8046594754307203757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741422633009,"filename":"image_08032025_09_28_36_30276.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341794849","file0":"1341794803"},"map_files_photo_id_array":[{"photo_id":"1341794849","filename":"file1"},{"photo_id":"1341794803","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341794803":["hashtag1","hashtag2"]},{"1341794849":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341794803, 1341794849)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.77432656288147 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 09:30:03.418314
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 09:30:32.668619
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/09/29/image_08032025_09_30_05_30299.jpg', 2), ('/home/nano/Desktop/images/08032025/09/29/image_08032025_09_29_35_29279.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/09/29/image_08032025_09_30_05_30299.jpg', '/home/nano/Desktop/images/08032025/09/29/image_08032025_09_29_35_29279.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/09/29/image_08032025_09_30_05_30299.jpg
/home/nano/Desktop/images/08032025/09/29/image_08032025_09_29_35_29279.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341795235","1341795223"],"photo_ids_order":["1341795223","1341795235"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/cc740993bc3100ff90093658e1a54037.jpg","text":"TemporaryFile(/tmp/multipartBody2373755932781919663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741422693004,"filename":"image_08032025_09_29_35_29279.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/5ed71cb0f3b484e9731c8140afc9cb63.jpg","text":"TemporaryFile(/tmp/multipartBody7969955360332512735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741422693004,"filename":"image_08032025_09_30_05_30299.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341795235","file0":"1341795223"},"map_files_photo_id_array":[{"photo_id":"1341795235","filename":"file1"},{"photo_id":"1341795223","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341795235":["hashtag1","hashtag2"]},{"1341795223":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341795235, 1341795223)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 16.38294768333435 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 09:31:02.544000
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 09:31:31.851482
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/09/30/image_08032025_09_31_06_30301.jpg', 2), ('/home/nano/Desktop/images/08032025/09/30/image_08032025_09_30_36_30289.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/09/30/image_08032025_09_31_06_30301.jpg', '/home/nano/Desktop/images/08032025/09/30/image_08032025_09_30_36_30289.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/09/30/image_08032025_09_31_06_30301.jpg
/home/nano/Desktop/images/08032025/09/30/image_08032025_09_30_36_30289.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341795441","1341795458"],"photo_ids_order":["1341795441","1341795458"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/b6bc1e1987a33157b7183b2f6960c21e.jpg","text":"TemporaryFile(/tmp/multipartBody3139321302985054535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741422752177,"filename":"image_08032025_09_31_06_30301.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/2a60d18c76403c8464e21733a4dae1b2.jpg","text":"TemporaryFile(/tmp/multipartBody6219437072047682326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741422752177,"filename":"image_08032025_09_30_36_30289.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341795458","file0":"1341795441"},"map_files_photo_id_array":[{"photo_id":"1341795458","filename":"file1"},{"photo_id":"1341795441","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341795441":["hashtag1","hashtag2"]},{"1341795458":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341795441, 1341795458)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.159505605697632 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 09:32:02.785947
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 09:32:31.950281
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/09/31/image_08032025_09_32_06_30296.jpg', 2), ('/home/nano/Desktop/images/08032025/09/31/image_08032025_09_31_35_29284.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/09/31/image_08032025_09_32_06_30296.jpg', '/home/nano/Desktop/images/08032025/09/31/image_08032025_09_31_35_29284.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/09/31/image_08032025_09_32_06_30296.jpg
/home/nano/Desktop/images/08032025/09/31/image_08032025_09_31_35_29284.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341795602","1341795583"],"photo_ids_order":["1341795583","1341795602"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/a4f2c32d9c630da4df16ef2096b677ea.jpg","text":"TemporaryFile(/tmp/multipartBody1954083751696219269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741422812306,"filename":"image_08032025_09_31_35_29284.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/d5e284c5a55b81e411a9aef848fd5391.jpg","text":"TemporaryFile(/tmp/multipartBody1945345479569773214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741422812306,"filename":"image_08032025_09_32_06_30296.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341795602","file0":"1341795583"},"map_files_photo_id_array":[{"photo_id":"1341795602","filename":"file1"},{"photo_id":"1341795583","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341795602":["hashtag1","hashtag2"]},{"1341795583":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341795602, 1341795583)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.06447434425354 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 09:33:02.780256
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 09:33:32.035648
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/09/32/image_08032025_09_33_05_29279.jpg', 2), ('/home/nano/Desktop/images/08032025/09/32/image_08032025_09_32_36_30271.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/09/32/image_08032025_09_33_05_29279.jpg', '/home/nano/Desktop/images/08032025/09/32/image_08032025_09_32_36_30271.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/09/32/image_08032025_09_33_05_29279.jpg
/home/nano/Desktop/images/08032025/09/32/image_08032025_09_32_36_30271.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341795663","1341795659"],"photo_ids_order":["1341795659","1341795663"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/6fc1f6ad1edbced89166b9af76dd27d0.jpg","text":"TemporaryFile(/tmp/multipartBody89636828793699127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741422872445,"filename":"image_08032025_09_32_36_30271.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/31d07fd21cc8e466e16084275d5a3b02.jpg","text":"TemporaryFile(/tmp/multipartBody583015654456727587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741422872445,"filename":"image_08032025_09_33_05_29279.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341795663","file0":"1341795659"},"map_files_photo_id_array":[{"photo_id":"1341795663","filename":"file1"},{"photo_id":"1341795659","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341795663":["hashtag1","hashtag2"]},{"1341795659":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341795663, 1341795659)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.717968702316284 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 09:34:03.177986
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 09:34:32.166106
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/09/33/image_08032025_09_34_06_30283.jpg', 2), ('/home/nano/Desktop/images/08032025/09/33/image_08032025_09_33_35_30279.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/09/33/image_08032025_09_34_06_30283.jpg', '/home/nano/Desktop/images/08032025/09/33/image_08032025_09_33_35_30279.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/09/33/image_08032025_09_34_06_30283.jpg
/home/nano/Desktop/images/08032025/09/33/image_08032025_09_33_35_30279.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341795881","1341795856"],"photo_ids_order":["1341795856","1341795881"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/fa94f4178b389ea1d7063d19121e0889.jpg","text":"TemporaryFile(/tmp/multipartBody8319845664833523892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741422932500,"filename":"image_08032025_09_33_35_30279.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/3c37b8218e82ad874f8874a3ad1eb0ff.jpg","text":"TemporaryFile(/tmp/multipartBody7307863291166975205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741422932500,"filename":"image_08032025_09_34_06_30283.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341795881","file0":"1341795856"},"map_files_photo_id_array":[{"photo_id":"1341795881","filename":"file1"},{"photo_id":"1341795856","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341795881":["hashtag1","hashtag2"]},{"1341795856":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341795881, 1341795856)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.568102836608887 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 09:35:03.052676
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 09:35:32.325030
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/09/34/image_08032025_09_35_05_29316.jpg', 2), ('/home/nano/Desktop/images/08032025/09/34/image_08032025_09_34_36_30273.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/09/34/image_08032025_09_35_05_29316.jpg', '/home/nano/Desktop/images/08032025/09/34/image_08032025_09_34_36_30273.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/09/34/image_08032025_09_35_05_29316.jpg
/home/nano/Desktop/images/08032025/09/34/image_08032025_09_34_36_30273.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341796192","1341796144"],"photo_ids_order":["1341796144","1341796192"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/fb6392dd3b955d218ff731c6d34296a0.jpg","text":"TemporaryFile(/tmp/multipartBody3717668365674711922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741422992723,"filename":"image_08032025_09_34_36_30273.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/b3a9cc0d932c07cff1d5d0e28107abe3.jpg","text":"TemporaryFile(/tmp/multipartBody1022509421244519250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741422992723,"filename":"image_08032025_09_35_05_29316.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341796192","file0":"1341796144"},"map_files_photo_id_array":[{"photo_id":"1341796192","filename":"file1"},{"photo_id":"1341796144","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341796192":["hashtag1","hashtag2"]},{"1341796144":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341796192, 1341796144)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.950011968612671 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 09:36:03.254249
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 09:36:32.440997
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/09/35/image_08032025_09_36_06_30304.jpg', 2), ('/home/nano/Desktop/images/08032025/09/35/image_08032025_09_35_36_30271.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/09/35/image_08032025_09_36_06_30304.jpg', '/home/nano/Desktop/images/08032025/09/35/image_08032025_09_35_36_30271.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/09/35/image_08032025_09_36_06_30304.jpg
/home/nano/Desktop/images/08032025/09/35/image_08032025_09_35_36_30271.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341796341","1341796337"],"photo_ids_order":["1341796337","1341796341"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/cdcb2c25d2ca2b5e42cb3d7fd4c06d03.jpg","text":"TemporaryFile(/tmp/multipartBody2901044647355773698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741423052800,"filename":"image_08032025_09_35_36_30271.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/b27860627cb1d403c551592d9ac2a11b.jpg","text":"TemporaryFile(/tmp/multipartBody653986575467722553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741423052800,"filename":"image_08032025_09_36_06_30304.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341796341","file0":"1341796337"},"map_files_photo_id_array":[{"photo_id":"1341796341","filename":"file1"},{"photo_id":"1341796337","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341796341":["hashtag1","hashtag2"]},{"1341796337":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341796341, 1341796337)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.417022943496704 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 09:37:03.457261
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/09/36/image_08032025_09_37_06_30299.jpg', 2), ('/home/nano/Desktop/images/08032025/09/36/image_08032025_09_36_35_29288.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/09/36/image_08032025_09_37_06_30299.jpg', '/home/nano/Desktop/images/08032025/09/36/image_08032025_09_36_35_29288.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/09/36/image_08032025_09_37_06_30299.jpg
/home/nano/Desktop/images/08032025/09/36/image_08032025_09_36_35_29288.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341796512","1341796488"],"photo_ids_order":["1341796488","1341796512"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/116a3ab684e527127bff782e2f393e68.jpg","text":"TemporaryFile(/tmp/multipartBody8431741165562033461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741423083856,"filename":"image_08032025_09_36_35_29288.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/72f3fada238547c26d2a8fe2c9216691.jpg","text":"TemporaryFile(/tmp/multipartBody7286430095644126773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741423083856,"filename":"image_08032025_09_37_06_30299.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341796512","file0":"1341796488"},"map_files_photo_id_array":[{"photo_id":"1341796512","filename":"file1"},{"photo_id":"1341796488","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341796512":["hashtag1","hashtag2"]},{"1341796488":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341796512, 1341796488)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.856242179870605 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 09:37:32.525337
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 09:38:03.310481
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 09:38:32.654868
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/09/37/image_08032025_09_38_06_30294.jpg', 2), ('/home/nano/Desktop/images/08032025/09/37/image_08032025_09_37_36_30277.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/09/37/image_08032025_09_38_06_30294.jpg', '/home/nano/Desktop/images/08032025/09/37/image_08032025_09_37_36_30277.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/09/37/image_08032025_09_38_06_30294.jpg
/home/nano/Desktop/images/08032025/09/37/image_08032025_09_37_36_30277.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341798006","1341798077"],"photo_ids_order":["1341798006","1341798077"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/dbc6b9cd277644493141e89738463f8c.jpg","text":"TemporaryFile(/tmp/multipartBody193834240797047830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741423173032,"filename":"image_08032025_09_38_06_30294.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/fd87e006b6f3366bee0dd8eca1f2582d.jpg","text":"TemporaryFile(/tmp/multipartBody4276078279915632033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741423173032,"filename":"image_08032025_09_37_36_30277.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341798077","file0":"1341798006"},"map_files_photo_id_array":[{"photo_id":"1341798077","filename":"file1"},{"photo_id":"1341798006","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341798006":["hashtag1","hashtag2"]},{"1341798077":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341798006, 1341798077)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 18.70430850982666 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 09:39:02.502972
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 09:39:31.750239
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/09/38/image_08032025_09_39_06_30321.jpg', 2), ('/home/nano/Desktop/images/08032025/09/38/image_08032025_09_38_35_29273.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/09/38/image_08032025_09_39_06_30321.jpg', '/home/nano/Desktop/images/08032025/09/38/image_08032025_09_38_35_29273.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/09/38/image_08032025_09_39_06_30321.jpg
/home/nano/Desktop/images/08032025/09/38/image_08032025_09_38_35_29273.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341798721","1341798768"],"photo_ids_order":["1341798721","1341798768"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/02e06e94e6a11dc82ad36064f1096fab.jpg","text":"TemporaryFile(/tmp/multipartBody2371336890153808937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741423232110,"filename":"image_08032025_09_39_06_30321.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/e570e312bd8e85c7d9a0f9155850cf9e.jpg","text":"TemporaryFile(/tmp/multipartBody1276058317267777988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741423232110,"filename":"image_08032025_09_38_35_29273.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341798768","file0":"1341798721"},"map_files_photo_id_array":[{"photo_id":"1341798768","filename":"file1"},{"photo_id":"1341798721","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341798721":["hashtag1","hashtag2"]},{"1341798768":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341798721, 1341798768)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 19.507617950439453 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 09:40:02.602236
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 09:40:31.908938
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/09/39/image_08032025_09_40_05_29333.jpg', 2), ('/home/nano/Desktop/images/08032025/09/39/image_08032025_09_39_36_30278.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/09/39/image_08032025_09_40_05_29333.jpg', '/home/nano/Desktop/images/08032025/09/39/image_08032025_09_39_36_30278.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/09/39/image_08032025_09_40_05_29333.jpg
/home/nano/Desktop/images/08032025/09/39/image_08032025_09_39_36_30278.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341798832","1341798828"],"photo_ids_order":["1341798828","1341798832"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/7843a4c93793fde04b66cee923763ed0.jpg","text":"TemporaryFile(/tmp/multipartBody9149297324464702162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741423292268,"filename":"image_08032025_09_39_36_30278.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/c29396357c9e3c7eec6a31a55def1acb.jpg","text":"TemporaryFile(/tmp/multipartBody3261461535338532605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741423292268,"filename":"image_08032025_09_40_05_29333.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341798832","file0":"1341798828"},"map_files_photo_id_array":[{"photo_id":"1341798832","filename":"file1"},{"photo_id":"1341798828","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341798832":["hashtag1","hashtag2"]},{"1341798828":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341798832, 1341798828)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.81262993812561 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 09:41:02.892608
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 09:41:32.061995
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/09/40/image_08032025_09_41_06_30297.jpg', 2), ('/home/nano/Desktop/images/08032025/09/40/image_08032025_09_40_36_30278.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/09/40/image_08032025_09_41_06_30297.jpg', '/home/nano/Desktop/images/08032025/09/40/image_08032025_09_40_36_30278.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/09/40/image_08032025_09_41_06_30297.jpg
/home/nano/Desktop/images/08032025/09/40/image_08032025_09_40_36_30278.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341799123","1341799175"],"photo_ids_order":["1341799123","1341799175"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/26d2ffed352279dd13741a424410803c.jpg","text":"TemporaryFile(/tmp/multipartBody521109998993036159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741423352454,"filename":"image_08032025_09_41_06_30297.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/fc533694ac5d674c58c964cc7b3eb456.jpg","text":"TemporaryFile(/tmp/multipartBody1544580709302330038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741423352454,"filename":"image_08032025_09_40_36_30278.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341799175","file0":"1341799123"},"map_files_photo_id_array":[{"photo_id":"1341799175","filename":"file1"},{"photo_id":"1341799123","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341799123":["hashtag1","hashtag2"]},{"1341799175":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341799123, 1341799175)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.966513633728027 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 09:42:02.889290
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 09:42:32.138444
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/09/41/image_08032025_09_42_05_30307.jpg', 2), ('/home/nano/Desktop/images/08032025/09/41/image_08032025_09_41_35_29289.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/09/41/image_08032025_09_42_05_30307.jpg', '/home/nano/Desktop/images/08032025/09/41/image_08032025_09_41_35_29289.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/09/41/image_08032025_09_42_05_30307.jpg
/home/nano/Desktop/images/08032025/09/41/image_08032025_09_41_35_29289.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341799249","1341799245"],"photo_ids_order":["1341799245","1341799249"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/e15f887a0e24735ec722e03a09c1affb.jpg","text":"TemporaryFile(/tmp/multipartBody2857134896500965077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741423412519,"filename":"image_08032025_09_41_35_29289.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/fe9ead4a0c6e75ea806f508e6cc06da8.jpg","text":"TemporaryFile(/tmp/multipartBody66258329764096320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741423412519,"filename":"image_08032025_09_42_05_30307.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341799249","file0":"1341799245"},"map_files_photo_id_array":[{"photo_id":"1341799249","filename":"file1"},{"photo_id":"1341799245","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341799249":["hashtag1","hashtag2"]},{"1341799245":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341799249, 1341799245)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.957873106002808 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 09:43:03.010566
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/09/43/image_08032025_09_43_35_29271.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/09/43/image_08032025_09_43_35_29271.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/09/43/image_08032025_09_43_35_29271.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341799311"],"photo_id":"1341799311","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/a356742ca63d44b3420db79f6ace8f27.jpg","text":"TemporaryFile(/tmp/multipartBody5680791916825267450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741423443318,"filename":"image_08032025_09_43_35_29271.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1341799311"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1341799311"}],"hashtags":[],"portfolio_id":"21163824","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 10.579265832901001 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 09:43:32.262322
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/09/42/image_08032025_09_42_36_30275.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/09/42/image_08032025_09_42_36_30275.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/09/42/image_08032025_09_42_36_30275.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341799321"],"photo_id":"1341799321","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/a9c5b534f30abcc9ae60bb21b94a80a7.jpg","text":"TemporaryFile(/tmp/multipartBody1608597818023684140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741423472547,"filename":"image_08032025_09_42_36_30275.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1341799321"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1341799321"}],"hashtags":[],"portfolio_id":"21163824","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 10.053292274475098 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 09:44:03.319091
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 09:44:32.378263
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/09/43/image_08032025_09_44_06_30285.jpg', 2), ('/home/nano/Desktop/images/08032025/09/42/image_08032025_09_43_06_30329.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/09/43/image_08032025_09_44_06_30285.jpg', '/home/nano/Desktop/images/08032025/09/42/image_08032025_09_43_06_30329.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/09/43/image_08032025_09_44_06_30285.jpg
/home/nano/Desktop/images/08032025/09/42/image_08032025_09_43_06_30329.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341799368","1341799385"],"photo_ids_order":["1341799368","1341799385"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/631f9f2be638476184a8dfa50697f91d.jpg","text":"TemporaryFile(/tmp/multipartBody6630776933853742094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741423532714,"filename":"image_08032025_09_44_06_30285.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/fb9d15b32eb5e90e25fb83f26b3e7a79.jpg","text":"TemporaryFile(/tmp/multipartBody2243687582509794042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741423532714,"filename":"image_08032025_09_43_06_30329.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341799385","file0":"1341799368"},"map_files_photo_id_array":[{"photo_id":"1341799385","filename":"file1"},{"photo_id":"1341799368","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341799368":["hashtag1","hashtag2"]},{"1341799385":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341799368, 1341799385)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 18.002663612365723 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 09:45:03.145897
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 09:45:32.538459
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/09/44/image_08032025_09_45_05_29280.jpg', 2), ('/home/nano/Desktop/images/08032025/09/44/image_08032025_09_44_36_30295.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/09/44/image_08032025_09_45_05_29280.jpg', '/home/nano/Desktop/images/08032025/09/44/image_08032025_09_44_36_30295.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/09/44/image_08032025_09_45_05_29280.jpg
/home/nano/Desktop/images/08032025/09/44/image_08032025_09_44_36_30295.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341799580","1341799544"],"photo_ids_order":["1341799544","1341799580"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/5f38104da27dc4d9cb18eb3e39662269.jpg","text":"TemporaryFile(/tmp/multipartBody5610081934939901543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741423592927,"filename":"image_08032025_09_44_36_30295.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/8609f1e0285e4a8d265f05400832c4cd.jpg","text":"TemporaryFile(/tmp/multipartBody1288712657426281303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741423592927,"filename":"image_08032025_09_45_05_29280.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341799580","file0":"1341799544"},"map_files_photo_id_array":[{"photo_id":"1341799580","filename":"file1"},{"photo_id":"1341799544","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341799580":["hashtag1","hashtag2"]},{"1341799544":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341799580, 1341799544)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.576273202896118 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 09:46:03.489559
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 09:46:32.693547
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/09/45/image_08032025_09_46_06_30289.jpg', 2), ('/home/nano/Desktop/images/08032025/09/45/image_08032025_09_45_35_30272.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/09/45/image_08032025_09_46_06_30289.jpg', '/home/nano/Desktop/images/08032025/09/45/image_08032025_09_45_35_30272.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/09/45/image_08032025_09_46_06_30289.jpg
/home/nano/Desktop/images/08032025/09/45/image_08032025_09_45_35_30272.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341799947","1341799940"],"photo_ids_order":["1341799940","1341799947"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/33dff3ac128b3478945d9339d8ea49b5.jpg","text":"TemporaryFile(/tmp/multipartBody2031793425740793891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741423653096,"filename":"image_08032025_09_45_35_30272.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/67f024b185f3be23d9b27778df9b04d3.jpg","text":"TemporaryFile(/tmp/multipartBody255777247241455086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741423653096,"filename":"image_08032025_09_46_06_30289.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341799947","file0":"1341799940"},"map_files_photo_id_array":[{"photo_id":"1341799947","filename":"file1"},{"photo_id":"1341799940","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341799947":["hashtag1","hashtag2"]},{"1341799940":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341799947, 1341799940)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.978079319000244 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 09:47:02.760152
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 09:47:31.805240
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/09/46/image_08032025_09_47_05_29274.jpg', 2), ('/home/nano/Desktop/images/08032025/09/46/image_08032025_09_46_36_30273.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/09/46/image_08032025_09_47_05_29274.jpg', '/home/nano/Desktop/images/08032025/09/46/image_08032025_09_46_36_30273.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/09/46/image_08032025_09_47_05_29274.jpg
/home/nano/Desktop/images/08032025/09/46/image_08032025_09_46_36_30273.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341800031","1341800013"],"photo_ids_order":["1341800013","1341800031"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/69216f2fb86bd519eaeba6419ec0182e.jpg","text":"TemporaryFile(/tmp/multipartBody8833307124651380753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741423712119,"filename":"image_08032025_09_46_36_30273.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/e4e49bd33985809083781df71cfaff3b.jpg","text":"TemporaryFile(/tmp/multipartBody3767756748212342139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741423712119,"filename":"image_08032025_09_47_05_29274.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341800031","file0":"1341800013"},"map_files_photo_id_array":[{"photo_id":"1341800031","filename":"file1"},{"photo_id":"1341800013","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341800031":["hashtag1","hashtag2"]},{"1341800013":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341800031, 1341800013)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 13.955100536346436 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 09:48:02.630414
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 09:48:31.912849
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/09/47/image_08032025_09_48_06_30303.jpg', 2), ('/home/nano/Desktop/images/08032025/09/47/image_08032025_09_47_36_30291.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/09/47/image_08032025_09_48_06_30303.jpg', '/home/nano/Desktop/images/08032025/09/47/image_08032025_09_47_36_30291.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/09/47/image_08032025_09_48_06_30303.jpg
/home/nano/Desktop/images/08032025/09/47/image_08032025_09_47_36_30291.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.4004502296447754 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 marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 09:49:02.971806
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/09/47/image_08032025_09_48_06_30303.jpg', 2), ('/home/nano/Desktop/images/08032025/09/47/image_08032025_09_47_36_30291.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/09/47/image_08032025_09_48_06_30303.jpg', '/home/nano/Desktop/images/08032025/09/47/image_08032025_09_47_36_30291.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/09/47/image_08032025_09_48_06_30303.jpg
/home/nano/Desktop/images/08032025/09/47/image_08032025_09_47_36_30291.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341800495","1341800510"],"photo_ids_order":["1341800495","1341800510"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/f08f1c4aaa5c4a02617120d0d46a8a08.jpg","text":"TemporaryFile(/tmp/multipartBody9184657135193896349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741423803333,"filename":"image_08032025_09_48_06_30303.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/ee4a04ab79945475052749da73d6fb66.jpg","text":"TemporaryFile(/tmp/multipartBody3226770626029226800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741423803333,"filename":"image_08032025_09_47_36_30291.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341800510","file0":"1341800495"},"map_files_photo_id_array":[{"photo_id":"1341800510","filename":"file1"},{"photo_id":"1341800495","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341800495":["hashtag1","hashtag2"]},{"1341800510":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341800495, 1341800510)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.650798797607422 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 09:49:32.014965
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/09/48/image_08032025_09_49_06_30314.jpg', 2), ('/home/nano/Desktop/images/08032025/09/48/image_08032025_09_48_35_29287.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/09/48/image_08032025_09_49_06_30314.jpg', '/home/nano/Desktop/images/08032025/09/48/image_08032025_09_48_35_29287.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/09/48/image_08032025_09_49_06_30314.jpg
/home/nano/Desktop/images/08032025/09/48/image_08032025_09_48_35_29287.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.28960132598876953 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 marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 09:50:02.728804
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/09/48/image_08032025_09_49_06_30314.jpg', 2), ('/home/nano/Desktop/images/08032025/09/48/image_08032025_09_48_35_29287.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/09/48/image_08032025_09_49_06_30314.jpg', '/home/nano/Desktop/images/08032025/09/48/image_08032025_09_48_35_29287.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/09/48/image_08032025_09_49_06_30314.jpg
/home/nano/Desktop/images/08032025/09/48/image_08032025_09_48_35_29287.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341800621","1341800605"],"photo_ids_order":["1341800605","1341800621"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/ec79b21cf83efad1f1ed53341a0c4613.jpg","text":"TemporaryFile(/tmp/multipartBody86974764618474336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741423863068,"filename":"image_08032025_09_48_35_29287.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/045493475fd8e5222163ddff86625cb9.jpg","text":"TemporaryFile(/tmp/multipartBody98507802958710332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741423863068,"filename":"image_08032025_09_49_06_30314.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341800621","file0":"1341800605"},"map_files_photo_id_array":[{"photo_id":"1341800621","filename":"file1"},{"photo_id":"1341800605","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341800621":["hashtag1","hashtag2"]},{"1341800605":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341800621, 1341800605)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 16.34618306159973 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 09:50:32.098409
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/09/49/image_08032025_09_50_05_29341.jpg', 2), ('/home/nano/Desktop/images/08032025/09/49/image_08032025_09_49_36_30293.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/09/49/image_08032025_09_50_05_29341.jpg', '/home/nano/Desktop/images/08032025/09/49/image_08032025_09_49_36_30293.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/09/49/image_08032025_09_50_05_29341.jpg
/home/nano/Desktop/images/08032025/09/49/image_08032025_09_49_36_30293.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341800636","1341800632"],"photo_ids_order":["1341800632","1341800636"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/64ee6cbd0bf998b3d40c8ae381f8abad.jpg","text":"TemporaryFile(/tmp/multipartBody4150268138761834126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741423892462,"filename":"image_08032025_09_49_36_30293.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/0c00657176f640c9cd5eba3d412e1bd9.jpg","text":"TemporaryFile(/tmp/multipartBody5307780527502120848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741423892462,"filename":"image_08032025_09_50_05_29341.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341800636","file0":"1341800632"},"map_files_photo_id_array":[{"photo_id":"1341800636","filename":"file1"},{"photo_id":"1341800632","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341800636":["hashtag1","hashtag2"]},{"1341800632":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341800636, 1341800632)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.053444862365723 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 09:51:02.838664
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 09:51:32.215033
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/09/50/image_08032025_09_51_06_30343.jpg', 2), ('/home/nano/Desktop/images/08032025/09/50/image_08032025_09_50_35_30307.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/09/50/image_08032025_09_51_06_30343.jpg', '/home/nano/Desktop/images/08032025/09/50/image_08032025_09_50_35_30307.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/09/50/image_08032025_09_51_06_30343.jpg
/home/nano/Desktop/images/08032025/09/50/image_08032025_09_50_35_30307.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341800771","1341800774"],"photo_ids_order":["1341800771","1341800774"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/62e5ceb0b0d33b492de71a6c8d095352.jpg","text":"TemporaryFile(/tmp/multipartBody3295427444868620222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741423952555,"filename":"image_08032025_09_51_06_30343.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/f865e0b88debb9f188723831eadf6d27.jpg","text":"TemporaryFile(/tmp/multipartBody4712349980392720546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741423952555,"filename":"image_08032025_09_50_35_30307.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341800774","file0":"1341800771"},"map_files_photo_id_array":[{"photo_id":"1341800774","filename":"file1"},{"photo_id":"1341800771","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341800771":["hashtag1","hashtag2"]},{"1341800774":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341800771, 1341800774)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.00647234916687 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 09:52:03.125304
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 09:52:32.365613
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/09/51/image_08032025_09_52_05_29304.jpg', 2), ('/home/nano/Desktop/images/08032025/09/51/image_08032025_09_51_36_30304.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/09/51/image_08032025_09_52_05_29304.jpg', '/home/nano/Desktop/images/08032025/09/51/image_08032025_09_51_36_30304.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/09/51/image_08032025_09_52_05_29304.jpg
/home/nano/Desktop/images/08032025/09/51/image_08032025_09_51_36_30304.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341801006","1341801004"],"photo_ids_order":["1341801004","1341801006"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/c3357b8f89cc6ffbea12b0bbc45439b4.jpg","text":"TemporaryFile(/tmp/multipartBody1006097088546114033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741424012708,"filename":"image_08032025_09_51_36_30304.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/adbc176c0668844763d8c4ed7dbf6616.jpg","text":"TemporaryFile(/tmp/multipartBody4548803743507255575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741424012708,"filename":"image_08032025_09_52_05_29304.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341801006","file0":"1341801004"},"map_files_photo_id_array":[{"photo_id":"1341801006","filename":"file1"},{"photo_id":"1341801004","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341801006":["hashtag1","hashtag2"]},{"1341801004":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341801006, 1341801004)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.705323934555054 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 09:53:03.337925
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 09:53:32.466461
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/09/52/image_08032025_09_53_06_30312.jpg', 2), ('/home/nano/Desktop/images/08032025/09/52/image_08032025_09_52_36_30297.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/09/52/image_08032025_09_53_06_30312.jpg', '/home/nano/Desktop/images/08032025/09/52/image_08032025_09_52_36_30297.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/09/52/image_08032025_09_53_06_30312.jpg
/home/nano/Desktop/images/08032025/09/52/image_08032025_09_52_36_30297.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341801546","1341801512"],"photo_ids_order":["1341801512","1341801546"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/f32b75962690c1cc9bd72bac26699491.jpg","text":"TemporaryFile(/tmp/multipartBody8193506872462923310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741424072886,"filename":"image_08032025_09_52_36_30297.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/e1edf4891a44036fe0443024da4406f5.jpg","text":"TemporaryFile(/tmp/multipartBody5910841966559547095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741424072886,"filename":"image_08032025_09_53_06_30312.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341801546","file0":"1341801512"},"map_files_photo_id_array":[{"photo_id":"1341801546","filename":"file1"},{"photo_id":"1341801512","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341801546":["hashtag1","hashtag2"]},{"1341801512":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341801546, 1341801512)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.243937253952026 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 09:54:03.635040
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 09:54:32.555663
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/09/53/image_08032025_09_54_06_30324.jpg', 2), ('/home/nano/Desktop/images/08032025/09/53/image_08032025_09_53_35_29305.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/09/53/image_08032025_09_54_06_30324.jpg', '/home/nano/Desktop/images/08032025/09/53/image_08032025_09_53_35_29305.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/09/53/image_08032025_09_54_06_30324.jpg
/home/nano/Desktop/images/08032025/09/53/image_08032025_09_53_35_29305.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341801648","1341801727"],"photo_ids_order":["1341801648","1341801727"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/ee3d364a6a115c709900c066fbf7a9f9.jpg","text":"TemporaryFile(/tmp/multipartBody8756295874136248487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741424132921,"filename":"image_08032025_09_54_06_30324.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/724daf8e3b2e2b7844327b884396c46b.jpg","text":"TemporaryFile(/tmp/multipartBody8597286298483990288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741424132921,"filename":"image_08032025_09_53_35_29305.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341801727","file0":"1341801648"},"map_files_photo_id_array":[{"photo_id":"1341801727","filename":"file1"},{"photo_id":"1341801648","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341801648":["hashtag1","hashtag2"]},{"1341801727":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341801648, 1341801727)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 19.968393087387085 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 09:55:03.363177
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 09:55:32.675676
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/09/54/image_08032025_09_55_05_29324.jpg', 2), ('/home/nano/Desktop/images/08032025/09/54/image_08032025_09_54_36_30307.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/09/54/image_08032025_09_55_05_29324.jpg', '/home/nano/Desktop/images/08032025/09/54/image_08032025_09_54_36_30307.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/09/54/image_08032025_09_55_05_29324.jpg
/home/nano/Desktop/images/08032025/09/54/image_08032025_09_54_36_30307.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341801877","1341801882"],"photo_ids_order":["1341801877","1341801882"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/271f74280d91c0c82a51375722e2feed.jpg","text":"TemporaryFile(/tmp/multipartBody3123273477085970699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741424193042,"filename":"image_08032025_09_55_05_29324.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/8cf5d7c8df3bbcaed5baf27c5a4e080a.jpg","text":"TemporaryFile(/tmp/multipartBody9068241778819689240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741424193042,"filename":"image_08032025_09_54_36_30307.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341801882","file0":"1341801877"},"map_files_photo_id_array":[{"photo_id":"1341801882","filename":"file1"},{"photo_id":"1341801877","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341801877":["hashtag1","hashtag2"]},{"1341801882":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341801877, 1341801882)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.867095708847046 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 09:56:02.586925
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 09:56:31.811791
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/09/55/image_08032025_09_56_06_30324.jpg', 2), ('/home/nano/Desktop/images/08032025/09/55/image_08032025_09_55_36_30321.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/09/55/image_08032025_09_56_06_30324.jpg', '/home/nano/Desktop/images/08032025/09/55/image_08032025_09_55_36_30321.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/09/55/image_08032025_09_56_06_30324.jpg
/home/nano/Desktop/images/08032025/09/55/image_08032025_09_55_36_30321.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341802095","1341802155"],"photo_ids_order":["1341802095","1341802155"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/5cb71a6b6c136a3658f6eb9af0f98591.jpg","text":"TemporaryFile(/tmp/multipartBody6510735623271582957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741424252178,"filename":"image_08032025_09_56_06_30324.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/f784ac630579683f0d407d8e586bea41.jpg","text":"TemporaryFile(/tmp/multipartBody7454830131644161427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741424252178,"filename":"image_08032025_09_55_36_30321.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341802155","file0":"1341802095"},"map_files_photo_id_array":[{"photo_id":"1341802155","filename":"file1"},{"photo_id":"1341802095","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341802095":["hashtag1","hashtag2"]},{"1341802155":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341802095, 1341802155)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.336491346359253 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 09:57:02.525196
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 09:57:31.902609
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/09/56/image_08032025_09_57_06_30324.jpg', 2), ('/home/nano/Desktop/images/08032025/09/56/image_08032025_09_56_35_29296.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/09/56/image_08032025_09_57_06_30324.jpg', '/home/nano/Desktop/images/08032025/09/56/image_08032025_09_56_35_29296.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/09/56/image_08032025_09_57_06_30324.jpg
/home/nano/Desktop/images/08032025/09/56/image_08032025_09_56_35_29296.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341802385","1341802412"],"photo_ids_order":["1341802385","1341802412"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/509584bc5ce20dff12d568de314916e8.jpg","text":"TemporaryFile(/tmp/multipartBody4058165051491763977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741424312265,"filename":"image_08032025_09_57_06_30324.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/76bfd7b65d9ab863d63057fe23f3f665.jpg","text":"TemporaryFile(/tmp/multipartBody2523535183651841540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741424312265,"filename":"image_08032025_09_56_35_29296.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341802412","file0":"1341802385"},"map_files_photo_id_array":[{"photo_id":"1341802412","filename":"file1"},{"photo_id":"1341802385","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341802385":["hashtag1","hashtag2"]},{"1341802412":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341802385, 1341802412)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 16.230055332183838 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 09:58:02.869155
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 09:59:03.341475
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/09/57/image_08032025_09_58_05_29333.jpg', 2), ('/home/nano/Desktop/images/08032025/09/57/image_08032025_09_57_36_30313.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/09/57/image_08032025_09_58_05_29333.jpg', '/home/nano/Desktop/images/08032025/09/57/image_08032025_09_57_36_30313.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/09/57/image_08032025_09_58_05_29333.jpg
/home/nano/Desktop/images/08032025/09/57/image_08032025_09_57_36_30313.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341803304","1341803357"],"photo_ids_order":["1341803304","1341803357"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/ad20cd5b6d94caa1504c6f3bcff7945b.jpg","text":"TemporaryFile(/tmp/multipartBody8174680292439392579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741424403746,"filename":"image_08032025_09_58_05_29333.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/7666e7363ac04f72ce6507f84c0825fa.jpg","text":"TemporaryFile(/tmp/multipartBody8294646597356674877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741424403746,"filename":"image_08032025_09_57_36_30313.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341803357","file0":"1341803304"},"map_files_photo_id_array":[{"photo_id":"1341803357","filename":"file1"},{"photo_id":"1341803304","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341803304":["hashtag1","hashtag2"]},{"1341803357":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341803304, 1341803357)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.15880823135376 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 09:59:32.313628
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/09/58/image_08032025_09_59_06_30318.jpg', 2), ('/home/nano/Desktop/images/08032025/09/58/image_08032025_09_58_35_30300.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/09/58/image_08032025_09_59_06_30318.jpg', '/home/nano/Desktop/images/08032025/09/58/image_08032025_09_58_35_30300.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/09/58/image_08032025_09_59_06_30318.jpg
/home/nano/Desktop/images/08032025/09/58/image_08032025_09_58_35_30300.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341803554","1341803582"],"photo_ids_order":["1341803554","1341803582"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/50a1cd022d2bf7a2864a0b3a91a68335.jpg","text":"TemporaryFile(/tmp/multipartBody4366509733036677256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741424432708,"filename":"image_08032025_09_59_06_30318.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/b14b6f99633ed671c67a5f7cadeca024.jpg","text":"TemporaryFile(/tmp/multipartBody4677212775792529205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741424432708,"filename":"image_08032025_09_58_35_30300.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341803582","file0":"1341803554"},"map_files_photo_id_array":[{"photo_id":"1341803582","filename":"file1"},{"photo_id":"1341803554","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341803554":["hashtag1","hashtag2"]},{"1341803582":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341803554, 1341803582)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.131387948989868 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 10:00:03.414927
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 10:00:32.404284
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/09/59/image_08032025_10_00_05_30343.jpg', 2), ('/home/nano/Desktop/images/08032025/09/59/image_08032025_09_59_35_29303.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/09/59/image_08032025_10_00_05_30343.jpg', '/home/nano/Desktop/images/08032025/09/59/image_08032025_09_59_35_29303.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/09/59/image_08032025_10_00_05_30343.jpg
/home/nano/Desktop/images/08032025/09/59/image_08032025_09_59_35_29303.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341804022","1341804080"],"photo_ids_order":["1341804022","1341804080"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/5774561ccd435fe02aee80d10fd8a8f0.jpg","text":"TemporaryFile(/tmp/multipartBody4169076931252466127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741424492774,"filename":"image_08032025_10_00_05_30343.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/8d05f6425b2dd130329b9bc75efbeb90.jpg","text":"TemporaryFile(/tmp/multipartBody5918573469611941550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741424492774,"filename":"image_08032025_09_59_35_29303.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341804080","file0":"1341804022"},"map_files_photo_id_array":[{"photo_id":"1341804080","filename":"file1"},{"photo_id":"1341804022","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341804022":["hashtag1","hashtag2"]},{"1341804080":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341804022, 1341804080)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.900949716567993 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 10:01:03.419447
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 10:01:32.495846
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/10/00/image_08032025_10_01_06_30313.jpg', 2), ('/home/nano/Desktop/images/08032025/10/00/image_08032025_10_00_36_30288.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/10/00/image_08032025_10_01_06_30313.jpg', '/home/nano/Desktop/images/08032025/10/00/image_08032025_10_00_36_30288.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/10/00/image_08032025_10_01_06_30313.jpg
/home/nano/Desktop/images/08032025/10/00/image_08032025_10_00_36_30288.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341804889","1341804855"],"photo_ids_order":["1341804855","1341804889"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/dc7d358e2c217a761d45d2d7e8d4dfbf.jpg","text":"TemporaryFile(/tmp/multipartBody6596702431275345719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741424552848,"filename":"image_08032025_10_00_36_30288.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/ddffa6404b6b50c194b0ecd5050a5564.jpg","text":"TemporaryFile(/tmp/multipartBody5564124974347579881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741424552848,"filename":"image_08032025_10_01_06_30313.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341804889","file0":"1341804855"},"map_files_photo_id_array":[{"photo_id":"1341804889","filename":"file1"},{"photo_id":"1341804855","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341804889":["hashtag1","hashtag2"]},{"1341804855":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341804889, 1341804855)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.649618864059448 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 10:02:03.527274
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 10:02:32.655229
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/10/01/image_08032025_10_02_06_30312.jpg', 2), ('/home/nano/Desktop/images/08032025/10/01/image_08032025_10_01_35_29280.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/10/01/image_08032025_10_02_06_30312.jpg', '/home/nano/Desktop/images/08032025/10/01/image_08032025_10_01_35_29280.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/10/01/image_08032025_10_02_06_30312.jpg
/home/nano/Desktop/images/08032025/10/01/image_08032025_10_01_35_29280.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341805266","1341805220"],"photo_ids_order":["1341805220","1341805266"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/1de5b83dab1e8dc57be77214e04af265.jpg","text":"TemporaryFile(/tmp/multipartBody6711286481673894085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741424613067,"filename":"image_08032025_10_01_35_29280.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/2c14b1e0a02f81a9cc1abee9dbce8fce.jpg","text":"TemporaryFile(/tmp/multipartBody6154319133847754565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741424613067,"filename":"image_08032025_10_02_06_30312.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341805266","file0":"1341805220"},"map_files_photo_id_array":[{"photo_id":"1341805266","filename":"file1"},{"photo_id":"1341805220","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341805266":["hashtag1","hashtag2"]},{"1341805220":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341805266, 1341805220)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 16.101425647735596 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 10:03:03.448304
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 10:03:32.738544
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/10/02/image_08032025_10_03_05_29296.jpg', 2), ('/home/nano/Desktop/images/08032025/10/02/image_08032025_10_02_36_30288.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/10/02/image_08032025_10_03_05_29296.jpg', '/home/nano/Desktop/images/08032025/10/02/image_08032025_10_02_36_30288.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/10/02/image_08032025_10_03_05_29296.jpg
/home/nano/Desktop/images/08032025/10/02/image_08032025_10_02_36_30288.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341805826","1341805870"],"photo_ids_order":["1341805826","1341805870"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/d2b93a60a3fd1e9f3cc5944bd80dff61.jpg","text":"TemporaryFile(/tmp/multipartBody543171388334761735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741424673132,"filename":"image_08032025_10_03_05_29296.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/feb0e99d67fd4e91e8163bb8c983b6eb.jpg","text":"TemporaryFile(/tmp/multipartBody5591726103005255723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741424673132,"filename":"image_08032025_10_02_36_30288.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341805870","file0":"1341805826"},"map_files_photo_id_array":[{"photo_id":"1341805870","filename":"file1"},{"photo_id":"1341805826","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341805826":["hashtag1","hashtag2"]},{"1341805870":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341805826, 1341805870)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.759666442871094 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 10:04:02.998317
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 10:04:31.918205
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/10/03/image_08032025_10_04_06_30284.jpg', 2), ('/home/nano/Desktop/images/08032025/10/03/image_08032025_10_03_36_30294.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/10/03/image_08032025_10_04_06_30284.jpg', '/home/nano/Desktop/images/08032025/10/03/image_08032025_10_03_36_30294.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/10/03/image_08032025_10_04_06_30284.jpg
/home/nano/Desktop/images/08032025/10/03/image_08032025_10_03_36_30294.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.28673291206359863 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 marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 10:05:02.975317
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/10/03/image_08032025_10_04_06_30284.jpg', 2), ('/home/nano/Desktop/images/08032025/10/03/image_08032025_10_03_36_30294.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/10/03/image_08032025_10_04_06_30284.jpg', '/home/nano/Desktop/images/08032025/10/03/image_08032025_10_03_36_30294.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/10/03/image_08032025_10_04_06_30284.jpg
/home/nano/Desktop/images/08032025/10/03/image_08032025_10_03_36_30294.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341806291","1341806264"],"photo_ids_order":["1341806264","1341806291"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/4ab36a45ae64ad916c46e9f33f48690a.jpg","text":"TemporaryFile(/tmp/multipartBody8796829654527284235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741424763337,"filename":"image_08032025_10_03_36_30294.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/f42b627ab32b27105286038717803812.jpg","text":"TemporaryFile(/tmp/multipartBody4242319673279742670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741424763337,"filename":"image_08032025_10_04_06_30284.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341806291","file0":"1341806264"},"map_files_photo_id_array":[{"photo_id":"1341806291","filename":"file1"},{"photo_id":"1341806264","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341806291":["hashtag1","hashtag2"]},{"1341806264":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341806291, 1341806264)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 16.135278463363647 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 10:05:32.003292
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/10/04/image_08032025_10_05_05_29325.jpg', 2), ('/home/nano/Desktop/images/08032025/10/04/image_08032025_10_04_36_30284.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/10/04/image_08032025_10_05_05_29325.jpg', '/home/nano/Desktop/images/08032025/10/04/image_08032025_10_04_36_30284.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/10/04/image_08032025_10_05_05_29325.jpg
/home/nano/Desktop/images/08032025/10/04/image_08032025_10_04_36_30284.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341806646","1341806595"],"photo_ids_order":["1341806595","1341806646"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/61af65927bbf435816892d94beaab383.jpg","text":"TemporaryFile(/tmp/multipartBody1660895179038967738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741424792392,"filename":"image_08032025_10_04_36_30284.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/ff14b187a0b5d537639a739fc470b664.jpg","text":"TemporaryFile(/tmp/multipartBody4968279287140028748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741424792392,"filename":"image_08032025_10_05_05_29325.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341806646","file0":"1341806595"},"map_files_photo_id_array":[{"photo_id":"1341806646","filename":"file1"},{"photo_id":"1341806595","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341806646":["hashtag1","hashtag2"]},{"1341806595":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341806646, 1341806595)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 18.02242136001587 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 10:06:02.925734
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 10:06:32.126931
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/10/05/image_08032025_10_06_06_30302.jpg', 2), ('/home/nano/Desktop/images/08032025/10/05/image_08032025_10_05_36_30307.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/10/05/image_08032025_10_06_06_30302.jpg', '/home/nano/Desktop/images/08032025/10/05/image_08032025_10_05_36_30307.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/10/05/image_08032025_10_06_06_30302.jpg
/home/nano/Desktop/images/08032025/10/05/image_08032025_10_05_36_30307.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341807077","1341807088"],"photo_ids_order":["1341807077","1341807088"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/2a6ab01c5a6ba30a48a75cbb80a48c70.jpg","text":"TemporaryFile(/tmp/multipartBody1243138996931411526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741424852453,"filename":"image_08032025_10_06_06_30302.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/a35c0b4bbd67ebc0f7106679f5cf8437.jpg","text":"TemporaryFile(/tmp/multipartBody9199413102967681727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741424852453,"filename":"image_08032025_10_05_36_30307.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341807088","file0":"1341807077"},"map_files_photo_id_array":[{"photo_id":"1341807088","filename":"file1"},{"photo_id":"1341807077","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341807077":["hashtag1","hashtag2"]},{"1341807088":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341807077, 1341807088)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.763974666595459 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 10:07:03.015212
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 10:07:32.208713
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/10/06/image_08032025_10_07_06_30296.jpg', 2), ('/home/nano/Desktop/images/08032025/10/06/image_08032025_10_06_35_29274.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/10/06/image_08032025_10_07_06_30296.jpg', '/home/nano/Desktop/images/08032025/10/06/image_08032025_10_06_35_29274.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/10/06/image_08032025_10_07_06_30296.jpg
/home/nano/Desktop/images/08032025/10/06/image_08032025_10_06_35_29274.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341807184","1341807181"],"photo_ids_order":["1341807181","1341807184"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/4fa97f7af1cf8d0d5df818b575ce977c.jpg","text":"TemporaryFile(/tmp/multipartBody6823811414772478866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741424912532,"filename":"image_08032025_10_06_35_29274.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/1edb56609a0add38c681b6ad9393d098.jpg","text":"TemporaryFile(/tmp/multipartBody6399688593844676193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741424912532,"filename":"image_08032025_10_07_06_30296.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341807184","file0":"1341807181"},"map_files_photo_id_array":[{"photo_id":"1341807184","filename":"file1"},{"photo_id":"1341807181","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341807184":["hashtag1","hashtag2"]},{"1341807181":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341807184, 1341807181)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.385751962661743 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 10:08:03.137535
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 10:08:32.306841
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/10/07/image_08032025_10_08_05_29296.jpg', 2), ('/home/nano/Desktop/images/08032025/10/07/image_08032025_10_07_36_30297.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/10/07/image_08032025_10_08_05_29296.jpg', '/home/nano/Desktop/images/08032025/10/07/image_08032025_10_07_36_30297.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/10/07/image_08032025_10_08_05_29296.jpg
/home/nano/Desktop/images/08032025/10/07/image_08032025_10_07_36_30297.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341807240","1341807248"],"photo_ids_order":["1341807240","1341807248"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/f7d01973e1c37718eab9afd84e25ccce.jpg","text":"TemporaryFile(/tmp/multipartBody4101909762549068174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741424972690,"filename":"image_08032025_10_08_05_29296.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/1d6413f5498694ac6566dbb9b6cbadb8.jpg","text":"TemporaryFile(/tmp/multipartBody7456542925200698880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741424972690,"filename":"image_08032025_10_07_36_30297.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341807248","file0":"1341807240"},"map_files_photo_id_array":[{"photo_id":"1341807248","filename":"file1"},{"photo_id":"1341807240","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341807240":["hashtag1","hashtag2"]},{"1341807248":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341807240, 1341807248)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 16.262491941452026 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 10:09:03.353695
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 10:09:32.402051
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/10/08/image_08032025_10_09_06_30302.jpg', 2), ('/home/nano/Desktop/images/08032025/10/08/image_08032025_10_08_35_30288.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/10/08/image_08032025_10_09_06_30302.jpg', '/home/nano/Desktop/images/08032025/10/08/image_08032025_10_08_35_30288.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/10/08/image_08032025_10_09_06_30302.jpg
/home/nano/Desktop/images/08032025/10/08/image_08032025_10_08_35_30288.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341807469","1341807442"],"photo_ids_order":["1341807442","1341807469"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/1ca68390ded153deda1423513035524a.jpg","text":"TemporaryFile(/tmp/multipartBody5342880995641753150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741425032733,"filename":"image_08032025_10_08_35_30288.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/4f32af8d4b9e29f76a14b4f7ee070f39.jpg","text":"TemporaryFile(/tmp/multipartBody3949822159758968792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741425032733,"filename":"image_08032025_10_09_06_30302.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341807469","file0":"1341807442"},"map_files_photo_id_array":[{"photo_id":"1341807469","filename":"file1"},{"photo_id":"1341807442","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341807469":["hashtag1","hashtag2"]},{"1341807442":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341807469, 1341807442)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.42848014831543 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 10:10:03.343166
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 10:10:32.500490
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/10/09/image_08032025_10_10_05_29318.jpg', 2), ('/home/nano/Desktop/images/08032025/10/09/image_08032025_10_09_36_30285.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/10/09/image_08032025_10_10_05_29318.jpg', '/home/nano/Desktop/images/08032025/10/09/image_08032025_10_09_36_30285.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/10/09/image_08032025_10_10_05_29318.jpg
/home/nano/Desktop/images/08032025/10/09/image_08032025_10_09_36_30285.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341807935","1341807916"],"photo_ids_order":["1341807916","1341807935"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/547f82280e41a747bf9833951098abd0.jpg","text":"TemporaryFile(/tmp/multipartBody6564197850209747966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741425092815,"filename":"image_08032025_10_09_36_30285.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/590ca4837f654d828dd8904a11c7d8c4.jpg","text":"TemporaryFile(/tmp/multipartBody105978848196803125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741425092815,"filename":"image_08032025_10_10_05_29318.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341807935","file0":"1341807916"},"map_files_photo_id_array":[{"photo_id":"1341807935","filename":"file1"},{"photo_id":"1341807916","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341807935":["hashtag1","hashtag2"]},{"1341807916":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341807935, 1341807916)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.1364164352417 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 10:11:03.443337
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 10:11:32.617483
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/10/10/image_08032025_10_11_06_30299.jpg', 2), ('/home/nano/Desktop/images/08032025/10/10/image_08032025_10_10_36_30299.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/10/10/image_08032025_10_11_06_30299.jpg', '/home/nano/Desktop/images/08032025/10/10/image_08032025_10_10_36_30299.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/10/10/image_08032025_10_11_06_30299.jpg
/home/nano/Desktop/images/08032025/10/10/image_08032025_10_10_36_30299.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341808114","1341808138"],"photo_ids_order":["1341808114","1341808138"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/ff58e54d520f7392b54bb89500daeb24.jpg","text":"TemporaryFile(/tmp/multipartBody3005474289287702124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741425152933,"filename":"image_08032025_10_11_06_30299.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/47add2d49e03a692101fcbcf8162a504.jpg","text":"TemporaryFile(/tmp/multipartBody1135694076741272284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741425152933,"filename":"image_08032025_10_10_36_30299.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341808138","file0":"1341808114"},"map_files_photo_id_array":[{"photo_id":"1341808138","filename":"file1"},{"photo_id":"1341808114","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341808114":["hashtag1","hashtag2"]},{"1341808138":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341808114, 1341808138)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 18.21953320503235 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 10:12:03.394570
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 10:12:32.716203
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/10/11/image_08032025_10_12_06_30302.jpg', 2), ('/home/nano/Desktop/images/08032025/10/11/image_08032025_10_11_35_29271.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/10/11/image_08032025_10_12_06_30302.jpg', '/home/nano/Desktop/images/08032025/10/11/image_08032025_10_11_35_29271.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/10/11/image_08032025_10_12_06_30302.jpg
/home/nano/Desktop/images/08032025/10/11/image_08032025_10_11_35_29271.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341808327","1341808341"],"photo_ids_order":["1341808327","1341808341"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/49463ffafed6a18d523dba4525bc791d.jpg","text":"TemporaryFile(/tmp/multipartBody4603775975620008624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741425213084,"filename":"image_08032025_10_12_06_30302.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/c580f2f538cf6828aa6cfcb81dbf1680.jpg","text":"TemporaryFile(/tmp/multipartBody1820562464658331906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741425213084,"filename":"image_08032025_10_11_35_29271.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341808341","file0":"1341808327"},"map_files_photo_id_array":[{"photo_id":"1341808341","filename":"file1"},{"photo_id":"1341808327","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341808327":["hashtag1","hashtag2"]},{"1341808341":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341808327, 1341808341)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 16.146437168121338 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 10:13:02.697016
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 10:13:31.785019
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/10/12/image_08032025_10_13_05_29281.jpg', 2), ('/home/nano/Desktop/images/08032025/10/12/image_08032025_10_12_36_30281.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/10/12/image_08032025_10_13_05_29281.jpg', '/home/nano/Desktop/images/08032025/10/12/image_08032025_10_12_36_30281.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/10/12/image_08032025_10_13_05_29281.jpg
/home/nano/Desktop/images/08032025/10/12/image_08032025_10_12_36_30281.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341808391","1341808386"],"photo_ids_order":["1341808386","1341808391"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/f46863f4eadd3fa54a8b09cc2247ad82.jpg","text":"TemporaryFile(/tmp/multipartBody4318031638218950683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741425272104,"filename":"image_08032025_10_12_36_30281.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/c61e2bee229701d0b835759c24e91a62.jpg","text":"TemporaryFile(/tmp/multipartBody4998342477898037976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741425272104,"filename":"image_08032025_10_13_05_29281.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341808391","file0":"1341808386"},"map_files_photo_id_array":[{"photo_id":"1341808391","filename":"file1"},{"photo_id":"1341808386","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341808391":["hashtag1","hashtag2"]},{"1341808386":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341808391, 1341808386)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.942589282989502 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 10:14:02.896493
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 10:14:31.892723
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/10/13/image_08032025_10_14_06_30308.jpg', 2), ('/home/nano/Desktop/images/08032025/10/13/image_08032025_10_13_35_30309.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/10/13/image_08032025_10_14_06_30308.jpg', '/home/nano/Desktop/images/08032025/10/13/image_08032025_10_13_35_30309.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/10/13/image_08032025_10_14_06_30308.jpg
/home/nano/Desktop/images/08032025/10/13/image_08032025_10_13_35_30309.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341808499","1341808480"],"photo_ids_order":["1341808480","1341808499"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/945488469eaceab86ebce3b0bd030567.jpg","text":"TemporaryFile(/tmp/multipartBody244342919634326902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741425332211,"filename":"image_08032025_10_13_35_30309.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/b1cdf44ad31a7b2a17ed6c05e4568f66.jpg","text":"TemporaryFile(/tmp/multipartBody1272680002389564503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741425332211,"filename":"image_08032025_10_14_06_30308.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341808499","file0":"1341808480"},"map_files_photo_id_array":[{"photo_id":"1341808499","filename":"file1"},{"photo_id":"1341808480","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341808499":["hashtag1","hashtag2"]},{"1341808480":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341808499, 1341808480)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 22.547264099121094 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 10:15:02.675619
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 10:15:31.994997
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/10/14/image_08032025_10_15_05_29290.jpg', 2), ('/home/nano/Desktop/images/08032025/10/14/image_08032025_10_14_36_30268.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/10/14/image_08032025_10_15_05_29290.jpg', '/home/nano/Desktop/images/08032025/10/14/image_08032025_10_14_36_30268.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/10/14/image_08032025_10_15_05_29290.jpg
/home/nano/Desktop/images/08032025/10/14/image_08032025_10_14_36_30268.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341808718","1341808761"],"photo_ids_order":["1341808718","1341808761"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/7467f8a72bf512181957acb2be196dad.jpg","text":"TemporaryFile(/tmp/multipartBody4361242321808575941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741425392312,"filename":"image_08032025_10_15_05_29290.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/abcef91ca6bfcf58315e589e775f8d51.jpg","text":"TemporaryFile(/tmp/multipartBody3375417054539749106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741425392312,"filename":"image_08032025_10_14_36_30268.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341808761","file0":"1341808718"},"map_files_photo_id_array":[{"photo_id":"1341808761","filename":"file1"},{"photo_id":"1341808718","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341808718":["hashtag1","hashtag2"]},{"1341808761":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341808718, 1341808761)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 16.881000518798828 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 10:16:03.074834
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/10/15/image_08032025_10_16_06_30313.jpg', 2), ('/home/nano/Desktop/images/08032025/10/15/image_08032025_10_15_36_30273.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/10/15/image_08032025_10_16_06_30313.jpg', '/home/nano/Desktop/images/08032025/10/15/image_08032025_10_15_36_30273.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/10/15/image_08032025_10_16_06_30313.jpg
/home/nano/Desktop/images/08032025/10/15/image_08032025_10_15_36_30273.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341808774","1341808772"],"photo_ids_order":["1341808772","1341808774"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/5669569a61a142e6662912c85fc85b0c.jpg","text":"TemporaryFile(/tmp/multipartBody6212016263703621281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741425423455,"filename":"image_08032025_10_15_36_30273.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/1a28b087b1e09eece1c692482668fca6.jpg","text":"TemporaryFile(/tmp/multipartBody5742353328810190693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741425423455,"filename":"image_08032025_10_16_06_30313.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341808774","file0":"1341808772"},"map_files_photo_id_array":[{"photo_id":"1341808774","filename":"file1"},{"photo_id":"1341808772","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341808774":["hashtag1","hashtag2"]},{"1341808772":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341808774, 1341808772)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.626075983047485 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 10:16:32.119111
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 10:17:02.901936
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 10:17:32.244172
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/10/16/image_08032025_10_17_05_30316.jpg', 2), ('/home/nano/Desktop/images/08032025/10/16/image_08032025_10_16_35_29272.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/10/16/image_08032025_10_17_05_30316.jpg', '/home/nano/Desktop/images/08032025/10/16/image_08032025_10_16_35_29272.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/10/16/image_08032025_10_17_05_30316.jpg
/home/nano/Desktop/images/08032025/10/16/image_08032025_10_16_35_29272.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341808820","1341808814"],"photo_ids_order":["1341808814","1341808820"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/bc01285f1fc70969320b72973b37666f.jpg","text":"TemporaryFile(/tmp/multipartBody7232415600695910850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741425512560,"filename":"image_08032025_10_16_35_29272.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/453fbb8f0fe12c74ecb08c1e5d1a4bc7.jpg","text":"TemporaryFile(/tmp/multipartBody6464442472264699892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741425512560,"filename":"image_08032025_10_17_05_30316.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341808820","file0":"1341808814"},"map_files_photo_id_array":[{"photo_id":"1341808820","filename":"file1"},{"photo_id":"1341808814","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341808820":["hashtag1","hashtag2"]},{"1341808814":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341808820, 1341808814)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.052023649215698 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 10:18:03.165164
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 10:18:32.339067
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/10/17/image_08032025_10_18_06_30279.jpg', 2), ('/home/nano/Desktop/images/08032025/10/17/image_08032025_10_17_36_30269.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/10/17/image_08032025_10_18_06_30279.jpg', '/home/nano/Desktop/images/08032025/10/17/image_08032025_10_17_36_30269.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/10/17/image_08032025_10_18_06_30279.jpg
/home/nano/Desktop/images/08032025/10/17/image_08032025_10_17_36_30269.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341808860","1341808848"],"photo_ids_order":["1341808848","1341808860"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/a9836792b70241a7c90155bb45c51a78.jpg","text":"TemporaryFile(/tmp/multipartBody998608098096273281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741425572654,"filename":"image_08032025_10_17_36_30269.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/08595fd7fef0e415b3343bf587789a2d.jpg","text":"TemporaryFile(/tmp/multipartBody1178682973039815681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741425572654,"filename":"image_08032025_10_18_06_30279.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341808860","file0":"1341808848"},"map_files_photo_id_array":[{"photo_id":"1341808860","filename":"file1"},{"photo_id":"1341808848","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341808860":["hashtag1","hashtag2"]},{"1341808848":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341808860, 1341808848)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.513927221298218 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 10:19:03.163948
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 10:19:32.464251
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/10/18/image_08032025_10_19_06_30273.jpg', 2), ('/home/nano/Desktop/images/08032025/10/18/image_08032025_10_18_35_29255.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/10/18/image_08032025_10_19_06_30273.jpg', '/home/nano/Desktop/images/08032025/10/18/image_08032025_10_18_35_29255.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/10/18/image_08032025_10_19_06_30273.jpg
/home/nano/Desktop/images/08032025/10/18/image_08032025_10_18_35_29255.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341808934","1341808923"],"photo_ids_order":["1341808923","1341808934"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/b4d6cc43a12981b5967d842d2f51da73.jpg","text":"TemporaryFile(/tmp/multipartBody4568984639443396595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741425632802,"filename":"image_08032025_10_18_35_29255.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/ae5b0a0f15b9eba9fba5ae5ddbc6a9c2.jpg","text":"TemporaryFile(/tmp/multipartBody9068202570805043635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741425632802,"filename":"image_08032025_10_19_06_30273.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341808934","file0":"1341808923"},"map_files_photo_id_array":[{"photo_id":"1341808934","filename":"file1"},{"photo_id":"1341808923","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341808934":["hashtag1","hashtag2"]},{"1341808923":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341808934, 1341808923)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.648398160934448 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 10:20:03.453937
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 10:20:32.597697
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/10/19/image_08032025_10_20_05_29304.jpg', 2), ('/home/nano/Desktop/images/08032025/10/19/image_08032025_10_19_36_30270.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/10/19/image_08032025_10_20_05_29304.jpg', '/home/nano/Desktop/images/08032025/10/19/image_08032025_10_19_36_30270.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/10/19/image_08032025_10_20_05_29304.jpg
/home/nano/Desktop/images/08032025/10/19/image_08032025_10_19_36_30270.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.22875165939331055 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 marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 10:21:03.593643
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/10/19/image_08032025_10_20_05_29304.jpg', 2), ('/home/nano/Desktop/images/08032025/10/19/image_08032025_10_19_36_30270.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/10/19/image_08032025_10_20_05_29304.jpg', '/home/nano/Desktop/images/08032025/10/19/image_08032025_10_19_36_30270.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/10/19/image_08032025_10_20_05_29304.jpg
/home/nano/Desktop/images/08032025/10/19/image_08032025_10_19_36_30270.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341809092","1341809086"],"photo_ids_order":["1341809086","1341809092"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/15a6462b9d3f79c7353612286e180f86.jpg","text":"TemporaryFile(/tmp/multipartBody3901496473390427276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741425723949,"filename":"image_08032025_10_19_36_30270.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/89c1ce6512cd66ea88c1c3db11c2fe25.jpg","text":"TemporaryFile(/tmp/multipartBody2409700497825970802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741425723949,"filename":"image_08032025_10_20_05_29304.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341809092","file0":"1341809086"},"map_files_photo_id_array":[{"photo_id":"1341809092","filename":"file1"},{"photo_id":"1341809086","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341809092":["hashtag1","hashtag2"]},{"1341809086":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341809092, 1341809086)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.2498459815979 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 10:21:32.721082
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/10/20/image_08032025_10_21_06_30288.jpg', 2), ('/home/nano/Desktop/images/08032025/10/20/image_08032025_10_20_35_30259.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/10/20/image_08032025_10_21_06_30288.jpg', '/home/nano/Desktop/images/08032025/10/20/image_08032025_10_20_35_30259.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/10/20/image_08032025_10_21_06_30288.jpg
/home/nano/Desktop/images/08032025/10/20/image_08032025_10_20_35_30259.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341809138","1341809142"],"photo_ids_order":["1341809138","1341809142"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/61215ae018b85bfe10dafd6c670345ad.jpg","text":"TemporaryFile(/tmp/multipartBody6565528960961890620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741425753040,"filename":"image_08032025_10_21_06_30288.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/ac870db23edcb0096c4fdb9d2e2e8fa3.jpg","text":"TemporaryFile(/tmp/multipartBody395934238213272019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741425753040,"filename":"image_08032025_10_20_35_30259.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341809142","file0":"1341809138"},"map_files_photo_id_array":[{"photo_id":"1341809142","filename":"file1"},{"photo_id":"1341809138","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341809138":["hashtag1","hashtag2"]},{"1341809142":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341809138, 1341809142)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.806731939315796 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 10:22:02.566125
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 10:22:31.843146
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/10/21/image_08032025_10_22_05_29285.jpg', 2), ('/home/nano/Desktop/images/08032025/10/21/image_08032025_10_21_36_30277.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/10/21/image_08032025_10_22_05_29285.jpg', '/home/nano/Desktop/images/08032025/10/21/image_08032025_10_21_36_30277.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/10/21/image_08032025_10_22_05_29285.jpg
/home/nano/Desktop/images/08032025/10/21/image_08032025_10_21_36_30277.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341809293","1341809286"],"photo_ids_order":["1341809286","1341809293"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/8633d683cf9dcdb3f6a4224992f1c4be.jpg","text":"TemporaryFile(/tmp/multipartBody6900339683700626818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741425812178,"filename":"image_08032025_10_21_36_30277.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/02c58aaf6a61be14dfa6189c2c121ef7.jpg","text":"TemporaryFile(/tmp/multipartBody3536488161364702957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741425812178,"filename":"image_08032025_10_22_05_29285.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341809293","file0":"1341809286"},"map_files_photo_id_array":[{"photo_id":"1341809293","filename":"file1"},{"photo_id":"1341809286","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341809293":["hashtag1","hashtag2"]},{"1341809286":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341809293, 1341809286)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.431199550628662 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 10:23:02.983713
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 10:23:31.949264
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/10/22/image_08032025_10_23_06_30291.jpg', 2), ('/home/nano/Desktop/images/08032025/10/22/image_08032025_10_22_36_30280.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/10/22/image_08032025_10_23_06_30291.jpg', '/home/nano/Desktop/images/08032025/10/22/image_08032025_10_22_36_30280.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/10/22/image_08032025_10_23_06_30291.jpg
/home/nano/Desktop/images/08032025/10/22/image_08032025_10_22_36_30280.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341809680","1341809684"],"photo_ids_order":["1341809680","1341809684"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/9669019d1d846a367b57e6fcf37a4736.jpg","text":"TemporaryFile(/tmp/multipartBody4585419332968863022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741425872285,"filename":"image_08032025_10_23_06_30291.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/c9dea068677d0922ec405e2617e538d3.jpg","text":"TemporaryFile(/tmp/multipartBody2316595360438605901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741425872285,"filename":"image_08032025_10_22_36_30280.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341809684","file0":"1341809680"},"map_files_photo_id_array":[{"photo_id":"1341809684","filename":"file1"},{"photo_id":"1341809680","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341809680":["hashtag1","hashtag2"]},{"1341809684":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341809680, 1341809684)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.92896842956543 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 10:24:02.902321
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 10:24:32.035494
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/10/23/image_08032025_10_24_05_29289.jpg', 2), ('/home/nano/Desktop/images/08032025/10/23/image_08032025_10_23_36_30290.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/10/23/image_08032025_10_24_05_29289.jpg', '/home/nano/Desktop/images/08032025/10/23/image_08032025_10_23_36_30290.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/10/23/image_08032025_10_24_05_29289.jpg
/home/nano/Desktop/images/08032025/10/23/image_08032025_10_23_36_30290.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341809994","1341809976"],"photo_ids_order":["1341809976","1341809994"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/f161ea8115114ea3ba40a90c52d93cf7.jpg","text":"TemporaryFile(/tmp/multipartBody7712389064246246809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741425932349,"filename":"image_08032025_10_23_36_30290.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/39b84b7618b1ed5f3190ac439dcf7658.jpg","text":"TemporaryFile(/tmp/multipartBody9196522012316675575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741425932349,"filename":"image_08032025_10_24_05_29289.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341809994","file0":"1341809976"},"map_files_photo_id_array":[{"photo_id":"1341809994","filename":"file1"},{"photo_id":"1341809976","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341809994":["hashtag1","hashtag2"]},{"1341809976":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341809994, 1341809976)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.496606588363647 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 10:25:02.886121
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 10:25:32.124881
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/10/24/image_08032025_10_25_06_30326.jpg', 2), ('/home/nano/Desktop/images/08032025/10/24/image_08032025_10_24_36_30282.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/10/24/image_08032025_10_25_06_30326.jpg', '/home/nano/Desktop/images/08032025/10/24/image_08032025_10_24_36_30282.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/10/24/image_08032025_10_25_06_30326.jpg
/home/nano/Desktop/images/08032025/10/24/image_08032025_10_24_36_30282.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341810193","1341810187"],"photo_ids_order":["1341810187","1341810193"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/e73a83e9037f4e57c0d13b6a27c287cf.jpg","text":"TemporaryFile(/tmp/multipartBody8720686453677504734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741425992480,"filename":"image_08032025_10_24_36_30282.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/50272377e508ec60e18e31c572de5e90.jpg","text":"TemporaryFile(/tmp/multipartBody1668099444531099016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741425992480,"filename":"image_08032025_10_25_06_30326.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341810193","file0":"1341810187"},"map_files_photo_id_array":[{"photo_id":"1341810193","filename":"file1"},{"photo_id":"1341810187","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341810193":["hashtag1","hashtag2"]},{"1341810187":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341810193, 1341810187)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 20.14824628829956 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 10:26:03.039832
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 10:26:32.234915
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/10/25/image_08032025_10_26_06_30264.jpg', 2), ('/home/nano/Desktop/images/08032025/10/25/image_08032025_10_25_35_29261.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/10/25/image_08032025_10_26_06_30264.jpg', '/home/nano/Desktop/images/08032025/10/25/image_08032025_10_25_35_29261.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/10/25/image_08032025_10_26_06_30264.jpg
/home/nano/Desktop/images/08032025/10/25/image_08032025_10_25_35_29261.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341810379","1341810408"],"photo_ids_order":["1341810379","1341810408"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/46da84ca7d82a0f14430662551f9ae53.jpg","text":"TemporaryFile(/tmp/multipartBody6469142830806528566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741426052570,"filename":"image_08032025_10_26_06_30264.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/61a8e0f5c89620252ac821d3cb4fe048.jpg","text":"TemporaryFile(/tmp/multipartBody2620090027520841127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741426052570,"filename":"image_08032025_10_25_35_29261.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341810408","file0":"1341810379"},"map_files_photo_id_array":[{"photo_id":"1341810408","filename":"file1"},{"photo_id":"1341810379","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341810379":["hashtag1","hashtag2"]},{"1341810408":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341810379, 1341810408)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.117960453033447 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 10:27:03.225732
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 10:27:32.329195
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/10/26/image_08032025_10_27_06_30261.jpg', 2), ('/home/nano/Desktop/images/08032025/10/26/image_08032025_10_26_36_30270.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/10/26/image_08032025_10_27_06_30261.jpg', '/home/nano/Desktop/images/08032025/10/26/image_08032025_10_26_36_30270.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/10/26/image_08032025_10_27_06_30261.jpg
/home/nano/Desktop/images/08032025/10/26/image_08032025_10_26_36_30270.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341810500","1341810495"],"photo_ids_order":["1341810495","1341810500"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/2af159973ba70d40632c226392a29c63.jpg","text":"TemporaryFile(/tmp/multipartBody8953077209826659245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741426112640,"filename":"image_08032025_10_26_36_30270.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/04331ea3a8b477acaaa744dd623dbaa6.jpg","text":"TemporaryFile(/tmp/multipartBody8877561962409669565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741426112640,"filename":"image_08032025_10_27_06_30261.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341810500","file0":"1341810495"},"map_files_photo_id_array":[{"photo_id":"1341810500","filename":"file1"},{"photo_id":"1341810495","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341810500":["hashtag1","hashtag2"]},{"1341810495":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341810500, 1341810495)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.678701877593994 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 10:28:03.269805
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 10:28:32.486381
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/10/27/image_08032025_10_28_06_30289.jpg', 2), ('/home/nano/Desktop/images/08032025/10/27/image_08032025_10_27_35_29249.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/10/27/image_08032025_10_28_06_30289.jpg', '/home/nano/Desktop/images/08032025/10/27/image_08032025_10_27_35_29249.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/10/27/image_08032025_10_28_06_30289.jpg
/home/nano/Desktop/images/08032025/10/27/image_08032025_10_27_35_29249.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341810536","1341810541"],"photo_ids_order":["1341810536","1341810541"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/cdc1e23dbdefa0a50a257094408e500c.jpg","text":"TemporaryFile(/tmp/multipartBody773792020360450573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741426172818,"filename":"image_08032025_10_28_06_30289.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/a13e612bbbee6d95b2ebd963607ae584.jpg","text":"TemporaryFile(/tmp/multipartBody5406192427369182603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741426172818,"filename":"image_08032025_10_27_35_29249.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341810541","file0":"1341810536"},"map_files_photo_id_array":[{"photo_id":"1341810541","filename":"file1"},{"photo_id":"1341810536","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341810536":["hashtag1","hashtag2"]},{"1341810541":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341810536, 1341810541)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.8333740234375 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 10:29:03.759303
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 10:29:32.559523
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/10/28/image_08032025_10_29_05_29270.jpg', 2), ('/home/nano/Desktop/images/08032025/10/28/image_08032025_10_28_36_30254.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/10/28/image_08032025_10_29_05_29270.jpg', '/home/nano/Desktop/images/08032025/10/28/image_08032025_10_28_36_30254.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/10/28/image_08032025_10_29_05_29270.jpg
/home/nano/Desktop/images/08032025/10/28/image_08032025_10_28_36_30254.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341810800","1341810693"],"photo_ids_order":["1341810693","1341810800"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/fa6f26012b5bba0db0584daa9e2ca005.jpg","text":"TemporaryFile(/tmp/multipartBody6863861647961259033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741426232946,"filename":"image_08032025_10_28_36_30254.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/248060d1ea94aae7b5e9bb3106a2eaca.jpg","text":"TemporaryFile(/tmp/multipartBody9044684040449338650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741426232946,"filename":"image_08032025_10_29_05_29270.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341810800","file0":"1341810693"},"map_files_photo_id_array":[{"photo_id":"1341810800","filename":"file1"},{"photo_id":"1341810693","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341810800":["hashtag1","hashtag2"]},{"1341810693":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341810800, 1341810693)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 16.59918713569641 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 10:30:03.494749
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 10:30:32.675889
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/10/29/image_08032025_10_30_06_30290.jpg', 2), ('/home/nano/Desktop/images/08032025/10/29/image_08032025_10_29_35_30273.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/10/29/image_08032025_10_30_06_30290.jpg', '/home/nano/Desktop/images/08032025/10/29/image_08032025_10_29_35_30273.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/10/29/image_08032025_10_30_06_30290.jpg
/home/nano/Desktop/images/08032025/10/29/image_08032025_10_29_35_30273.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341810934","1341810989"],"photo_ids_order":["1341810934","1341810989"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/929b689cf1673e6021e29ee07a3b9bee.jpg","text":"TemporaryFile(/tmp/multipartBody6475588316739843949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741426293007,"filename":"image_08032025_10_30_06_30290.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/ef304d241d082b1763053dbf550d0e1d.jpg","text":"TemporaryFile(/tmp/multipartBody6173203745445467130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741426293007,"filename":"image_08032025_10_29_35_30273.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341810989","file0":"1341810934"},"map_files_photo_id_array":[{"photo_id":"1341810989","filename":"file1"},{"photo_id":"1341810934","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341810934":["hashtag1","hashtag2"]},{"1341810989":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341810934, 1341810989)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.396596908569336 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 10:31:02.535868
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 10:31:31.889045
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/10/30/image_08032025_10_31_05_29269.jpg', 2), ('/home/nano/Desktop/images/08032025/10/30/image_08032025_10_30_36_30271.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/10/30/image_08032025_10_31_05_29269.jpg', '/home/nano/Desktop/images/08032025/10/30/image_08032025_10_30_36_30271.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/10/30/image_08032025_10_31_05_29269.jpg
/home/nano/Desktop/images/08032025/10/30/image_08032025_10_30_36_30271.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341811296","1341811271"],"photo_ids_order":["1341811271","1341811296"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/1b4972e615fc136dfafb68a59dc26e49.jpg","text":"TemporaryFile(/tmp/multipartBody7168557510339608724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741426352205,"filename":"image_08032025_10_30_36_30271.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/78c6ed18915ff5410d648a31fb8d22ef.jpg","text":"TemporaryFile(/tmp/multipartBody4331918064644943394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741426352205,"filename":"image_08032025_10_31_05_29269.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341811296","file0":"1341811271"},"map_files_photo_id_array":[{"photo_id":"1341811296","filename":"file1"},{"photo_id":"1341811271","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341811296":["hashtag1","hashtag2"]},{"1341811271":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341811296, 1341811271)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 21.406779527664185 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 10:32:02.806673
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 10:32:31.973949
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/10/31/image_08032025_10_32_06_30288.jpg', 2), ('/home/nano/Desktop/images/08032025/10/31/image_08032025_10_31_36_30261.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/10/31/image_08032025_10_32_06_30288.jpg', '/home/nano/Desktop/images/08032025/10/31/image_08032025_10_31_36_30261.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/10/31/image_08032025_10_32_06_30288.jpg
/home/nano/Desktop/images/08032025/10/31/image_08032025_10_31_36_30261.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.25247836112976074 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 marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 10:33:02.835144
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/10/31/image_08032025_10_32_06_30288.jpg', 2), ('/home/nano/Desktop/images/08032025/10/31/image_08032025_10_31_36_30261.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/10/31/image_08032025_10_32_06_30288.jpg', '/home/nano/Desktop/images/08032025/10/31/image_08032025_10_31_36_30261.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/10/31/image_08032025_10_32_06_30288.jpg
/home/nano/Desktop/images/08032025/10/31/image_08032025_10_31_36_30261.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341811456","1341811457"],"photo_ids_order":["1341811456","1341811457"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/6894fab5ba7d392bab34f8c402fa7ed7.jpg","text":"TemporaryFile(/tmp/multipartBody6331648436094246341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741426443244,"filename":"image_08032025_10_32_06_30288.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/7d1a1dbe64cd448f5af544fef2599d0f.jpg","text":"TemporaryFile(/tmp/multipartBody623144002342168260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741426443244,"filename":"image_08032025_10_31_36_30261.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341811457","file0":"1341811456"},"map_files_photo_id_array":[{"photo_id":"1341811457","filename":"file1"},{"photo_id":"1341811456","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341811456":["hashtag1","hashtag2"]},{"1341811457":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341811456, 1341811457)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.156920671463013 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 10:33:32.090505
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/10/32/image_08032025_10_33_05_29285.jpg', 2), ('/home/nano/Desktop/images/08032025/10/32/image_08032025_10_32_36_30259.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/10/32/image_08032025_10_33_05_29285.jpg', '/home/nano/Desktop/images/08032025/10/32/image_08032025_10_32_36_30259.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/10/32/image_08032025_10_33_05_29285.jpg
/home/nano/Desktop/images/08032025/10/32/image_08032025_10_32_36_30259.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341811630","1341811605"],"photo_ids_order":["1341811605","1341811630"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/2c335545d9cbd5bf7d37ac81821e43cd.jpg","text":"TemporaryFile(/tmp/multipartBody1499911351668051436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741426472401,"filename":"image_08032025_10_32_36_30259.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/e48bebcc60fc5c68625d26d5e955af5c.jpg","text":"TemporaryFile(/tmp/multipartBody4487106374477302543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741426472401,"filename":"image_08032025_10_33_05_29285.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341811630","file0":"1341811605"},"map_files_photo_id_array":[{"photo_id":"1341811630","filename":"file1"},{"photo_id":"1341811605","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341811630":["hashtag1","hashtag2"]},{"1341811605":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341811630, 1341811605)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 16.22336769104004 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 10:34:03.168989
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 10:34:32.174158
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/10/33/image_08032025_10_34_06_30282.jpg', 2), ('/home/nano/Desktop/images/08032025/10/33/image_08032025_10_33_36_30282.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/10/33/image_08032025_10_34_06_30282.jpg', '/home/nano/Desktop/images/08032025/10/33/image_08032025_10_33_36_30282.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/10/33/image_08032025_10_34_06_30282.jpg
/home/nano/Desktop/images/08032025/10/33/image_08032025_10_33_36_30282.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341812049","1341812074"],"photo_ids_order":["1341812049","1341812074"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/dabcdeb24db9edeb48f049dd83c0004a.jpg","text":"TemporaryFile(/tmp/multipartBody6140570454471570612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741426532506,"filename":"image_08032025_10_34_06_30282.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/33b1318d12838ed21d183c0d784a3940.jpg","text":"TemporaryFile(/tmp/multipartBody6446645879603757445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741426532506,"filename":"image_08032025_10_33_36_30282.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341812074","file0":"1341812049"},"map_files_photo_id_array":[{"photo_id":"1341812074","filename":"file1"},{"photo_id":"1341812049","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341812049":["hashtag1","hashtag2"]},{"1341812074":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341812049, 1341812074)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.364412784576416 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 10:35:03.132073
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 10:35:32.308886
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/10/34/image_08032025_10_35_05_30277.jpg', 2), ('/home/nano/Desktop/images/08032025/10/34/image_08032025_10_34_35_29252.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/10/34/image_08032025_10_35_05_30277.jpg', '/home/nano/Desktop/images/08032025/10/34/image_08032025_10_34_35_29252.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/10/34/image_08032025_10_35_05_30277.jpg
/home/nano/Desktop/images/08032025/10/34/image_08032025_10_34_35_29252.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341812245","1341812241"],"photo_ids_order":["1341812241","1341812245"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/d2178c9c4c36a297613b0f9c4ed57be1.jpg","text":"TemporaryFile(/tmp/multipartBody5287365863292178581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741426592622,"filename":"image_08032025_10_34_35_29252.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/9b75387132e30ed2ce17a171b145f0ac.jpg","text":"TemporaryFile(/tmp/multipartBody4516698332107051063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741426592622,"filename":"image_08032025_10_35_05_30277.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341812245","file0":"1341812241"},"map_files_photo_id_array":[{"photo_id":"1341812245","filename":"file1"},{"photo_id":"1341812241","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341812245":["hashtag1","hashtag2"]},{"1341812241":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341812245, 1341812241)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.91465711593628 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 10:36:03.064619
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 10:36:32.402752
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/10/35/image_08032025_10_36_06_30288.jpg', 2), ('/home/nano/Desktop/images/08032025/10/35/image_08032025_10_35_36_30251.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/10/35/image_08032025_10_36_06_30288.jpg', '/home/nano/Desktop/images/08032025/10/35/image_08032025_10_35_36_30251.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/10/35/image_08032025_10_36_06_30288.jpg
/home/nano/Desktop/images/08032025/10/35/image_08032025_10_35_36_30251.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341812516","1341812491"],"photo_ids_order":["1341812491","1341812516"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/e70906535fdb1902ad96c7cc8e37de1c.jpg","text":"TemporaryFile(/tmp/multipartBody972229924298627471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741426652713,"filename":"image_08032025_10_35_36_30251.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/33819db992ea273ed790ca32d396620c.jpg","text":"TemporaryFile(/tmp/multipartBody5860651738990305520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741426652713,"filename":"image_08032025_10_36_06_30288.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341812516","file0":"1341812491"},"map_files_photo_id_array":[{"photo_id":"1341812516","filename":"file1"},{"photo_id":"1341812491","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341812516":["hashtag1","hashtag2"]},{"1341812491":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341812516, 1341812491)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.012550354003906 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 10:37:03.394254
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 10:37:32.498842
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/10/36/image_08032025_10_37_06_30293.jpg', 2), ('/home/nano/Desktop/images/08032025/10/36/image_08032025_10_36_35_29247.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/10/36/image_08032025_10_37_06_30293.jpg', '/home/nano/Desktop/images/08032025/10/36/image_08032025_10_36_35_29247.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/10/36/image_08032025_10_37_06_30293.jpg
/home/nano/Desktop/images/08032025/10/36/image_08032025_10_36_35_29247.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341812699","1341812695"],"photo_ids_order":["1341812695","1341812699"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/29ec12e8a4234b6cd20e197616d31751.jpg","text":"TemporaryFile(/tmp/multipartBody5304533658424811119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741426712808,"filename":"image_08032025_10_36_35_29247.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/e9074eda52a5ae83cbf225be9d1fe9e7.jpg","text":"TemporaryFile(/tmp/multipartBody8754925684829376554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741426712808,"filename":"image_08032025_10_37_06_30293.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341812699","file0":"1341812695"},"map_files_photo_id_array":[{"photo_id":"1341812699","filename":"file1"},{"photo_id":"1341812695","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341812699":["hashtag1","hashtag2"]},{"1341812695":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341812699, 1341812695)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 16.087682723999023 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 10:38:03.526209
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 10:38:32.615094
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/10/37/image_08032025_10_38_06_30303.jpg', 2), ('/home/nano/Desktop/images/08032025/10/37/image_08032025_10_37_36_30266.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/10/37/image_08032025_10_38_06_30303.jpg', '/home/nano/Desktop/images/08032025/10/37/image_08032025_10_37_36_30266.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/10/37/image_08032025_10_38_06_30303.jpg
/home/nano/Desktop/images/08032025/10/37/image_08032025_10_37_36_30266.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341812767","1341812774"],"photo_ids_order":["1341812767","1341812774"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/03be1f7987bc01dd011ff8e8387a70d5.jpg","text":"TemporaryFile(/tmp/multipartBody3307625151547013246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741426772948,"filename":"image_08032025_10_38_06_30303.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/6206cf9771bb38ef5b400722c3f3b4b4.jpg","text":"TemporaryFile(/tmp/multipartBody3046290046165905727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741426772948,"filename":"image_08032025_10_37_36_30266.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341812774","file0":"1341812767"},"map_files_photo_id_array":[{"photo_id":"1341812774","filename":"file1"},{"photo_id":"1341812767","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341812767":["hashtag1","hashtag2"]},{"1341812774":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341812767, 1341812774)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.7064368724823 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 10:39:03.815693
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 10:39:32.700748
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/10/38/image_08032025_10_39_06_30240.jpg', 2), ('/home/nano/Desktop/images/08032025/10/38/image_08032025_10_38_35_29250.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/10/38/image_08032025_10_39_06_30240.jpg', '/home/nano/Desktop/images/08032025/10/38/image_08032025_10_38_35_29250.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/10/38/image_08032025_10_39_06_30240.jpg
/home/nano/Desktop/images/08032025/10/38/image_08032025_10_38_35_29250.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341813261","1341813269"],"photo_ids_order":["1341813261","1341813269"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/b43e1701cd76e5a8ce535accc3bd759d.jpg","text":"TemporaryFile(/tmp/multipartBody8584312254363216331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741426833015,"filename":"image_08032025_10_39_06_30240.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/9fd50b260cbca18a1dc19aec11a6d219.jpg","text":"TemporaryFile(/tmp/multipartBody8506732077291996178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741426833015,"filename":"image_08032025_10_38_35_29250.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341813269","file0":"1341813261"},"map_files_photo_id_array":[{"photo_id":"1341813269","filename":"file1"},{"photo_id":"1341813261","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341813261":["hashtag1","hashtag2"]},{"1341813269":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341813261, 1341813269)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 16.50214123725891 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 10:40:02.390883
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 10:40:31.840699
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/10/39/image_08032025_10_40_06_30291.jpg', 2), ('/home/nano/Desktop/images/08032025/10/39/image_08032025_10_39_36_30236.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/10/39/image_08032025_10_40_06_30291.jpg', '/home/nano/Desktop/images/08032025/10/39/image_08032025_10_39_36_30236.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/10/39/image_08032025_10_40_06_30291.jpg
/home/nano/Desktop/images/08032025/10/39/image_08032025_10_39_36_30236.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341813465","1341813446"],"photo_ids_order":["1341813446","1341813465"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/b267dae6bffc0c8e8ae8b1af555b2722.jpg","text":"TemporaryFile(/tmp/multipartBody6675391792316710967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741426892173,"filename":"image_08032025_10_39_36_30236.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/f94a544a20a32020431c70a464e74965.jpg","text":"TemporaryFile(/tmp/multipartBody3762224587738937643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741426892173,"filename":"image_08032025_10_40_06_30291.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341813465","file0":"1341813446"},"map_files_photo_id_array":[{"photo_id":"1341813465","filename":"file1"},{"photo_id":"1341813446","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341813465":["hashtag1","hashtag2"]},{"1341813446":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341813465, 1341813446)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.488423824310303 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 10:41:02.814773
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 10:41:31.955827
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/10/40/image_08032025_10_41_06_30247.jpg', 2), ('/home/nano/Desktop/images/08032025/10/40/image_08032025_10_40_35_29215.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/10/40/image_08032025_10_41_06_30247.jpg', '/home/nano/Desktop/images/08032025/10/40/image_08032025_10_40_35_29215.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/10/40/image_08032025_10_41_06_30247.jpg
/home/nano/Desktop/images/08032025/10/40/image_08032025_10_40_35_29215.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341813702","1341813677"],"photo_ids_order":["1341813677","1341813702"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/67ad2bcd721279011da00b5149316d4a.jpg","text":"TemporaryFile(/tmp/multipartBody5118405370175844577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741426952284,"filename":"image_08032025_10_40_35_29215.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/22d0cb0124f9a94cfcc3fd421ee57c08.jpg","text":"TemporaryFile(/tmp/multipartBody7374756062109718765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741426952284,"filename":"image_08032025_10_41_06_30247.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341813702","file0":"1341813677"},"map_files_photo_id_array":[{"photo_id":"1341813702","filename":"file1"},{"photo_id":"1341813677","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341813702":["hashtag1","hashtag2"]},{"1341813677":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341813702, 1341813677)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 16.495846271514893 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 10:42:02.691794
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 10:42:32.055749
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/10/41/image_08032025_10_42_06_30280.jpg', 2), ('/home/nano/Desktop/images/08032025/10/41/image_08032025_10_41_36_30227.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/10/41/image_08032025_10_42_06_30280.jpg', '/home/nano/Desktop/images/08032025/10/41/image_08032025_10_41_36_30227.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/10/41/image_08032025_10_42_06_30280.jpg
/home/nano/Desktop/images/08032025/10/41/image_08032025_10_41_36_30227.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341814343","1341814276"],"photo_ids_order":["1341814276","1341814343"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/f0e4fed82053929c910af73e512ed116.jpg","text":"TemporaryFile(/tmp/multipartBody7466349825043121944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741427012364,"filename":"image_08032025_10_41_36_30227.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/7d9f78f4d5388551891377eaf5b636f6.jpg","text":"TemporaryFile(/tmp/multipartBody7920848005471873417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741427012364,"filename":"image_08032025_10_42_06_30280.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341814343","file0":"1341814276"},"map_files_photo_id_array":[{"photo_id":"1341814343","filename":"file1"},{"photo_id":"1341814276","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341814343":["hashtag1","hashtag2"]},{"1341814276":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341814343, 1341814276)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 20.376057624816895 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 10:43:02.971308
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 10:43:32.192564
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/10/42/image_08032025_10_43_06_30248.jpg', 2), ('/home/nano/Desktop/images/08032025/10/42/image_08032025_10_42_35_29218.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/10/42/image_08032025_10_43_06_30248.jpg', '/home/nano/Desktop/images/08032025/10/42/image_08032025_10_42_35_29218.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/10/42/image_08032025_10_43_06_30248.jpg
/home/nano/Desktop/images/08032025/10/42/image_08032025_10_42_35_29218.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341814926","1341814877"],"photo_ids_order":["1341814877","1341814926"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/70fc2a5101664bab89aca7413e07f4a0.jpg","text":"TemporaryFile(/tmp/multipartBody35049125672725725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741427072502,"filename":"image_08032025_10_42_35_29218.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/ec89ee07a98bf0deece2f0e1af4a2524.jpg","text":"TemporaryFile(/tmp/multipartBody5804894020245769372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741427072502,"filename":"image_08032025_10_43_06_30248.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341814926","file0":"1341814877"},"map_files_photo_id_array":[{"photo_id":"1341814926","filename":"file1"},{"photo_id":"1341814877","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341814926":["hashtag1","hashtag2"]},{"1341814877":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341814926, 1341814877)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.88828420639038 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 10:44:03.465042
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 10:44:32.278769
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/10/43/image_08032025_10_44_06_30276.jpg', 2), ('/home/nano/Desktop/images/08032025/10/43/image_08032025_10_43_36_30222.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/10/43/image_08032025_10_44_06_30276.jpg', '/home/nano/Desktop/images/08032025/10/43/image_08032025_10_43_36_30222.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/10/43/image_08032025_10_44_06_30276.jpg
/home/nano/Desktop/images/08032025/10/43/image_08032025_10_43_36_30222.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341815382","1341815427"],"photo_ids_order":["1341815382","1341815427"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/ab4a7cdb83eef3d5dee339bbdeb6014d.jpg","text":"TemporaryFile(/tmp/multipartBody3497671155434844026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741427132638,"filename":"image_08032025_10_44_06_30276.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/85f0d9d213d25a5ac9ce99ed01c88578.jpg","text":"TemporaryFile(/tmp/multipartBody4830126154368605762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741427132638,"filename":"image_08032025_10_43_36_30222.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341815427","file0":"1341815382"},"map_files_photo_id_array":[{"photo_id":"1341815427","filename":"file1"},{"photo_id":"1341815382","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341815382":["hashtag1","hashtag2"]},{"1341815427":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341815382, 1341815427)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.0645911693573 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 10:45:03.045701
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 10:45:32.375230
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/10/44/image_08032025_10_45_05_30242.jpg', 2), ('/home/nano/Desktop/images/08032025/10/44/image_08032025_10_44_35_29203.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/10/44/image_08032025_10_45_05_30242.jpg', '/home/nano/Desktop/images/08032025/10/44/image_08032025_10_44_35_29203.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/10/44/image_08032025_10_45_05_30242.jpg
/home/nano/Desktop/images/08032025/10/44/image_08032025_10_44_35_29203.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341815682","1341815745"],"photo_ids_order":["1341815682","1341815745"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/e2058b33a60d85569ca7c6e50a854ca3.jpg","text":"TemporaryFile(/tmp/multipartBody508091238184909861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741427192709,"filename":"image_08032025_10_45_05_30242.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/827aa59b20fba49068c445d4bca2823e.jpg","text":"TemporaryFile(/tmp/multipartBody8685885473065302747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741427192709,"filename":"image_08032025_10_44_35_29203.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341815745","file0":"1341815682"},"map_files_photo_id_array":[{"photo_id":"1341815745","filename":"file1"},{"photo_id":"1341815682","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341815682":["hashtag1","hashtag2"]},{"1341815745":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341815682, 1341815745)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 16.46167302131653 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 10:46:03.357409
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 10:46:32.449486
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/10/45/image_08032025_10_46_06_30248.jpg', 2), ('/home/nano/Desktop/images/08032025/10/45/image_08032025_10_45_36_30213.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/10/45/image_08032025_10_46_06_30248.jpg', '/home/nano/Desktop/images/08032025/10/45/image_08032025_10_45_36_30213.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/10/45/image_08032025_10_46_06_30248.jpg
/home/nano/Desktop/images/08032025/10/45/image_08032025_10_45_36_30213.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.22522759437561035 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 marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 10:47:03.319462
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/10/45/image_08032025_10_46_06_30248.jpg', 2), ('/home/nano/Desktop/images/08032025/10/45/image_08032025_10_45_36_30213.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/10/45/image_08032025_10_46_06_30248.jpg', '/home/nano/Desktop/images/08032025/10/45/image_08032025_10_45_36_30213.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/10/45/image_08032025_10_46_06_30248.jpg
/home/nano/Desktop/images/08032025/10/45/image_08032025_10_45_36_30213.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341816777","1341816807"],"photo_ids_order":["1341816777","1341816807"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/289a94fc0d599ce242a8c6bb309e7661.jpg","text":"TemporaryFile(/tmp/multipartBody5254478324820200493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741427283651,"filename":"image_08032025_10_46_06_30248.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/b0a52419086c8bb0798963556c131313.jpg","text":"TemporaryFile(/tmp/multipartBody3126221749950902845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741427283651,"filename":"image_08032025_10_45_36_30213.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341816807","file0":"1341816777"},"map_files_photo_id_array":[{"photo_id":"1341816807","filename":"file1"},{"photo_id":"1341816777","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341816777":["hashtag1","hashtag2"]},{"1341816807":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341816777, 1341816807)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.81196880340576 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 10:47:32.651810
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/10/46/image_08032025_10_47_05_30261.jpg', 2), ('/home/nano/Desktop/images/08032025/10/46/image_08032025_10_46_35_29205.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/10/46/image_08032025_10_47_05_30261.jpg', '/home/nano/Desktop/images/08032025/10/46/image_08032025_10_46_35_29205.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/10/46/image_08032025_10_47_05_30261.jpg
/home/nano/Desktop/images/08032025/10/46/image_08032025_10_46_35_29205.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341816920","1341816940"],"photo_ids_order":["1341816920","1341816940"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/57a3d4b85990b48d485ede052f5af7ec.jpg","text":"TemporaryFile(/tmp/multipartBody735246310801737091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741427312981,"filename":"image_08032025_10_47_05_30261.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/544cf7880eee89849839359e2fae49e1.jpg","text":"TemporaryFile(/tmp/multipartBody8156153347715953992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741427312981,"filename":"image_08032025_10_46_35_29205.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341816940","file0":"1341816920"},"map_files_photo_id_array":[{"photo_id":"1341816940","filename":"file1"},{"photo_id":"1341816920","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341816920":["hashtag1","hashtag2"]},{"1341816940":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341816920, 1341816940)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.891524314880371 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 10:48:02.544686
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 10:48:31.759737
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/10/47/image_08032025_10_48_06_30262.jpg', 2), ('/home/nano/Desktop/images/08032025/10/47/image_08032025_10_47_36_30225.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/10/47/image_08032025_10_48_06_30262.jpg', '/home/nano/Desktop/images/08032025/10/47/image_08032025_10_47_36_30225.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/10/47/image_08032025_10_48_06_30262.jpg
/home/nano/Desktop/images/08032025/10/47/image_08032025_10_47_36_30225.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341817180","1341817241"],"photo_ids_order":["1341817180","1341817241"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/613f04dc72ca2742d9cf5238a4c1aeec.jpg","text":"TemporaryFile(/tmp/multipartBody4933163780372651112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741427372983,"filename":"image_08032025_10_48_06_30262.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/b3cdbf264215e284e82dac5e757ffbd2.jpg","text":"TemporaryFile(/tmp/multipartBody2860443804788636537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741427372983,"filename":"image_08032025_10_47_36_30225.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341817241","file0":"1341817180"},"map_files_photo_id_array":[{"photo_id":"1341817241","filename":"file1"},{"photo_id":"1341817180","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341817180":["hashtag1","hashtag2"]},{"1341817241":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341817180, 1341817241)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.984501123428345 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 10:49:03.018440
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 10:49:31.891907
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/10/48/image_08032025_10_49_05_30251.jpg', 2), ('/home/nano/Desktop/images/08032025/10/48/image_08032025_10_48_35_29228.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/10/48/image_08032025_10_49_05_30251.jpg', '/home/nano/Desktop/images/08032025/10/48/image_08032025_10_48_35_29228.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/10/48/image_08032025_10_49_05_30251.jpg
/home/nano/Desktop/images/08032025/10/48/image_08032025_10_48_35_29228.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341817744","1341817776"],"photo_ids_order":["1341817744","1341817776"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/93ef4869c441b816d04c6d58794fced0.jpg","text":"TemporaryFile(/tmp/multipartBody2646940690000219476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741427432223,"filename":"image_08032025_10_49_05_30251.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/0fb9b9c77a5b54ecb10d1c3595ee1dc0.jpg","text":"TemporaryFile(/tmp/multipartBody8252662880091787895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741427432223,"filename":"image_08032025_10_48_35_29228.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341817776","file0":"1341817744"},"map_files_photo_id_array":[{"photo_id":"1341817776","filename":"file1"},{"photo_id":"1341817744","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341817744":["hashtag1","hashtag2"]},{"1341817776":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341817744, 1341817776)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.81526231765747 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 10:50:02.774722
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 10:50:31.952196
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/10/49/image_08032025_10_50_06_30258.jpg', 2), ('/home/nano/Desktop/images/08032025/10/49/image_08032025_10_49_36_30253.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/10/49/image_08032025_10_50_06_30258.jpg', '/home/nano/Desktop/images/08032025/10/49/image_08032025_10_49_36_30253.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/10/49/image_08032025_10_50_06_30258.jpg
/home/nano/Desktop/images/08032025/10/49/image_08032025_10_49_36_30253.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341817993","1341817989"],"photo_ids_order":["1341817989","1341817993"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/b2eaa516e98841bf69cf4a91759b6c4f.jpg","text":"TemporaryFile(/tmp/multipartBody439870750914375381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741427492276,"filename":"image_08032025_10_49_36_30253.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/dfc8eeb1bedf68c9d76c409980da1556.jpg","text":"TemporaryFile(/tmp/multipartBody3444284977496595566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741427492276,"filename":"image_08032025_10_50_06_30258.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341817993","file0":"1341817989"},"map_files_photo_id_array":[{"photo_id":"1341817993","filename":"file1"},{"photo_id":"1341817989","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341817993":["hashtag1","hashtag2"]},{"1341817989":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341817993, 1341817989)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.957338571548462 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 10:51:02.817731
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 10:51:32.124450
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/10/50/image_08032025_10_51_05_30265.jpg', 2), ('/home/nano/Desktop/images/08032025/10/50/image_08032025_10_50_35_29225.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/10/50/image_08032025_10_51_05_30265.jpg', '/home/nano/Desktop/images/08032025/10/50/image_08032025_10_50_35_29225.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/10/50/image_08032025_10_51_05_30265.jpg
/home/nano/Desktop/images/08032025/10/50/image_08032025_10_50_35_29225.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341818154","1341818157"],"photo_ids_order":["1341818154","1341818157"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/68441d820aff4e1f5d73f95db5e7f7a8.jpg","text":"TemporaryFile(/tmp/multipartBody1577618733504851785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741427552457,"filename":"image_08032025_10_51_05_30265.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/553b1216b5c528ed913d4fb330b7d557.jpg","text":"TemporaryFile(/tmp/multipartBody3564112664301860292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741427552457,"filename":"image_08032025_10_50_35_29225.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341818157","file0":"1341818154"},"map_files_photo_id_array":[{"photo_id":"1341818157","filename":"file1"},{"photo_id":"1341818154","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341818154":["hashtag1","hashtag2"]},{"1341818157":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341818154, 1341818157)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 64.20467281341553 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 10:53:03.228152
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/10/51/image_08032025_10_52_06_30241.jpg', 2), ('/home/nano/Desktop/images/08032025/10/51/image_08032025_10_51_36_30238.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/10/51/image_08032025_10_52_06_30241.jpg', '/home/nano/Desktop/images/08032025/10/51/image_08032025_10_51_36_30238.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/10/51/image_08032025_10_52_06_30241.jpg
/home/nano/Desktop/images/08032025/10/51/image_08032025_10_51_36_30238.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341818647","1341818701"],"photo_ids_order":["1341818647","1341818701"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/542146e2dce63fadb1737da2d7b13440.jpg","text":"TemporaryFile(/tmp/multipartBody1367911457025543862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741427643571,"filename":"image_08032025_10_52_06_30241.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/0a415e2f0841fe841a1d825ed6cdc4d7.jpg","text":"TemporaryFile(/tmp/multipartBody2502209782793413496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741427643571,"filename":"image_08032025_10_51_36_30238.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341818701","file0":"1341818647"},"map_files_photo_id_array":[{"photo_id":"1341818701","filename":"file1"},{"photo_id":"1341818647","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341818647":["hashtag1","hashtag2"]},{"1341818701":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341818647, 1341818701)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.681705236434937 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 10:53:32.376912
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/10/52/image_08032025_10_53_05_29257.jpg', 2), ('/home/nano/Desktop/images/08032025/10/52/image_08032025_10_52_36_30234.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/10/52/image_08032025_10_53_05_29257.jpg', '/home/nano/Desktop/images/08032025/10/52/image_08032025_10_52_36_30234.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/10/52/image_08032025_10_53_05_29257.jpg
/home/nano/Desktop/images/08032025/10/52/image_08032025_10_52_36_30234.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341818720","1341818717"],"photo_ids_order":["1341818717","1341818720"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/ecce7921b7888a4448752427df3dfe5a.jpg","text":"TemporaryFile(/tmp/multipartBody1134374401798029688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741427672698,"filename":"image_08032025_10_52_36_30234.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/30355c67fd25d64f917efabd14753e7d.jpg","text":"TemporaryFile(/tmp/multipartBody6026374836537121042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741427672698,"filename":"image_08032025_10_53_05_29257.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341818720","file0":"1341818717"},"map_files_photo_id_array":[{"photo_id":"1341818720","filename":"file1"},{"photo_id":"1341818717","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341818720":["hashtag1","hashtag2"]},{"1341818717":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341818720, 1341818717)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.261300802230835 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 10:54:03.453097
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 10:54:32.488574
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/10/53/image_08032025_10_54_06_30240.jpg', 2), ('/home/nano/Desktop/images/08032025/10/53/image_08032025_10_53_36_30229.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/10/53/image_08032025_10_54_06_30240.jpg', '/home/nano/Desktop/images/08032025/10/53/image_08032025_10_53_36_30229.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/10/53/image_08032025_10_54_06_30240.jpg
/home/nano/Desktop/images/08032025/10/53/image_08032025_10_53_36_30229.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341818926","1341818930"],"photo_ids_order":["1341818926","1341818930"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/a92e414ae8f67d9c4dc86da3f6db7c7c.jpg","text":"TemporaryFile(/tmp/multipartBody652432108458005725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741427732812,"filename":"image_08032025_10_54_06_30240.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/9ffcdb1ebcc3898be86dc1feedf1626b.jpg","text":"TemporaryFile(/tmp/multipartBody8376497007710218381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741427732812,"filename":"image_08032025_10_53_36_30229.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341818930","file0":"1341818926"},"map_files_photo_id_array":[{"photo_id":"1341818930","filename":"file1"},{"photo_id":"1341818926","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341818926":["hashtag1","hashtag2"]},{"1341818930":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341818926, 1341818930)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 16.419637203216553 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 10:55:03.152970
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 10:55:32.597144
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/10/54/image_08032025_10_55_05_29247.jpg', 2), ('/home/nano/Desktop/images/08032025/10/54/image_08032025_10_54_36_30259.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/10/54/image_08032025_10_55_05_29247.jpg', '/home/nano/Desktop/images/08032025/10/54/image_08032025_10_54_36_30259.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/10/54/image_08032025_10_55_05_29247.jpg
/home/nano/Desktop/images/08032025/10/54/image_08032025_10_54_36_30259.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341819031","1341819019"],"photo_ids_order":["1341819019","1341819031"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/306b59de2df435f2f3f8bf9da060a229.jpg","text":"TemporaryFile(/tmp/multipartBody5161132780379612517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741427792942,"filename":"image_08032025_10_54_36_30259.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/d93c75193e364310a4046a93ae78523b.jpg","text":"TemporaryFile(/tmp/multipartBody89805346370710903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741427792942,"filename":"image_08032025_10_55_05_29247.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341819031","file0":"1341819019"},"map_files_photo_id_array":[{"photo_id":"1341819031","filename":"file1"},{"photo_id":"1341819019","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341819031":["hashtag1","hashtag2"]},{"1341819019":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341819031, 1341819019)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.300702571868896 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 10:56:03.373878
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 10:56:32.743690
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/10/55/image_08032025_10_56_06_30269.jpg', 2), ('/home/nano/Desktop/images/08032025/10/55/image_08032025_10_55_36_30247.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/10/55/image_08032025_10_56_06_30269.jpg', '/home/nano/Desktop/images/08032025/10/55/image_08032025_10_55_36_30247.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/10/55/image_08032025_10_56_06_30269.jpg
/home/nano/Desktop/images/08032025/10/55/image_08032025_10_55_36_30247.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341819102","1341819097"],"photo_ids_order":["1341819097","1341819102"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/738ea18da207390be054400024bbdfe5.jpg","text":"TemporaryFile(/tmp/multipartBody666321754740002446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741427853070,"filename":"image_08032025_10_55_36_30247.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/3195fffc4eb000e8dd108998207894c1.jpg","text":"TemporaryFile(/tmp/multipartBody7165413145265461449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741427853070,"filename":"image_08032025_10_56_06_30269.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341819102","file0":"1341819097"},"map_files_photo_id_array":[{"photo_id":"1341819102","filename":"file1"},{"photo_id":"1341819097","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341819102":["hashtag1","hashtag2"]},{"1341819097":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341819102, 1341819097)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.726142168045044 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 10:57:02.737220
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/10/56/image_08032025_10_57_05_29224.jpg', 2), ('/home/nano/Desktop/images/08032025/10/56/image_08032025_10_56_36_30220.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/10/56/image_08032025_10_57_05_29224.jpg', '/home/nano/Desktop/images/08032025/10/56/image_08032025_10_56_36_30220.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/10/56/image_08032025_10_57_05_29224.jpg
/home/nano/Desktop/images/08032025/10/56/image_08032025_10_56_36_30220.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341819146","1341819295"],"photo_ids_order":["1341819146","1341819295"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/409c1149d2f02c315cec77950b974187.jpg","text":"TemporaryFile(/tmp/multipartBody7757254343918768213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741427883132,"filename":"image_08032025_10_57_05_29224.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/7837736f4f9af9a836e01ecc06ebaf45.jpg","text":"TemporaryFile(/tmp/multipartBody2112792978380770014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741427883132,"filename":"image_08032025_10_56_36_30220.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341819295","file0":"1341819146"},"map_files_photo_id_array":[{"photo_id":"1341819295","filename":"file1"},{"photo_id":"1341819146","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341819146":["hashtag1","hashtag2"]},{"1341819295":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341819146, 1341819295)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 22.743537187576294 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 10:57:31.882608
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 10:59:03.617789
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 10:59:32.782361
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 4 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/10/58/image_08032025_10_59_05_29222.jpg', 2), ('/home/nano/Desktop/images/08032025/10/58/image_08032025_10_58_36_30210.jpg', 2), ('/home/nano/Desktop/images/08032025/10/57/image_08032025_10_58_06_30270.jpg', 2), ('/home/nano/Desktop/images/08032025/10/57/image_08032025_10_57_36_30228.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/10/58/image_08032025_10_59_05_29222.jpg', '/home/nano/Desktop/images/08032025/10/58/image_08032025_10_58_36_30210.jpg', '/home/nano/Desktop/images/08032025/10/57/image_08032025_10_58_06_30270.jpg', '/home/nano/Desktop/images/08032025/10/57/image_08032025_10_57_36_30228.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/10/58/image_08032025_10_59_05_29222.jpg
/home/nano/Desktop/images/08032025/10/58/image_08032025_10_58_36_30210.jpg
/home/nano/Desktop/images/08032025/10/57/image_08032025_10_58_06_30270.jpg
/home/nano/Desktop/images/08032025/10/57/image_08032025_10_57_36_30228.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341820543","1341820590","1341820446","1341820568"],"photo_ids_order":["1341820446","1341820543","1341820568","1341820590"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/0006d30239badcf9534c666686c1596f.jpg","text":"TemporaryFile(/tmp/multipartBody4854590228301236588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741428033178,"filename":"image_08032025_10_58_36_30210.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/fd16d96a77ef53d17fe6daa1de11039e.jpg","text":"TemporaryFile(/tmp/multipartBody4712079259821885314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741428033178,"filename":"image_08032025_10_57_36_30228.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/91acbff8e83dc4785a9e78079a65572a.jpg","text":"TemporaryFile(/tmp/multipartBody1918811836084734447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741428033178,"filename":"image_08032025_10_59_05_29222.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/61f3bd897f73ba48e3fb00f3df4fc072.jpg","text":"TemporaryFile(/tmp/multipartBody1512758102176418474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741428033178,"filename":"image_08032025_10_58_06_30270.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341820568","file1":"1341820543","file0":"1341820446","file3":"1341820590"},"map_files_photo_id_array":[{"photo_id":"1341820568","filename":"file2"},{"photo_id":"1341820543","filename":"file1"},{"photo_id":"1341820446","filename":"file0"},{"photo_id":"1341820590","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341820543":["hashtag1","hashtag2"]},{"1341820590":["hashtag1","hashtag2"]},{"1341820446":["hashtag1","hashtag2"]},{"1341820568":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341820543, 1341820590, 1341820446, 1341820568)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 30.45849585533142 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 11:00:31.850363
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/10/59/image_08032025_11_00_06_30250.jpg', 2), ('/home/nano/Desktop/images/08032025/10/59/image_08032025_10_59_35_30230.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/10/59/image_08032025_11_00_06_30250.jpg', '/home/nano/Desktop/images/08032025/10/59/image_08032025_10_59_35_30230.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/10/59/image_08032025_11_00_06_30250.jpg
/home/nano/Desktop/images/08032025/10/59/image_08032025_10_59_35_30230.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341820842","1341820799"],"photo_ids_order":["1341820799","1341820842"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/8ae04d3152a082328fd305786ced50aa.jpg","text":"TemporaryFile(/tmp/multipartBody4309497246424163032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741428092178,"filename":"image_08032025_10_59_35_30230.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/fc8afb623f482c327ced5e28204f7850.jpg","text":"TemporaryFile(/tmp/multipartBody6272422808582565254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741428092178,"filename":"image_08032025_11_00_06_30250.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341820842","file0":"1341820799"},"map_files_photo_id_array":[{"photo_id":"1341820842","filename":"file1"},{"photo_id":"1341820799","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341820842":["hashtag1","hashtag2"]},{"1341820799":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341820842, 1341820799)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.771940469741821 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 11:01:02.560279
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 11:01:31.951272
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/11/00/image_08032025_11_01_05_29212.jpg', 2), ('/home/nano/Desktop/images/08032025/11/00/image_08032025_11_00_36_30219.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/11/00/image_08032025_11_01_05_29212.jpg', '/home/nano/Desktop/images/08032025/11/00/image_08032025_11_00_36_30219.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/11/00/image_08032025_11_01_05_29212.jpg
/home/nano/Desktop/images/08032025/11/00/image_08032025_11_00_36_30219.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341821025","1341821030"],"photo_ids_order":["1341821025","1341821030"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/ba09cc572a34ec1cf7abf2fc456c0f49.jpg","text":"TemporaryFile(/tmp/multipartBody2075961262909791042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741428152253,"filename":"image_08032025_11_01_05_29212.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/645a1446523e767e7d0e76729c415f7e.jpg","text":"TemporaryFile(/tmp/multipartBody2983609500772149552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741428152253,"filename":"image_08032025_11_00_36_30219.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341821030","file0":"1341821025"},"map_files_photo_id_array":[{"photo_id":"1341821030","filename":"file1"},{"photo_id":"1341821025","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341821025":["hashtag1","hashtag2"]},{"1341821030":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341821025, 1341821030)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.076255798339844 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 11:02:02.841794
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 11:02:32.052573
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/11/01/image_08032025_11_02_06_30225.jpg', 2), ('/home/nano/Desktop/images/08032025/11/01/image_08032025_11_01_35_30225.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/11/01/image_08032025_11_02_06_30225.jpg', '/home/nano/Desktop/images/08032025/11/01/image_08032025_11_01_35_30225.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/11/01/image_08032025_11_02_06_30225.jpg
/home/nano/Desktop/images/08032025/11/01/image_08032025_11_01_35_30225.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341821180","1341821176"],"photo_ids_order":["1341821176","1341821180"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/ce32029eda41961a0840a7a2334f924d.jpg","text":"TemporaryFile(/tmp/multipartBody3594576778432910881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741428212365,"filename":"image_08032025_11_01_35_30225.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/4232250cb40f24e9727b3fcbe2963884.jpg","text":"TemporaryFile(/tmp/multipartBody2707801857500537014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741428212365,"filename":"image_08032025_11_02_06_30225.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341821180","file0":"1341821176"},"map_files_photo_id_array":[{"photo_id":"1341821180","filename":"file1"},{"photo_id":"1341821176","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341821180":["hashtag1","hashtag2"]},{"1341821176":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341821180, 1341821176)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.846903562545776 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 11:03:02.979251
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 11:03:32.138197
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/11/02/image_08032025_11_03_06_30234.jpg', 2), ('/home/nano/Desktop/images/08032025/11/02/image_08032025_11_02_36_30236.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/11/02/image_08032025_11_03_06_30234.jpg', '/home/nano/Desktop/images/08032025/11/02/image_08032025_11_02_36_30236.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/11/02/image_08032025_11_03_06_30234.jpg
/home/nano/Desktop/images/08032025/11/02/image_08032025_11_02_36_30236.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341821409","1341821386"],"photo_ids_order":["1341821386","1341821409"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/a02a6cf22c06ddb7407e20bb04597dae.jpg","text":"TemporaryFile(/tmp/multipartBody4071178651175846993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741428272471,"filename":"image_08032025_11_02_36_30236.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/4860e6f71189055b600adeeffae1386c.jpg","text":"TemporaryFile(/tmp/multipartBody9158262034754230849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741428272471,"filename":"image_08032025_11_03_06_30234.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341821409","file0":"1341821386"},"map_files_photo_id_array":[{"photo_id":"1341821409","filename":"file1"},{"photo_id":"1341821386","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341821409":["hashtag1","hashtag2"]},{"1341821386":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341821409, 1341821386)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.431272268295288 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 11:04:03.196144
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 11:04:32.241233
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/11/03/image_08032025_11_04_05_30224.jpg', 2), ('/home/nano/Desktop/images/08032025/11/03/image_08032025_11_03_35_29205.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/11/03/image_08032025_11_04_05_30224.jpg', '/home/nano/Desktop/images/08032025/11/03/image_08032025_11_03_35_29205.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/11/03/image_08032025_11_04_05_30224.jpg
/home/nano/Desktop/images/08032025/11/03/image_08032025_11_03_35_29205.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341822021","1341821930"],"photo_ids_order":["1341821930","1341822021"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/511b72704c121ad3fbcd470e052a6882.jpg","text":"TemporaryFile(/tmp/multipartBody7433338114385551646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741428332572,"filename":"image_08032025_11_03_35_29205.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/838367639578b57c5e4458040db3fa3d.jpg","text":"TemporaryFile(/tmp/multipartBody7265349531949935525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741428332572,"filename":"image_08032025_11_04_05_30224.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341822021","file0":"1341821930"},"map_files_photo_id_array":[{"photo_id":"1341822021","filename":"file1"},{"photo_id":"1341821930","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341822021":["hashtag1","hashtag2"]},{"1341821930":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341822021, 1341821930)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 16.22356677055359 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 11:05:03.116536
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 11:05:32.400104
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/11/04/image_08032025_11_05_06_30224.jpg', 2), ('/home/nano/Desktop/images/08032025/11/04/image_08032025_11_04_36_30215.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/11/04/image_08032025_11_05_06_30224.jpg', '/home/nano/Desktop/images/08032025/11/04/image_08032025_11_04_36_30215.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/11/04/image_08032025_11_05_06_30224.jpg
/home/nano/Desktop/images/08032025/11/04/image_08032025_11_04_36_30215.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341822697","1341822664"],"photo_ids_order":["1341822664","1341822697"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/900149c3a981b199d2668bfa46fad673.jpg","text":"TemporaryFile(/tmp/multipartBody536627436891160864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741428392751,"filename":"image_08032025_11_04_36_30215.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/cb78c00a54292a1e179e19ad61edb743.jpg","text":"TemporaryFile(/tmp/multipartBody4393192188976305004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741428392751,"filename":"image_08032025_11_05_06_30224.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341822697","file0":"1341822664"},"map_files_photo_id_array":[{"photo_id":"1341822697","filename":"file1"},{"photo_id":"1341822664","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341822697":["hashtag1","hashtag2"]},{"1341822664":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341822697, 1341822664)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.019474267959595 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 11:06:03.405175
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 11:06:32.503505
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/11/05/image_08032025_11_06_05_30242.jpg', 2), ('/home/nano/Desktop/images/08032025/11/05/image_08032025_11_05_35_29203.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/11/05/image_08032025_11_06_05_30242.jpg', '/home/nano/Desktop/images/08032025/11/05/image_08032025_11_05_35_29203.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/11/05/image_08032025_11_06_05_30242.jpg
/home/nano/Desktop/images/08032025/11/05/image_08032025_11_05_35_29203.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341823379","1341823313"],"photo_ids_order":["1341823313","1341823379"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/ae4a02f7b46d7a2baa0337db1789bac0.jpg","text":"TemporaryFile(/tmp/multipartBody3362465766028817697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741428452875,"filename":"image_08032025_11_05_35_29203.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/a77f9a55091ea13e78a7ba35029897c8.jpg","text":"TemporaryFile(/tmp/multipartBody2725170523687559684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741428452875,"filename":"image_08032025_11_06_05_30242.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341823379","file0":"1341823313"},"map_files_photo_id_array":[{"photo_id":"1341823379","filename":"file1"},{"photo_id":"1341823313","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341823379":["hashtag1","hashtag2"]},{"1341823313":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341823379, 1341823313)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.989230871200562 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 11:07:03.624489
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/11/06/image_08032025_11_07_06_30239.jpg', 2), ('/home/nano/Desktop/images/08032025/11/06/image_08032025_11_06_36_30208.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/11/06/image_08032025_11_07_06_30239.jpg', '/home/nano/Desktop/images/08032025/11/06/image_08032025_11_06_36_30208.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/11/06/image_08032025_11_07_06_30239.jpg
/home/nano/Desktop/images/08032025/11/06/image_08032025_11_06_36_30208.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341823683","1341823764"],"photo_ids_order":["1341823683","1341823764"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/7b14031922ba5f703662ae72c302cb0c.jpg","text":"TemporaryFile(/tmp/multipartBody1088292236449227452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741428484075,"filename":"image_08032025_11_07_06_30239.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/326443993b29b6973d4e38d455f21773.jpg","text":"TemporaryFile(/tmp/multipartBody8703320432670614303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741428484075,"filename":"image_08032025_11_06_36_30208.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341823764","file0":"1341823683"},"map_files_photo_id_array":[{"photo_id":"1341823764","filename":"file1"},{"photo_id":"1341823683","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341823683":["hashtag1","hashtag2"]},{"1341823764":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341823683, 1341823764)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 21.837395906448364 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 11:07:32.623832
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 11:08:03.640908
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/11/07/image_08032025_11_08_05_29211.jpg', 2), ('/home/nano/Desktop/images/08032025/11/07/image_08032025_11_07_36_30208.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/11/07/image_08032025_11_08_05_29211.jpg', '/home/nano/Desktop/images/08032025/11/07/image_08032025_11_07_36_30208.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/11/07/image_08032025_11_08_05_29211.jpg
/home/nano/Desktop/images/08032025/11/07/image_08032025_11_07_36_30208.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341824584","1341824527"],"photo_ids_order":["1341824527","1341824584"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/32644e3f109ef26b423d37950562806a.jpg","text":"TemporaryFile(/tmp/multipartBody8508593159327994594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741428544015,"filename":"image_08032025_11_07_36_30208.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/920fdd1ba7b175adda55ce004b4c06e0.jpg","text":"TemporaryFile(/tmp/multipartBody5904699093986958093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741428544015,"filename":"image_08032025_11_08_05_29211.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341824584","file0":"1341824527"},"map_files_photo_id_array":[{"photo_id":"1341824584","filename":"file1"},{"photo_id":"1341824527","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341824584":["hashtag1","hashtag2"]},{"1341824527":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341824584, 1341824527)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.614979267120361 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 11:08:32.724753
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 11:09:03.117647
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/11/08/image_08032025_11_09_06_30237.jpg', 2), ('/home/nano/Desktop/images/08032025/11/08/image_08032025_11_08_35_30219.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/11/08/image_08032025_11_09_06_30237.jpg', '/home/nano/Desktop/images/08032025/11/08/image_08032025_11_08_35_30219.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/11/08/image_08032025_11_09_06_30237.jpg
/home/nano/Desktop/images/08032025/11/08/image_08032025_11_08_35_30219.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341825192","1341825147"],"photo_ids_order":["1341825147","1341825192"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/48f6de291920fb98b897fa4a4eeefe4a.jpg","text":"TemporaryFile(/tmp/multipartBody9011564446878441223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741428603476,"filename":"image_08032025_11_08_35_30219.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/5f362e2f05d627e85525a57e5a0213c3.jpg","text":"TemporaryFile(/tmp/multipartBody4411872834951914737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741428603476,"filename":"image_08032025_11_09_06_30237.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341825192","file0":"1341825147"},"map_files_photo_id_array":[{"photo_id":"1341825192","filename":"file1"},{"photo_id":"1341825147","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341825192":["hashtag1","hashtag2"]},{"1341825147":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341825192, 1341825147)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.977337121963501 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 11:09:31.855725
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 11:10:02.861813
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 11:10:31.969141
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/11/09/image_08032025_11_10_05_29221.jpg', 2), ('/home/nano/Desktop/images/08032025/11/09/image_08032025_11_09_36_30198.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/11/09/image_08032025_11_10_05_29221.jpg', '/home/nano/Desktop/images/08032025/11/09/image_08032025_11_09_36_30198.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/11/09/image_08032025_11_10_05_29221.jpg
/home/nano/Desktop/images/08032025/11/09/image_08032025_11_09_36_30198.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341825544","1341825567"],"photo_ids_order":["1341825544","1341825567"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/61d514adc4e090135e0833e2a1fb9836.jpg","text":"TemporaryFile(/tmp/multipartBody4186073494634639286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741428692309,"filename":"image_08032025_11_10_05_29221.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/f5d8a788a2f7c2333f8252869f916a7c.jpg","text":"TemporaryFile(/tmp/multipartBody7030057595486209679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741428692309,"filename":"image_08032025_11_09_36_30198.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341825567","file0":"1341825544"},"map_files_photo_id_array":[{"photo_id":"1341825567","filename":"file1"},{"photo_id":"1341825544","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341825544":["hashtag1","hashtag2"]},{"1341825567":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341825544, 1341825567)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 20.28946542739868 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 11:11:02.930584
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 11:11:32.064553
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/11/10/image_08032025_11_11_06_30231.jpg', 2), ('/home/nano/Desktop/images/08032025/11/10/image_08032025_11_10_35_30215.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/11/10/image_08032025_11_11_06_30231.jpg', '/home/nano/Desktop/images/08032025/11/10/image_08032025_11_10_35_30215.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/11/10/image_08032025_11_11_06_30231.jpg
/home/nano/Desktop/images/08032025/11/10/image_08032025_11_10_35_30215.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341826161","1341826131"],"photo_ids_order":["1341826131","1341826161"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/82aaa4ca99879c26c7c13d427f9f960e.jpg","text":"TemporaryFile(/tmp/multipartBody9210361546520860635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741428752375,"filename":"image_08032025_11_10_35_30215.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/7647769baab26057c08ada8bdf143c06.jpg","text":"TemporaryFile(/tmp/multipartBody482826592673830112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741428752375,"filename":"image_08032025_11_11_06_30231.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341826161","file0":"1341826131"},"map_files_photo_id_array":[{"photo_id":"1341826161","filename":"file1"},{"photo_id":"1341826131","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341826161":["hashtag1","hashtag2"]},{"1341826131":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341826161, 1341826131)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.669976949691772 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 11:12:03.021237
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/11/11/image_08032025_11_12_06_30249.jpg', 2), ('/home/nano/Desktop/images/08032025/11/11/image_08032025_11_11_36_30209.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/11/11/image_08032025_11_12_06_30249.jpg', '/home/nano/Desktop/images/08032025/11/11/image_08032025_11_11_36_30209.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/11/11/image_08032025_11_12_06_30249.jpg
/home/nano/Desktop/images/08032025/11/11/image_08032025_11_11_36_30209.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341826417","1341826396"],"photo_ids_order":["1341826396","1341826417"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/d55eed72478af0e5e5fae43b09c6a581.jpg","text":"TemporaryFile(/tmp/multipartBody4336016888079759483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741428783364,"filename":"image_08032025_11_11_36_30209.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/9a6349bd2e32733bc70c542d45ee6998.jpg","text":"TemporaryFile(/tmp/multipartBody6751086141207702370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741428783364,"filename":"image_08032025_11_12_06_30249.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341826417","file0":"1341826396"},"map_files_photo_id_array":[{"photo_id":"1341826417","filename":"file1"},{"photo_id":"1341826396","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341826417":["hashtag1","hashtag2"]},{"1341826396":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341826417, 1341826396)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 33.80580377578735 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 11:13:03.041515
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 11:13:32.266790
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/11/12/image_08032025_11_13_05_30248.jpg', 2), ('/home/nano/Desktop/images/08032025/11/12/image_08032025_11_12_35_29208.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/11/12/image_08032025_11_13_05_30248.jpg', '/home/nano/Desktop/images/08032025/11/12/image_08032025_11_12_35_29208.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/11/12/image_08032025_11_13_05_30248.jpg
/home/nano/Desktop/images/08032025/11/12/image_08032025_11_12_35_29208.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341826611","1341826614"],"photo_ids_order":["1341826611","1341826614"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/23681778cea3faf959400c6eedc53e67.jpg","text":"TemporaryFile(/tmp/multipartBody6145752077202389877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741428872595,"filename":"image_08032025_11_13_05_30248.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/ac25ec12295e5dedc76206037ffa00b4.jpg","text":"TemporaryFile(/tmp/multipartBody7566029855622290307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741428872595,"filename":"image_08032025_11_12_35_29208.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341826614","file0":"1341826611"},"map_files_photo_id_array":[{"photo_id":"1341826614","filename":"file1"},{"photo_id":"1341826611","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341826611":["hashtag1","hashtag2"]},{"1341826614":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341826611, 1341826614)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.33656597137451 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 11:14:03.532705
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 11:14:32.375731
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/11/13/image_08032025_11_14_06_30242.jpg', 2), ('/home/nano/Desktop/images/08032025/11/13/image_08032025_11_13_36_30207.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/11/13/image_08032025_11_14_06_30242.jpg', '/home/nano/Desktop/images/08032025/11/13/image_08032025_11_13_36_30207.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/11/13/image_08032025_11_14_06_30242.jpg
/home/nano/Desktop/images/08032025/11/13/image_08032025_11_13_36_30207.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341827258","1341827108"],"photo_ids_order":["1341827108","1341827258"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/87409aad6b9aa8c4e415026d1b3479bd.jpg","text":"TemporaryFile(/tmp/multipartBody4528884732564711524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741428932700,"filename":"image_08032025_11_13_36_30207.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/264ba6c19723aaf49a5ac8d0d1672140.jpg","text":"TemporaryFile(/tmp/multipartBody2842156884939588900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741428932700,"filename":"image_08032025_11_14_06_30242.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341827258","file0":"1341827108"},"map_files_photo_id_array":[{"photo_id":"1341827258","filename":"file1"},{"photo_id":"1341827108","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341827258":["hashtag1","hashtag2"]},{"1341827108":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341827258, 1341827108)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 18.404356718063354 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 11:15:03.339471
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 11:15:32.449024
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/11/14/image_08032025_11_15_05_30239.jpg', 2), ('/home/nano/Desktop/images/08032025/11/14/image_08032025_11_14_35_29215.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/11/14/image_08032025_11_15_05_30239.jpg', '/home/nano/Desktop/images/08032025/11/14/image_08032025_11_14_35_29215.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/11/14/image_08032025_11_15_05_30239.jpg
/home/nano/Desktop/images/08032025/11/14/image_08032025_11_14_35_29215.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341827441","1341827497"],"photo_ids_order":["1341827441","1341827497"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/6b744e99bbe04c3b7d3641f9fec3e3a4.jpg","text":"TemporaryFile(/tmp/multipartBody3851421782916415156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741428992762,"filename":"image_08032025_11_15_05_30239.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/1421d4963ceb53558f866b5a3b189a85.jpg","text":"TemporaryFile(/tmp/multipartBody1999387964123525251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741428992762,"filename":"image_08032025_11_14_35_29215.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341827497","file0":"1341827441"},"map_files_photo_id_array":[{"photo_id":"1341827497","filename":"file1"},{"photo_id":"1341827441","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341827441":["hashtag1","hashtag2"]},{"1341827497":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341827441, 1341827497)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 20.0384042263031 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 11:16:03.484090
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/11/15/image_08032025_11_16_06_30212.jpg', 2), ('/home/nano/Desktop/images/08032025/11/15/image_08032025_11_15_36_30219.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/11/15/image_08032025_11_16_06_30212.jpg', '/home/nano/Desktop/images/08032025/11/15/image_08032025_11_15_36_30219.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/11/15/image_08032025_11_16_06_30212.jpg
/home/nano/Desktop/images/08032025/11/15/image_08032025_11_15_36_30219.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341827511","1341827513"],"photo_ids_order":["1341827511","1341827513"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/c6f2404ebad0490143542fc1d2d18698.jpg","text":"TemporaryFile(/tmp/multipartBody872465587958165666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741429023809,"filename":"image_08032025_11_16_06_30212.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/82cd20062a5cb18f9e432998875709f5.jpg","text":"TemporaryFile(/tmp/multipartBody845867413461411627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741429023809,"filename":"image_08032025_11_15_36_30219.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341827513","file0":"1341827511"},"map_files_photo_id_array":[{"photo_id":"1341827513","filename":"file1"},{"photo_id":"1341827511","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341827511":["hashtag1","hashtag2"]},{"1341827513":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341827511, 1341827513)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.271727085113525 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 11:16:32.584480
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 11:17:03.569229
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/11/16/image_08032025_11_17_05_29214.jpg', 2), ('/home/nano/Desktop/images/08032025/11/16/image_08032025_11_16_36_30202.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/11/16/image_08032025_11_17_05_29214.jpg', '/home/nano/Desktop/images/08032025/11/16/image_08032025_11_16_36_30202.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/11/16/image_08032025_11_17_05_29214.jpg
/home/nano/Desktop/images/08032025/11/16/image_08032025_11_16_36_30202.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341827613","1341827729"],"photo_ids_order":["1341827613","1341827729"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/5510b2dcf3d314c4f76e16376d4d330e.jpg","text":"TemporaryFile(/tmp/multipartBody8271445626067081462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741429083914,"filename":"image_08032025_11_17_05_29214.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/718b76586ecda9da9555feae9a755d36.jpg","text":"TemporaryFile(/tmp/multipartBody3717536292754885418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741429083914,"filename":"image_08032025_11_16_36_30202.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341827729","file0":"1341827613"},"map_files_photo_id_array":[{"photo_id":"1341827729","filename":"file1"},{"photo_id":"1341827613","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341827613":["hashtag1","hashtag2"]},{"1341827729":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341827613, 1341827729)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 16.505232334136963 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 11:17:32.691088
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 11:18:02.770297
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/11/17/image_08032025_11_18_06_30231.jpg', 2), ('/home/nano/Desktop/images/08032025/11/17/image_08032025_11_17_35_30248.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/11/17/image_08032025_11_18_06_30231.jpg', '/home/nano/Desktop/images/08032025/11/17/image_08032025_11_17_35_30248.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/11/17/image_08032025_11_18_06_30231.jpg
/home/nano/Desktop/images/08032025/11/17/image_08032025_11_17_35_30248.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341827791","1341827793"],"photo_ids_order":["1341827791","1341827793"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/3f57b2e98d3e31ed206e6edc325fcfad.jpg","text":"TemporaryFile(/tmp/multipartBody3412468811974046570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741429143120,"filename":"image_08032025_11_18_06_30231.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/5106e2620d3d85ce7a78a12d044043d0.jpg","text":"TemporaryFile(/tmp/multipartBody3089404252335926688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741429143120,"filename":"image_08032025_11_17_35_30248.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341827793","file0":"1341827791"},"map_files_photo_id_array":[{"photo_id":"1341827793","filename":"file1"},{"photo_id":"1341827791","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341827791":["hashtag1","hashtag2"]},{"1341827793":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341827791, 1341827793)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.236666679382324 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 11:18:31.746874
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 11:19:02.824379
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 11:19:31.953529
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/11/18/image_08032025_11_19_05_29219.jpg', 2), ('/home/nano/Desktop/images/08032025/11/18/image_08032025_11_18_36_30204.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/11/18/image_08032025_11_19_05_29219.jpg', '/home/nano/Desktop/images/08032025/11/18/image_08032025_11_18_36_30204.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/11/18/image_08032025_11_19_05_29219.jpg
/home/nano/Desktop/images/08032025/11/18/image_08032025_11_18_36_30204.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341827979","1341827973"],"photo_ids_order":["1341827973","1341827979"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/c382e85391eb9495fa4eacdb1b6bfe0f.jpg","text":"TemporaryFile(/tmp/multipartBody3966056386732449197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741429232267,"filename":"image_08032025_11_18_36_30204.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/e20b53c41c2218ff6227a72a65d99b26.jpg","text":"TemporaryFile(/tmp/multipartBody7564424557989101111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741429232267,"filename":"image_08032025_11_19_05_29219.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341827979","file0":"1341827973"},"map_files_photo_id_array":[{"photo_id":"1341827979","filename":"file1"},{"photo_id":"1341827973","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341827979":["hashtag1","hashtag2"]},{"1341827973":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341827979, 1341827973)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.185658931732178 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 11:20:02.912839
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 11:20:32.026505
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/11/19/image_08032025_11_20_06_30231.jpg', 2), ('/home/nano/Desktop/images/08032025/11/19/image_08032025_11_19_35_30212.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/11/19/image_08032025_11_20_06_30231.jpg', '/home/nano/Desktop/images/08032025/11/19/image_08032025_11_19_35_30212.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/11/19/image_08032025_11_20_06_30231.jpg
/home/nano/Desktop/images/08032025/11/19/image_08032025_11_19_35_30212.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341828120","1341828141"],"photo_ids_order":["1341828120","1341828141"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/507b581335938ab86ae3a1b7c23c4d8f.jpg","text":"TemporaryFile(/tmp/multipartBody8845081232356044137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741429292350,"filename":"image_08032025_11_20_06_30231.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/dbd44f8a023cc816cff008d98da8df1b.jpg","text":"TemporaryFile(/tmp/multipartBody2925057710603717054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741429292350,"filename":"image_08032025_11_19_35_30212.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341828141","file0":"1341828120"},"map_files_photo_id_array":[{"photo_id":"1341828141","filename":"file1"},{"photo_id":"1341828120","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341828120":["hashtag1","hashtag2"]},{"1341828141":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341828120, 1341828141)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.386097192764282 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 11:21:02.888144
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 11:21:32.177641
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/11/20/image_08032025_11_21_06_30269.jpg', 2), ('/home/nano/Desktop/images/08032025/11/20/image_08032025_11_20_36_30203.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/11/20/image_08032025_11_21_06_30269.jpg', '/home/nano/Desktop/images/08032025/11/20/image_08032025_11_20_36_30203.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/11/20/image_08032025_11_21_06_30269.jpg
/home/nano/Desktop/images/08032025/11/20/image_08032025_11_20_36_30203.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341828506","1341828493"],"photo_ids_order":["1341828493","1341828506"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/7be088165207d48c90c5353df40439d9.jpg","text":"TemporaryFile(/tmp/multipartBody4150085247244294532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741429352619,"filename":"image_08032025_11_20_36_30203.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/297c1ec035105a81d4ef762d5adb8a9b.jpg","text":"TemporaryFile(/tmp/multipartBody617499760888308813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741429352619,"filename":"image_08032025_11_21_06_30269.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341828506","file0":"1341828493"},"map_files_photo_id_array":[{"photo_id":"1341828506","filename":"file1"},{"photo_id":"1341828493","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341828506":["hashtag1","hashtag2"]},{"1341828493":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341828506, 1341828493)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 18.412896871566772 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 11:22:03.074521
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 11:22:32.247415
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/11/21/image_08032025_11_22_05_30219.jpg', 2), ('/home/nano/Desktop/images/08032025/11/21/image_08032025_11_21_35_29187.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/11/21/image_08032025_11_22_05_30219.jpg', '/home/nano/Desktop/images/08032025/11/21/image_08032025_11_21_35_29187.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/11/21/image_08032025_11_22_05_30219.jpg
/home/nano/Desktop/images/08032025/11/21/image_08032025_11_21_35_29187.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.22632217407226562 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 marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 11:23:03.192745
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 3 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/11/23/image_08032025_11_23_36_30204.jpg', 2), ('/home/nano/Desktop/images/08032025/11/21/image_08032025_11_22_05_30219.jpg', 2), ('/home/nano/Desktop/images/08032025/11/21/image_08032025_11_21_35_29187.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/11/23/image_08032025_11_23_36_30204.jpg', '/home/nano/Desktop/images/08032025/11/21/image_08032025_11_22_05_30219.jpg', '/home/nano/Desktop/images/08032025/11/21/image_08032025_11_21_35_29187.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/11/23/image_08032025_11_23_36_30204.jpg
/home/nano/Desktop/images/08032025/11/21/image_08032025_11_22_05_30219.jpg
/home/nano/Desktop/images/08032025/11/21/image_08032025_11_21_35_29187.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341829106","1341829068","1341829050"],"photo_ids_order":["1341829050","1341829068","1341829106"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/9695878aaf0d0106d1967d4eca49efe4.jpg","text":"TemporaryFile(/tmp/multipartBody5634905070018688381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741429443584,"filename":"image_08032025_11_21_35_29187.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/20f8f067639f861a08ed43e3bf2bd4e9.jpg","text":"TemporaryFile(/tmp/multipartBody8185734955536796398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741429443584,"filename":"image_08032025_11_22_05_30219.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/8006ff5ef12009ae6453b1c321c0bfa9.jpg","text":"TemporaryFile(/tmp/multipartBody1675396822342672946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741429443584,"filename":"image_08032025_11_23_36_30204.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341829106","file1":"1341829068","file0":"1341829050"},"map_files_photo_id_array":[{"photo_id":"1341829106","filename":"file2"},{"photo_id":"1341829068","filename":"file1"},{"photo_id":"1341829050","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341829106":["hashtag1","hashtag2"]},{"1341829068":["hashtag1","hashtag2"]},{"1341829050":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341829106, 1341829068, 1341829050)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.99492645263672 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 11:23:32.375357
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/11/22/image_08032025_11_22_36_30221.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/11/22/image_08032025_11_22_36_30221.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/11/22/image_08032025_11_22_36_30221.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341829187"],"photo_id":"1341829187","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/6aec0eb835fba5d9de46421d55681727.jpg","text":"TemporaryFile(/tmp/multipartBody4086278997951917428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741429472668,"filename":"image_08032025_11_22_36_30221.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1341829187"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1341829187"}],"hashtags":[],"portfolio_id":"21163824","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 10.527197360992432 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 11:24:03.357892
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 11:24:32.512382
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/11/23/image_08032025_11_24_05_29248.jpg', 2), ('/home/nano/Desktop/images/08032025/11/22/image_08032025_11_23_06_30224.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/11/23/image_08032025_11_24_05_29248.jpg', '/home/nano/Desktop/images/08032025/11/22/image_08032025_11_23_06_30224.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/11/23/image_08032025_11_24_05_29248.jpg
/home/nano/Desktop/images/08032025/11/22/image_08032025_11_23_06_30224.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341829246","1341829242"],"photo_ids_order":["1341829242","1341829246"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/5da6313441cc9838aa54449980b00495.jpg","text":"TemporaryFile(/tmp/multipartBody8251435365952886504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741429532841,"filename":"image_08032025_11_23_06_30224.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/46929a73c3a472e7292c23766aba8048.jpg","text":"TemporaryFile(/tmp/multipartBody1139550016571308923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741429532841,"filename":"image_08032025_11_24_05_29248.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341829246","file0":"1341829242"},"map_files_photo_id_array":[{"photo_id":"1341829246","filename":"file1"},{"photo_id":"1341829242","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341829246":["hashtag1","hashtag2"]},{"1341829242":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341829246, 1341829242)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.44274115562439 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 11:25:03.577137
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 11:25:32.630534
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/11/24/image_08032025_11_25_06_30243.jpg', 2), ('/home/nano/Desktop/images/08032025/11/24/image_08032025_11_24_36_30211.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/11/24/image_08032025_11_25_06_30243.jpg', '/home/nano/Desktop/images/08032025/11/24/image_08032025_11_24_36_30211.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/11/24/image_08032025_11_25_06_30243.jpg
/home/nano/Desktop/images/08032025/11/24/image_08032025_11_24_36_30211.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341829436","1341829440"],"photo_ids_order":["1341829436","1341829440"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/57ce7b95183b0bdffa905d45112210f0.jpg","text":"TemporaryFile(/tmp/multipartBody5553393276011368557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741429592951,"filename":"image_08032025_11_25_06_30243.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/76b6ff4969e34dace9c166acaa0e0f1b.jpg","text":"TemporaryFile(/tmp/multipartBody5631877544595017820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741429592951,"filename":"image_08032025_11_24_36_30211.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341829440","file0":"1341829436"},"map_files_photo_id_array":[{"photo_id":"1341829440","filename":"file1"},{"photo_id":"1341829436","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341829436":["hashtag1","hashtag2"]},{"1341829440":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341829436, 1341829440)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.318326234817505 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 11:26:03.669947
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/11/25/image_08032025_11_26_05_29229.jpg', 2), ('/home/nano/Desktop/images/08032025/11/25/image_08032025_11_25_36_30204.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/11/25/image_08032025_11_26_05_29229.jpg', '/home/nano/Desktop/images/08032025/11/25/image_08032025_11_25_36_30204.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/11/25/image_08032025_11_26_05_29229.jpg
/home/nano/Desktop/images/08032025/11/25/image_08032025_11_25_36_30204.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.27811384201049805 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 marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 11:26:32.751341
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/11/25/image_08032025_11_26_05_29229.jpg', 2), ('/home/nano/Desktop/images/08032025/11/25/image_08032025_11_25_36_30204.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/11/25/image_08032025_11_26_05_29229.jpg', '/home/nano/Desktop/images/08032025/11/25/image_08032025_11_25_36_30204.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/11/25/image_08032025_11_26_05_29229.jpg
/home/nano/Desktop/images/08032025/11/25/image_08032025_11_25_36_30204.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341829512","1341829499"],"photo_ids_order":["1341829499","1341829512"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/56d7d9d6982b0370820498624f6bff67.jpg","text":"TemporaryFile(/tmp/multipartBody8325593573453814093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741429653059,"filename":"image_08032025_11_25_36_30204.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/f0cc6b97a6ff656c615325bcbaee74fb.jpg","text":"TemporaryFile(/tmp/multipartBody6151899764974419220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741429653059,"filename":"image_08032025_11_26_05_29229.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341829512","file0":"1341829499"},"map_files_photo_id_array":[{"photo_id":"1341829512","filename":"file1"},{"photo_id":"1341829499","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341829512":["hashtag1","hashtag2"]},{"1341829499":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341829512, 1341829499)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 16.112529754638672 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 11:27:02.602393
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 11:27:31.844239
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/11/26/image_08032025_11_27_06_30232.jpg', 2), ('/home/nano/Desktop/images/08032025/11/26/image_08032025_11_26_35_30214.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/11/26/image_08032025_11_27_06_30232.jpg', '/home/nano/Desktop/images/08032025/11/26/image_08032025_11_26_35_30214.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/11/26/image_08032025_11_27_06_30232.jpg
/home/nano/Desktop/images/08032025/11/26/image_08032025_11_26_35_30214.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341829648","1341829653"],"photo_ids_order":["1341829648","1341829653"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/d30926a588b986ba76ff4d15a2ea070f.jpg","text":"TemporaryFile(/tmp/multipartBody6118965432658839116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741429712177,"filename":"image_08032025_11_27_06_30232.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/9575a2d5cc5286c697d790e9a6871403.jpg","text":"TemporaryFile(/tmp/multipartBody5942712614232588390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741429712177,"filename":"image_08032025_11_26_35_30214.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341829653","file0":"1341829648"},"map_files_photo_id_array":[{"photo_id":"1341829653","filename":"file1"},{"photo_id":"1341829648","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341829648":["hashtag1","hashtag2"]},{"1341829653":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341829648, 1341829653)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 19.906559467315674 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 11:28:02.504019
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 11:28:31.935406
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/11/27/image_08032025_11_28_05_29204.jpg', 2), ('/home/nano/Desktop/images/08032025/11/27/image_08032025_11_27_36_30232.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/11/27/image_08032025_11_28_05_29204.jpg', '/home/nano/Desktop/images/08032025/11/27/image_08032025_11_27_36_30232.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/11/27/image_08032025_11_28_05_29204.jpg
/home/nano/Desktop/images/08032025/11/27/image_08032025_11_27_36_30232.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341829886","1341829855"],"photo_ids_order":["1341829855","1341829886"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/7a7edb569345abf5ad1926d41a6ce33b.jpg","text":"TemporaryFile(/tmp/multipartBody4470523137361667750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741429772255,"filename":"image_08032025_11_27_36_30232.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/0e70395cfa4fe649f7624967b37644d2.jpg","text":"TemporaryFile(/tmp/multipartBody838669615763951743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741429772255,"filename":"image_08032025_11_28_05_29204.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341829886","file0":"1341829855"},"map_files_photo_id_array":[{"photo_id":"1341829886","filename":"file1"},{"photo_id":"1341829855","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341829886":["hashtag1","hashtag2"]},{"1341829855":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341829886, 1341829855)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.966774702072144 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 11:29:03.182994
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 11:29:32.110853
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/11/28/image_08032025_11_29_06_30212.jpg', 2), ('/home/nano/Desktop/images/08032025/11/28/image_08032025_11_28_35_30231.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/11/28/image_08032025_11_29_06_30212.jpg', '/home/nano/Desktop/images/08032025/11/28/image_08032025_11_28_35_30231.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/11/28/image_08032025_11_29_06_30212.jpg
/home/nano/Desktop/images/08032025/11/28/image_08032025_11_28_35_30231.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341830087","1341830072"],"photo_ids_order":["1341830072","1341830087"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/b698db75da577a439c987b8c511de842.jpg","text":"TemporaryFile(/tmp/multipartBody8950308632950823692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741429832418,"filename":"image_08032025_11_28_35_30231.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/bf984a224413f905b09812d10ea0e7dd.jpg","text":"TemporaryFile(/tmp/multipartBody2129587560882009956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741429832418,"filename":"image_08032025_11_29_06_30212.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341830087","file0":"1341830072"},"map_files_photo_id_array":[{"photo_id":"1341830087","filename":"file1"},{"photo_id":"1341830072","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341830087":["hashtag1","hashtag2"]},{"1341830072":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341830087, 1341830072)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.210532903671265 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 11:30:03.107066
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/11/29/image_08032025_11_30_06_30244.jpg', 2), ('/home/nano/Desktop/images/08032025/11/29/image_08032025_11_29_36_30201.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/11/29/image_08032025_11_30_06_30244.jpg', '/home/nano/Desktop/images/08032025/11/29/image_08032025_11_29_36_30201.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/11/29/image_08032025_11_30_06_30244.jpg
/home/nano/Desktop/images/08032025/11/29/image_08032025_11_29_36_30201.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341830290","1341830320"],"photo_ids_order":["1341830290","1341830320"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/4cd13990b5c78105351fef3ddc7fd141.jpg","text":"TemporaryFile(/tmp/multipartBody2475148955286086389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741429863472,"filename":"image_08032025_11_30_06_30244.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/a6c09d41ff8651d08beb84299ee500fd.jpg","text":"TemporaryFile(/tmp/multipartBody7551779972014594240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741429863472,"filename":"image_08032025_11_29_36_30201.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341830320","file0":"1341830290"},"map_files_photo_id_array":[{"photo_id":"1341830320","filename":"file1"},{"photo_id":"1341830290","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341830290":["hashtag1","hashtag2"]},{"1341830320":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341830290, 1341830320)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 16.102436780929565 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 11:30:32.228310
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 11:31:03.093083
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 11:31:32.332012
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/11/30/image_08032025_11_31_05_30212.jpg', 2), ('/home/nano/Desktop/images/08032025/11/30/image_08032025_11_30_35_29199.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/11/30/image_08032025_11_31_05_30212.jpg', '/home/nano/Desktop/images/08032025/11/30/image_08032025_11_30_35_29199.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/11/30/image_08032025_11_31_05_30212.jpg
/home/nano/Desktop/images/08032025/11/30/image_08032025_11_30_35_29199.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341830962","1341831021"],"photo_ids_order":["1341830962","1341831021"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/4f54b4c3cb0f841e13e1152dedaaa0ac.jpg","text":"TemporaryFile(/tmp/multipartBody173565871469236079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741429952639,"filename":"image_08032025_11_31_05_30212.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/3dd6385dbcb118dbc2cc9fcd87fb2cf8.jpg","text":"TemporaryFile(/tmp/multipartBody3550410052804291598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741429952639,"filename":"image_08032025_11_30_35_29199.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341831021","file0":"1341830962"},"map_files_photo_id_array":[{"photo_id":"1341831021","filename":"file1"},{"photo_id":"1341830962","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341830962":["hashtag1","hashtag2"]},{"1341831021":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341830962, 1341831021)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 16.842833995819092 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 11:32:03.351322
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 11:32:32.435105
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/11/31/image_08032025_11_32_06_30188.jpg', 2), ('/home/nano/Desktop/images/08032025/11/31/image_08032025_11_31_36_30204.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/11/31/image_08032025_11_32_06_30188.jpg', '/home/nano/Desktop/images/08032025/11/31/image_08032025_11_31_36_30204.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/11/31/image_08032025_11_32_06_30188.jpg
/home/nano/Desktop/images/08032025/11/31/image_08032025_11_31_36_30204.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341831466","1341831451"],"photo_ids_order":["1341831451","1341831466"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/12fdabbcf049ebbf9e002dbf8a8e656a.jpg","text":"TemporaryFile(/tmp/multipartBody6982466220987136423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741430012760,"filename":"image_08032025_11_31_36_30204.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/e92d6b6c2adb1f794928803ca542893a.jpg","text":"TemporaryFile(/tmp/multipartBody6777778555290032010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741430012760,"filename":"image_08032025_11_32_06_30188.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341831466","file0":"1341831451"},"map_files_photo_id_array":[{"photo_id":"1341831466","filename":"file1"},{"photo_id":"1341831451","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341831466":["hashtag1","hashtag2"]},{"1341831451":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341831466, 1341831451)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 20.88201403617859 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 11:33:03.311625
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 11:33:32.539378
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/11/32/image_08032025_11_33_05_29214.jpg', 2), ('/home/nano/Desktop/images/08032025/11/32/image_08032025_11_32_36_30187.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/11/32/image_08032025_11_33_05_29214.jpg', '/home/nano/Desktop/images/08032025/11/32/image_08032025_11_32_36_30187.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/11/32/image_08032025_11_33_05_29214.jpg
/home/nano/Desktop/images/08032025/11/32/image_08032025_11_32_36_30187.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341831612","1341831708"],"photo_ids_order":["1341831612","1341831708"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/181f81cfd7fb233ff3107fe3e637174a.jpg","text":"TemporaryFile(/tmp/multipartBody6063187521339884816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741430072884,"filename":"image_08032025_11_33_05_29214.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/e7df98f23617bfb1d7d110a8d3b66998.jpg","text":"TemporaryFile(/tmp/multipartBody4253419441385765784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741430072884,"filename":"image_08032025_11_32_36_30187.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341831708","file0":"1341831612"},"map_files_photo_id_array":[{"photo_id":"1341831708","filename":"file1"},{"photo_id":"1341831612","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341831612":["hashtag1","hashtag2"]},{"1341831708":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341831612, 1341831708)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.359853029251099 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 11:34:03.603957
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 11:34:32.613144
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/11/33/image_08032025_11_34_06_30213.jpg', 2), ('/home/nano/Desktop/images/08032025/11/33/image_08032025_11_33_35_30197.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/11/33/image_08032025_11_34_06_30213.jpg', '/home/nano/Desktop/images/08032025/11/33/image_08032025_11_33_35_30197.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/11/33/image_08032025_11_34_06_30213.jpg
/home/nano/Desktop/images/08032025/11/33/image_08032025_11_33_35_30197.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341831952","1341831948"],"photo_ids_order":["1341831948","1341831952"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/4bfc2559287c0eb35b4e569ff033836d.jpg","text":"TemporaryFile(/tmp/multipartBody4872226524529296126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741430132938,"filename":"image_08032025_11_33_35_30197.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/a5e4ca3a1f33f0cc3056fb2f3ea32814.jpg","text":"TemporaryFile(/tmp/multipartBody4902704700196331895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741430132938,"filename":"image_08032025_11_34_06_30213.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341831952","file0":"1341831948"},"map_files_photo_id_array":[{"photo_id":"1341831952","filename":"file1"},{"photo_id":"1341831948","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341831952":["hashtag1","hashtag2"]},{"1341831948":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341831952, 1341831948)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 16.301583766937256 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 11:35:03.414405
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 11:35:32.728330
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/11/34/image_08032025_11_35_06_30234.jpg', 2), ('/home/nano/Desktop/images/08032025/11/34/image_08032025_11_34_36_30205.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/11/34/image_08032025_11_35_06_30234.jpg', '/home/nano/Desktop/images/08032025/11/34/image_08032025_11_34_36_30205.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/11/34/image_08032025_11_35_06_30234.jpg
/home/nano/Desktop/images/08032025/11/34/image_08032025_11_34_36_30205.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341832052","1341832046"],"photo_ids_order":["1341832046","1341832052"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/19298d1553a156d076059b772ef1db12.jpg","text":"TemporaryFile(/tmp/multipartBody4832943261676712387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741430193052,"filename":"image_08032025_11_34_36_30205.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/e47e2ee8aed415d165e55eccf5c2dbe7.jpg","text":"TemporaryFile(/tmp/multipartBody3451713444546459619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741430193052,"filename":"image_08032025_11_35_06_30234.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341832052","file0":"1341832046"},"map_files_photo_id_array":[{"photo_id":"1341832052","filename":"file1"},{"photo_id":"1341832046","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341832052":["hashtag1","hashtag2"]},{"1341832046":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341832052, 1341832046)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 19.28205132484436 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 11:36:02.616642
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 11:36:31.842555
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/11/35/image_08032025_11_36_06_30234.jpg', 2), ('/home/nano/Desktop/images/08032025/11/35/image_08032025_11_35_35_29196.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/11/35/image_08032025_11_36_06_30234.jpg', '/home/nano/Desktop/images/08032025/11/35/image_08032025_11_35_35_29196.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/11/35/image_08032025_11_36_06_30234.jpg
/home/nano/Desktop/images/08032025/11/35/image_08032025_11_35_35_29196.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.250929594039917 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 marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 11:37:02.838417
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/11/35/image_08032025_11_36_06_30234.jpg', 2), ('/home/nano/Desktop/images/08032025/11/35/image_08032025_11_35_35_29196.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/11/35/image_08032025_11_36_06_30234.jpg', '/home/nano/Desktop/images/08032025/11/35/image_08032025_11_35_35_29196.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/11/35/image_08032025_11_36_06_30234.jpg
/home/nano/Desktop/images/08032025/11/35/image_08032025_11_35_35_29196.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341832128","1341832130"],"photo_ids_order":["1341832128","1341832130"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/782392d00f2081a62036a6858a4d1e44.jpg","text":"TemporaryFile(/tmp/multipartBody3588665406631699570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741430283237,"filename":"image_08032025_11_36_06_30234.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/d59d641162626701db415c45449bbf97.jpg","text":"TemporaryFile(/tmp/multipartBody7916975292470090109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741430283237,"filename":"image_08032025_11_35_35_29196.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341832130","file0":"1341832128"},"map_files_photo_id_array":[{"photo_id":"1341832130","filename":"file1"},{"photo_id":"1341832128","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341832128":["hashtag1","hashtag2"]},{"1341832130":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341832128, 1341832130)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.20190167427063 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 11:37:31.966564
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/11/36/image_08032025_11_37_06_30235.jpg', 2), ('/home/nano/Desktop/images/08032025/11/36/image_08032025_11_36_36_30212.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/11/36/image_08032025_11_37_06_30235.jpg', '/home/nano/Desktop/images/08032025/11/36/image_08032025_11_36_36_30212.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/11/36/image_08032025_11_37_06_30235.jpg
/home/nano/Desktop/images/08032025/11/36/image_08032025_11_36_36_30212.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341832138","1341832143"],"photo_ids_order":["1341832138","1341832143"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/1a7ea17d62ea88080c2427401379ac74.jpg","text":"TemporaryFile(/tmp/multipartBody4435443047684902420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741430312275,"filename":"image_08032025_11_37_06_30235.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/1605c4a193b2e552145ef69a9f2d703c.jpg","text":"TemporaryFile(/tmp/multipartBody5938635840275998950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741430312275,"filename":"image_08032025_11_36_36_30212.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341832143","file0":"1341832138"},"map_files_photo_id_array":[{"photo_id":"1341832143","filename":"file1"},{"photo_id":"1341832138","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341832138":["hashtag1","hashtag2"]},{"1341832143":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341832138, 1341832143)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.280208826065063 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 11:38:02.826736
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 11:38:32.075085
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/11/37/image_08032025_11_38_05_30232.jpg', 2), ('/home/nano/Desktop/images/08032025/11/37/image_08032025_11_37_35_29218.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/11/37/image_08032025_11_38_05_30232.jpg', '/home/nano/Desktop/images/08032025/11/37/image_08032025_11_37_35_29218.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/11/37/image_08032025_11_38_05_30232.jpg
/home/nano/Desktop/images/08032025/11/37/image_08032025_11_37_35_29218.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341832253","1341832250"],"photo_ids_order":["1341832250","1341832253"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/9fba2c5e6ae496a451fb0c2d70353d05.jpg","text":"TemporaryFile(/tmp/multipartBody4055709341453934192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741430372403,"filename":"image_08032025_11_37_35_29218.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/88471159bc17e7570caa21260bdb3da3.jpg","text":"TemporaryFile(/tmp/multipartBody581661342397985484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741430372403,"filename":"image_08032025_11_38_05_30232.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341832253","file0":"1341832250"},"map_files_photo_id_array":[{"photo_id":"1341832253","filename":"file1"},{"photo_id":"1341832250","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341832253":["hashtag1","hashtag2"]},{"1341832250":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341832253, 1341832250)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 16.273008108139038 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 11:39:03.205912
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 11:39:32.165773
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/11/38/image_08032025_11_39_06_30211.jpg', 2), ('/home/nano/Desktop/images/08032025/11/38/image_08032025_11_38_36_30228.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/11/38/image_08032025_11_39_06_30211.jpg', '/home/nano/Desktop/images/08032025/11/38/image_08032025_11_38_36_30228.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/11/38/image_08032025_11_39_06_30211.jpg
/home/nano/Desktop/images/08032025/11/38/image_08032025_11_38_36_30228.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341832459","1341832481"],"photo_ids_order":["1341832459","1341832481"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/2cf690bee6b3f29f6de68979c425e51d.jpg","text":"TemporaryFile(/tmp/multipartBody7722328714294734199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741430432491,"filename":"image_08032025_11_39_06_30211.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/d6980e7ba66a77e8418caa76ea17369e.jpg","text":"TemporaryFile(/tmp/multipartBody7093489620295283681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741430432491,"filename":"image_08032025_11_38_36_30228.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341832481","file0":"1341832459"},"map_files_photo_id_array":[{"photo_id":"1341832481","filename":"file1"},{"photo_id":"1341832459","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341832459":["hashtag1","hashtag2"]},{"1341832481":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341832459, 1341832481)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.400948286056519 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 11:40:02.758347
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 11:40:32.278743
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/11/39/image_08032025_11_40_05_29222.jpg', 2), ('/home/nano/Desktop/images/08032025/11/39/image_08032025_11_39_36_30205.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/11/39/image_08032025_11_40_05_29222.jpg', '/home/nano/Desktop/images/08032025/11/39/image_08032025_11_39_36_30205.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/11/39/image_08032025_11_40_05_29222.jpg
/home/nano/Desktop/images/08032025/11/39/image_08032025_11_39_36_30205.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341833184","1341833106"],"photo_ids_order":["1341833106","1341833184"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/a71e03aa428ea9e09fc6448d8f9f32df.jpg","text":"TemporaryFile(/tmp/multipartBody5522071711390091452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741430492612,"filename":"image_08032025_11_39_36_30205.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/6b329889eaf442143f2d685b602e3377.jpg","text":"TemporaryFile(/tmp/multipartBody7123332061787182309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741430492612,"filename":"image_08032025_11_40_05_29222.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341833184","file0":"1341833106"},"map_files_photo_id_array":[{"photo_id":"1341833184","filename":"file1"},{"photo_id":"1341833106","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341833184":["hashtag1","hashtag2"]},{"1341833106":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341833184, 1341833106)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 25.51926064491272 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 11:41:03.072913
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 11:41:32.426302
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/11/40/image_08032025_11_41_06_30211.jpg', 2), ('/home/nano/Desktop/images/08032025/11/40/image_08032025_11_40_35_30208.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/11/40/image_08032025_11_41_06_30211.jpg', '/home/nano/Desktop/images/08032025/11/40/image_08032025_11_40_35_30208.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/11/40/image_08032025_11_41_06_30211.jpg
/home/nano/Desktop/images/08032025/11/40/image_08032025_11_40_35_30208.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341833386","1341833341"],"photo_ids_order":["1341833341","1341833386"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/51330b14b887ec702cd7ba196174735f.jpg","text":"TemporaryFile(/tmp/multipartBody6180356532013256930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741430552753,"filename":"image_08032025_11_40_35_30208.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/8f6ed19141d120647c7e15e5ef56b879.jpg","text":"TemporaryFile(/tmp/multipartBody4284238937991777460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741430552753,"filename":"image_08032025_11_41_06_30211.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341833386","file0":"1341833341"},"map_files_photo_id_array":[{"photo_id":"1341833386","filename":"file1"},{"photo_id":"1341833341","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341833386":["hashtag1","hashtag2"]},{"1341833341":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341833386, 1341833341)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.738354921340942 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 11:42:03.415084
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 11:42:32.504762
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/11/41/image_08032025_11_42_05_29236.jpg', 2), ('/home/nano/Desktop/images/08032025/11/41/image_08032025_11_41_36_30196.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/11/41/image_08032025_11_42_05_29236.jpg', '/home/nano/Desktop/images/08032025/11/41/image_08032025_11_41_36_30196.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/11/41/image_08032025_11_42_05_29236.jpg
/home/nano/Desktop/images/08032025/11/41/image_08032025_11_41_36_30196.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341833860","1341833812"],"photo_ids_order":["1341833812","1341833860"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/21e0d13764ad4983f07686fedfe1ea66.jpg","text":"TemporaryFile(/tmp/multipartBody5828705253876952666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741430612858,"filename":"image_08032025_11_41_36_30196.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/3a10cd38cc3365732ce28f8e2113ae01.jpg","text":"TemporaryFile(/tmp/multipartBody2971022983869559963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741430612858,"filename":"image_08032025_11_42_05_29236.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341833860","file0":"1341833812"},"map_files_photo_id_array":[{"photo_id":"1341833860","filename":"file1"},{"photo_id":"1341833812","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341833860":["hashtag1","hashtag2"]},{"1341833812":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341833860, 1341833812)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 16.669363021850586 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 11:43:03.375601
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 11:43:32.607694
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/11/42/image_08032025_11_43_06_30233.jpg', 2), ('/home/nano/Desktop/images/08032025/11/42/image_08032025_11_42_35_30234.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/11/42/image_08032025_11_43_06_30233.jpg', '/home/nano/Desktop/images/08032025/11/42/image_08032025_11_42_35_30234.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/11/42/image_08032025_11_43_06_30233.jpg
/home/nano/Desktop/images/08032025/11/42/image_08032025_11_42_35_30234.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341833931","1341833928"],"photo_ids_order":["1341833928","1341833931"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/d11ee732e63819628b1e821389046ed8.jpg","text":"TemporaryFile(/tmp/multipartBody7806818105711593050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741430672915,"filename":"image_08032025_11_42_35_30234.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/c0654073c20ea2ffe5b7037c37b1060a.jpg","text":"TemporaryFile(/tmp/multipartBody5941674609489111455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741430672915,"filename":"image_08032025_11_43_06_30233.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341833931","file0":"1341833928"},"map_files_photo_id_array":[{"photo_id":"1341833931","filename":"file1"},{"photo_id":"1341833928","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341833931":["hashtag1","hashtag2"]},{"1341833928":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341833931, 1341833928)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 97.5083589553833 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 11:45:31.798080
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 4 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/11/44/image_08032025_11_45_05_30231.jpg', 2), ('/home/nano/Desktop/images/08032025/11/44/image_08032025_11_44_35_29207.jpg', 2), ('/home/nano/Desktop/images/08032025/11/43/image_08032025_11_44_06_30225.jpg', 2), ('/home/nano/Desktop/images/08032025/11/43/image_08032025_11_43_36_30220.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/11/44/image_08032025_11_45_05_30231.jpg', '/home/nano/Desktop/images/08032025/11/44/image_08032025_11_44_35_29207.jpg', '/home/nano/Desktop/images/08032025/11/43/image_08032025_11_44_06_30225.jpg', '/home/nano/Desktop/images/08032025/11/43/image_08032025_11_43_36_30220.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/11/44/image_08032025_11_45_05_30231.jpg
/home/nano/Desktop/images/08032025/11/44/image_08032025_11_44_35_29207.jpg
/home/nano/Desktop/images/08032025/11/43/image_08032025_11_44_06_30225.jpg
/home/nano/Desktop/images/08032025/11/43/image_08032025_11_43_36_30220.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341834247","1341834307","1341834272","1341834157"],"photo_ids_order":["1341834157","1341834247","1341834272","1341834307"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/62b25eb073efafeb53159cd12539e649.jpg","text":"TemporaryFile(/tmp/multipartBody4905098269096384111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741430792193,"filename":"image_08032025_11_44_35_29207.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/0371ca80a338744f6d4342d627326bac.jpg","text":"TemporaryFile(/tmp/multipartBody1832239749562525335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741430792193,"filename":"image_08032025_11_43_36_30220.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/ff6747eed015ec518a40b114b72aa2ae.jpg","text":"TemporaryFile(/tmp/multipartBody4360893258020986269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741430792193,"filename":"image_08032025_11_44_06_30225.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/48d9a8d71277f25d35995cbcf5f51e3a.jpg","text":"TemporaryFile(/tmp/multipartBody7414237891514919872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741430792193,"filename":"image_08032025_11_45_05_30231.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341834272","file1":"1341834247","file0":"1341834157","file3":"1341834307"},"map_files_photo_id_array":[{"photo_id":"1341834272","filename":"file2"},{"photo_id":"1341834247","filename":"file1"},{"photo_id":"1341834157","filename":"file0"},{"photo_id":"1341834307","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341834247":["hashtag1","hashtag2"]},{"1341834307":["hashtag1","hashtag2"]},{"1341834272":["hashtag1","hashtag2"]},{"1341834157":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341834247, 1341834307, 1341834272, 1341834157)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 26.710708141326904 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 11:46:02.893440
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/11/45/image_08032025_11_46_06_30219.jpg', 2), ('/home/nano/Desktop/images/08032025/11/45/image_08032025_11_45_36_30230.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/11/45/image_08032025_11_46_06_30219.jpg', '/home/nano/Desktop/images/08032025/11/45/image_08032025_11_45_36_30230.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/11/45/image_08032025_11_46_06_30219.jpg
/home/nano/Desktop/images/08032025/11/45/image_08032025_11_45_36_30230.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341834437","1341834539"],"photo_ids_order":["1341834437","1341834539"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/ed38dffb9612a3627b340e8a4f2da543.jpg","text":"TemporaryFile(/tmp/multipartBody7873193927943245462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741430823258,"filename":"image_08032025_11_46_06_30219.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/3f5238d7b06e7034c187662c19f8bbd9.jpg","text":"TemporaryFile(/tmp/multipartBody4909504278333978403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741430823258,"filename":"image_08032025_11_45_36_30230.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341834539","file0":"1341834437"},"map_files_photo_id_array":[{"photo_id":"1341834539","filename":"file1"},{"photo_id":"1341834437","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341834437":["hashtag1","hashtag2"]},{"1341834539":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341834437, 1341834539)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 18.563969612121582 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 11:46:31.899946
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 11:47:02.805438
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 11:47:32.040763
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/11/46/image_08032025_11_47_05_30220.jpg', 2), ('/home/nano/Desktop/images/08032025/11/46/image_08032025_11_46_35_29207.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/11/46/image_08032025_11_47_05_30220.jpg', '/home/nano/Desktop/images/08032025/11/46/image_08032025_11_46_35_29207.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/11/46/image_08032025_11_47_05_30220.jpg
/home/nano/Desktop/images/08032025/11/46/image_08032025_11_46_35_29207.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341834703","1341834698"],"photo_ids_order":["1341834698","1341834703"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/585bc72d313854ae6b7dcabd3bcd53e7.jpg","text":"TemporaryFile(/tmp/multipartBody5722759790435451307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741430912366,"filename":"image_08032025_11_46_35_29207.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/ea9dfe72ccdbec45eb3bec2befd973f0.jpg","text":"TemporaryFile(/tmp/multipartBody7462532137401213550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741430912366,"filename":"image_08032025_11_47_05_30220.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341834703","file0":"1341834698"},"map_files_photo_id_array":[{"photo_id":"1341834703","filename":"file1"},{"photo_id":"1341834698","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341834703":["hashtag1","hashtag2"]},{"1341834698":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341834703, 1341834698)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.145801067352295 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 11:48:02.820510
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 11:48:32.134809
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/11/47/image_08032025_11_48_06_30212.jpg', 2), ('/home/nano/Desktop/images/08032025/11/47/image_08032025_11_47_36_30213.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/11/47/image_08032025_11_48_06_30212.jpg', '/home/nano/Desktop/images/08032025/11/47/image_08032025_11_47_36_30213.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/11/47/image_08032025_11_48_06_30212.jpg
/home/nano/Desktop/images/08032025/11/47/image_08032025_11_47_36_30213.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341834863","1341834857"],"photo_ids_order":["1341834857","1341834863"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/11280f6bea1e2b8b026c39a5bc2d61f8.jpg","text":"TemporaryFile(/tmp/multipartBody5820275976900284609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741430972442,"filename":"image_08032025_11_47_36_30213.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/476a70c6b8d78d8be8ed597f500145bb.jpg","text":"TemporaryFile(/tmp/multipartBody1400384145559882673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741430972442,"filename":"image_08032025_11_48_06_30212.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341834863","file0":"1341834857"},"map_files_photo_id_array":[{"photo_id":"1341834863","filename":"file1"},{"photo_id":"1341834857","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341834863":["hashtag1","hashtag2"]},{"1341834857":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341834863, 1341834857)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.100859642028809 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 11:49:02.888717
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 11:49:32.208204
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/11/48/image_08032025_11_49_05_29219.jpg', 2), ('/home/nano/Desktop/images/08032025/11/48/image_08032025_11_48_36_30219.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/11/48/image_08032025_11_49_05_29219.jpg', '/home/nano/Desktop/images/08032025/11/48/image_08032025_11_48_36_30219.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/11/48/image_08032025_11_49_05_29219.jpg
/home/nano/Desktop/images/08032025/11/48/image_08032025_11_48_36_30219.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341835074","1341835108"],"photo_ids_order":["1341835074","1341835108"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/66ff731840d5d196b2973ef558cdba53.jpg","text":"TemporaryFile(/tmp/multipartBody7860747478397378858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741431032519,"filename":"image_08032025_11_49_05_29219.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/87fdeb140b1d38e3f8253586a15c1f6c.jpg","text":"TemporaryFile(/tmp/multipartBody7241316736089139079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741431032519,"filename":"image_08032025_11_48_36_30219.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341835108","file0":"1341835074"},"map_files_photo_id_array":[{"photo_id":"1341835108","filename":"file1"},{"photo_id":"1341835074","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341835074":["hashtag1","hashtag2"]},{"1341835108":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341835074, 1341835108)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 20.62740921974182 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 11:50:03.196404
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 11:50:32.317198
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/11/49/image_08032025_11_50_06_30257.jpg', 2), ('/home/nano/Desktop/images/08032025/11/49/image_08032025_11_49_35_30221.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/11/49/image_08032025_11_50_06_30257.jpg', '/home/nano/Desktop/images/08032025/11/49/image_08032025_11_49_35_30221.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/11/49/image_08032025_11_50_06_30257.jpg
/home/nano/Desktop/images/08032025/11/49/image_08032025_11_49_35_30221.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341835647","1341835525"],"photo_ids_order":["1341835525","1341835647"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/bd4c614c653ef7670bb209ac1c1ee502.jpg","text":"TemporaryFile(/tmp/multipartBody5170332970899899286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741431092645,"filename":"image_08032025_11_49_35_30221.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/87e6193a2f9251a7869e732584853486.jpg","text":"TemporaryFile(/tmp/multipartBody1022910576549444762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741431092645,"filename":"image_08032025_11_50_06_30257.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341835647","file0":"1341835525"},"map_files_photo_id_array":[{"photo_id":"1341835647","filename":"file1"},{"photo_id":"1341835525","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341835647":["hashtag1","hashtag2"]},{"1341835525":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341835647, 1341835525)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 21.479506254196167 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 11:51:03.003319
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 11:51:32.427376
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/11/50/image_08032025_11_51_05_29252.jpg', 2), ('/home/nano/Desktop/images/08032025/11/50/image_08032025_11_50_36_30228.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/11/50/image_08032025_11_51_05_29252.jpg', '/home/nano/Desktop/images/08032025/11/50/image_08032025_11_50_36_30228.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/11/50/image_08032025_11_51_05_29252.jpg
/home/nano/Desktop/images/08032025/11/50/image_08032025_11_50_36_30228.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341836202","1341836230"],"photo_ids_order":["1341836202","1341836230"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/b1b710958b0f2acb7afd547316169788.jpg","text":"TemporaryFile(/tmp/multipartBody9304996135466465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741431152761,"filename":"image_08032025_11_51_05_29252.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/880d79da9a80472ab2e0df4f8ae79830.jpg","text":"TemporaryFile(/tmp/multipartBody4344819357786479794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741431152761,"filename":"image_08032025_11_50_36_30228.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341836230","file0":"1341836202"},"map_files_photo_id_array":[{"photo_id":"1341836230","filename":"file1"},{"photo_id":"1341836202","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341836202":["hashtag1","hashtag2"]},{"1341836230":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341836202, 1341836230)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.01118779182434 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 11:52:03.263513
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 11:52:32.535070
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/11/51/image_08032025_11_52_06_30260.jpg', 2), ('/home/nano/Desktop/images/08032025/11/51/image_08032025_11_51_35_30230.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/11/51/image_08032025_11_52_06_30260.jpg', '/home/nano/Desktop/images/08032025/11/51/image_08032025_11_51_35_30230.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/11/51/image_08032025_11_52_06_30260.jpg
/home/nano/Desktop/images/08032025/11/51/image_08032025_11_51_35_30230.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341836789","1341836824"],"photo_ids_order":["1341836789","1341836824"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/947bcb67180202bc93df74b2d2cbf6b2.jpg","text":"TemporaryFile(/tmp/multipartBody1655957494720849280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741431212852,"filename":"image_08032025_11_52_06_30260.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/f76105f1f86d8f86ffc828210578f452.jpg","text":"TemporaryFile(/tmp/multipartBody70047139060895413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741431212852,"filename":"image_08032025_11_51_35_30230.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341836824","file0":"1341836789"},"map_files_photo_id_array":[{"photo_id":"1341836824","filename":"file1"},{"photo_id":"1341836789","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341836789":["hashtag1","hashtag2"]},{"1341836824":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341836789, 1341836824)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 38.189807415008545 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 11:53:32.652067
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/11/52/image_08032025_11_53_05_29224.jpg', 2), ('/home/nano/Desktop/images/08032025/11/52/image_08032025_11_52_36_30245.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/11/52/image_08032025_11_53_05_29224.jpg', '/home/nano/Desktop/images/08032025/11/52/image_08032025_11_52_36_30245.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/11/52/image_08032025_11_53_05_29224.jpg
/home/nano/Desktop/images/08032025/11/52/image_08032025_11_52_36_30245.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 11:58:02.977086
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/11/57/image_08032025_11_58_06_30249.jpg', 2), ('/home/nano/Desktop/images/08032025/11/57/image_08032025_11_57_35_29223.jpg', 2), ('/home/nano/Desktop/images/08032025/11/56/image_08032025_11_57_06_30258.jpg', 2), ('/home/nano/Desktop/images/08032025/11/56/image_08032025_11_56_36_30230.jpg', 2), ('/home/nano/Desktop/images/08032025/11/55/image_08032025_11_56_06_30257.jpg', 2), ('/home/nano/Desktop/images/08032025/11/55/image_08032025_11_55_35_29217.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/11/57/image_08032025_11_58_06_30249.jpg', '/home/nano/Desktop/images/08032025/11/57/image_08032025_11_57_35_29223.jpg', '/home/nano/Desktop/images/08032025/11/56/image_08032025_11_57_06_30258.jpg', '/home/nano/Desktop/images/08032025/11/56/image_08032025_11_56_36_30230.jpg', '/home/nano/Desktop/images/08032025/11/55/image_08032025_11_56_06_30257.jpg', '/home/nano/Desktop/images/08032025/11/55/image_08032025_11_55_35_29217.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/11/57/image_08032025_11_58_06_30249.jpg
/home/nano/Desktop/images/08032025/11/57/image_08032025_11_57_35_29223.jpg
/home/nano/Desktop/images/08032025/11/56/image_08032025_11_57_06_30258.jpg
/home/nano/Desktop/images/08032025/11/56/image_08032025_11_56_36_30230.jpg
/home/nano/Desktop/images/08032025/11/55/image_08032025_11_56_06_30257.jpg
/home/nano/Desktop/images/08032025/11/55/image_08032025_11_55_35_29217.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341838105","1341838089","1341838134","1341838128","1341838122","1341838091"],"photo_ids_order":["1341838089","1341838091","1341838105","1341838122","1341838128","1341838134"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/9d5df784867683080120d0bbef7cf5c1.jpg","text":"TemporaryFile(/tmp/multipartBody1556096796843234891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741431543533,"filename":"image_08032025_11_57_06_30258.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/af48266c6f2c12ed78b0f1cc621b9af4.jpg","text":"TemporaryFile(/tmp/multipartBody1201582355387145881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741431543533,"filename":"image_08032025_11_58_06_30249.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/7fd76caaf86d3da577d5d5c9c359a125.jpg","text":"TemporaryFile(/tmp/multipartBody8957522580652308926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741431543533,"filename":"image_08032025_11_55_35_29217.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/f51347b4e3db306b1b9cf7740bbd3a6b.jpg","text":"TemporaryFile(/tmp/multipartBody6854400155084032151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741431543533,"filename":"image_08032025_11_56_06_30257.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/e51077d055a28e31200c36e638942896.jpg","text":"TemporaryFile(/tmp/multipartBody3735534244890631365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741431543533,"filename":"image_08032025_11_56_36_30230.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/a1857f0ef380943a5fdc180e5fc6f76e.jpg","text":"TemporaryFile(/tmp/multipartBody3549587578868915979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741431543533,"filename":"image_08032025_11_57_35_29223.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341838105","file1":"1341838091","file0":"1341838089","file4":"1341838128","file5":"1341838134","file3":"1341838122"},"map_files_photo_id_array":[{"photo_id":"1341838134","filename":"file5"},{"photo_id":"1341838105","filename":"file2"},{"photo_id":"1341838128","filename":"file4"},{"photo_id":"1341838091","filename":"file1"},{"photo_id":"1341838089","filename":"file0"},{"photo_id":"1341838122","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341838105":["hashtag1","hashtag2"]},{"1341838089":["hashtag1","hashtag2"]},{"1341838134":["hashtag1","hashtag2"]},{"1341838128":["hashtag1","hashtag2"]},{"1341838122":["hashtag1","hashtag2"]},{"1341838091":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341838105, 1341838089, 1341838134, 1341838128, 1341838122, 1341838091)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.54619288444519 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 11:59:03.607256
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/11/54/image_08032025_11_55_06_30255.jpg', 2), ('/home/nano/Desktop/images/08032025/11/54/image_08032025_11_54_36_30225.jpg', 2), ('/home/nano/Desktop/images/08032025/11/53/image_08032025_11_54_06_30238.jpg', 2), ('/home/nano/Desktop/images/08032025/11/53/image_08032025_11_53_35_30236.jpg', 2), ('/home/nano/Desktop/images/08032025/11/52/image_08032025_11_53_05_29224.jpg', 2), ('/home/nano/Desktop/images/08032025/11/52/image_08032025_11_52_36_30245.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/11/54/image_08032025_11_55_06_30255.jpg', '/home/nano/Desktop/images/08032025/11/54/image_08032025_11_54_36_30225.jpg', '/home/nano/Desktop/images/08032025/11/53/image_08032025_11_54_06_30238.jpg', '/home/nano/Desktop/images/08032025/11/53/image_08032025_11_53_35_30236.jpg', '/home/nano/Desktop/images/08032025/11/52/image_08032025_11_53_05_29224.jpg', '/home/nano/Desktop/images/08032025/11/52/image_08032025_11_52_36_30245.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/11/54/image_08032025_11_55_06_30255.jpg
/home/nano/Desktop/images/08032025/11/54/image_08032025_11_54_36_30225.jpg
/home/nano/Desktop/images/08032025/11/53/image_08032025_11_54_06_30238.jpg
/home/nano/Desktop/images/08032025/11/53/image_08032025_11_53_35_30236.jpg
/home/nano/Desktop/images/08032025/11/52/image_08032025_11_53_05_29224.jpg
/home/nano/Desktop/images/08032025/11/52/image_08032025_11_52_36_30245.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341838186","1341838156","1341838225","1341838207","1341838140","1341838259"],"photo_ids_order":["1341838140","1341838156","1341838186","1341838207","1341838225","1341838259"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/9e5248f08b67e54b3b38a2723fe2bbf0.jpg","text":"TemporaryFile(/tmp/multipartBody3376362517894260854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741431604110,"filename":"image_08032025_11_54_06_30238.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/87d79b7ecc60a1b11afff71cdf78de42.jpg","text":"TemporaryFile(/tmp/multipartBody2815061216477392586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741431604110,"filename":"image_08032025_11_54_36_30225.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/1fe4a9b50b7bdb4a539c14491b11d9a0.jpg","text":"TemporaryFile(/tmp/multipartBody6165910741280135014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741431604110,"filename":"image_08032025_11_53_05_29224.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/dc83e10d647cc835ca7b8bdf2595ae2d.jpg","text":"TemporaryFile(/tmp/multipartBody7661053352746696304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741431604110,"filename":"image_08032025_11_53_35_30236.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/0f38b4dbff40238dcf1f471edb3e8089.jpg","text":"TemporaryFile(/tmp/multipartBody5400023767553860128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741431604110,"filename":"image_08032025_11_55_06_30255.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/8b55f76b818ed28eb6efe46df2a629a1.jpg","text":"TemporaryFile(/tmp/multipartBody6020762980675179278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741431604110,"filename":"image_08032025_11_52_36_30245.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341838186","file1":"1341838156","file0":"1341838140","file4":"1341838225","file5":"1341838259","file3":"1341838207"},"map_files_photo_id_array":[{"photo_id":"1341838259","filename":"file5"},{"photo_id":"1341838186","filename":"file2"},{"photo_id":"1341838225","filename":"file4"},{"photo_id":"1341838156","filename":"file1"},{"photo_id":"1341838140","filename":"file0"},{"photo_id":"1341838207","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341838186":["hashtag1","hashtag2"]},{"1341838156":["hashtag1","hashtag2"]},{"1341838225":["hashtag1","hashtag2"]},{"1341838207":["hashtag1","hashtag2"]},{"1341838140":["hashtag1","hashtag2"]},{"1341838259":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341838186, 1341838156, 1341838225, 1341838207, 1341838140, 1341838259)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.408583641052246 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 12:00:03.461666
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/11/58/image_08032025_11_59_06_30248.jpg', 2), ('/home/nano/Desktop/images/08032025/11/58/image_08032025_11_58_36_30234.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/11/58/image_08032025_11_59_06_30248.jpg', '/home/nano/Desktop/images/08032025/11/58/image_08032025_11_58_36_30234.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/11/58/image_08032025_11_59_06_30248.jpg
/home/nano/Desktop/images/08032025/11/58/image_08032025_11_58_36_30234.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341838515","1341838446"],"photo_ids_order":["1341838446","1341838515"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/cef871dfaf65e0993c6aaf7ede479cac.jpg","text":"TemporaryFile(/tmp/multipartBody2829180894111583297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741431663819,"filename":"image_08032025_11_58_36_30234.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/4aa098640ee9510098cf0d42e05af5fe.jpg","text":"TemporaryFile(/tmp/multipartBody3544116617118316806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741431663819,"filename":"image_08032025_11_59_06_30248.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341838515","file0":"1341838446"},"map_files_photo_id_array":[{"photo_id":"1341838515","filename":"file1"},{"photo_id":"1341838446","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341838515":["hashtag1","hashtag2"]},{"1341838446":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341838515, 1341838446)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 22.386325120925903 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 12:00:32.702462
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/11/59/image_08032025_12_00_06_30261.jpg', 2), ('/home/nano/Desktop/images/08032025/11/59/image_08032025_11_59_35_29233.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/11/59/image_08032025_12_00_06_30261.jpg', '/home/nano/Desktop/images/08032025/11/59/image_08032025_11_59_35_29233.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/11/59/image_08032025_12_00_06_30261.jpg
/home/nano/Desktop/images/08032025/11/59/image_08032025_11_59_35_29233.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341838787","1341838745"],"photo_ids_order":["1341838745","1341838787"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/bd82bd04cf346a40fe1ce5ce69ceb9d5.jpg","text":"TemporaryFile(/tmp/multipartBody3143688042826224034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741431693061,"filename":"image_08032025_11_59_35_29233.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/054311025e883b665c4f1986556b006a.jpg","text":"TemporaryFile(/tmp/multipartBody5283506575375401564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741431693061,"filename":"image_08032025_12_00_06_30261.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341838787","file0":"1341838745"},"map_files_photo_id_array":[{"photo_id":"1341838787","filename":"file1"},{"photo_id":"1341838745","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341838787":["hashtag1","hashtag2"]},{"1341838745":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341838787, 1341838745)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 21.49699068069458 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 12:01:02.625936
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 12:01:31.826685
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/12/00/image_08032025_12_01_06_30283.jpg', 2), ('/home/nano/Desktop/images/08032025/12/00/image_08032025_12_00_36_30244.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/12/00/image_08032025_12_01_06_30283.jpg', '/home/nano/Desktop/images/08032025/12/00/image_08032025_12_00_36_30244.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/12/00/image_08032025_12_01_06_30283.jpg
/home/nano/Desktop/images/08032025/12/00/image_08032025_12_00_36_30244.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341838966","1341838947"],"photo_ids_order":["1341838947","1341838966"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/3d96d24d5d98605c613baee66401353c.jpg","text":"TemporaryFile(/tmp/multipartBody1518152845920880811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741431752133,"filename":"image_08032025_12_00_36_30244.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/b3ac0cd25af34cf3565bad43702f83d1.jpg","text":"TemporaryFile(/tmp/multipartBody4079615874048423161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741431752133,"filename":"image_08032025_12_01_06_30283.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341838966","file0":"1341838947"},"map_files_photo_id_array":[{"photo_id":"1341838966","filename":"file1"},{"photo_id":"1341838947","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341838966":["hashtag1","hashtag2"]},{"1341838947":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341838966, 1341838947)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 22.434078216552734 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 12:02:02.572256
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 12:02:31.888772
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/12/01/image_08032025_12_02_06_30267.jpg', 2), ('/home/nano/Desktop/images/08032025/12/01/image_08032025_12_01_35_29238.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/12/01/image_08032025_12_02_06_30267.jpg', '/home/nano/Desktop/images/08032025/12/01/image_08032025_12_01_35_29238.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/12/01/image_08032025_12_02_06_30267.jpg
/home/nano/Desktop/images/08032025/12/01/image_08032025_12_01_35_29238.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.3299243450164795 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 marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 12:03:02.845746
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/12/01/image_08032025_12_02_06_30267.jpg', 2), ('/home/nano/Desktop/images/08032025/12/01/image_08032025_12_01_35_29238.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/12/01/image_08032025_12_02_06_30267.jpg', '/home/nano/Desktop/images/08032025/12/01/image_08032025_12_01_35_29238.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/12/01/image_08032025_12_02_06_30267.jpg
/home/nano/Desktop/images/08032025/12/01/image_08032025_12_01_35_29238.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341839246","1341839207"],"photo_ids_order":["1341839207","1341839246"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/4fdbc6cd22058a17ce4e4b7b6f3981b9.jpg","text":"TemporaryFile(/tmp/multipartBody8682408024968018457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741431843177,"filename":"image_08032025_12_01_35_29238.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/b3ca7473043f90b90136aabfa9acce62.jpg","text":"TemporaryFile(/tmp/multipartBody796844584990754242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741431843177,"filename":"image_08032025_12_02_06_30267.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341839246","file0":"1341839207"},"map_files_photo_id_array":[{"photo_id":"1341839246","filename":"file1"},{"photo_id":"1341839207","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341839246":["hashtag1","hashtag2"]},{"1341839207":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341839246, 1341839207)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 22.20746159553528 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 12:03:31.978715
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/12/02/image_08032025_12_03_06_30244.jpg', 2), ('/home/nano/Desktop/images/08032025/12/02/image_08032025_12_02_36_30229.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/12/02/image_08032025_12_03_06_30244.jpg', '/home/nano/Desktop/images/08032025/12/02/image_08032025_12_02_36_30229.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/12/02/image_08032025_12_03_06_30244.jpg
/home/nano/Desktop/images/08032025/12/02/image_08032025_12_02_36_30229.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341839334","1341839360"],"photo_ids_order":["1341839334","1341839360"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/e378ad3e7f0dd9e55cd8f8e69571f1af.jpg","text":"TemporaryFile(/tmp/multipartBody4724120257291050023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741431872303,"filename":"image_08032025_12_03_06_30244.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/7269779cb989d7d17965c4279439c6b7.jpg","text":"TemporaryFile(/tmp/multipartBody241252279851994603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741431872303,"filename":"image_08032025_12_02_36_30229.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341839360","file0":"1341839334"},"map_files_photo_id_array":[{"photo_id":"1341839360","filename":"file1"},{"photo_id":"1341839334","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341839334":["hashtag1","hashtag2"]},{"1341839360":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341839334, 1341839360)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.09481978416443 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 12:04:03.312305
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 12:04:32.086644
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/12/03/image_08032025_12_04_05_30227.jpg', 2), ('/home/nano/Desktop/images/08032025/12/03/image_08032025_12_03_35_29204.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/12/03/image_08032025_12_04_05_30227.jpg', '/home/nano/Desktop/images/08032025/12/03/image_08032025_12_03_35_29204.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/12/03/image_08032025_12_04_05_30227.jpg
/home/nano/Desktop/images/08032025/12/03/image_08032025_12_03_35_29204.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341839734","1341839703"],"photo_ids_order":["1341839703","1341839734"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/31d70f8fe50fece703561cb3f82218f2.jpg","text":"TemporaryFile(/tmp/multipartBody8173526000537474782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741431932391,"filename":"image_08032025_12_03_35_29204.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/d8ed885378a05722b9510b88f74c46fc.jpg","text":"TemporaryFile(/tmp/multipartBody849098150598504147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741431932391,"filename":"image_08032025_12_04_05_30227.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341839734","file0":"1341839703"},"map_files_photo_id_array":[{"photo_id":"1341839734","filename":"file1"},{"photo_id":"1341839703","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341839734":["hashtag1","hashtag2"]},{"1341839703":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341839734, 1341839703)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.912541151046753 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 12:05:02.739261
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 12:05:32.217524
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/12/04/image_08032025_12_05_06_30222.jpg', 2), ('/home/nano/Desktop/images/08032025/12/04/image_08032025_12_04_36_30214.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/12/04/image_08032025_12_05_06_30222.jpg', '/home/nano/Desktop/images/08032025/12/04/image_08032025_12_04_36_30214.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/12/04/image_08032025_12_05_06_30222.jpg
/home/nano/Desktop/images/08032025/12/04/image_08032025_12_04_36_30214.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341840097","1341840136"],"photo_ids_order":["1341840097","1341840136"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/dca8b9ee96cc8dfa1f9604fdc1725d9e.jpg","text":"TemporaryFile(/tmp/multipartBody2794602902270892466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741431992558,"filename":"image_08032025_12_05_06_30222.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/e108ffb3032cf11437f0aba40ddc3cc8.jpg","text":"TemporaryFile(/tmp/multipartBody3471651826488136077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741431992558,"filename":"image_08032025_12_04_36_30214.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341840136","file0":"1341840097"},"map_files_photo_id_array":[{"photo_id":"1341840136","filename":"file1"},{"photo_id":"1341840097","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341840097":["hashtag1","hashtag2"]},{"1341840136":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341840097, 1341840136)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 19.073707580566406 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 12:06:03.107490
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 12:06:32.306802
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/12/05/image_08032025_12_06_05_30232.jpg', 2), ('/home/nano/Desktop/images/08032025/12/05/image_08032025_12_05_35_29211.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/12/05/image_08032025_12_06_05_30232.jpg', '/home/nano/Desktop/images/08032025/12/05/image_08032025_12_05_35_29211.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/12/05/image_08032025_12_06_05_30232.jpg
/home/nano/Desktop/images/08032025/12/05/image_08032025_12_05_35_29211.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341840496","1341840528"],"photo_ids_order":["1341840496","1341840528"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/eaec13faf9758445bf3ad975f6cbb284.jpg","text":"TemporaryFile(/tmp/multipartBody4684898780026285500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741432052614,"filename":"image_08032025_12_06_05_30232.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/2e3f8d5b8d4fcf728e9499aa408cbbfe.jpg","text":"TemporaryFile(/tmp/multipartBody4415979770012791501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741432052614,"filename":"image_08032025_12_05_35_29211.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341840528","file0":"1341840496"},"map_files_photo_id_array":[{"photo_id":"1341840528","filename":"file1"},{"photo_id":"1341840496","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341840496":["hashtag1","hashtag2"]},{"1341840528":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341840496, 1341840528)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.33352279663086 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 12:07:03.130302
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 12:07:32.426118
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/12/06/image_08032025_12_07_06_30253.jpg', 2), ('/home/nano/Desktop/images/08032025/12/06/image_08032025_12_06_36_30228.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/12/06/image_08032025_12_07_06_30253.jpg', '/home/nano/Desktop/images/08032025/12/06/image_08032025_12_06_36_30228.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/12/06/image_08032025_12_07_06_30253.jpg
/home/nano/Desktop/images/08032025/12/06/image_08032025_12_06_36_30228.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341840720","1341840716"],"photo_ids_order":["1341840716","1341840720"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/75a4b01bf6b9f17cea8e623b31981f95.jpg","text":"TemporaryFile(/tmp/multipartBody5275921058438206053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741432112754,"filename":"image_08032025_12_06_36_30228.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/2dd3beda9af15f66aea62f0676b5d84a.jpg","text":"TemporaryFile(/tmp/multipartBody1141288177943888310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741432112754,"filename":"image_08032025_12_07_06_30253.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341840720","file0":"1341840716"},"map_files_photo_id_array":[{"photo_id":"1341840720","filename":"file1"},{"photo_id":"1341840716","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341840720":["hashtag1","hashtag2"]},{"1341840716":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341840720, 1341840716)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.2330641746521 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 12:08:03.079060
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 12:08:32.571186
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/12/07/image_08032025_12_08_05_29219.jpg', 2), ('/home/nano/Desktop/images/08032025/12/07/image_08032025_12_07_36_30217.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/12/07/image_08032025_12_08_05_29219.jpg', '/home/nano/Desktop/images/08032025/12/07/image_08032025_12_07_36_30217.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/12/07/image_08032025_12_08_05_29219.jpg
/home/nano/Desktop/images/08032025/12/07/image_08032025_12_07_36_30217.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341840915","1341840887"],"photo_ids_order":["1341840887","1341840915"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/d8b2314364194a31e5ff713379ab4b13.jpg","text":"TemporaryFile(/tmp/multipartBody3442876393743258104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741432172898,"filename":"image_08032025_12_07_36_30217.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/479014733dc8be77231d3406fb00fd13.jpg","text":"TemporaryFile(/tmp/multipartBody5762598685857602965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741432172898,"filename":"image_08032025_12_08_05_29219.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341840915","file0":"1341840887"},"map_files_photo_id_array":[{"photo_id":"1341840915","filename":"file1"},{"photo_id":"1341840887","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341840915":["hashtag1","hashtag2"]},{"1341840887":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341840915, 1341840887)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.84008002281189 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 12:09:03.780753
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 12:09:32.674132
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/12/08/image_08032025_12_09_06_30218.jpg', 2), ('/home/nano/Desktop/images/08032025/12/08/image_08032025_12_08_35_30193.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/12/08/image_08032025_12_09_06_30218.jpg', '/home/nano/Desktop/images/08032025/12/08/image_08032025_12_08_35_30193.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/12/08/image_08032025_12_09_06_30218.jpg
/home/nano/Desktop/images/08032025/12/08/image_08032025_12_08_35_30193.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341841353","1341841477"],"photo_ids_order":["1341841353","1341841477"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/46e552f4fa50d2f5a33671619adb83c5.jpg","text":"TemporaryFile(/tmp/multipartBody2012323653651614639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741432232985,"filename":"image_08032025_12_09_06_30218.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/e531b1564493192a2bc42763e2228ff7.jpg","text":"TemporaryFile(/tmp/multipartBody58460325149643129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741432232985,"filename":"image_08032025_12_08_35_30193.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341841477","file0":"1341841353"},"map_files_photo_id_array":[{"photo_id":"1341841477","filename":"file1"},{"photo_id":"1341841353","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341841353":["hashtag1","hashtag2"]},{"1341841477":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341841353, 1341841477)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 19.290446519851685 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 12:10:02.608705
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 12:10:31.823299
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/12/09/image_08032025_12_10_06_30235.jpg', 2), ('/home/nano/Desktop/images/08032025/12/09/image_08032025_12_09_36_30198.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/12/09/image_08032025_12_10_06_30235.jpg', '/home/nano/Desktop/images/08032025/12/09/image_08032025_12_09_36_30198.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/12/09/image_08032025_12_10_06_30235.jpg
/home/nano/Desktop/images/08032025/12/09/image_08032025_12_09_36_30198.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341842168","1341842144"],"photo_ids_order":["1341842144","1341842168"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/ac1180b01556d2857d08e1fb8007dc36.jpg","text":"TemporaryFile(/tmp/multipartBody3700316424692501542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741432292148,"filename":"image_08032025_12_09_36_30198.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/44455267b1cf5f078cb289fc8e22f05a.jpg","text":"TemporaryFile(/tmp/multipartBody3487175172294129659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741432292148,"filename":"image_08032025_12_10_06_30235.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341842168","file0":"1341842144"},"map_files_photo_id_array":[{"photo_id":"1341842168","filename":"file1"},{"photo_id":"1341842144","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341842168":["hashtag1","hashtag2"]},{"1341842144":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341842168, 1341842144)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 25.648024082183838 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 12:11:02.844423
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 12:11:31.913303
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/12/10/image_08032025_12_11_06_30206.jpg', 2), ('/home/nano/Desktop/images/08032025/12/10/image_08032025_12_10_35_29211.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/12/10/image_08032025_12_11_06_30206.jpg', '/home/nano/Desktop/images/08032025/12/10/image_08032025_12_10_35_29211.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/12/10/image_08032025_12_11_06_30206.jpg
/home/nano/Desktop/images/08032025/12/10/image_08032025_12_10_35_29211.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341842474","1341842471"],"photo_ids_order":["1341842471","1341842474"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/7f081a74e279fba48dcec14e3236f488.jpg","text":"TemporaryFile(/tmp/multipartBody8145107852830844651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741432352237,"filename":"image_08032025_12_10_35_29211.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/89e91853cd9412a3d3c0c84f6e3d592c.jpg","text":"TemporaryFile(/tmp/multipartBody3216545520251929135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741432352237,"filename":"image_08032025_12_11_06_30206.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341842474","file0":"1341842471"},"map_files_photo_id_array":[{"photo_id":"1341842474","filename":"file1"},{"photo_id":"1341842471","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341842474":["hashtag1","hashtag2"]},{"1341842471":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341842474, 1341842471)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.561891078948975 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 12:12:02.831865
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 12:12:32.028638
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/12/11/image_08032025_12_12_06_30263.jpg', 2), ('/home/nano/Desktop/images/08032025/12/11/image_08032025_12_11_36_30209.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/12/11/image_08032025_12_12_06_30263.jpg', '/home/nano/Desktop/images/08032025/12/11/image_08032025_12_11_36_30209.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/12/11/image_08032025_12_12_06_30263.jpg
/home/nano/Desktop/images/08032025/12/11/image_08032025_12_11_36_30209.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341842625","1341842630"],"photo_ids_order":["1341842625","1341842630"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/1763e832563c391d25652a7e9755c4a5.jpg","text":"TemporaryFile(/tmp/multipartBody2417358139583339114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741432412353,"filename":"image_08032025_12_12_06_30263.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/ac6f6f55c173cdd89b60f5441662222d.jpg","text":"TemporaryFile(/tmp/multipartBody1929673128478130089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741432412353,"filename":"image_08032025_12_11_36_30209.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341842630","file0":"1341842625"},"map_files_photo_id_array":[{"photo_id":"1341842630","filename":"file1"},{"photo_id":"1341842625","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341842625":["hashtag1","hashtag2"]},{"1341842630":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341842625, 1341842630)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 62.56303906440735 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 12:14:03.285729
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/12/12/image_08032025_12_13_05_30217.jpg', 2), ('/home/nano/Desktop/images/08032025/12/12/image_08032025_12_12_35_29193.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/12/12/image_08032025_12_13_05_30217.jpg', '/home/nano/Desktop/images/08032025/12/12/image_08032025_12_12_35_29193.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/12/12/image_08032025_12_13_05_30217.jpg
/home/nano/Desktop/images/08032025/12/12/image_08032025_12_12_35_29193.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341843139","1341843084"],"photo_ids_order":["1341843084","1341843139"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/4a2bf3bac988ec97329808065af9f8a6.jpg","text":"TemporaryFile(/tmp/multipartBody2651980224859445772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741432503645,"filename":"image_08032025_12_12_35_29193.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/a81951f212ff69947ebde3f5b46edc26.jpg","text":"TemporaryFile(/tmp/multipartBody5666993694952130545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741432503645,"filename":"image_08032025_12_13_05_30217.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341843139","file0":"1341843084"},"map_files_photo_id_array":[{"photo_id":"1341843139","filename":"file1"},{"photo_id":"1341843084","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341843139":["hashtag1","hashtag2"]},{"1341843084":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341843139, 1341843084)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 28.27376961708069 secondes ---
[Errno 13] Permission denied: '/home/pi'
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 12:15:03.065597
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/12/13/image_08032025_12_14_06_30223.jpg', 2), ('/home/nano/Desktop/images/08032025/12/13/image_08032025_12_13_36_30208.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/12/13/image_08032025_12_14_06_30223.jpg', '/home/nano/Desktop/images/08032025/12/13/image_08032025_12_13_36_30208.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/12/13/image_08032025_12_14_06_30223.jpg
/home/nano/Desktop/images/08032025/12/13/image_08032025_12_13_36_30208.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.2738485336303711 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 marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 12:15:32.418461
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 4 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/12/14/image_08032025_12_15_05_29203.jpg', 2), ('/home/nano/Desktop/images/08032025/12/14/image_08032025_12_14_36_30205.jpg', 2), ('/home/nano/Desktop/images/08032025/12/13/image_08032025_12_14_06_30223.jpg', 2), ('/home/nano/Desktop/images/08032025/12/13/image_08032025_12_13_36_30208.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/12/14/image_08032025_12_15_05_29203.jpg', '/home/nano/Desktop/images/08032025/12/14/image_08032025_12_14_36_30205.jpg', '/home/nano/Desktop/images/08032025/12/13/image_08032025_12_14_06_30223.jpg', '/home/nano/Desktop/images/08032025/12/13/image_08032025_12_13_36_30208.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/12/14/image_08032025_12_15_05_29203.jpg
/home/nano/Desktop/images/08032025/12/14/image_08032025_12_14_36_30205.jpg
/home/nano/Desktop/images/08032025/12/13/image_08032025_12_14_06_30223.jpg
/home/nano/Desktop/images/08032025/12/13/image_08032025_12_13_36_30208.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341843437","1341843673","1341843329","1341843582"],"photo_ids_order":["1341843329","1341843437","1341843582","1341843673"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/c85475f03e833dfa4929415303e2a37c.jpg","text":"TemporaryFile(/tmp/multipartBody6062706387814179455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741432592793,"filename":"image_08032025_12_14_36_30205.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/1fcaaa534dd6a79083c801a62421d07c.jpg","text":"TemporaryFile(/tmp/multipartBody6646057499969251678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741432592793,"filename":"image_08032025_12_13_36_30208.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/fccb0263c37c298b3a0b30a495bad7b2.jpg","text":"TemporaryFile(/tmp/multipartBody4356379297004016421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741432592793,"filename":"image_08032025_12_15_05_29203.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/9b2393365a72437c50cd17e8500a1aeb.jpg","text":"TemporaryFile(/tmp/multipartBody5628648342307601678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741432592793,"filename":"image_08032025_12_14_06_30223.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341843582","file1":"1341843437","file0":"1341843329","file3":"1341843673"},"map_files_photo_id_array":[{"photo_id":"1341843582","filename":"file2"},{"photo_id":"1341843437","filename":"file1"},{"photo_id":"1341843329","filename":"file0"},{"photo_id":"1341843673","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341843437":["hashtag1","hashtag2"]},{"1341843673":["hashtag1","hashtag2"]},{"1341843329":["hashtag1","hashtag2"]},{"1341843582":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341843437, 1341843673, 1341843329, 1341843582)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 51.78709387779236 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 12:16:32.515621
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/12/15/image_08032025_12_16_06_30228.jpg', 2), ('/home/nano/Desktop/images/08032025/12/15/image_08032025_12_15_36_30240.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/12/15/image_08032025_12_16_06_30228.jpg', '/home/nano/Desktop/images/08032025/12/15/image_08032025_12_15_36_30240.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/12/15/image_08032025_12_16_06_30228.jpg
/home/nano/Desktop/images/08032025/12/15/image_08032025_12_15_36_30240.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341843818","1341843832"],"photo_ids_order":["1341843818","1341843832"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/46d43c9fc40fabe7560a2df88be75f4b.jpg","text":"TemporaryFile(/tmp/multipartBody760609516191338379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741432652842,"filename":"image_08032025_12_16_06_30228.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/d6a11524df95f569927d1e4c9b2aee86.jpg","text":"TemporaryFile(/tmp/multipartBody8925288223284177878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741432652842,"filename":"image_08032025_12_15_36_30240.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341843832","file0":"1341843818"},"map_files_photo_id_array":[{"photo_id":"1341843832","filename":"file1"},{"photo_id":"1341843818","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341843818":["hashtag1","hashtag2"]},{"1341843832":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341843818, 1341843832)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.9566912651062 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 12:17:03.382508
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 12:17:32.618389
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/12/16/image_08032025_12_17_05_29215.jpg', 2), ('/home/nano/Desktop/images/08032025/12/16/image_08032025_12_16_36_30224.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/12/16/image_08032025_12_17_05_29215.jpg', '/home/nano/Desktop/images/08032025/12/16/image_08032025_12_16_36_30224.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/12/16/image_08032025_12_17_05_29215.jpg
/home/nano/Desktop/images/08032025/12/16/image_08032025_12_16_36_30224.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341844028","1341844029"],"photo_ids_order":["1341844028","1341844029"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/bbe4595dda1dd196bdb9527116607a35.jpg","text":"TemporaryFile(/tmp/multipartBody6659173669414222732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741432712942,"filename":"image_08032025_12_17_05_29215.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/3643f9a76aa6a9dcdf40b732a40b661a.jpg","text":"TemporaryFile(/tmp/multipartBody8406788206793971433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741432712942,"filename":"image_08032025_12_16_36_30224.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341844029","file0":"1341844028"},"map_files_photo_id_array":[{"photo_id":"1341844029","filename":"file1"},{"photo_id":"1341844028","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341844028":["hashtag1","hashtag2"]},{"1341844029":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341844028, 1341844029)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 135.79278993606567 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 12:20:02.600016
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 4 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/12/18/image_08032025_12_19_06_30221.jpg', 2), ('/home/nano/Desktop/images/08032025/12/18/image_08032025_12_18_36_30203.jpg', 2), ('/home/nano/Desktop/images/08032025/12/17/image_08032025_12_18_06_30224.jpg', 2), ('/home/nano/Desktop/images/08032025/12/17/image_08032025_12_17_35_30209.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/12/18/image_08032025_12_19_06_30221.jpg', '/home/nano/Desktop/images/08032025/12/18/image_08032025_12_18_36_30203.jpg', '/home/nano/Desktop/images/08032025/12/17/image_08032025_12_18_06_30224.jpg', '/home/nano/Desktop/images/08032025/12/17/image_08032025_12_17_35_30209.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/12/18/image_08032025_12_19_06_30221.jpg
/home/nano/Desktop/images/08032025/12/18/image_08032025_12_18_36_30203.jpg
/home/nano/Desktop/images/08032025/12/17/image_08032025_12_18_06_30224.jpg
/home/nano/Desktop/images/08032025/12/17/image_08032025_12_17_35_30209.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341844451","1341844510","1341844432","1341844461"],"photo_ids_order":["1341844432","1341844451","1341844461","1341844510"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/802051c694d1a9e0542c2ac5151ff15e.jpg","text":"TemporaryFile(/tmp/multipartBody7124478845196940194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741432863030,"filename":"image_08032025_12_18_36_30203.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/4b0c28d1872df920469cd178ce31a25b.jpg","text":"TemporaryFile(/tmp/multipartBody7578212521960841335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741432863030,"filename":"image_08032025_12_17_35_30209.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/644e81f8e44bce83c85834ea95d0ac4d.jpg","text":"TemporaryFile(/tmp/multipartBody6159581213726385182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741432863030,"filename":"image_08032025_12_19_06_30221.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/396d63088bc970982b0cc6f5f780c187.jpg","text":"TemporaryFile(/tmp/multipartBody7257410503370313246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741432863030,"filename":"image_08032025_12_18_06_30224.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341844461","file1":"1341844451","file0":"1341844432","file3":"1341844510"},"map_files_photo_id_array":[{"photo_id":"1341844461","filename":"file2"},{"photo_id":"1341844451","filename":"file1"},{"photo_id":"1341844432","filename":"file0"},{"photo_id":"1341844510","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341844451":["hashtag1","hashtag2"]},{"1341844510":["hashtag1","hashtag2"]},{"1341844432":["hashtag1","hashtag2"]},{"1341844461":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341844451, 1341844510, 1341844432, 1341844461)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 30.501601219177246 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 12:21:02.795816
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/12/19/image_08032025_12_20_05_30234.jpg', 2), ('/home/nano/Desktop/images/08032025/12/19/image_08032025_12_19_35_29222.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/12/19/image_08032025_12_20_05_30234.jpg', '/home/nano/Desktop/images/08032025/12/19/image_08032025_12_19_35_29222.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/12/19/image_08032025_12_20_05_30234.jpg
/home/nano/Desktop/images/08032025/12/19/image_08032025_12_19_35_29222.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341844719","1341844699"],"photo_ids_order":["1341844699","1341844719"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/428b59d3f7c77b2f7a16028b993161c1.jpg","text":"TemporaryFile(/tmp/multipartBody9217870113547229345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741432923151,"filename":"image_08032025_12_19_35_29222.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/5fc022454de43bc0c27507d95c436f1b.jpg","text":"TemporaryFile(/tmp/multipartBody5737409501596273762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741432923151,"filename":"image_08032025_12_20_05_30234.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341844719","file0":"1341844699"},"map_files_photo_id_array":[{"photo_id":"1341844719","filename":"file1"},{"photo_id":"1341844699","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341844719":["hashtag1","hashtag2"]},{"1341844699":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341844719, 1341844699)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.613502979278564 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 12:21:32.004323
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/12/20/image_08032025_12_21_06_30232.jpg', 2), ('/home/nano/Desktop/images/08032025/12/20/image_08032025_12_20_36_30220.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/12/20/image_08032025_12_21_06_30232.jpg', '/home/nano/Desktop/images/08032025/12/20/image_08032025_12_20_36_30220.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/12/20/image_08032025_12_21_06_30232.jpg
/home/nano/Desktop/images/08032025/12/20/image_08032025_12_20_36_30220.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341844853","1341844830"],"photo_ids_order":["1341844830","1341844853"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/718b093355e76fa9dc052e12926cb79b.jpg","text":"TemporaryFile(/tmp/multipartBody3482541080235175219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741432952336,"filename":"image_08032025_12_20_36_30220.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/1332e09dd74a7ee7e1b2ed20a00d305b.jpg","text":"TemporaryFile(/tmp/multipartBody7710213237079798149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741432952336,"filename":"image_08032025_12_21_06_30232.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341844853","file0":"1341844830"},"map_files_photo_id_array":[{"photo_id":"1341844853","filename":"file1"},{"photo_id":"1341844830","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341844853":["hashtag1","hashtag2"]},{"1341844830":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341844853, 1341844830)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 16.196213960647583 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 12:22:02.969092
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 12:22:32.095897
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/12/21/image_08032025_12_22_05_30216.jpg', 2), ('/home/nano/Desktop/images/08032025/12/21/image_08032025_12_21_35_29182.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/12/21/image_08032025_12_22_05_30216.jpg', '/home/nano/Desktop/images/08032025/12/21/image_08032025_12_21_35_29182.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/12/21/image_08032025_12_22_05_30216.jpg
/home/nano/Desktop/images/08032025/12/21/image_08032025_12_21_35_29182.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341845228","1341845276"],"photo_ids_order":["1341845228","1341845276"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/d8d0de9f0b606dc67da4a620ee50247b.jpg","text":"TemporaryFile(/tmp/multipartBody6292478000416300541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741433012426,"filename":"image_08032025_12_22_05_30216.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/45436a8c4bd61368cd157c705951cc51.jpg","text":"TemporaryFile(/tmp/multipartBody6013050915798845881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741433012426,"filename":"image_08032025_12_21_35_29182.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341845276","file0":"1341845228"},"map_files_photo_id_array":[{"photo_id":"1341845276","filename":"file1"},{"photo_id":"1341845228","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341845228":["hashtag1","hashtag2"]},{"1341845276":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341845228, 1341845276)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 16.345643520355225 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 12:23:02.930865
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 12:23:32.197176
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/12/22/image_08032025_12_23_06_30223.jpg', 2), ('/home/nano/Desktop/images/08032025/12/22/image_08032025_12_22_36_30219.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/12/22/image_08032025_12_23_06_30223.jpg', '/home/nano/Desktop/images/08032025/12/22/image_08032025_12_22_36_30219.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/12/22/image_08032025_12_23_06_30223.jpg
/home/nano/Desktop/images/08032025/12/22/image_08032025_12_22_36_30219.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341845818","1341845802"],"photo_ids_order":["1341845802","1341845818"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/716402a2d67c6e75d937c0950c12c979.jpg","text":"TemporaryFile(/tmp/multipartBody6488871437734171270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741433072567,"filename":"image_08032025_12_22_36_30219.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/fbd7dff719a05eba87058e563d94ada5.jpg","text":"TemporaryFile(/tmp/multipartBody8270739601195549051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741433072567,"filename":"image_08032025_12_23_06_30223.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341845818","file0":"1341845802"},"map_files_photo_id_array":[{"photo_id":"1341845818","filename":"file1"},{"photo_id":"1341845802","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341845818":["hashtag1","hashtag2"]},{"1341845802":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341845818, 1341845802)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 22.73919105529785 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 12:24:03.589145
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 12:24:32.296608
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/12/23/image_08032025_12_24_05_29236.jpg', 2), ('/home/nano/Desktop/images/08032025/12/23/image_08032025_12_23_36_30190.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/12/23/image_08032025_12_24_05_29236.jpg', '/home/nano/Desktop/images/08032025/12/23/image_08032025_12_23_36_30190.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/12/23/image_08032025_12_24_05_29236.jpg
/home/nano/Desktop/images/08032025/12/23/image_08032025_12_23_36_30190.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341846101","1341846104"],"photo_ids_order":["1341846101","1341846104"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/880187f76c3b170d81731e65e6ea3119.jpg","text":"TemporaryFile(/tmp/multipartBody2194399913002102087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741433132665,"filename":"image_08032025_12_24_05_29236.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/88041f7e51c365b9c49265748fdb2084.jpg","text":"TemporaryFile(/tmp/multipartBody2229172863301488332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741433132665,"filename":"image_08032025_12_23_36_30190.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341846104","file0":"1341846101"},"map_files_photo_id_array":[{"photo_id":"1341846104","filename":"file1"},{"photo_id":"1341846101","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341846101":["hashtag1","hashtag2"]},{"1341846104":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341846101, 1341846104)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.890560626983643 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 12:25:03.249727
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 12:25:32.409611
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/12/24/image_08032025_12_25_06_30222.jpg', 2), ('/home/nano/Desktop/images/08032025/12/24/image_08032025_12_24_35_30202.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/12/24/image_08032025_12_25_06_30222.jpg', '/home/nano/Desktop/images/08032025/12/24/image_08032025_12_24_35_30202.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/12/24/image_08032025_12_25_06_30222.jpg
/home/nano/Desktop/images/08032025/12/24/image_08032025_12_24_35_30202.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341846163","1341846201"],"photo_ids_order":["1341846163","1341846201"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/5330f5c36997efb14fb0af877a8a85fa.jpg","text":"TemporaryFile(/tmp/multipartBody7629545264421876847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741433192777,"filename":"image_08032025_12_25_06_30222.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/6579a980552ed1a841be572ea4c44fb8.jpg","text":"TemporaryFile(/tmp/multipartBody4449853552733981079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741433192777,"filename":"image_08032025_12_24_35_30202.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341846201","file0":"1341846163"},"map_files_photo_id_array":[{"photo_id":"1341846201","filename":"file1"},{"photo_id":"1341846163","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341846163":["hashtag1","hashtag2"]},{"1341846201":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341846163, 1341846201)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 23.337644338607788 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 12:26:03.444940
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/12/25/image_08032025_12_26_06_30198.jpg', 2), ('/home/nano/Desktop/images/08032025/12/25/image_08032025_12_25_36_30196.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/12/25/image_08032025_12_26_06_30198.jpg', '/home/nano/Desktop/images/08032025/12/25/image_08032025_12_25_36_30196.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/12/25/image_08032025_12_26_06_30198.jpg
/home/nano/Desktop/images/08032025/12/25/image_08032025_12_25_36_30196.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341846223","1341846217"],"photo_ids_order":["1341846217","1341846223"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/8927eac0043d79fc7278599a000a5389.jpg","text":"TemporaryFile(/tmp/multipartBody7696869499120594558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741433223831,"filename":"image_08032025_12_25_36_30196.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/b9b021af76bbffcdaceb23a1fc1da9c8.jpg","text":"TemporaryFile(/tmp/multipartBody7130186414940373579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741433223831,"filename":"image_08032025_12_26_06_30198.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341846223","file0":"1341846217"},"map_files_photo_id_array":[{"photo_id":"1341846223","filename":"file1"},{"photo_id":"1341846217","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341846223":["hashtag1","hashtag2"]},{"1341846217":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341846223, 1341846217)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 25.018603563308716 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 12:26:32.576311
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 12:27:03.573319
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 12:27:32.672712
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/12/26/image_08032025_12_27_05_30204.jpg', 2), ('/home/nano/Desktop/images/08032025/12/26/image_08032025_12_26_35_29179.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/12/26/image_08032025_12_27_05_30204.jpg', '/home/nano/Desktop/images/08032025/12/26/image_08032025_12_26_35_29179.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/12/26/image_08032025_12_27_05_30204.jpg
/home/nano/Desktop/images/08032025/12/26/image_08032025_12_26_35_29179.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341846513","1341846493"],"photo_ids_order":["1341846493","1341846513"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/45088e1e2c14ae84a1ed2686bc6ba79f.jpg","text":"TemporaryFile(/tmp/multipartBody2802383109653132048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741433313005,"filename":"image_08032025_12_26_35_29179.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/ea031bee08f59a78c3ab5220ef081fc0.jpg","text":"TemporaryFile(/tmp/multipartBody2498785507269134531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741433313005,"filename":"image_08032025_12_27_05_30204.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341846513","file0":"1341846493"},"map_files_photo_id_array":[{"photo_id":"1341846513","filename":"file1"},{"photo_id":"1341846493","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341846513":["hashtag1","hashtag2"]},{"1341846493":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341846513, 1341846493)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.106294631958008 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 12:28:02.533254
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 12:28:31.789038
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/12/27/image_08032025_12_28_06_30202.jpg', 2), ('/home/nano/Desktop/images/08032025/12/27/image_08032025_12_27_36_30183.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/12/27/image_08032025_12_28_06_30202.jpg', '/home/nano/Desktop/images/08032025/12/27/image_08032025_12_27_36_30183.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/12/27/image_08032025_12_28_06_30202.jpg
/home/nano/Desktop/images/08032025/12/27/image_08032025_12_27_36_30183.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341846643","1341846648"],"photo_ids_order":["1341846643","1341846648"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/9197d60bd38d35df27da3d0bc0d0dd70.jpg","text":"TemporaryFile(/tmp/multipartBody5998871009364681876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741433372105,"filename":"image_08032025_12_28_06_30202.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/e019058b66f9bd58489121f1a63747f7.jpg","text":"TemporaryFile(/tmp/multipartBody3835988347545746094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741433372105,"filename":"image_08032025_12_27_36_30183.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341846648","file0":"1341846643"},"map_files_photo_id_array":[{"photo_id":"1341846648","filename":"file1"},{"photo_id":"1341846643","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341846643":["hashtag1","hashtag2"]},{"1341846648":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341846643, 1341846648)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.568716049194336 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 12:29:02.956374
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 12:29:31.958553
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/12/28/image_08032025_12_29_05_29188.jpg', 2), ('/home/nano/Desktop/images/08032025/12/28/image_08032025_12_28_36_30178.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/12/28/image_08032025_12_29_05_29188.jpg', '/home/nano/Desktop/images/08032025/12/28/image_08032025_12_28_36_30178.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/12/28/image_08032025_12_29_05_29188.jpg
/home/nano/Desktop/images/08032025/12/28/image_08032025_12_28_36_30178.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341846679","1341846675"],"photo_ids_order":["1341846675","1341846679"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/e1ebc21af6922fec952aed473b96a325.jpg","text":"TemporaryFile(/tmp/multipartBody1751785463349259331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741433432281,"filename":"image_08032025_12_28_36_30178.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/d62f5559a414e98ab0a7e4b70837aa66.jpg","text":"TemporaryFile(/tmp/multipartBody3210004507942583189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741433432281,"filename":"image_08032025_12_29_05_29188.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341846679","file0":"1341846675"},"map_files_photo_id_array":[{"photo_id":"1341846679","filename":"file1"},{"photo_id":"1341846675","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341846679":["hashtag1","hashtag2"]},{"1341846675":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341846679, 1341846675)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 13.986095666885376 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 12:30:02.721343
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 12:30:32.052081
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/12/29/image_08032025_12_30_06_30179.jpg', 2), ('/home/nano/Desktop/images/08032025/12/29/image_08032025_12_29_35_30182.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/12/29/image_08032025_12_30_06_30179.jpg', '/home/nano/Desktop/images/08032025/12/29/image_08032025_12_29_35_30182.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/12/29/image_08032025_12_30_06_30179.jpg
/home/nano/Desktop/images/08032025/12/29/image_08032025_12_29_35_30182.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341846706","1341846701"],"photo_ids_order":["1341846701","1341846706"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/0839bbee634880efe0787bbfbc3ad1cd.jpg","text":"TemporaryFile(/tmp/multipartBody1263921709785115986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741433492388,"filename":"image_08032025_12_29_35_30182.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/b6a022f23267603bd4fc4c5b62f4332a.jpg","text":"TemporaryFile(/tmp/multipartBody8188721766044877161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741433492388,"filename":"image_08032025_12_30_06_30179.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341846706","file0":"1341846701"},"map_files_photo_id_array":[{"photo_id":"1341846706","filename":"file1"},{"photo_id":"1341846701","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341846706":["hashtag1","hashtag2"]},{"1341846701":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341846706, 1341846701)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 16.7002432346344 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 12:31:02.995081
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 12:31:32.143918
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/12/30/image_08032025_12_31_06_30187.jpg', 2), ('/home/nano/Desktop/images/08032025/12/30/image_08032025_12_30_36_30178.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/12/30/image_08032025_12_31_06_30187.jpg', '/home/nano/Desktop/images/08032025/12/30/image_08032025_12_30_36_30178.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/12/30/image_08032025_12_31_06_30187.jpg
/home/nano/Desktop/images/08032025/12/30/image_08032025_12_30_36_30178.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341846793","1341846885"],"photo_ids_order":["1341846793","1341846885"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/ddb515661b04a10777f697f507618d7e.jpg","text":"TemporaryFile(/tmp/multipartBody1646029736216388434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741433552453,"filename":"image_08032025_12_31_06_30187.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/0e918696b8ae53f18e31c41387c6b58d.jpg","text":"TemporaryFile(/tmp/multipartBody7325204450863175794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741433552453,"filename":"image_08032025_12_30_36_30178.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341846885","file0":"1341846793"},"map_files_photo_id_array":[{"photo_id":"1341846885","filename":"file1"},{"photo_id":"1341846793","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341846793":["hashtag1","hashtag2"]},{"1341846885":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341846793, 1341846885)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.465569972991943 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 12:32:03.155029
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 12:32:32.238321
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/12/31/image_08032025_12_32_05_29181.jpg', 2), ('/home/nano/Desktop/images/08032025/12/31/image_08032025_12_31_36_30166.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/12/31/image_08032025_12_32_05_29181.jpg', '/home/nano/Desktop/images/08032025/12/31/image_08032025_12_31_36_30166.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/12/31/image_08032025_12_32_05_29181.jpg
/home/nano/Desktop/images/08032025/12/31/image_08032025_12_31_36_30166.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341847349","1341847343"],"photo_ids_order":["1341847343","1341847349"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/b058dfe3de0c34055af70f63223ec79c.jpg","text":"TemporaryFile(/tmp/multipartBody2443229203933267678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741433612564,"filename":"image_08032025_12_31_36_30166.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/5c9c7e36af75f86469cdfb364e42015a.jpg","text":"TemporaryFile(/tmp/multipartBody4757377152665131949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741433612564,"filename":"image_08032025_12_32_05_29181.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341847349","file0":"1341847343"},"map_files_photo_id_array":[{"photo_id":"1341847349","filename":"file1"},{"photo_id":"1341847343","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341847349":["hashtag1","hashtag2"]},{"1341847343":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341847349, 1341847343)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.42753005027771 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 12:33:03.266220
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 12:33:32.358260
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/12/32/image_08032025_12_33_06_30169.jpg', 2), ('/home/nano/Desktop/images/08032025/12/32/image_08032025_12_32_35_30191.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/12/32/image_08032025_12_33_06_30169.jpg', '/home/nano/Desktop/images/08032025/12/32/image_08032025_12_32_35_30191.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/12/32/image_08032025_12_33_06_30169.jpg
/home/nano/Desktop/images/08032025/12/32/image_08032025_12_32_35_30191.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341847937","1341847885"],"photo_ids_order":["1341847885","1341847937"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/6509bf4208ea443eee24ba0179eeb3c1.jpg","text":"TemporaryFile(/tmp/multipartBody5486909017102169927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741433672685,"filename":"image_08032025_12_32_35_30191.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/3c19c99fb8bd275d9d6ea24a0856e114.jpg","text":"TemporaryFile(/tmp/multipartBody5425490459542297766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741433672685,"filename":"image_08032025_12_33_06_30169.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341847937","file0":"1341847885"},"map_files_photo_id_array":[{"photo_id":"1341847937","filename":"file1"},{"photo_id":"1341847885","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341847937":["hashtag1","hashtag2"]},{"1341847885":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341847937, 1341847885)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 18.340762615203857 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 12:34:03.617684
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 12:34:32.456740
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/12/33/image_08032025_12_34_06_30174.jpg', 2), ('/home/nano/Desktop/images/08032025/12/33/image_08032025_12_33_36_30185.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/12/33/image_08032025_12_34_06_30174.jpg', '/home/nano/Desktop/images/08032025/12/33/image_08032025_12_33_36_30185.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/12/33/image_08032025_12_34_06_30174.jpg
/home/nano/Desktop/images/08032025/12/33/image_08032025_12_33_36_30185.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.2516138553619385 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 marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 12:35:03.218830
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/12/33/image_08032025_12_34_06_30174.jpg', 2), ('/home/nano/Desktop/images/08032025/12/33/image_08032025_12_33_36_30185.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/12/33/image_08032025_12_34_06_30174.jpg', '/home/nano/Desktop/images/08032025/12/33/image_08032025_12_33_36_30185.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/12/33/image_08032025_12_34_06_30174.jpg
/home/nano/Desktop/images/08032025/12/33/image_08032025_12_33_36_30185.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341848611","1341848533"],"photo_ids_order":["1341848533","1341848611"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/a8895c3c0fc5bd0c68db8f3c31925f5a.jpg","text":"TemporaryFile(/tmp/multipartBody8961099446782848070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741433763544,"filename":"image_08032025_12_33_36_30185.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/4e8698c282beedea6442823571015521.jpg","text":"TemporaryFile(/tmp/multipartBody548070286635049981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741433763544,"filename":"image_08032025_12_34_06_30174.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341848611","file0":"1341848533"},"map_files_photo_id_array":[{"photo_id":"1341848611","filename":"file1"},{"photo_id":"1341848533","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341848611":["hashtag1","hashtag2"]},{"1341848533":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341848611, 1341848533)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.87962532043457 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 12:35:32.584652
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/12/34/image_08032025_12_35_05_30195.jpg', 2), ('/home/nano/Desktop/images/08032025/12/34/image_08032025_12_34_35_29179.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/12/34/image_08032025_12_35_05_30195.jpg', '/home/nano/Desktop/images/08032025/12/34/image_08032025_12_34_35_29179.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/12/34/image_08032025_12_35_05_30195.jpg
/home/nano/Desktop/images/08032025/12/34/image_08032025_12_34_35_29179.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341848700","1341848707"],"photo_ids_order":["1341848700","1341848707"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/73e96badf1233a073e60c8a2bf000854.jpg","text":"TemporaryFile(/tmp/multipartBody6988120318751969383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741433792922,"filename":"image_08032025_12_35_05_30195.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/97942b4df1acbfe7a37500f7650e8d5a.jpg","text":"TemporaryFile(/tmp/multipartBody9191327234143507683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741433792922,"filename":"image_08032025_12_34_35_29179.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341848707","file0":"1341848700"},"map_files_photo_id_array":[{"photo_id":"1341848707","filename":"file1"},{"photo_id":"1341848700","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341848700":["hashtag1","hashtag2"]},{"1341848707":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341848700, 1341848707)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 16.542384147644043 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 12:36:03.677222
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 12:36:32.687227
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/12/35/image_08032025_12_36_06_30232.jpg', 2), ('/home/nano/Desktop/images/08032025/12/35/image_08032025_12_35_36_30178.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/12/35/image_08032025_12_36_06_30232.jpg', '/home/nano/Desktop/images/08032025/12/35/image_08032025_12_35_36_30178.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/12/35/image_08032025_12_36_06_30232.jpg
/home/nano/Desktop/images/08032025/12/35/image_08032025_12_35_36_30178.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341849069","1341849078"],"photo_ids_order":["1341849069","1341849078"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/20ebd0600da87e98b9db106b01a215be.jpg","text":"TemporaryFile(/tmp/multipartBody3314855649868429006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741433853066,"filename":"image_08032025_12_36_06_30232.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/9d02cd551baf37895ed837e7f18cc4d0.jpg","text":"TemporaryFile(/tmp/multipartBody8748036389054630132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741433853066,"filename":"image_08032025_12_35_36_30178.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341849078","file0":"1341849069"},"map_files_photo_id_array":[{"photo_id":"1341849078","filename":"file1"},{"photo_id":"1341849069","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341849069":["hashtag1","hashtag2"]},{"1341849078":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341849069, 1341849078)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 16.94510817527771 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 12:37:02.683669
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 12:37:31.776180
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/12/36/image_08032025_12_37_06_30176.jpg', 2), ('/home/nano/Desktop/images/08032025/12/36/image_08032025_12_36_36_30169.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/12/36/image_08032025_12_37_06_30176.jpg', '/home/nano/Desktop/images/08032025/12/36/image_08032025_12_36_36_30169.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/12/36/image_08032025_12_37_06_30176.jpg
/home/nano/Desktop/images/08032025/12/36/image_08032025_12_36_36_30169.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341849128","1341849139"],"photo_ids_order":["1341849128","1341849139"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/d625899014d8ffdfa981742de83a57fc.jpg","text":"TemporaryFile(/tmp/multipartBody1778082376182960357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741433912135,"filename":"image_08032025_12_37_06_30176.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/3c90f782ebde4338e5fb9c64577db96e.jpg","text":"TemporaryFile(/tmp/multipartBody2377604832342889912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741433912135,"filename":"image_08032025_12_36_36_30169.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341849139","file0":"1341849128"},"map_files_photo_id_array":[{"photo_id":"1341849139","filename":"file1"},{"photo_id":"1341849128","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341849128":["hashtag1","hashtag2"]},{"1341849139":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341849128, 1341849139)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 20.2084538936615 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 12:38:02.499180
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 12:38:31.912098
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/12/37/image_08032025_12_38_05_30171.jpg', 2), ('/home/nano/Desktop/images/08032025/12/37/image_08032025_12_37_35_29157.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/12/37/image_08032025_12_38_05_30171.jpg', '/home/nano/Desktop/images/08032025/12/37/image_08032025_12_37_35_29157.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/12/37/image_08032025_12_38_05_30171.jpg
/home/nano/Desktop/images/08032025/12/37/image_08032025_12_37_35_29157.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341849229","1341849223"],"photo_ids_order":["1341849223","1341849229"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/450a7e7f2e47e0270b242b10c0cd7cd5.jpg","text":"TemporaryFile(/tmp/multipartBody5104962867051081974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741433972249,"filename":"image_08032025_12_37_35_29157.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/efdf829994f26bdc6966aa04b0899f75.jpg","text":"TemporaryFile(/tmp/multipartBody3608813202758609930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741433972249,"filename":"image_08032025_12_38_05_30171.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341849229","file0":"1341849223"},"map_files_photo_id_array":[{"photo_id":"1341849229","filename":"file1"},{"photo_id":"1341849223","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341849229":["hashtag1","hashtag2"]},{"1341849223":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341849229, 1341849223)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.014622926712036 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 12:39:02.991221
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 12:39:32.053078
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/12/38/image_08032025_12_39_06_30196.jpg', 2), ('/home/nano/Desktop/images/08032025/12/38/image_08032025_12_38_36_30163.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/12/38/image_08032025_12_39_06_30196.jpg', '/home/nano/Desktop/images/08032025/12/38/image_08032025_12_38_36_30163.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/12/38/image_08032025_12_39_06_30196.jpg
/home/nano/Desktop/images/08032025/12/38/image_08032025_12_38_36_30163.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341849444","1341849502"],"photo_ids_order":["1341849444","1341849502"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/b526770ff603f5bf244dcbcf9948a0d6.jpg","text":"TemporaryFile(/tmp/multipartBody4404566940203920733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741434032437,"filename":"image_08032025_12_39_06_30196.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/c596d34d6403cc92f470485c553d3d51.jpg","text":"TemporaryFile(/tmp/multipartBody2652173928401944866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741434032437,"filename":"image_08032025_12_38_36_30163.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341849502","file0":"1341849444"},"map_files_photo_id_array":[{"photo_id":"1341849502","filename":"file1"},{"photo_id":"1341849444","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341849444":["hashtag1","hashtag2"]},{"1341849502":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341849444, 1341849502)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 16.66064214706421 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 12:40:02.916277
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 12:40:32.130430
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/12/39/image_08032025_12_40_05_29180.jpg', 2), ('/home/nano/Desktop/images/08032025/12/39/image_08032025_12_39_36_30161.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/12/39/image_08032025_12_40_05_29180.jpg', '/home/nano/Desktop/images/08032025/12/39/image_08032025_12_39_36_30161.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/12/39/image_08032025_12_40_05_29180.jpg
/home/nano/Desktop/images/08032025/12/39/image_08032025_12_39_36_30161.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341849851","1341849886"],"photo_ids_order":["1341849851","1341849886"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/d8688bc9958c1e99685421b35eeaf6f5.jpg","text":"TemporaryFile(/tmp/multipartBody2127747504097923889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741434092532,"filename":"image_08032025_12_40_05_29180.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/6233826e329a91e7bed9f28b226df7d1.jpg","text":"TemporaryFile(/tmp/multipartBody8548530832381877105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741434092532,"filename":"image_08032025_12_39_36_30161.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341849886","file0":"1341849851"},"map_files_photo_id_array":[{"photo_id":"1341849886","filename":"file1"},{"photo_id":"1341849851","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341849851":["hashtag1","hashtag2"]},{"1341849886":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341849851, 1341849886)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.5321946144104 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 12:41:03.142624
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 12:41:32.230423
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/12/40/image_08032025_12_41_05_30170.jpg', 2), ('/home/nano/Desktop/images/08032025/12/40/image_08032025_12_40_35_30162.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/12/40/image_08032025_12_41_05_30170.jpg', '/home/nano/Desktop/images/08032025/12/40/image_08032025_12_40_35_30162.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/12/40/image_08032025_12_41_05_30170.jpg
/home/nano/Desktop/images/08032025/12/40/image_08032025_12_40_35_30162.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341850007","1341849996"],"photo_ids_order":["1341849996","1341850007"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/a8bab77687f9a92d017184186c0abe5c.jpg","text":"TemporaryFile(/tmp/multipartBody291898263518617426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741434152590,"filename":"image_08032025_12_40_35_30162.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/95d34434e13f0811973f1e3e92237973.jpg","text":"TemporaryFile(/tmp/multipartBody3372057903781792320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741434152590,"filename":"image_08032025_12_41_05_30170.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341850007","file0":"1341849996"},"map_files_photo_id_array":[{"photo_id":"1341850007","filename":"file1"},{"photo_id":"1341849996","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341850007":["hashtag1","hashtag2"]},{"1341849996":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341850007, 1341849996)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 20.180896043777466 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 12:42:02.975348
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 12:42:32.323622
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/12/41/image_08032025_12_42_06_30177.jpg', 2), ('/home/nano/Desktop/images/08032025/12/41/image_08032025_12_41_36_30162.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/12/41/image_08032025_12_42_06_30177.jpg', '/home/nano/Desktop/images/08032025/12/41/image_08032025_12_41_36_30162.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/12/41/image_08032025_12_42_06_30177.jpg
/home/nano/Desktop/images/08032025/12/41/image_08032025_12_41_36_30162.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341850461","1341850429"],"photo_ids_order":["1341850429","1341850461"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/715874ca19399f0e88dfbe11f8b3a3ca.jpg","text":"TemporaryFile(/tmp/multipartBody2830122606479054674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741434212682,"filename":"image_08032025_12_41_36_30162.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/72dca25ebf576c0c640d95099c0c2252.jpg","text":"TemporaryFile(/tmp/multipartBody2505517087759829180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741434212682,"filename":"image_08032025_12_42_06_30177.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341850461","file0":"1341850429"},"map_files_photo_id_array":[{"photo_id":"1341850461","filename":"file1"},{"photo_id":"1341850429","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341850461":["hashtag1","hashtag2"]},{"1341850429":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341850461, 1341850429)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 36.34461212158203 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 12:43:32.429467
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/12/42/image_08032025_12_43_05_29177.jpg', 2), ('/home/nano/Desktop/images/08032025/12/42/image_08032025_12_42_36_30170.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/12/42/image_08032025_12_43_05_29177.jpg', '/home/nano/Desktop/images/08032025/12/42/image_08032025_12_42_36_30170.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/12/42/image_08032025_12_43_05_29177.jpg
/home/nano/Desktop/images/08032025/12/42/image_08032025_12_42_36_30170.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341850620","1341850616"],"photo_ids_order":["1341850616","1341850620"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/19e643f2f7756c0c843bfed920a895bf.jpg","text":"TemporaryFile(/tmp/multipartBody4855593142926077436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741434272808,"filename":"image_08032025_12_42_36_30170.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/42e54d251a362384e10d7cc8026d6d83.jpg","text":"TemporaryFile(/tmp/multipartBody3617637894857386989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741434272808,"filename":"image_08032025_12_43_05_29177.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341850620","file0":"1341850616"},"map_files_photo_id_array":[{"photo_id":"1341850620","filename":"file1"},{"photo_id":"1341850616","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341850620":["hashtag1","hashtag2"]},{"1341850616":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341850620, 1341850616)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 19.375513076782227 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 12:44:03.651147
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 12:44:32.559059
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/12/43/image_08032025_12_44_06_30202.jpg', 2), ('/home/nano/Desktop/images/08032025/12/43/image_08032025_12_43_35_30161.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/12/43/image_08032025_12_44_06_30202.jpg', '/home/nano/Desktop/images/08032025/12/43/image_08032025_12_43_35_30161.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/12/43/image_08032025_12_44_06_30202.jpg
/home/nano/Desktop/images/08032025/12/43/image_08032025_12_43_35_30161.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341850681","1341850675"],"photo_ids_order":["1341850675","1341850681"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/ffac9131fc330e00f66a08b61f55f871.jpg","text":"TemporaryFile(/tmp/multipartBody4971020608199917749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741434332932,"filename":"image_08032025_12_43_35_30161.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/133d100d7a62720b522e6f6805b1a0bb.jpg","text":"TemporaryFile(/tmp/multipartBody135287477436838117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741434332932,"filename":"image_08032025_12_44_06_30202.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341850681","file0":"1341850675"},"map_files_photo_id_array":[{"photo_id":"1341850681","filename":"file1"},{"photo_id":"1341850675","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341850681":["hashtag1","hashtag2"]},{"1341850675":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341850681, 1341850675)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 16.06279706954956 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 12:45:03.438817
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 12:45:32.649115
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/12/44/image_08032025_12_45_06_30211.jpg', 2), ('/home/nano/Desktop/images/08032025/12/44/image_08032025_12_44_36_30216.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/12/44/image_08032025_12_45_06_30211.jpg', '/home/nano/Desktop/images/08032025/12/44/image_08032025_12_44_36_30216.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/12/44/image_08032025_12_45_06_30211.jpg
/home/nano/Desktop/images/08032025/12/44/image_08032025_12_44_36_30216.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341850973","1341850916"],"photo_ids_order":["1341850916","1341850973"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/2dad5910381485a1772613fcc33d99a1.jpg","text":"TemporaryFile(/tmp/multipartBody1655603809659235005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741434393013,"filename":"image_08032025_12_44_36_30216.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/3ccd18b9c3b2c581f48822c4f65e6907.jpg","text":"TemporaryFile(/tmp/multipartBody2703862427733622023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741434393013,"filename":"image_08032025_12_45_06_30211.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341850973","file0":"1341850916"},"map_files_photo_id_array":[{"photo_id":"1341850973","filename":"file1"},{"photo_id":"1341850916","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341850973":["hashtag1","hashtag2"]},{"1341850916":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341850973, 1341850916)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 18.901421308517456 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 12:46:02.729299
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 12:46:31.777198
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/12/45/image_08032025_12_46_05_29205.jpg', 2), ('/home/nano/Desktop/images/08032025/12/45/image_08032025_12_45_36_30181.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/12/45/image_08032025_12_46_05_29205.jpg', '/home/nano/Desktop/images/08032025/12/45/image_08032025_12_45_36_30181.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/12/45/image_08032025_12_46_05_29205.jpg
/home/nano/Desktop/images/08032025/12/45/image_08032025_12_45_36_30181.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341851494","1341851527"],"photo_ids_order":["1341851494","1341851527"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/0c6e7a20cc5147026242fd603c53c8bf.jpg","text":"TemporaryFile(/tmp/multipartBody3924942591762511093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741434452107,"filename":"image_08032025_12_46_05_29205.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/5313f84f339e0f813c48a9284f8a7329.jpg","text":"TemporaryFile(/tmp/multipartBody4910400270064276782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741434452107,"filename":"image_08032025_12_45_36_30181.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341851527","file0":"1341851494"},"map_files_photo_id_array":[{"photo_id":"1341851527","filename":"file1"},{"photo_id":"1341851494","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341851494":["hashtag1","hashtag2"]},{"1341851527":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341851494, 1341851527)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.14979314804077 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 12:47:02.689876
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 12:47:31.852560
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/12/46/image_08032025_12_47_06_30236.jpg', 2), ('/home/nano/Desktop/images/08032025/12/46/image_08032025_12_46_36_30195.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/12/46/image_08032025_12_47_06_30236.jpg', '/home/nano/Desktop/images/08032025/12/46/image_08032025_12_46_36_30195.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/12/46/image_08032025_12_47_06_30236.jpg
/home/nano/Desktop/images/08032025/12/46/image_08032025_12_46_36_30195.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341851702","1341851688"],"photo_ids_order":["1341851688","1341851702"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/31a4e209b94172d04149480b15e8a975.jpg","text":"TemporaryFile(/tmp/multipartBody6769884186578455419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741434512244,"filename":"image_08032025_12_46_36_30195.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/cbf114f9d095b049a7dc51821d4bf9ea.jpg","text":"TemporaryFile(/tmp/multipartBody3371382808652147613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741434512244,"filename":"image_08032025_12_47_06_30236.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341851702","file0":"1341851688"},"map_files_photo_id_array":[{"photo_id":"1341851702","filename":"file1"},{"photo_id":"1341851688","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341851702":["hashtag1","hashtag2"]},{"1341851688":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341851702, 1341851688)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 16.893305778503418 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 12:48:02.679124
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 12:48:31.964929
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/12/47/image_08032025_12_48_05_29198.jpg', 2), ('/home/nano/Desktop/images/08032025/12/47/image_08032025_12_47_36_30214.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/12/47/image_08032025_12_48_05_29198.jpg', '/home/nano/Desktop/images/08032025/12/47/image_08032025_12_47_36_30214.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/12/47/image_08032025_12_48_05_29198.jpg
/home/nano/Desktop/images/08032025/12/47/image_08032025_12_47_36_30214.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341851826","1341851798"],"photo_ids_order":["1341851798","1341851826"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/e032b09ec2c3a13ddbd1b2f9541361ab.jpg","text":"TemporaryFile(/tmp/multipartBody7393297754797842819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741434572330,"filename":"image_08032025_12_47_36_30214.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/b438c0e3223b5c606c78963b30e7d82f.jpg","text":"TemporaryFile(/tmp/multipartBody146385242736874829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741434572330,"filename":"image_08032025_12_48_05_29198.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341851826","file0":"1341851798"},"map_files_photo_id_array":[{"photo_id":"1341851826","filename":"file1"},{"photo_id":"1341851798","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341851826":["hashtag1","hashtag2"]},{"1341851798":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341851826, 1341851798)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.862597942352295 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 12:49:03.160133
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 12:49:32.071485
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/12/48/image_08032025_12_49_06_30206.jpg', 2), ('/home/nano/Desktop/images/08032025/12/48/image_08032025_12_48_35_30220.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/12/48/image_08032025_12_49_06_30206.jpg', '/home/nano/Desktop/images/08032025/12/48/image_08032025_12_48_35_30220.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/12/48/image_08032025_12_49_06_30206.jpg
/home/nano/Desktop/images/08032025/12/48/image_08032025_12_48_35_30220.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341852125","1341852104"],"photo_ids_order":["1341852104","1341852125"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/42ebd1ea8944e162b888fe75b5449c01.jpg","text":"TemporaryFile(/tmp/multipartBody561229273082721631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741434632443,"filename":"image_08032025_12_48_35_30220.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/112c7f91cb13022d6ef6ea284db4d137.jpg","text":"TemporaryFile(/tmp/multipartBody5948398541759696027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741434632443,"filename":"image_08032025_12_49_06_30206.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341852125","file0":"1341852104"},"map_files_photo_id_array":[{"photo_id":"1341852125","filename":"file1"},{"photo_id":"1341852104","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341852125":["hashtag1","hashtag2"]},{"1341852104":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341852125, 1341852104)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.971864938735962 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 12:50:02.841236
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 12:50:32.179876
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/12/49/image_08032025_12_50_06_30244.jpg', 2), ('/home/nano/Desktop/images/08032025/12/49/image_08032025_12_49_36_30212.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/12/49/image_08032025_12_50_06_30244.jpg', '/home/nano/Desktop/images/08032025/12/49/image_08032025_12_49_36_30212.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/12/49/image_08032025_12_50_06_30244.jpg
/home/nano/Desktop/images/08032025/12/49/image_08032025_12_49_36_30212.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341852454","1341852447"],"photo_ids_order":["1341852447","1341852454"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/eb5bacfa2a29b5346c72a8096882eca7.jpg","text":"TemporaryFile(/tmp/multipartBody363210005192602419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741434692574,"filename":"image_08032025_12_49_36_30212.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/8cd9addf1dd0295b78b4d198df4b0fc4.jpg","text":"TemporaryFile(/tmp/multipartBody709513551643254552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741434692574,"filename":"image_08032025_12_50_06_30244.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341852454","file0":"1341852447"},"map_files_photo_id_array":[{"photo_id":"1341852454","filename":"file1"},{"photo_id":"1341852447","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341852454":["hashtag1","hashtag2"]},{"1341852447":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341852454, 1341852447)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.28333353996277 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 12:51:03.039648
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 12:51:32.294637
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/12/50/image_08032025_12_51_05_30212.jpg', 2), ('/home/nano/Desktop/images/08032025/12/50/image_08032025_12_50_35_29176.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/12/50/image_08032025_12_51_05_30212.jpg', '/home/nano/Desktop/images/08032025/12/50/image_08032025_12_50_35_29176.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/12/50/image_08032025_12_51_05_30212.jpg
/home/nano/Desktop/images/08032025/12/50/image_08032025_12_50_35_29176.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341852525","1341852497"],"photo_ids_order":["1341852497","1341852525"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/ea343d6830088cf95da6aad3a83695cb.jpg","text":"TemporaryFile(/tmp/multipartBody1354759550256684057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741434752673,"filename":"image_08032025_12_50_35_29176.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/b2263d97f601f5b78f24ea3535bbe057.jpg","text":"TemporaryFile(/tmp/multipartBody4825398875823721627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741434752673,"filename":"image_08032025_12_51_05_30212.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341852525","file0":"1341852497"},"map_files_photo_id_array":[{"photo_id":"1341852525","filename":"file1"},{"photo_id":"1341852497","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341852525":["hashtag1","hashtag2"]},{"1341852497":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341852525, 1341852497)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.496069192886353 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 12:52:03.168911
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 12:52:32.393704
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/12/51/image_08032025_12_52_06_30191.jpg', 2), ('/home/nano/Desktop/images/08032025/12/51/image_08032025_12_51_36_30185.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/12/51/image_08032025_12_52_06_30191.jpg', '/home/nano/Desktop/images/08032025/12/51/image_08032025_12_51_36_30185.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/12/51/image_08032025_12_52_06_30191.jpg
/home/nano/Desktop/images/08032025/12/51/image_08032025_12_51_36_30185.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341852842","1341852908"],"photo_ids_order":["1341852842","1341852908"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/ec1fa31bd10da00af639598e40b1b2b6.jpg","text":"TemporaryFile(/tmp/multipartBody7228399674479926106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741434812794,"filename":"image_08032025_12_52_06_30191.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/7acc83ad44f9d9a286b3688165425cfd.jpg","text":"TemporaryFile(/tmp/multipartBody6551746860417576199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741434812794,"filename":"image_08032025_12_51_36_30185.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341852908","file0":"1341852842"},"map_files_photo_id_array":[{"photo_id":"1341852908","filename":"file1"},{"photo_id":"1341852842","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341852842":["hashtag1","hashtag2"]},{"1341852908":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341852842, 1341852908)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 21.26279377937317 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 12:53:03.178354
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 12:53:32.472610
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/12/52/image_08032025_12_53_05_29188.jpg', 2), ('/home/nano/Desktop/images/08032025/12/52/image_08032025_12_52_36_30189.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/12/52/image_08032025_12_53_05_29188.jpg', '/home/nano/Desktop/images/08032025/12/52/image_08032025_12_52_36_30189.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/12/52/image_08032025_12_53_05_29188.jpg
/home/nano/Desktop/images/08032025/12/52/image_08032025_12_52_36_30189.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341853028","1341853018"],"photo_ids_order":["1341853018","1341853028"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/19cd23a1de8cf69f8884121c6411ebed.jpg","text":"TemporaryFile(/tmp/multipartBody80258182806141713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741434872859,"filename":"image_08032025_12_52_36_30189.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/8f2ae73d1e030572717086046151459f.jpg","text":"TemporaryFile(/tmp/multipartBody6505601539558707780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741434872859,"filename":"image_08032025_12_53_05_29188.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341853028","file0":"1341853018"},"map_files_photo_id_array":[{"photo_id":"1341853028","filename":"file1"},{"photo_id":"1341853018","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341853028":["hashtag1","hashtag2"]},{"1341853018":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341853028, 1341853018)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 16.005813121795654 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 12:54:03.724359
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 12:54:32.543678
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/12/53/image_08032025_12_54_06_30219.jpg', 2), ('/home/nano/Desktop/images/08032025/12/53/image_08032025_12_53_35_30182.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/12/53/image_08032025_12_54_06_30219.jpg', '/home/nano/Desktop/images/08032025/12/53/image_08032025_12_53_35_30182.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/12/53/image_08032025_12_54_06_30219.jpg
/home/nano/Desktop/images/08032025/12/53/image_08032025_12_53_35_30182.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.27103543281555176 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 marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 12:55:03.447555
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/12/53/image_08032025_12_54_06_30219.jpg', 2), ('/home/nano/Desktop/images/08032025/12/53/image_08032025_12_53_35_30182.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/12/53/image_08032025_12_54_06_30219.jpg', '/home/nano/Desktop/images/08032025/12/53/image_08032025_12_53_35_30182.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/12/53/image_08032025_12_54_06_30219.jpg
/home/nano/Desktop/images/08032025/12/53/image_08032025_12_53_35_30182.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341853435","1341853432"],"photo_ids_order":["1341853432","1341853435"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/8c4b7431dfa18afa49ed2c14a2f0500f.jpg","text":"TemporaryFile(/tmp/multipartBody437906956235428770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741434963784,"filename":"image_08032025_12_53_35_30182.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/6ade71e7560050a7dadf9d0db0d59e34.jpg","text":"TemporaryFile(/tmp/multipartBody1070810898148970154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741434963784,"filename":"image_08032025_12_54_06_30219.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341853435","file0":"1341853432"},"map_files_photo_id_array":[{"photo_id":"1341853435","filename":"file1"},{"photo_id":"1341853432","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341853435":["hashtag1","hashtag2"]},{"1341853432":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341853435, 1341853432)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.125682830810547 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 12:55:32.642991
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/12/54/image_08032025_12_55_06_30217.jpg', 2), ('/home/nano/Desktop/images/08032025/12/54/image_08032025_12_54_36_30198.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/12/54/image_08032025_12_55_06_30217.jpg', '/home/nano/Desktop/images/08032025/12/54/image_08032025_12_54_36_30198.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/12/54/image_08032025_12_55_06_30217.jpg
/home/nano/Desktop/images/08032025/12/54/image_08032025_12_54_36_30198.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.2864806652069092 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 marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 12:56:03.520168
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/12/54/image_08032025_12_55_06_30217.jpg', 2), ('/home/nano/Desktop/images/08032025/12/54/image_08032025_12_54_36_30198.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/12/54/image_08032025_12_55_06_30217.jpg', '/home/nano/Desktop/images/08032025/12/54/image_08032025_12_54_36_30198.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/12/54/image_08032025_12_55_06_30217.jpg
/home/nano/Desktop/images/08032025/12/54/image_08032025_12_54_36_30198.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341853791","1341853757"],"photo_ids_order":["1341853757","1341853791"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/4800ac64cf50b90b05db75bcb0189e9a.jpg","text":"TemporaryFile(/tmp/multipartBody5751484479814128723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741435023869,"filename":"image_08032025_12_54_36_30198.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/b570cf50f2e69867d0cd985be9d9130b.jpg","text":"TemporaryFile(/tmp/multipartBody1593895598503251754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741435023869,"filename":"image_08032025_12_55_06_30217.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341853791","file0":"1341853757"},"map_files_photo_id_array":[{"photo_id":"1341853791","filename":"file1"},{"photo_id":"1341853757","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341853791":["hashtag1","hashtag2"]},{"1341853757":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341853791, 1341853757)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 22.563781261444092 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 12:56:32.824712
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/12/55/image_08032025_12_56_05_30209.jpg', 2), ('/home/nano/Desktop/images/08032025/12/55/image_08032025_12_55_35_29172.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/12/55/image_08032025_12_56_05_30209.jpg', '/home/nano/Desktop/images/08032025/12/55/image_08032025_12_55_35_29172.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/12/55/image_08032025_12_56_05_30209.jpg
/home/nano/Desktop/images/08032025/12/55/image_08032025_12_55_35_29172.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.27716636657714844 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 marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 12:57:02.808699
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/12/55/image_08032025_12_56_05_30209.jpg', 2), ('/home/nano/Desktop/images/08032025/12/55/image_08032025_12_55_35_29172.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/12/55/image_08032025_12_56_05_30209.jpg', '/home/nano/Desktop/images/08032025/12/55/image_08032025_12_55_35_29172.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/12/55/image_08032025_12_56_05_30209.jpg
/home/nano/Desktop/images/08032025/12/55/image_08032025_12_55_35_29172.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341854184","1341854148"],"photo_ids_order":["1341854148","1341854184"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/696a6ce3404614143df7d3417995cd9c.jpg","text":"TemporaryFile(/tmp/multipartBody9056026951267651217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741435083137,"filename":"image_08032025_12_55_35_29172.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/2ae656f729987e94da72980ee532bc3e.jpg","text":"TemporaryFile(/tmp/multipartBody305120782420226562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741435083137,"filename":"image_08032025_12_56_05_30209.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341854184","file0":"1341854148"},"map_files_photo_id_array":[{"photo_id":"1341854184","filename":"file1"},{"photo_id":"1341854148","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341854184":["hashtag1","hashtag2"]},{"1341854148":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341854184, 1341854148)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 18.048278331756592 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 12:57:31.944872
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/12/56/image_08032025_12_57_06_30215.jpg', 2), ('/home/nano/Desktop/images/08032025/12/56/image_08032025_12_56_36_30197.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/12/56/image_08032025_12_57_06_30215.jpg', '/home/nano/Desktop/images/08032025/12/56/image_08032025_12_56_36_30197.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/12/56/image_08032025_12_57_06_30215.jpg
/home/nano/Desktop/images/08032025/12/56/image_08032025_12_56_36_30197.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341854206","1341854201"],"photo_ids_order":["1341854201","1341854206"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/d304c9609bba234bb216909b8a0dbaee.jpg","text":"TemporaryFile(/tmp/multipartBody2950073087582419877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741435112363,"filename":"image_08032025_12_56_36_30197.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/03df5bdf575bcb6fc727ccced9399cd6.jpg","text":"TemporaryFile(/tmp/multipartBody6930365189492011969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741435112363,"filename":"image_08032025_12_57_06_30215.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341854206","file0":"1341854201"},"map_files_photo_id_array":[{"photo_id":"1341854206","filename":"file1"},{"photo_id":"1341854201","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341854206":["hashtag1","hashtag2"]},{"1341854201":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341854206, 1341854201)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.794826745986938 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 12:59:03.172994
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/12/57/image_08032025_12_58_05_29204.jpg', 2), ('/home/nano/Desktop/images/08032025/12/57/image_08032025_12_57_36_30221.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/12/57/image_08032025_12_58_05_29204.jpg', '/home/nano/Desktop/images/08032025/12/57/image_08032025_12_57_36_30221.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/12/57/image_08032025_12_58_05_29204.jpg
/home/nano/Desktop/images/08032025/12/57/image_08032025_12_57_36_30221.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341854314","1341854381"],"photo_ids_order":["1341854314","1341854381"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/f2d896cd7096d8cb4de4209eec667e74.jpg","text":"TemporaryFile(/tmp/multipartBody3499147007178543717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741435203557,"filename":"image_08032025_12_58_05_29204.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/587f2ba859fcadb5fc664ae5021c9ff6.jpg","text":"TemporaryFile(/tmp/multipartBody7615314623462975596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741435203557,"filename":"image_08032025_12_57_36_30221.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341854381","file0":"1341854314"},"map_files_photo_id_array":[{"photo_id":"1341854381","filename":"file1"},{"photo_id":"1341854314","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341854314":["hashtag1","hashtag2"]},{"1341854381":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341854314, 1341854381)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 16.860931158065796 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 12:59:32.171762
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/12/58/image_08032025_12_59_06_30179.jpg', 2), ('/home/nano/Desktop/images/08032025/12/58/image_08032025_12_58_35_30185.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/12/58/image_08032025_12_59_06_30179.jpg', '/home/nano/Desktop/images/08032025/12/58/image_08032025_12_58_35_30185.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/12/58/image_08032025_12_59_06_30179.jpg
/home/nano/Desktop/images/08032025/12/58/image_08032025_12_58_35_30185.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341854730","1341854646"],"photo_ids_order":["1341854646","1341854730"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/1cb7296abe566cd799b3b65d8a3fc9c4.jpg","text":"TemporaryFile(/tmp/multipartBody493244233827016050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741435232479,"filename":"image_08032025_12_58_35_30185.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/3fa2fa30df005ed7be5d340a6d617c99.jpg","text":"TemporaryFile(/tmp/multipartBody4637545625754796318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741435232479,"filename":"image_08032025_12_59_06_30179.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341854730","file0":"1341854646"},"map_files_photo_id_array":[{"photo_id":"1341854730","filename":"file1"},{"photo_id":"1341854646","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341854730":["hashtag1","hashtag2"]},{"1341854646":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341854730, 1341854646)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.872941493988037 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 13:00:03.040417
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 13:00:32.285395
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/12/59/image_08032025_13_00_06_30195.jpg', 2), ('/home/nano/Desktop/images/08032025/12/59/image_08032025_12_59_36_30170.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/12/59/image_08032025_13_00_06_30195.jpg', '/home/nano/Desktop/images/08032025/12/59/image_08032025_12_59_36_30170.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/12/59/image_08032025_13_00_06_30195.jpg
/home/nano/Desktop/images/08032025/12/59/image_08032025_12_59_36_30170.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341855532","1341855472"],"photo_ids_order":["1341855472","1341855532"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/c2df69dd0086a2cfe30c875b0bf75c90.jpg","text":"TemporaryFile(/tmp/multipartBody4061509655703387028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741435292608,"filename":"image_08032025_12_59_36_30170.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/8f0d99debf2394560f2674179fe8c907.jpg","text":"TemporaryFile(/tmp/multipartBody6549024597548769512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741435292608,"filename":"image_08032025_13_00_06_30195.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341855532","file0":"1341855472"},"map_files_photo_id_array":[{"photo_id":"1341855532","filename":"file1"},{"photo_id":"1341855472","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341855532":["hashtag1","hashtag2"]},{"1341855472":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341855532, 1341855472)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 20.099328756332397 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 13:01:02.994297
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 13:01:32.391329
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/13/00/image_08032025_13_01_05_30199.jpg', 2), ('/home/nano/Desktop/images/08032025/13/00/image_08032025_13_00_35_29172.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/13/00/image_08032025_13_01_05_30199.jpg', '/home/nano/Desktop/images/08032025/13/00/image_08032025_13_00_35_29172.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/13/00/image_08032025_13_01_05_30199.jpg
/home/nano/Desktop/images/08032025/13/00/image_08032025_13_00_35_29172.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341855804","1341855832"],"photo_ids_order":["1341855804","1341855832"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/1e50d92dd08b180515f1fb3bcff13105.jpg","text":"TemporaryFile(/tmp/multipartBody3486716473947190673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741435352717,"filename":"image_08032025_13_01_05_30199.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/38f7074d72b976765422c5ca85c541e0.jpg","text":"TemporaryFile(/tmp/multipartBody5545185225784164722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741435352717,"filename":"image_08032025_13_00_35_29172.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341855832","file0":"1341855804"},"map_files_photo_id_array":[{"photo_id":"1341855832","filename":"file1"},{"photo_id":"1341855804","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341855804":["hashtag1","hashtag2"]},{"1341855832":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341855804, 1341855832)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.439517498016357 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 13:02:03.317516
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 13:02:32.467783
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/13/01/image_08032025_13_02_06_30197.jpg', 2), ('/home/nano/Desktop/images/08032025/13/01/image_08032025_13_01_36_30169.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/13/01/image_08032025_13_02_06_30197.jpg', '/home/nano/Desktop/images/08032025/13/01/image_08032025_13_01_36_30169.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/13/01/image_08032025_13_02_06_30197.jpg
/home/nano/Desktop/images/08032025/13/01/image_08032025_13_01_36_30169.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341856269","1341856315"],"photo_ids_order":["1341856269","1341856315"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/e6e3e2e16ebef12ed2ed77f294a228eb.jpg","text":"TemporaryFile(/tmp/multipartBody1583684085519148472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741435412793,"filename":"image_08032025_13_02_06_30197.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/1786bb687a17caaf3133b2e83d9201ba.jpg","text":"TemporaryFile(/tmp/multipartBody907233075801050918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741435412793,"filename":"image_08032025_13_01_36_30169.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341856315","file0":"1341856269"},"map_files_photo_id_array":[{"photo_id":"1341856315","filename":"file1"},{"photo_id":"1341856269","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341856269":["hashtag1","hashtag2"]},{"1341856315":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341856269, 1341856315)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.125629901885986 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 13:03:03.462956
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/13/03/image_08032025_13_03_35_29156.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/13/03/image_08032025_13_03_35_29156.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/13/03/image_08032025_13_03_35_29156.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341856362"],"photo_id":"1341856362","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/03c8cdf49b79d9929a58cc75779fbc10.jpg","text":"TemporaryFile(/tmp/multipartBody313976306869388282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741435443774,"filename":"image_08032025_13_03_35_29156.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1341856362"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1341856362"}],"hashtags":[],"portfolio_id":"21163824","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 10.656047582626343 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 13:03:32.572398
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/13/02/image_08032025_13_02_36_30160.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/13/02/image_08032025_13_02_36_30160.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/13/02/image_08032025_13_02_36_30160.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341856447"],"photo_id":"1341856447","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/88822cb118ed86778c9242ed95f387af.jpg","text":"TemporaryFile(/tmp/multipartBody8214239956391308233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741435472860,"filename":"image_08032025_13_02_36_30160.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1341856447"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1341856447"}],"hashtags":[],"portfolio_id":"21163824","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 10.718355655670166 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 13:04:03.833520
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 13:04:32.678365
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/13/03/image_08032025_13_04_05_30201.jpg', 2), ('/home/nano/Desktop/images/08032025/13/02/image_08032025_13_03_06_30176.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/13/03/image_08032025_13_04_05_30201.jpg', '/home/nano/Desktop/images/08032025/13/02/image_08032025_13_03_06_30176.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/13/03/image_08032025_13_04_05_30201.jpg
/home/nano/Desktop/images/08032025/13/02/image_08032025_13_03_06_30176.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341856758","1341856784"],"photo_ids_order":["1341856758","1341856784"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/637d46360a4bef6d6a1b936a5d709ac2.jpg","text":"TemporaryFile(/tmp/multipartBody4901345025082050267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741435532983,"filename":"image_08032025_13_04_05_30201.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/cbe5ec0fd61d36be9779cdfbf7b62c18.jpg","text":"TemporaryFile(/tmp/multipartBody4120709975290638506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741435532983,"filename":"image_08032025_13_03_06_30176.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341856784","file0":"1341856758"},"map_files_photo_id_array":[{"photo_id":"1341856784","filename":"file1"},{"photo_id":"1341856758","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341856758":["hashtag1","hashtag2"]},{"1341856784":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341856758, 1341856784)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 20.27170991897583 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 13:05:02.520977
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 13:05:31.772755
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/13/04/image_08032025_13_05_06_30189.jpg', 2), ('/home/nano/Desktop/images/08032025/13/04/image_08032025_13_04_36_30153.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/13/04/image_08032025_13_05_06_30189.jpg', '/home/nano/Desktop/images/08032025/13/04/image_08032025_13_04_36_30153.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/13/04/image_08032025_13_05_06_30189.jpg
/home/nano/Desktop/images/08032025/13/04/image_08032025_13_04_36_30153.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341856821","1341856816"],"photo_ids_order":["1341856816","1341856821"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/7f6d015079e7790e501b294a746235f5.jpg","text":"TemporaryFile(/tmp/multipartBody341164676488223590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741435592102,"filename":"image_08032025_13_04_36_30153.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/955a821ba93d61d1ef01036de781257f.jpg","text":"TemporaryFile(/tmp/multipartBody9112253717955144202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741435592102,"filename":"image_08032025_13_05_06_30189.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341856821","file0":"1341856816"},"map_files_photo_id_array":[{"photo_id":"1341856821","filename":"file1"},{"photo_id":"1341856816","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341856821":["hashtag1","hashtag2"]},{"1341856816":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341856821, 1341856816)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.998464107513428 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 13:06:02.666906
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 13:06:31.868472
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/13/05/image_08032025_13_06_06_30181.jpg', 2), ('/home/nano/Desktop/images/08032025/13/05/image_08032025_13_05_36_30158.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/13/05/image_08032025_13_06_06_30181.jpg', '/home/nano/Desktop/images/08032025/13/05/image_08032025_13_05_36_30158.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/13/05/image_08032025_13_06_06_30181.jpg
/home/nano/Desktop/images/08032025/13/05/image_08032025_13_05_36_30158.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341856895","1341856899"],"photo_ids_order":["1341856895","1341856899"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/05e7e6d52b0a905affb8416672167cfc.jpg","text":"TemporaryFile(/tmp/multipartBody4900932585754452526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741435652180,"filename":"image_08032025_13_06_06_30181.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/3191d552a28c5bbb4c89c35f72288adb.jpg","text":"TemporaryFile(/tmp/multipartBody4721033561496783237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741435652180,"filename":"image_08032025_13_05_36_30158.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341856899","file0":"1341856895"},"map_files_photo_id_array":[{"photo_id":"1341856899","filename":"file1"},{"photo_id":"1341856895","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341856895":["hashtag1","hashtag2"]},{"1341856899":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341856895, 1341856899)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 20.6881422996521 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 13:07:02.732838
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 13:07:31.995196
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/13/06/image_08032025_13_07_05_30157.jpg', 2), ('/home/nano/Desktop/images/08032025/13/06/image_08032025_13_06_35_29147.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/13/06/image_08032025_13_07_05_30157.jpg', '/home/nano/Desktop/images/08032025/13/06/image_08032025_13_06_35_29147.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/13/06/image_08032025_13_07_05_30157.jpg
/home/nano/Desktop/images/08032025/13/06/image_08032025_13_06_35_29147.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341857478","1341857544"],"photo_ids_order":["1341857478","1341857544"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/193215eb037e2730fbeeeae318a683e4.jpg","text":"TemporaryFile(/tmp/multipartBody5877777617671860025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741435712297,"filename":"image_08032025_13_07_05_30157.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/65d1dd666505682332b8bdd8d4f7bb30.jpg","text":"TemporaryFile(/tmp/multipartBody4445470805275954352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741435712297,"filename":"image_08032025_13_06_35_29147.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341857544","file0":"1341857478"},"map_files_photo_id_array":[{"photo_id":"1341857544","filename":"file1"},{"photo_id":"1341857478","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341857478":["hashtag1","hashtag2"]},{"1341857544":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341857478, 1341857544)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.588661909103394 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 13:08:02.854347
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 13:08:32.108195
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/13/07/image_08032025_13_08_06_30158.jpg', 2), ('/home/nano/Desktop/images/08032025/13/07/image_08032025_13_07_36_30149.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/13/07/image_08032025_13_08_06_30158.jpg', '/home/nano/Desktop/images/08032025/13/07/image_08032025_13_07_36_30149.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/13/07/image_08032025_13_08_06_30158.jpg
/home/nano/Desktop/images/08032025/13/07/image_08032025_13_07_36_30149.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.22223544120788574 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 marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 13:09:03.252447
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/13/07/image_08032025_13_08_06_30158.jpg', 2), ('/home/nano/Desktop/images/08032025/13/07/image_08032025_13_07_36_30149.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/13/07/image_08032025_13_08_06_30158.jpg', '/home/nano/Desktop/images/08032025/13/07/image_08032025_13_07_36_30149.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/13/07/image_08032025_13_08_06_30158.jpg
/home/nano/Desktop/images/08032025/13/07/image_08032025_13_07_36_30149.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341858079","1341858112"],"photo_ids_order":["1341858079","1341858112"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/f42410a100a6cd235f5ab4601a3d3607.jpg","text":"TemporaryFile(/tmp/multipartBody198758676396231247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741435803645,"filename":"image_08032025_13_08_06_30158.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/4835016cbe66887c0c5e40cf04346d43.jpg","text":"TemporaryFile(/tmp/multipartBody4736336804019087721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741435803645,"filename":"image_08032025_13_07_36_30149.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341858112","file0":"1341858079"},"map_files_photo_id_array":[{"photo_id":"1341858112","filename":"file1"},{"photo_id":"1341858079","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341858079":["hashtag1","hashtag2"]},{"1341858112":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341858079, 1341858112)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.41531229019165 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 13:09:32.224796
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/13/08/image_08032025_13_09_06_30180.jpg', 2), ('/home/nano/Desktop/images/08032025/13/08/image_08032025_13_08_36_30153.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/13/08/image_08032025_13_09_06_30180.jpg', '/home/nano/Desktop/images/08032025/13/08/image_08032025_13_08_36_30153.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/13/08/image_08032025_13_09_06_30180.jpg
/home/nano/Desktop/images/08032025/13/08/image_08032025_13_08_36_30153.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341858283","1341858267"],"photo_ids_order":["1341858267","1341858283"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/e8aa2b7a63dd10407ff9668b716c8a8a.jpg","text":"TemporaryFile(/tmp/multipartBody5330986144677808451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741435832544,"filename":"image_08032025_13_08_36_30153.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/2f7e9b9b85fd40329ae33708cd586f00.jpg","text":"TemporaryFile(/tmp/multipartBody4641838140392899382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741435832544,"filename":"image_08032025_13_09_06_30180.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341858283","file0":"1341858267"},"map_files_photo_id_array":[{"photo_id":"1341858283","filename":"file1"},{"photo_id":"1341858267","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341858283":["hashtag1","hashtag2"]},{"1341858267":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341858283, 1341858267)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 20.188535690307617 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 13:10:03.094754
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 13:10:32.325070
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/13/09/image_08032025_13_10_05_30171.jpg', 2), ('/home/nano/Desktop/images/08032025/13/09/image_08032025_13_09_35_29151.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/13/09/image_08032025_13_10_05_30171.jpg', '/home/nano/Desktop/images/08032025/13/09/image_08032025_13_09_35_29151.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/13/09/image_08032025_13_10_05_30171.jpg
/home/nano/Desktop/images/08032025/13/09/image_08032025_13_09_35_29151.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341858719","1341858723"],"photo_ids_order":["1341858719","1341858723"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/64a26f237e7b513c3e2de6ce9b5a8c34.jpg","text":"TemporaryFile(/tmp/multipartBody2980755416643214803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741435892656,"filename":"image_08032025_13_10_05_30171.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/2ffb63f5e923d74ae746730c91ec2937.jpg","text":"TemporaryFile(/tmp/multipartBody11167441158470768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741435892656,"filename":"image_08032025_13_09_35_29151.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341858723","file0":"1341858719"},"map_files_photo_id_array":[{"photo_id":"1341858723","filename":"file1"},{"photo_id":"1341858719","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341858719":["hashtag1","hashtag2"]},{"1341858723":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341858719, 1341858723)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.710563898086548 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 13:11:03.259449
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 13:11:32.412885
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/13/10/image_08032025_13_11_06_30170.jpg', 2), ('/home/nano/Desktop/images/08032025/13/10/image_08032025_13_10_36_30153.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/13/10/image_08032025_13_11_06_30170.jpg', '/home/nano/Desktop/images/08032025/13/10/image_08032025_13_10_36_30153.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/13/10/image_08032025_13_11_06_30170.jpg
/home/nano/Desktop/images/08032025/13/10/image_08032025_13_10_36_30153.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341858776","1341858780"],"photo_ids_order":["1341858776","1341858780"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/13be59780816643aeb3ad7f928e2694e.jpg","text":"TemporaryFile(/tmp/multipartBody6887533691010835204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741435952786,"filename":"image_08032025_13_11_06_30170.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/dd6c18f8d8d7781bed9fb2f8ee4f7592.jpg","text":"TemporaryFile(/tmp/multipartBody4370236617833545984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741435952786,"filename":"image_08032025_13_10_36_30153.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341858780","file0":"1341858776"},"map_files_photo_id_array":[{"photo_id":"1341858780","filename":"file1"},{"photo_id":"1341858776","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341858776":["hashtag1","hashtag2"]},{"1341858780":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341858776, 1341858780)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.937673807144165 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 13:12:03.310807
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/13/11/image_08032025_13_12_06_30150.jpg', 2), ('/home/nano/Desktop/images/08032025/13/11/image_08032025_13_11_36_30144.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/13/11/image_08032025_13_12_06_30150.jpg', '/home/nano/Desktop/images/08032025/13/11/image_08032025_13_11_36_30144.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/13/11/image_08032025_13_12_06_30150.jpg
/home/nano/Desktop/images/08032025/13/11/image_08032025_13_11_36_30144.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341858796","1341858798"],"photo_ids_order":["1341858796","1341858798"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/b9bf62e083e504a79d5c640b1cbaf8d9.jpg","text":"TemporaryFile(/tmp/multipartBody4381506152603329167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741435983697,"filename":"image_08032025_13_12_06_30150.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/5d1b477f6bfdb568b1c8e6f1c313ad55.jpg","text":"TemporaryFile(/tmp/multipartBody7206844053912245248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741435983697,"filename":"image_08032025_13_11_36_30144.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341858798","file0":"1341858796"},"map_files_photo_id_array":[{"photo_id":"1341858798","filename":"file1"},{"photo_id":"1341858796","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341858796":["hashtag1","hashtag2"]},{"1341858798":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341858796, 1341858798)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.687602043151855 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 13:12:32.505644
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 13:13:03.408742
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 13:13:32.634330
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/13/12/image_08032025_13_13_05_29144.jpg', 2), ('/home/nano/Desktop/images/08032025/13/12/image_08032025_13_12_36_30142.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/13/12/image_08032025_13_13_05_29144.jpg', '/home/nano/Desktop/images/08032025/13/12/image_08032025_13_12_36_30142.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/13/12/image_08032025_13_13_05_29144.jpg
/home/nano/Desktop/images/08032025/13/12/image_08032025_13_12_36_30142.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341858842","1341858849"],"photo_ids_order":["1341858842","1341858849"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/e99188af98e0707de1e474f4ba485758.jpg","text":"TemporaryFile(/tmp/multipartBody6597075755269575968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741436072949,"filename":"image_08032025_13_13_05_29144.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/c89163eb005c0ae6a13a5f5c85701ac5.jpg","text":"TemporaryFile(/tmp/multipartBody5659128804916983016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741436072949,"filename":"image_08032025_13_12_36_30142.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341858849","file0":"1341858842"},"map_files_photo_id_array":[{"photo_id":"1341858849","filename":"file1"},{"photo_id":"1341858842","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341858842":["hashtag1","hashtag2"]},{"1341858849":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341858842, 1341858849)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.811338186264038 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 13:14:03.355756
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 13:14:32.787521
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/13/13/image_08032025_13_14_06_30175.jpg', 2), ('/home/nano/Desktop/images/08032025/13/13/image_08032025_13_13_35_30162.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/13/13/image_08032025_13_14_06_30175.jpg', '/home/nano/Desktop/images/08032025/13/13/image_08032025_13_13_35_30162.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/13/13/image_08032025_13_14_06_30175.jpg
/home/nano/Desktop/images/08032025/13/13/image_08032025_13_13_35_30162.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341858892","1341858884"],"photo_ids_order":["1341858884","1341858892"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/a167d3ca724ef73cea936084d9a50688.jpg","text":"TemporaryFile(/tmp/multipartBody3752450951058689281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741436133117,"filename":"image_08032025_13_13_35_30162.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/4e33aea3d590c6e516a9e8dff0aca104.jpg","text":"TemporaryFile(/tmp/multipartBody3180651338142148945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741436133117,"filename":"image_08032025_13_14_06_30175.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1341858892","file0":"1341858884"},"map_files_photo_id_array":[{"photo_id":"1341858892","filename":"file1"},{"photo_id":"1341858884","filename":"file0"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341858892":["hashtag1","hashtag2"]},{"1341858884":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341858892, 1341858884)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.226968765258789 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 13:15:02.734961
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 13:15:31.925888
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 13:16:02.741064
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250222 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250223 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250224 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250225 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 13:16:32.037700
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/13/16/image_08032025_13_16_45_9987.jpg', 2), ('/home/nano/Desktop/images/08032025/13/16/image_08032025_13_16_35_9996.jpg', 2), ('/home/nano/Desktop/images/08032025/13/16/image_08032025_13_16_25_10020.jpg', 2), ('/home/nano/Desktop/images/08032025/13/16/image_08032025_13_16_15_10216.jpg', 2), ('/home/nano/Desktop/images/08032025/13/14/image_08032025_13_14_36_30145.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/13/16/image_08032025_13_16_45_9987.jpg', '/home/nano/Desktop/images/08032025/13/16/image_08032025_13_16_35_9996.jpg', '/home/nano/Desktop/images/08032025/13/16/image_08032025_13_16_25_10020.jpg', '/home/nano/Desktop/images/08032025/13/16/image_08032025_13_16_15_10216.jpg', '/home/nano/Desktop/images/08032025/13/14/image_08032025_13_14_36_30145.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/13/16/image_08032025_13_16_45_9987.jpg
/home/nano/Desktop/images/08032025/13/16/image_08032025_13_16_35_9996.jpg
/home/nano/Desktop/images/08032025/13/16/image_08032025_13_16_25_10020.jpg
/home/nano/Desktop/images/08032025/13/16/image_08032025_13_16_15_10216.jpg
/home/nano/Desktop/images/08032025/13/14/image_08032025_13_14_36_30145.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341859235","1341859285","1341859363","1341859312","1341859347"],"photo_ids_order":["1341859235","1341859285","1341859312","1341859347","1341859363"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/de8645bcd561080e6cfed0f3004a8cb8.jpg","text":"TemporaryFile(/tmp/multipartBody4179638802654390794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741436252459,"filename":"image_08032025_13_16_45_9987.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/9245e1eb3842fff3c127fa56ac0a7259.jpg","text":"TemporaryFile(/tmp/multipartBody5245297862514334758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741436252459,"filename":"image_08032025_13_16_35_9996.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/1cfc16d4af369b24aa1bb4676a4dbd60.jpg","text":"TemporaryFile(/tmp/multipartBody3570379572554915915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741436252459,"filename":"image_08032025_13_14_36_30145.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/65fd3ef240ce6f0dcfdccd3804755df9.jpg","text":"TemporaryFile(/tmp/multipartBody5997119097496664002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741436252459,"filename":"image_08032025_13_16_25_10020.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/2e622acd85c6c194aa3a83870e93df9c.jpg","text":"TemporaryFile(/tmp/multipartBody2615092158667897908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741436252459,"filename":"image_08032025_13_16_15_10216.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341859312","file1":"1341859285","file0":"1341859235","file4":"1341859363","file3":"1341859347"},"map_files_photo_id_array":[{"photo_id":"1341859312","filename":"file2"},{"photo_id":"1341859363","filename":"file4"},{"photo_id":"1341859285","filename":"file1"},{"photo_id":"1341859235","filename":"file0"},{"photo_id":"1341859347","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341859235":["hashtag1","hashtag2"]},{"1341859285":["hashtag1","hashtag2"]},{"1341859363":["hashtag1","hashtag2"]},{"1341859312":["hashtag1","hashtag2"]},{"1341859347":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341859235, 1341859285, 1341859363, 1341859312, 1341859347)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 30.547059535980225 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 13:17:32.135885
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/13/17/image_08032025_13_17_45_9995.jpg', 2), ('/home/nano/Desktop/images/08032025/13/17/image_08032025_13_17_35_9997.jpg', 2), ('/home/nano/Desktop/images/08032025/13/17/image_08032025_13_17_25_10004.jpg', 2), ('/home/nano/Desktop/images/08032025/13/17/image_08032025_13_17_15_10017.jpg', 2), ('/home/nano/Desktop/images/08032025/13/16/image_08032025_13_17_05_9999.jpg', 2), ('/home/nano/Desktop/images/08032025/13/16/image_08032025_13_16_55_9997.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/13/17/image_08032025_13_17_45_9995.jpg', '/home/nano/Desktop/images/08032025/13/17/image_08032025_13_17_35_9997.jpg', '/home/nano/Desktop/images/08032025/13/17/image_08032025_13_17_25_10004.jpg', '/home/nano/Desktop/images/08032025/13/17/image_08032025_13_17_15_10017.jpg', '/home/nano/Desktop/images/08032025/13/16/image_08032025_13_17_05_9999.jpg', '/home/nano/Desktop/images/08032025/13/16/image_08032025_13_16_55_9997.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/13/17/image_08032025_13_17_45_9995.jpg
/home/nano/Desktop/images/08032025/13/17/image_08032025_13_17_35_9997.jpg
/home/nano/Desktop/images/08032025/13/17/image_08032025_13_17_25_10004.jpg
/home/nano/Desktop/images/08032025/13/17/image_08032025_13_17_15_10017.jpg
/home/nano/Desktop/images/08032025/13/16/image_08032025_13_17_05_9999.jpg
/home/nano/Desktop/images/08032025/13/16/image_08032025_13_16_55_9997.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341859543","1341859569","1341859560","1341859551","1341859556","1341859565"],"photo_ids_order":["1341859543","1341859551","1341859556","1341859560","1341859565","1341859569"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/585a23280ffbe1253e7fbacd6b6f405b.jpg","text":"TemporaryFile(/tmp/multipartBody6466816884855541052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741436312587,"filename":"image_08032025_13_17_45_9995.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/09a27f7d2c254cfc1d84937b48353c15.jpg","text":"TemporaryFile(/tmp/multipartBody5584923569574995612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741436312587,"filename":"image_08032025_13_16_55_9997.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/11040aaa0673324f556f105c3cbb17e0.jpg","text":"TemporaryFile(/tmp/multipartBody1309477017955005716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741436312587,"filename":"image_08032025_13_17_15_10017.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/252e2d06a75953a95957e4520636fd24.jpg","text":"TemporaryFile(/tmp/multipartBody6497152849781235535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741436312587,"filename":"image_08032025_13_17_35_9997.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/8cf347215b0459494c4cbaee9db9d241.jpg","text":"TemporaryFile(/tmp/multipartBody580607462221939770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741436312587,"filename":"image_08032025_13_17_25_10004.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/b5edd163602c09563f132fbbeaa28d58.jpg","text":"TemporaryFile(/tmp/multipartBody6842548667947205681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741436312587,"filename":"image_08032025_13_17_05_9999.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341859556","file1":"1341859551","file0":"1341859543","file4":"1341859565","file5":"1341859569","file3":"1341859560"},"map_files_photo_id_array":[{"photo_id":"1341859569","filename":"file5"},{"photo_id":"1341859556","filename":"file2"},{"photo_id":"1341859565","filename":"file4"},{"photo_id":"1341859551","filename":"file1"},{"photo_id":"1341859543","filename":"file0"},{"photo_id":"1341859560","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341859543":["hashtag1","hashtag2"]},{"1341859569":["hashtag1","hashtag2"]},{"1341859560":["hashtag1","hashtag2"]},{"1341859551":["hashtag1","hashtag2"]},{"1341859556":["hashtag1","hashtag2"]},{"1341859565":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341859543, 1341859569, 1341859560, 1341859551, 1341859556, 1341859565)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.57199311256409 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 13:18:32.239584
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/13/18/image_08032025_13_18_45_9987.jpg', 2), ('/home/nano/Desktop/images/08032025/13/18/image_08032025_13_18_35_9986.jpg', 2), ('/home/nano/Desktop/images/08032025/13/18/image_08032025_13_18_25_10007.jpg', 2), ('/home/nano/Desktop/images/08032025/13/18/image_08032025_13_18_15_9991.jpg', 2), ('/home/nano/Desktop/images/08032025/13/17/image_08032025_13_18_05_10008.jpg', 2), ('/home/nano/Desktop/images/08032025/13/17/image_08032025_13_17_55_9996.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/13/18/image_08032025_13_18_45_9987.jpg', '/home/nano/Desktop/images/08032025/13/18/image_08032025_13_18_35_9986.jpg', '/home/nano/Desktop/images/08032025/13/18/image_08032025_13_18_25_10007.jpg', '/home/nano/Desktop/images/08032025/13/18/image_08032025_13_18_15_9991.jpg', '/home/nano/Desktop/images/08032025/13/17/image_08032025_13_18_05_10008.jpg', '/home/nano/Desktop/images/08032025/13/17/image_08032025_13_17_55_9996.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/13/18/image_08032025_13_18_45_9987.jpg
/home/nano/Desktop/images/08032025/13/18/image_08032025_13_18_35_9986.jpg
/home/nano/Desktop/images/08032025/13/18/image_08032025_13_18_25_10007.jpg
/home/nano/Desktop/images/08032025/13/18/image_08032025_13_18_15_9991.jpg
/home/nano/Desktop/images/08032025/13/17/image_08032025_13_18_05_10008.jpg
/home/nano/Desktop/images/08032025/13/17/image_08032025_13_17_55_9996.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341859610","1341859675","1341859786","1341859671","1341859635","1341859877"],"photo_ids_order":["1341859610","1341859635","1341859671","1341859675","1341859786","1341859877"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/d8dd6420f3228f21c99cf15d3f8b8514.jpg","text":"TemporaryFile(/tmp/multipartBody1371333588102594069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741436372703,"filename":"image_08032025_13_18_45_9987.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/986975e95b8167e15f7977077aee4ca7.jpg","text":"TemporaryFile(/tmp/multipartBody6931593762973570954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741436372703,"filename":"image_08032025_13_18_15_9991.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/c82a30643f4d8e5c734311f6ec0fb92a.jpg","text":"TemporaryFile(/tmp/multipartBody3810077174342159594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741436372703,"filename":"image_08032025_13_18_05_10008.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/6b6c4964b1587f71fed93e06d9707e7b.jpg","text":"TemporaryFile(/tmp/multipartBody8700927899269115002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741436372703,"filename":"image_08032025_13_18_25_10007.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/e75047fac462d48ed51b02aefa05e1c4.jpg","text":"TemporaryFile(/tmp/multipartBody3934820580404820072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741436372703,"filename":"image_08032025_13_18_35_9986.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/6d73a1d8bf5003c57621b0ae89489d66.jpg","text":"TemporaryFile(/tmp/multipartBody4211783085080164818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741436372703,"filename":"image_08032025_13_17_55_9996.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341859671","file1":"1341859635","file0":"1341859610","file4":"1341859786","file5":"1341859877","file3":"1341859675"},"map_files_photo_id_array":[{"photo_id":"1341859877","filename":"file5"},{"photo_id":"1341859671","filename":"file2"},{"photo_id":"1341859786","filename":"file4"},{"photo_id":"1341859635","filename":"file1"},{"photo_id":"1341859610","filename":"file0"},{"photo_id":"1341859675","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341859610":["hashtag1","hashtag2"]},{"1341859675":["hashtag1","hashtag2"]},{"1341859786":["hashtag1","hashtag2"]},{"1341859671":["hashtag1","hashtag2"]},{"1341859635":["hashtag1","hashtag2"]},{"1341859877":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341859610, 1341859675, 1341859786, 1341859671, 1341859635, 1341859877)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.2764618396759 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 13:19:32.347724
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/13/19/image_08032025_13_19_45_9966.jpg', 2), ('/home/nano/Desktop/images/08032025/13/19/image_08032025_13_19_35_9968.jpg', 2), ('/home/nano/Desktop/images/08032025/13/19/image_08032025_13_19_25_9952.jpg', 2), ('/home/nano/Desktop/images/08032025/13/19/image_08032025_13_19_15_9978.jpg', 2), ('/home/nano/Desktop/images/08032025/13/18/image_08032025_13_19_05_10002.jpg', 2), ('/home/nano/Desktop/images/08032025/13/18/image_08032025_13_18_55_9991.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/13/19/image_08032025_13_19_45_9966.jpg', '/home/nano/Desktop/images/08032025/13/19/image_08032025_13_19_35_9968.jpg', '/home/nano/Desktop/images/08032025/13/19/image_08032025_13_19_25_9952.jpg', '/home/nano/Desktop/images/08032025/13/19/image_08032025_13_19_15_9978.jpg', '/home/nano/Desktop/images/08032025/13/18/image_08032025_13_19_05_10002.jpg', '/home/nano/Desktop/images/08032025/13/18/image_08032025_13_18_55_9991.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/13/19/image_08032025_13_19_45_9966.jpg
/home/nano/Desktop/images/08032025/13/19/image_08032025_13_19_35_9968.jpg
/home/nano/Desktop/images/08032025/13/19/image_08032025_13_19_25_9952.jpg
/home/nano/Desktop/images/08032025/13/19/image_08032025_13_19_15_9978.jpg
/home/nano/Desktop/images/08032025/13/18/image_08032025_13_19_05_10002.jpg
/home/nano/Desktop/images/08032025/13/18/image_08032025_13_18_55_9991.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341860773","1341861039","1341861141","1341861135","1341860922","1341860876"],"photo_ids_order":["1341860773","1341860876","1341860922","1341861039","1341861135","1341861141"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/ef87ea6e2bfb74f32d5ce311a2550b4c.jpg","text":"TemporaryFile(/tmp/multipartBody4642397365590694472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741436432856,"filename":"image_08032025_13_19_45_9966.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/1dd68282acd392c1d2dfe614964c853f.jpg","text":"TemporaryFile(/tmp/multipartBody8798412381568583384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741436432856,"filename":"image_08032025_13_19_15_9978.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/b75b75c77cc3e23bd919662a6549d275.jpg","text":"TemporaryFile(/tmp/multipartBody810322547379147066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741436432856,"filename":"image_08032025_13_18_55_9991.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/1336d84099e4026ea6981bc123a78eae.jpg","text":"TemporaryFile(/tmp/multipartBody6979533804078099572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741436432856,"filename":"image_08032025_13_19_05_10002.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/066f1ebc6c15cbe44917ac45b49bd7f3.jpg","text":"TemporaryFile(/tmp/multipartBody5622010175664102238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741436432856,"filename":"image_08032025_13_19_25_9952.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/439181b8f77deed0bc29932a27fa2750.jpg","text":"TemporaryFile(/tmp/multipartBody6398795101828709019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741436432856,"filename":"image_08032025_13_19_35_9968.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341860922","file1":"1341860876","file0":"1341860773","file4":"1341861135","file5":"1341861141","file3":"1341861039"},"map_files_photo_id_array":[{"photo_id":"1341861141","filename":"file5"},{"photo_id":"1341860922","filename":"file2"},{"photo_id":"1341861135","filename":"file4"},{"photo_id":"1341860876","filename":"file1"},{"photo_id":"1341860773","filename":"file0"},{"photo_id":"1341861039","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341860773":["hashtag1","hashtag2"]},{"1341861039":["hashtag1","hashtag2"]},{"1341861141":["hashtag1","hashtag2"]},{"1341861135":["hashtag1","hashtag2"]},{"1341860922":["hashtag1","hashtag2"]},{"1341860876":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341860773, 1341861039, 1341861141, 1341861135, 1341860922, 1341860876)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.62760663032532 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 13:20:32.478352
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/13/20/image_08032025_13_20_45_9026.jpg', 2), ('/home/nano/Desktop/images/08032025/13/20/image_08032025_13_20_36_9973.jpg', 2), ('/home/nano/Desktop/images/08032025/13/20/image_08032025_13_20_26_10980.jpg', 2), ('/home/nano/Desktop/images/08032025/13/20/image_08032025_13_20_15_9973.jpg', 2), ('/home/nano/Desktop/images/08032025/13/19/image_08032025_13_20_05_9998.jpg', 2), ('/home/nano/Desktop/images/08032025/13/19/image_08032025_13_19_55_9975.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/13/20/image_08032025_13_20_45_9026.jpg', '/home/nano/Desktop/images/08032025/13/20/image_08032025_13_20_36_9973.jpg', '/home/nano/Desktop/images/08032025/13/20/image_08032025_13_20_26_10980.jpg', '/home/nano/Desktop/images/08032025/13/20/image_08032025_13_20_15_9973.jpg', '/home/nano/Desktop/images/08032025/13/19/image_08032025_13_20_05_9998.jpg', '/home/nano/Desktop/images/08032025/13/19/image_08032025_13_19_55_9975.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/13/20/image_08032025_13_20_45_9026.jpg
/home/nano/Desktop/images/08032025/13/20/image_08032025_13_20_36_9973.jpg
/home/nano/Desktop/images/08032025/13/20/image_08032025_13_20_26_10980.jpg
/home/nano/Desktop/images/08032025/13/20/image_08032025_13_20_15_9973.jpg
/home/nano/Desktop/images/08032025/13/19/image_08032025_13_20_05_9998.jpg
/home/nano/Desktop/images/08032025/13/19/image_08032025_13_19_55_9975.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341861206","1341861209","1341861214","1341861171","1341861201","1341861176"],"photo_ids_order":["1341861171","1341861176","1341861201","1341861206","1341861209","1341861214"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/83ba92825250046be89bbd41ae90491f.jpg","text":"TemporaryFile(/tmp/multipartBody4484273930201059857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741436493063,"filename":"image_08032025_13_20_15_9973.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/8436030af5321033c6e4da35ba48e186.jpg","text":"TemporaryFile(/tmp/multipartBody4421055285370317473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741436493063,"filename":"image_08032025_13_20_05_9998.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/6992048eeeb2a0c4c1476dbd3775d864.jpg","text":"TemporaryFile(/tmp/multipartBody8810166112836524006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741436493063,"filename":"image_08032025_13_19_55_9975.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/4cc829ac8882e9cdb9533d31317d6699.jpg","text":"TemporaryFile(/tmp/multipartBody7280056961927245736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741436493063,"filename":"image_08032025_13_20_45_9026.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/e5458437b655834dc6a00cea9e9ffd27.jpg","text":"TemporaryFile(/tmp/multipartBody7603970400347642479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741436493063,"filename":"image_08032025_13_20_26_10980.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/11d78438212b65a8c69b9fc0e8abba59.jpg","text":"TemporaryFile(/tmp/multipartBody9011328686247924797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741436493063,"filename":"image_08032025_13_20_36_9973.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341861201","file1":"1341861176","file0":"1341861171","file4":"1341861209","file5":"1341861214","file3":"1341861206"},"map_files_photo_id_array":[{"photo_id":"1341861214","filename":"file5"},{"photo_id":"1341861201","filename":"file2"},{"photo_id":"1341861209","filename":"file4"},{"photo_id":"1341861176","filename":"file1"},{"photo_id":"1341861171","filename":"file0"},{"photo_id":"1341861206","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341861206":["hashtag1","hashtag2"]},{"1341861209":["hashtag1","hashtag2"]},{"1341861214":["hashtag1","hashtag2"]},{"1341861171":["hashtag1","hashtag2"]},{"1341861201":["hashtag1","hashtag2"]},{"1341861176":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341861206, 1341861209, 1341861214, 1341861171, 1341861201, 1341861176)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.555784463882446 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 13:21:32.592916
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/13/21/image_08032025_13_21_45_10035.jpg', 2), ('/home/nano/Desktop/images/08032025/13/21/image_08032025_13_21_35_10019.jpg', 2), ('/home/nano/Desktop/images/08032025/13/21/image_08032025_13_21_25_10017.jpg', 2), ('/home/nano/Desktop/images/08032025/13/21/image_08032025_13_21_15_10026.jpg', 2), ('/home/nano/Desktop/images/08032025/13/20/image_08032025_13_21_05_10028.jpg', 2), ('/home/nano/Desktop/images/08032025/13/20/image_08032025_13_20_55_10017.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/13/21/image_08032025_13_21_45_10035.jpg', '/home/nano/Desktop/images/08032025/13/21/image_08032025_13_21_35_10019.jpg', '/home/nano/Desktop/images/08032025/13/21/image_08032025_13_21_25_10017.jpg', '/home/nano/Desktop/images/08032025/13/21/image_08032025_13_21_15_10026.jpg', '/home/nano/Desktop/images/08032025/13/20/image_08032025_13_21_05_10028.jpg', '/home/nano/Desktop/images/08032025/13/20/image_08032025_13_20_55_10017.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/13/21/image_08032025_13_21_45_10035.jpg
/home/nano/Desktop/images/08032025/13/21/image_08032025_13_21_35_10019.jpg
/home/nano/Desktop/images/08032025/13/21/image_08032025_13_21_25_10017.jpg
/home/nano/Desktop/images/08032025/13/21/image_08032025_13_21_15_10026.jpg
/home/nano/Desktop/images/08032025/13/20/image_08032025_13_21_05_10028.jpg
/home/nano/Desktop/images/08032025/13/20/image_08032025_13_20_55_10017.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341861829","1341861625","1341861706","1341861969","1341861834","1341861860"],"photo_ids_order":["1341861625","1341861706","1341861829","1341861834","1341861860","1341861969"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/edabee46bc9148333198d6dd84d6eb67.jpg","text":"TemporaryFile(/tmp/multipartBody2296424500240125806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741436553089,"filename":"image_08032025_13_21_25_10017.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/22474616f3088d5310e3376372cf048c.jpg","text":"TemporaryFile(/tmp/multipartBody140553170936365912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741436553089,"filename":"image_08032025_13_21_45_10035.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/18a2292430b0d486f8ab7e72b66a3b1c.jpg","text":"TemporaryFile(/tmp/multipartBody3849143412757598854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741436553089,"filename":"image_08032025_13_21_35_10019.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/370dd927ab555d3f2c6087b763b26146.jpg","text":"TemporaryFile(/tmp/multipartBody3430770395602721364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741436553089,"filename":"image_08032025_13_20_55_10017.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/b0d260051be701b5fb96b5afcf04c942.jpg","text":"TemporaryFile(/tmp/multipartBody1111613954154114779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741436553089,"filename":"image_08032025_13_21_15_10026.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/69d10caf56f131777a1af45f7b7e7379.jpg","text":"TemporaryFile(/tmp/multipartBody6341986569789147023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741436553089,"filename":"image_08032025_13_21_05_10028.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341861829","file1":"1341861706","file0":"1341861625","file4":"1341861860","file5":"1341861969","file3":"1341861834"},"map_files_photo_id_array":[{"photo_id":"1341861969","filename":"file5"},{"photo_id":"1341861829","filename":"file2"},{"photo_id":"1341861860","filename":"file4"},{"photo_id":"1341861706","filename":"file1"},{"photo_id":"1341861625","filename":"file0"},{"photo_id":"1341861834","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341861829":["hashtag1","hashtag2"]},{"1341861625":["hashtag1","hashtag2"]},{"1341861706":["hashtag1","hashtag2"]},{"1341861969":["hashtag1","hashtag2"]},{"1341861834":["hashtag1","hashtag2"]},{"1341861860":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341861829, 1341861625, 1341861706, 1341861969, 1341861834, 1341861860)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.441855669021606 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 13:22:32.719787
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/13/22/image_08032025_13_22_45_10044.jpg', 2), ('/home/nano/Desktop/images/08032025/13/22/image_08032025_13_22_35_10031.jpg', 2), ('/home/nano/Desktop/images/08032025/13/22/image_08032025_13_22_25_10022.jpg', 2), ('/home/nano/Desktop/images/08032025/13/22/image_08032025_13_22_15_10026.jpg', 2), ('/home/nano/Desktop/images/08032025/13/21/image_08032025_13_22_05_10049.jpg', 2), ('/home/nano/Desktop/images/08032025/13/21/image_08032025_13_21_55_10038.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/13/22/image_08032025_13_22_45_10044.jpg', '/home/nano/Desktop/images/08032025/13/22/image_08032025_13_22_35_10031.jpg', '/home/nano/Desktop/images/08032025/13/22/image_08032025_13_22_25_10022.jpg', '/home/nano/Desktop/images/08032025/13/22/image_08032025_13_22_15_10026.jpg', '/home/nano/Desktop/images/08032025/13/21/image_08032025_13_22_05_10049.jpg', '/home/nano/Desktop/images/08032025/13/21/image_08032025_13_21_55_10038.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/13/22/image_08032025_13_22_45_10044.jpg
/home/nano/Desktop/images/08032025/13/22/image_08032025_13_22_35_10031.jpg
/home/nano/Desktop/images/08032025/13/22/image_08032025_13_22_25_10022.jpg
/home/nano/Desktop/images/08032025/13/22/image_08032025_13_22_15_10026.jpg
/home/nano/Desktop/images/08032025/13/21/image_08032025_13_22_05_10049.jpg
/home/nano/Desktop/images/08032025/13/21/image_08032025_13_21_55_10038.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341863020","1341863190","1341862729","1341863337","1341863291","1341862855"],"photo_ids_order":["1341862729","1341862855","1341863020","1341863190","1341863291","1341863337"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/d531e13a442e95566c4ab0f9dc333dca.jpg","text":"TemporaryFile(/tmp/multipartBody7714598286460236826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741436613255,"filename":"image_08032025_13_22_25_10022.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/bd7c5ff576d0d37b35de9f72fe5830d3.jpg","text":"TemporaryFile(/tmp/multipartBody8994736415846189658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741436613255,"filename":"image_08032025_13_22_15_10026.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/8dac393dc1b032b47f7c484ab3d2ae7b.jpg","text":"TemporaryFile(/tmp/multipartBody3666290191347426328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741436613255,"filename":"image_08032025_13_22_45_10044.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/475f51084ff508a03ceacb0282d230f4.jpg","text":"TemporaryFile(/tmp/multipartBody185315148809945955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741436613255,"filename":"image_08032025_13_21_55_10038.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/6752b00b8a913aa7a47f85670ef984da.jpg","text":"TemporaryFile(/tmp/multipartBody3904016390692789262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741436613255,"filename":"image_08032025_13_22_05_10049.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/b4feefad33d91cb7e094d232c171df68.jpg","text":"TemporaryFile(/tmp/multipartBody8539688445229661567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741436613255,"filename":"image_08032025_13_22_35_10031.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341863020","file1":"1341862855","file0":"1341862729","file4":"1341863291","file5":"1341863337","file3":"1341863190"},"map_files_photo_id_array":[{"photo_id":"1341863337","filename":"file5"},{"photo_id":"1341863020","filename":"file2"},{"photo_id":"1341863291","filename":"file4"},{"photo_id":"1341862855","filename":"file1"},{"photo_id":"1341862729","filename":"file0"},{"photo_id":"1341863190","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341863020":["hashtag1","hashtag2"]},{"1341863190":["hashtag1","hashtag2"]},{"1341862729":["hashtag1","hashtag2"]},{"1341863337":["hashtag1","hashtag2"]},{"1341863291":["hashtag1","hashtag2"]},{"1341862855":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341863020, 1341863190, 1341862729, 1341863337, 1341863291, 1341862855)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.16193985939026 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 13:23:31.896654
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/13/23/image_08032025_13_23_45_10040.jpg', 2), ('/home/nano/Desktop/images/08032025/13/23/image_08032025_13_23_35_10038.jpg', 2), ('/home/nano/Desktop/images/08032025/13/23/image_08032025_13_23_25_10023.jpg', 2), ('/home/nano/Desktop/images/08032025/13/23/image_08032025_13_23_15_10040.jpg', 2), ('/home/nano/Desktop/images/08032025/13/22/image_08032025_13_23_05_10028.jpg', 2), ('/home/nano/Desktop/images/08032025/13/22/image_08032025_13_22_55_10043.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/13/23/image_08032025_13_23_45_10040.jpg', '/home/nano/Desktop/images/08032025/13/23/image_08032025_13_23_35_10038.jpg', '/home/nano/Desktop/images/08032025/13/23/image_08032025_13_23_25_10023.jpg', '/home/nano/Desktop/images/08032025/13/23/image_08032025_13_23_15_10040.jpg', '/home/nano/Desktop/images/08032025/13/22/image_08032025_13_23_05_10028.jpg', '/home/nano/Desktop/images/08032025/13/22/image_08032025_13_22_55_10043.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/13/23/image_08032025_13_23_45_10040.jpg
/home/nano/Desktop/images/08032025/13/23/image_08032025_13_23_35_10038.jpg
/home/nano/Desktop/images/08032025/13/23/image_08032025_13_23_25_10023.jpg
/home/nano/Desktop/images/08032025/13/23/image_08032025_13_23_15_10040.jpg
/home/nano/Desktop/images/08032025/13/22/image_08032025_13_23_05_10028.jpg
/home/nano/Desktop/images/08032025/13/22/image_08032025_13_22_55_10043.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341864489","1341864252","1341864082","1341863852","1341863831","1341864382"],"photo_ids_order":["1341863831","1341863852","1341864082","1341864252","1341864382","1341864489"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/5ba3f3e4e8162ba5fee9788f6a444092.jpg","text":"TemporaryFile(/tmp/multipartBody6930483316003975936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741436672350,"filename":"image_08032025_13_22_55_10043.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/e3e84feee653cccc120c92478ad8e4f2.jpg","text":"TemporaryFile(/tmp/multipartBody5599737507335894158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741436672350,"filename":"image_08032025_13_23_15_10040.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/a9804a9c628d0b6780220410f52afda4.jpg","text":"TemporaryFile(/tmp/multipartBody3406071838903332148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741436672350,"filename":"image_08032025_13_23_25_10023.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/b2be6dc45a86299a3049645da0419c70.jpg","text":"TemporaryFile(/tmp/multipartBody6904989050669225126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741436672350,"filename":"image_08032025_13_23_35_10038.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/328b58b6908228b56f521b00fb8bc090.jpg","text":"TemporaryFile(/tmp/multipartBody3673402519485528573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741436672350,"filename":"image_08032025_13_23_45_10040.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/4a163b703a239af74238f7d2101d12b7.jpg","text":"TemporaryFile(/tmp/multipartBody7765479074847136733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741436672350,"filename":"image_08032025_13_23_05_10028.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341864082","file1":"1341863852","file0":"1341863831","file4":"1341864382","file5":"1341864489","file3":"1341864252"},"map_files_photo_id_array":[{"photo_id":"1341864489","filename":"file5"},{"photo_id":"1341864082","filename":"file2"},{"photo_id":"1341864382","filename":"file4"},{"photo_id":"1341863852","filename":"file1"},{"photo_id":"1341863831","filename":"file0"},{"photo_id":"1341864252","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341864489":["hashtag1","hashtag2"]},{"1341864252":["hashtag1","hashtag2"]},{"1341864082":["hashtag1","hashtag2"]},{"1341863852":["hashtag1","hashtag2"]},{"1341863831":["hashtag1","hashtag2"]},{"1341864382":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341864489, 1341864252, 1341864082, 1341863852, 1341863831, 1341864382)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.029783964157104 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 13:24:32.043871
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/13/24/image_08032025_13_24_45_10014.jpg', 2), ('/home/nano/Desktop/images/08032025/13/24/image_08032025_13_24_35_10012.jpg', 2), ('/home/nano/Desktop/images/08032025/13/24/image_08032025_13_24_25_10014.jpg', 2), ('/home/nano/Desktop/images/08032025/13/24/image_08032025_13_24_15_10014.jpg', 2), ('/home/nano/Desktop/images/08032025/13/23/image_08032025_13_24_05_10034.jpg', 2), ('/home/nano/Desktop/images/08032025/13/23/image_08032025_13_23_55_10015.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/13/24/image_08032025_13_24_45_10014.jpg', '/home/nano/Desktop/images/08032025/13/24/image_08032025_13_24_35_10012.jpg', '/home/nano/Desktop/images/08032025/13/24/image_08032025_13_24_25_10014.jpg', '/home/nano/Desktop/images/08032025/13/24/image_08032025_13_24_15_10014.jpg', '/home/nano/Desktop/images/08032025/13/23/image_08032025_13_24_05_10034.jpg', '/home/nano/Desktop/images/08032025/13/23/image_08032025_13_23_55_10015.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/13/24/image_08032025_13_24_45_10014.jpg
/home/nano/Desktop/images/08032025/13/24/image_08032025_13_24_35_10012.jpg
/home/nano/Desktop/images/08032025/13/24/image_08032025_13_24_25_10014.jpg
/home/nano/Desktop/images/08032025/13/24/image_08032025_13_24_15_10014.jpg
/home/nano/Desktop/images/08032025/13/23/image_08032025_13_24_05_10034.jpg
/home/nano/Desktop/images/08032025/13/23/image_08032025_13_23_55_10015.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.3990612030029297 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 marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 13:25:02.794921
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/13/24/image_08032025_13_24_45_10014.jpg', 2), ('/home/nano/Desktop/images/08032025/13/24/image_08032025_13_24_35_10012.jpg', 2), ('/home/nano/Desktop/images/08032025/13/24/image_08032025_13_24_25_10014.jpg', 2), ('/home/nano/Desktop/images/08032025/13/24/image_08032025_13_24_15_10014.jpg', 2), ('/home/nano/Desktop/images/08032025/13/23/image_08032025_13_24_05_10034.jpg', 2), ('/home/nano/Desktop/images/08032025/13/23/image_08032025_13_23_55_10015.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/13/24/image_08032025_13_24_45_10014.jpg', '/home/nano/Desktop/images/08032025/13/24/image_08032025_13_24_35_10012.jpg', '/home/nano/Desktop/images/08032025/13/24/image_08032025_13_24_25_10014.jpg', '/home/nano/Desktop/images/08032025/13/24/image_08032025_13_24_15_10014.jpg', '/home/nano/Desktop/images/08032025/13/23/image_08032025_13_24_05_10034.jpg', '/home/nano/Desktop/images/08032025/13/23/image_08032025_13_23_55_10015.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/13/24/image_08032025_13_24_45_10014.jpg
/home/nano/Desktop/images/08032025/13/24/image_08032025_13_24_35_10012.jpg
/home/nano/Desktop/images/08032025/13/24/image_08032025_13_24_25_10014.jpg
/home/nano/Desktop/images/08032025/13/24/image_08032025_13_24_15_10014.jpg
/home/nano/Desktop/images/08032025/13/23/image_08032025_13_24_05_10034.jpg
/home/nano/Desktop/images/08032025/13/23/image_08032025_13_23_55_10015.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341865224","1341865376","1341865265","1341865166","1341865340","1341865327"],"photo_ids_order":["1341865166","1341865224","1341865265","1341865327","1341865340","1341865376"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/8edd4d6ff3e3c569a77d2cbe2cccff05.jpg","text":"TemporaryFile(/tmp/multipartBody2130145431315914001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741436763284,"filename":"image_08032025_13_24_35_10012.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/171ac18a34e97a8226788d03252050d4.jpg","text":"TemporaryFile(/tmp/multipartBody2397189879369169138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741436763284,"filename":"image_08032025_13_23_55_10015.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/c968cb06eed5b3600d718dfafd96f85c.jpg","text":"TemporaryFile(/tmp/multipartBody61829968946404286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741436763284,"filename":"image_08032025_13_24_25_10014.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/6a6b02706bdae79a3f5ed2cb0ebfef54.jpg","text":"TemporaryFile(/tmp/multipartBody4224192603729789252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741436763284,"filename":"image_08032025_13_24_45_10014.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/ee2ef8f35b764d7a9deb8461654fc6d7.jpg","text":"TemporaryFile(/tmp/multipartBody6373171828169140877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741436763284,"filename":"image_08032025_13_24_05_10034.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/1efd2ed255ee8451923b5eeb4dbc5b6b.jpg","text":"TemporaryFile(/tmp/multipartBody3596281818735522667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741436763284,"filename":"image_08032025_13_24_15_10014.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341865265","file1":"1341865224","file0":"1341865166","file4":"1341865340","file5":"1341865376","file3":"1341865327"},"map_files_photo_id_array":[{"photo_id":"1341865376","filename":"file5"},{"photo_id":"1341865265","filename":"file2"},{"photo_id":"1341865340","filename":"file4"},{"photo_id":"1341865224","filename":"file1"},{"photo_id":"1341865166","filename":"file0"},{"photo_id":"1341865327","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341865224":["hashtag1","hashtag2"]},{"1341865376":["hashtag1","hashtag2"]},{"1341865265":["hashtag1","hashtag2"]},{"1341865166":["hashtag1","hashtag2"]},{"1341865340":["hashtag1","hashtag2"]},{"1341865327":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341865224, 1341865376, 1341865265, 1341865166, 1341865340, 1341865327)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.52275729179382 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 13:26:03.121682
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/13/25/image_08032025_13_25_45_10043.jpg', 2), ('/home/nano/Desktop/images/08032025/13/25/image_08032025_13_25_35_10018.jpg', 2), ('/home/nano/Desktop/images/08032025/13/25/image_08032025_13_25_25_10013.jpg', 2), ('/home/nano/Desktop/images/08032025/13/25/image_08032025_13_25_15_10013.jpg', 2), ('/home/nano/Desktop/images/08032025/13/24/image_08032025_13_25_05_10038.jpg', 2), ('/home/nano/Desktop/images/08032025/13/24/image_08032025_13_24_55_10014.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/13/25/image_08032025_13_25_45_10043.jpg', '/home/nano/Desktop/images/08032025/13/25/image_08032025_13_25_35_10018.jpg', '/home/nano/Desktop/images/08032025/13/25/image_08032025_13_25_25_10013.jpg', '/home/nano/Desktop/images/08032025/13/25/image_08032025_13_25_15_10013.jpg', '/home/nano/Desktop/images/08032025/13/24/image_08032025_13_25_05_10038.jpg', '/home/nano/Desktop/images/08032025/13/24/image_08032025_13_24_55_10014.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/13/25/image_08032025_13_25_45_10043.jpg
/home/nano/Desktop/images/08032025/13/25/image_08032025_13_25_35_10018.jpg
/home/nano/Desktop/images/08032025/13/25/image_08032025_13_25_25_10013.jpg
/home/nano/Desktop/images/08032025/13/25/image_08032025_13_25_15_10013.jpg
/home/nano/Desktop/images/08032025/13/24/image_08032025_13_25_05_10038.jpg
/home/nano/Desktop/images/08032025/13/24/image_08032025_13_24_55_10014.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341865655","1341865687","1341865631","1341865702","1341865674","1341865725"],"photo_ids_order":["1341865631","1341865655","1341865674","1341865687","1341865702","1341865725"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/c95b4a803ed80d50fe78ca82c1861f7e.jpg","text":"TemporaryFile(/tmp/multipartBody7620616669074123469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741436823592,"filename":"image_08032025_13_25_35_10018.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/929860efa010b07e01b8d6f811552347.jpg","text":"TemporaryFile(/tmp/multipartBody938776246977159124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741436823592,"filename":"image_08032025_13_25_15_10013.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/c4decabb7d65ac5706d8bc8bd2ca2572.jpg","text":"TemporaryFile(/tmp/multipartBody6868293039023699689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741436823592,"filename":"image_08032025_13_25_45_10043.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/387add4047211e70be194827c87730ad.jpg","text":"TemporaryFile(/tmp/multipartBody1519989276705968550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741436823592,"filename":"image_08032025_13_25_05_10038.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/62081b983fa624ed2ff1c30060623fc0.jpg","text":"TemporaryFile(/tmp/multipartBody6383908078145820604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741436823592,"filename":"image_08032025_13_25_25_10013.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/bac89bc0e33da799bcf589f8b1a4ba78.jpg","text":"TemporaryFile(/tmp/multipartBody7358252145358762539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741436823592,"filename":"image_08032025_13_24_55_10014.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341865674","file1":"1341865655","file0":"1341865631","file4":"1341865702","file5":"1341865725","file3":"1341865687"},"map_files_photo_id_array":[{"photo_id":"1341865725","filename":"file5"},{"photo_id":"1341865674","filename":"file2"},{"photo_id":"1341865702","filename":"file4"},{"photo_id":"1341865655","filename":"file1"},{"photo_id":"1341865631","filename":"file0"},{"photo_id":"1341865687","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341865655":["hashtag1","hashtag2"]},{"1341865687":["hashtag1","hashtag2"]},{"1341865631":["hashtag1","hashtag2"]},{"1341865702":["hashtag1","hashtag2"]},{"1341865674":["hashtag1","hashtag2"]},{"1341865725":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341865655, 1341865687, 1341865631, 1341865702, 1341865674, 1341865725)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.05309534072876 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 13:27:02.776867
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/13/26/image_08032025_13_26_46_10022.jpg', 2), ('/home/nano/Desktop/images/08032025/13/26/image_08032025_13_26_36_10016.jpg', 2), ('/home/nano/Desktop/images/08032025/13/26/image_08032025_13_26_26_10013.jpg', 2), ('/home/nano/Desktop/images/08032025/13/26/image_08032025_13_26_16_10014.jpg', 2), ('/home/nano/Desktop/images/08032025/13/25/image_08032025_13_26_05_10050.jpg', 2), ('/home/nano/Desktop/images/08032025/13/25/image_08032025_13_25_55_10043.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/13/26/image_08032025_13_26_46_10022.jpg', '/home/nano/Desktop/images/08032025/13/26/image_08032025_13_26_36_10016.jpg', '/home/nano/Desktop/images/08032025/13/26/image_08032025_13_26_26_10013.jpg', '/home/nano/Desktop/images/08032025/13/26/image_08032025_13_26_16_10014.jpg', '/home/nano/Desktop/images/08032025/13/25/image_08032025_13_26_05_10050.jpg', '/home/nano/Desktop/images/08032025/13/25/image_08032025_13_25_55_10043.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/13/26/image_08032025_13_26_46_10022.jpg
/home/nano/Desktop/images/08032025/13/26/image_08032025_13_26_36_10016.jpg
/home/nano/Desktop/images/08032025/13/26/image_08032025_13_26_26_10013.jpg
/home/nano/Desktop/images/08032025/13/26/image_08032025_13_26_16_10014.jpg
/home/nano/Desktop/images/08032025/13/25/image_08032025_13_26_05_10050.jpg
/home/nano/Desktop/images/08032025/13/25/image_08032025_13_25_55_10043.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341866159","1341866066","1341866147","1341866128","1341866118","1341866087"],"photo_ids_order":["1341866066","1341866087","1341866118","1341866128","1341866147","1341866159"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/2d357f54718eadf100e6b6a11cf20399.jpg","text":"TemporaryFile(/tmp/multipartBody6634477305099419077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741436883234,"filename":"image_08032025_13_25_55_10043.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/26bf0358cd72278c79085e735acd9bd8.jpg","text":"TemporaryFile(/tmp/multipartBody7743552097831448859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741436883234,"filename":"image_08032025_13_26_46_10022.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/8bd9fba37c25fa9fa17143b9a4ac60c6.jpg","text":"TemporaryFile(/tmp/multipartBody1756274077880390184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741436883234,"filename":"image_08032025_13_26_05_10050.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/faa3237a9c61f73d82da565d95aedd2f.jpg","text":"TemporaryFile(/tmp/multipartBody8339601918677870519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741436883234,"filename":"image_08032025_13_26_16_10014.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/457d876383ac53afc7fa04b3801ff383.jpg","text":"TemporaryFile(/tmp/multipartBody7822099778455341258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741436883234,"filename":"image_08032025_13_26_26_10013.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/0e9704e5ec134845582304aa98c797ff.jpg","text":"TemporaryFile(/tmp/multipartBody4571663981547316028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741436883234,"filename":"image_08032025_13_26_36_10016.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341866118","file1":"1341866087","file0":"1341866066","file4":"1341866147","file5":"1341866159","file3":"1341866128"},"map_files_photo_id_array":[{"photo_id":"1341866159","filename":"file5"},{"photo_id":"1341866118","filename":"file2"},{"photo_id":"1341866147","filename":"file4"},{"photo_id":"1341866087","filename":"file1"},{"photo_id":"1341866066","filename":"file0"},{"photo_id":"1341866128","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341866159":["hashtag1","hashtag2"]},{"1341866066":["hashtag1","hashtag2"]},{"1341866147":["hashtag1","hashtag2"]},{"1341866128":["hashtag1","hashtag2"]},{"1341866118":["hashtag1","hashtag2"]},{"1341866087":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341866159, 1341866066, 1341866147, 1341866128, 1341866118, 1341866087)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.525418519973755 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 13:28:03.156689
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/13/27/image_08032025_13_27_45_10015.jpg', 2), ('/home/nano/Desktop/images/08032025/13/27/image_08032025_13_27_35_10019.jpg', 2), ('/home/nano/Desktop/images/08032025/13/27/image_08032025_13_27_25_10018.jpg', 2), ('/home/nano/Desktop/images/08032025/13/27/image_08032025_13_27_15_10027.jpg', 2), ('/home/nano/Desktop/images/08032025/13/26/image_08032025_13_27_05_9043.jpg', 2), ('/home/nano/Desktop/images/08032025/13/26/image_08032025_13_26_56_10014.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/13/27/image_08032025_13_27_45_10015.jpg', '/home/nano/Desktop/images/08032025/13/27/image_08032025_13_27_35_10019.jpg', '/home/nano/Desktop/images/08032025/13/27/image_08032025_13_27_25_10018.jpg', '/home/nano/Desktop/images/08032025/13/27/image_08032025_13_27_15_10027.jpg', '/home/nano/Desktop/images/08032025/13/26/image_08032025_13_27_05_9043.jpg', '/home/nano/Desktop/images/08032025/13/26/image_08032025_13_26_56_10014.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/13/27/image_08032025_13_27_45_10015.jpg
/home/nano/Desktop/images/08032025/13/27/image_08032025_13_27_35_10019.jpg
/home/nano/Desktop/images/08032025/13/27/image_08032025_13_27_25_10018.jpg
/home/nano/Desktop/images/08032025/13/27/image_08032025_13_27_15_10027.jpg
/home/nano/Desktop/images/08032025/13/26/image_08032025_13_27_05_9043.jpg
/home/nano/Desktop/images/08032025/13/26/image_08032025_13_26_56_10014.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341866485","1341866419","1341866521","1341866442","1341866370","1341866517"],"photo_ids_order":["1341866370","1341866419","1341866442","1341866485","1341866517","1341866521"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/7da9ccb261d75036d4a5dbef15f996a2.jpg","text":"TemporaryFile(/tmp/multipartBody3583678533945030125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741436943641,"filename":"image_08032025_13_27_15_10027.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/49b789f6b30a4bad3602881e5aab093d.jpg","text":"TemporaryFile(/tmp/multipartBody4278265759263099975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741436943641,"filename":"image_08032025_13_27_35_10019.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/64048d0d454b1b7dffe7272a28c58098.jpg","text":"TemporaryFile(/tmp/multipartBody8834876060904355576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741436943641,"filename":"image_08032025_13_26_56_10014.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/d28f61151f00bd114622ac25d1e213df.jpg","text":"TemporaryFile(/tmp/multipartBody114621553670496699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741436943641,"filename":"image_08032025_13_27_25_10018.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/9836b12272006ea3eb572a40c06e2bdc.jpg","text":"TemporaryFile(/tmp/multipartBody8714624194095696494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741436943641,"filename":"image_08032025_13_27_45_10015.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/ab962b67063994bf05ce949af4f1a04c.jpg","text":"TemporaryFile(/tmp/multipartBody5264247186124159414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741436943641,"filename":"image_08032025_13_27_05_9043.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341866442","file1":"1341866419","file0":"1341866370","file4":"1341866517","file5":"1341866521","file3":"1341866485"},"map_files_photo_id_array":[{"photo_id":"1341866521","filename":"file5"},{"photo_id":"1341866442","filename":"file2"},{"photo_id":"1341866517","filename":"file4"},{"photo_id":"1341866419","filename":"file1"},{"photo_id":"1341866370","filename":"file0"},{"photo_id":"1341866485","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341866485":["hashtag1","hashtag2"]},{"1341866419":["hashtag1","hashtag2"]},{"1341866521":["hashtag1","hashtag2"]},{"1341866442":["hashtag1","hashtag2"]},{"1341866370":["hashtag1","hashtag2"]},{"1341866517":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341866485, 1341866419, 1341866521, 1341866442, 1341866370, 1341866517)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.91011643409729 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 13:29:03.673796
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/13/28/image_08032025_13_28_45_10013.jpg', 2), ('/home/nano/Desktop/images/08032025/13/28/image_08032025_13_28_35_10009.jpg', 2), ('/home/nano/Desktop/images/08032025/13/28/image_08032025_13_28_25_10025.jpg', 2), ('/home/nano/Desktop/images/08032025/13/28/image_08032025_13_28_15_10017.jpg', 2), ('/home/nano/Desktop/images/08032025/13/27/image_08032025_13_28_05_10028.jpg', 2), ('/home/nano/Desktop/images/08032025/13/27/image_08032025_13_27_55_10012.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/13/28/image_08032025_13_28_45_10013.jpg', '/home/nano/Desktop/images/08032025/13/28/image_08032025_13_28_35_10009.jpg', '/home/nano/Desktop/images/08032025/13/28/image_08032025_13_28_25_10025.jpg', '/home/nano/Desktop/images/08032025/13/28/image_08032025_13_28_15_10017.jpg', '/home/nano/Desktop/images/08032025/13/27/image_08032025_13_28_05_10028.jpg', '/home/nano/Desktop/images/08032025/13/27/image_08032025_13_27_55_10012.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/13/28/image_08032025_13_28_45_10013.jpg
/home/nano/Desktop/images/08032025/13/28/image_08032025_13_28_35_10009.jpg
/home/nano/Desktop/images/08032025/13/28/image_08032025_13_28_25_10025.jpg
/home/nano/Desktop/images/08032025/13/28/image_08032025_13_28_15_10017.jpg
/home/nano/Desktop/images/08032025/13/27/image_08032025_13_28_05_10028.jpg
/home/nano/Desktop/images/08032025/13/27/image_08032025_13_27_55_10012.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341866606","1341866735","1341866620","1341866604","1341866594","1341866597"],"photo_ids_order":["1341866594","1341866597","1341866604","1341866606","1341866620","1341866735"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/e3ce30ebb780335f99e994d8a14f22c5.jpg","text":"TemporaryFile(/tmp/multipartBody5896608398475538259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741437004108,"filename":"image_08032025_13_28_15_10017.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/aefd543400c5dff1639b0a71009b6b17.jpg","text":"TemporaryFile(/tmp/multipartBody7097579639955233660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741437004108,"filename":"image_08032025_13_27_55_10012.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/59f5c1d128fff3663d5e2b7c85933600.jpg","text":"TemporaryFile(/tmp/multipartBody4702997717220350814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741437004108,"filename":"image_08032025_13_28_05_10028.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/b638833189662edd17a401b4d4f7fa8e.jpg","text":"TemporaryFile(/tmp/multipartBody3128171215426619573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741437004108,"filename":"image_08032025_13_28_25_10025.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/6c6a010d02226ba822f54f86885f7490.jpg","text":"TemporaryFile(/tmp/multipartBody6679339845257486725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741437004108,"filename":"image_08032025_13_28_45_10013.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/efcf84a06a3860e0159a5f111d555771.jpg","text":"TemporaryFile(/tmp/multipartBody1101867731766393962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741437004108,"filename":"image_08032025_13_28_35_10009.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341866604","file1":"1341866597","file0":"1341866594","file4":"1341866620","file5":"1341866735","file3":"1341866606"},"map_files_photo_id_array":[{"photo_id":"1341866735","filename":"file5"},{"photo_id":"1341866604","filename":"file2"},{"photo_id":"1341866620","filename":"file4"},{"photo_id":"1341866597","filename":"file1"},{"photo_id":"1341866594","filename":"file0"},{"photo_id":"1341866606","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341866606":["hashtag1","hashtag2"]},{"1341866735":["hashtag1","hashtag2"]},{"1341866620":["hashtag1","hashtag2"]},{"1341866604":["hashtag1","hashtag2"]},{"1341866594":["hashtag1","hashtag2"]},{"1341866597":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341866606, 1341866735, 1341866620, 1341866604, 1341866594, 1341866597)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.08920645713806 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 13:30:03.389041
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/13/29/image_08032025_13_29_45_10049.jpg', 2), ('/home/nano/Desktop/images/08032025/13/29/image_08032025_13_29_35_10016.jpg', 2), ('/home/nano/Desktop/images/08032025/13/29/image_08032025_13_29_25_10010.jpg', 2), ('/home/nano/Desktop/images/08032025/13/29/image_08032025_13_29_15_10009.jpg', 2), ('/home/nano/Desktop/images/08032025/13/28/image_08032025_13_29_05_10031.jpg', 2), ('/home/nano/Desktop/images/08032025/13/28/image_08032025_13_28_55_10010.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/13/29/image_08032025_13_29_45_10049.jpg', '/home/nano/Desktop/images/08032025/13/29/image_08032025_13_29_35_10016.jpg', '/home/nano/Desktop/images/08032025/13/29/image_08032025_13_29_25_10010.jpg', '/home/nano/Desktop/images/08032025/13/29/image_08032025_13_29_15_10009.jpg', '/home/nano/Desktop/images/08032025/13/28/image_08032025_13_29_05_10031.jpg', '/home/nano/Desktop/images/08032025/13/28/image_08032025_13_28_55_10010.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/13/29/image_08032025_13_29_45_10049.jpg
/home/nano/Desktop/images/08032025/13/29/image_08032025_13_29_35_10016.jpg
/home/nano/Desktop/images/08032025/13/29/image_08032025_13_29_25_10010.jpg
/home/nano/Desktop/images/08032025/13/29/image_08032025_13_29_15_10009.jpg
/home/nano/Desktop/images/08032025/13/28/image_08032025_13_29_05_10031.jpg
/home/nano/Desktop/images/08032025/13/28/image_08032025_13_28_55_10010.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341866851","1341867043","1341867022","1341866842","1341866928","1341866984"],"photo_ids_order":["1341866842","1341866851","1341866928","1341866984","1341867022","1341867043"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/5ea91bb9eb635920ef5252373087ed99.jpg","text":"TemporaryFile(/tmp/multipartBody469232878928487024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741437063854,"filename":"image_08032025_13_29_35_10016.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/40150fb307ca0a4619682c4779f8f3f2.jpg","text":"TemporaryFile(/tmp/multipartBody751556123031263684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741437063854,"filename":"image_08032025_13_28_55_10010.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/08565ed6500db95e13bb64c7f762d45a.jpg","text":"TemporaryFile(/tmp/multipartBody2851538795341417292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741437063854,"filename":"image_08032025_13_29_05_10031.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/e0d2e4c2ae9507eef073650b8426684d.jpg","text":"TemporaryFile(/tmp/multipartBody7723444907816058130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741437063854,"filename":"image_08032025_13_29_45_10049.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/782fd3ebb4616cc59445f4397165e330.jpg","text":"TemporaryFile(/tmp/multipartBody7833272023608206638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741437063854,"filename":"image_08032025_13_29_25_10010.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/dbbf5affafa94803cbd067f39087691e.jpg","text":"TemporaryFile(/tmp/multipartBody1925700902026531717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741437063854,"filename":"image_08032025_13_29_15_10009.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341866928","file1":"1341866851","file0":"1341866842","file4":"1341867022","file5":"1341867043","file3":"1341866984"},"map_files_photo_id_array":[{"photo_id":"1341867043","filename":"file5"},{"photo_id":"1341866928","filename":"file2"},{"photo_id":"1341867022","filename":"file4"},{"photo_id":"1341866851","filename":"file1"},{"photo_id":"1341866842","filename":"file0"},{"photo_id":"1341866984","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341866851":["hashtag1","hashtag2"]},{"1341867043":["hashtag1","hashtag2"]},{"1341867022":["hashtag1","hashtag2"]},{"1341866842":["hashtag1","hashtag2"]},{"1341866928":["hashtag1","hashtag2"]},{"1341866984":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341866851, 1341867043, 1341867022, 1341866842, 1341866928, 1341866984)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.46220254898071 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 13:31:02.608635
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/13/30/image_08032025_13_31_05_10014.jpg', 2), ('/home/nano/Desktop/images/08032025/13/30/image_08032025_13_30_45_10011.jpg', 2), ('/home/nano/Desktop/images/08032025/13/30/image_08032025_13_30_35_10036.jpg', 2), ('/home/nano/Desktop/images/08032025/13/30/image_08032025_13_30_25_10012.jpg', 2), ('/home/nano/Desktop/images/08032025/13/30/image_08032025_13_30_15_10021.jpg', 2), ('/home/nano/Desktop/images/08032025/13/29/image_08032025_13_30_05_10051.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/13/30/image_08032025_13_31_05_10014.jpg', '/home/nano/Desktop/images/08032025/13/30/image_08032025_13_30_45_10011.jpg', '/home/nano/Desktop/images/08032025/13/30/image_08032025_13_30_35_10036.jpg', '/home/nano/Desktop/images/08032025/13/30/image_08032025_13_30_25_10012.jpg', '/home/nano/Desktop/images/08032025/13/30/image_08032025_13_30_15_10021.jpg', '/home/nano/Desktop/images/08032025/13/29/image_08032025_13_30_05_10051.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/13/30/image_08032025_13_31_05_10014.jpg
/home/nano/Desktop/images/08032025/13/30/image_08032025_13_30_45_10011.jpg
/home/nano/Desktop/images/08032025/13/30/image_08032025_13_30_35_10036.jpg
/home/nano/Desktop/images/08032025/13/30/image_08032025_13_30_25_10012.jpg
/home/nano/Desktop/images/08032025/13/30/image_08032025_13_30_15_10021.jpg
/home/nano/Desktop/images/08032025/13/29/image_08032025_13_30_05_10051.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341867509","1341867427","1341867572","1341867482","1341867461","1341867683"],"photo_ids_order":["1341867427","1341867461","1341867482","1341867509","1341867572","1341867683"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/e44236b7da4bd1093fab5a57f08a8140.jpg","text":"TemporaryFile(/tmp/multipartBody3491552562590451672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741437123051,"filename":"image_08032025_13_30_25_10012.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/16a128a52faa10e5895d765ef3b64f45.jpg","text":"TemporaryFile(/tmp/multipartBody4604118143550838711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741437123051,"filename":"image_08032025_13_31_05_10014.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/34487216153659ea1e94859a81048b0d.jpg","text":"TemporaryFile(/tmp/multipartBody3467652030039050105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741437123051,"filename":"image_08032025_13_30_15_10021.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/9dcf06a93f1bcbc2ae5ce46fd504bfb0.jpg","text":"TemporaryFile(/tmp/multipartBody5512521438011735855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741437123051,"filename":"image_08032025_13_30_35_10036.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/3dab56510dccb2eae04302b3abf13011.jpg","text":"TemporaryFile(/tmp/multipartBody6797411728205381230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741437123051,"filename":"image_08032025_13_30_45_10011.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/c569f985a9d050fa937d88c02ba2a929.jpg","text":"TemporaryFile(/tmp/multipartBody2037916899584979336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741437123051,"filename":"image_08032025_13_30_05_10051.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341867482","file1":"1341867461","file0":"1341867427","file4":"1341867572","file5":"1341867683","file3":"1341867509"},"map_files_photo_id_array":[{"photo_id":"1341867683","filename":"file5"},{"photo_id":"1341867482","filename":"file2"},{"photo_id":"1341867572","filename":"file4"},{"photo_id":"1341867461","filename":"file1"},{"photo_id":"1341867427","filename":"file0"},{"photo_id":"1341867509","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341867509":["hashtag1","hashtag2"]},{"1341867427":["hashtag1","hashtag2"]},{"1341867572":["hashtag1","hashtag2"]},{"1341867482":["hashtag1","hashtag2"]},{"1341867461":["hashtag1","hashtag2"]},{"1341867683":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341867509, 1341867427, 1341867572, 1341867482, 1341867461, 1341867683)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.62230396270752 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 13:32:02.675086
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/13/31/image_08032025_13_31_45_10010.jpg', 2), ('/home/nano/Desktop/images/08032025/13/31/image_08032025_13_31_35_10025.jpg', 2), ('/home/nano/Desktop/images/08032025/13/31/image_08032025_13_31_25_9989.jpg', 2), ('/home/nano/Desktop/images/08032025/13/31/image_08032025_13_31_15_10011.jpg', 2), ('/home/nano/Desktop/images/08032025/13/30/image_08032025_13_30_55_10029.jpg', 2), ('/home/nano/Desktop/images/08032025/13/29/image_08032025_13_29_55_10019.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/13/31/image_08032025_13_31_45_10010.jpg', '/home/nano/Desktop/images/08032025/13/31/image_08032025_13_31_35_10025.jpg', '/home/nano/Desktop/images/08032025/13/31/image_08032025_13_31_25_9989.jpg', '/home/nano/Desktop/images/08032025/13/31/image_08032025_13_31_15_10011.jpg', '/home/nano/Desktop/images/08032025/13/30/image_08032025_13_30_55_10029.jpg', '/home/nano/Desktop/images/08032025/13/29/image_08032025_13_29_55_10019.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/13/31/image_08032025_13_31_45_10010.jpg
/home/nano/Desktop/images/08032025/13/31/image_08032025_13_31_35_10025.jpg
/home/nano/Desktop/images/08032025/13/31/image_08032025_13_31_25_9989.jpg
/home/nano/Desktop/images/08032025/13/31/image_08032025_13_31_15_10011.jpg
/home/nano/Desktop/images/08032025/13/30/image_08032025_13_30_55_10029.jpg
/home/nano/Desktop/images/08032025/13/29/image_08032025_13_29_55_10019.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341867871","1341867879","1341867870","1341867900","1341867872","1341867869"],"photo_ids_order":["1341867869","1341867870","1341867871","1341867872","1341867879","1341867900"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/dd1148b55b8e6f23ca8435b0ae76e227.jpg","text":"TemporaryFile(/tmp/multipartBody4456935373923531273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741437183133,"filename":"image_08032025_13_31_25_9989.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/67cf9321011df5780e8a592fa776ce32.jpg","text":"TemporaryFile(/tmp/multipartBody2830822334860478878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741437183133,"filename":"image_08032025_13_30_55_10029.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/09d08835e2adacd97a95d33a38ed6600.jpg","text":"TemporaryFile(/tmp/multipartBody8987061252933067028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741437183133,"filename":"image_08032025_13_31_35_10025.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/df74ca9e017658e741cd42675f0d8630.jpg","text":"TemporaryFile(/tmp/multipartBody5717008531531554976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741437183133,"filename":"image_08032025_13_29_55_10019.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/42ae6c22859e1cddadb8fc68ffa9f860.jpg","text":"TemporaryFile(/tmp/multipartBody331699609136307815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741437183133,"filename":"image_08032025_13_31_15_10011.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/e1c8b8b4adb71a3d6494e7b1a9a4b3e3.jpg","text":"TemporaryFile(/tmp/multipartBody2119138401588739749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741437183133,"filename":"image_08032025_13_31_45_10010.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341867871","file1":"1341867870","file0":"1341867869","file4":"1341867879","file5":"1341867900","file3":"1341867872"},"map_files_photo_id_array":[{"photo_id":"1341867900","filename":"file5"},{"photo_id":"1341867871","filename":"file2"},{"photo_id":"1341867879","filename":"file4"},{"photo_id":"1341867870","filename":"file1"},{"photo_id":"1341867869","filename":"file0"},{"photo_id":"1341867872","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341867871":["hashtag1","hashtag2"]},{"1341867879":["hashtag1","hashtag2"]},{"1341867870":["hashtag1","hashtag2"]},{"1341867900":["hashtag1","hashtag2"]},{"1341867872":["hashtag1","hashtag2"]},{"1341867869":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341867871, 1341867879, 1341867870, 1341867900, 1341867872, 1341867869)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.03925156593323 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 13:33:02.931209
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/13/32/image_08032025_13_32_45_10011.jpg', 2), ('/home/nano/Desktop/images/08032025/13/32/image_08032025_13_32_35_10015.jpg', 2), ('/home/nano/Desktop/images/08032025/13/32/image_08032025_13_32_25_10030.jpg', 2), ('/home/nano/Desktop/images/08032025/13/32/image_08032025_13_32_15_10032.jpg', 2), ('/home/nano/Desktop/images/08032025/13/31/image_08032025_13_32_05_10025.jpg', 2), ('/home/nano/Desktop/images/08032025/13/31/image_08032025_13_31_55_10009.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/13/32/image_08032025_13_32_45_10011.jpg', '/home/nano/Desktop/images/08032025/13/32/image_08032025_13_32_35_10015.jpg', '/home/nano/Desktop/images/08032025/13/32/image_08032025_13_32_25_10030.jpg', '/home/nano/Desktop/images/08032025/13/32/image_08032025_13_32_15_10032.jpg', '/home/nano/Desktop/images/08032025/13/31/image_08032025_13_32_05_10025.jpg', '/home/nano/Desktop/images/08032025/13/31/image_08032025_13_31_55_10009.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/13/32/image_08032025_13_32_45_10011.jpg
/home/nano/Desktop/images/08032025/13/32/image_08032025_13_32_35_10015.jpg
/home/nano/Desktop/images/08032025/13/32/image_08032025_13_32_25_10030.jpg
/home/nano/Desktop/images/08032025/13/32/image_08032025_13_32_15_10032.jpg
/home/nano/Desktop/images/08032025/13/31/image_08032025_13_32_05_10025.jpg
/home/nano/Desktop/images/08032025/13/31/image_08032025_13_31_55_10009.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341868129","1341868104","1341868154","1341868115","1341868171","1341868103"],"photo_ids_order":["1341868103","1341868104","1341868115","1341868129","1341868154","1341868171"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/9c26837032fd7652426245549245c589.jpg","text":"TemporaryFile(/tmp/multipartBody659878743222830712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741437243383,"filename":"image_08032025_13_32_15_10032.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/ea21f7f5dc4a52f52ba0cbcdbed3c5bf.jpg","text":"TemporaryFile(/tmp/multipartBody82273019418253242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741437243383,"filename":"image_08032025_13_32_35_10015.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/37648668cdb46aaa2c971e8d5312fc23.jpg","text":"TemporaryFile(/tmp/multipartBody8973177070069799374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741437243383,"filename":"image_08032025_13_32_05_10025.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/7428998e42268049d02733e7fba17123.jpg","text":"TemporaryFile(/tmp/multipartBody4093528029195578087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741437243383,"filename":"image_08032025_13_32_25_10030.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/63d3d5b427886319a14812b4660b7edf.jpg","text":"TemporaryFile(/tmp/multipartBody3167540175169560148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741437243383,"filename":"image_08032025_13_31_55_10009.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/c01479971b17d459945cb3dea37426bd.jpg","text":"TemporaryFile(/tmp/multipartBody5471503361629908472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741437243383,"filename":"image_08032025_13_32_45_10011.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341868115","file1":"1341868104","file0":"1341868103","file4":"1341868154","file5":"1341868171","file3":"1341868129"},"map_files_photo_id_array":[{"photo_id":"1341868171","filename":"file5"},{"photo_id":"1341868115","filename":"file2"},{"photo_id":"1341868154","filename":"file4"},{"photo_id":"1341868104","filename":"file1"},{"photo_id":"1341868103","filename":"file0"},{"photo_id":"1341868129","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341868129":["hashtag1","hashtag2"]},{"1341868104":["hashtag1","hashtag2"]},{"1341868154":["hashtag1","hashtag2"]},{"1341868115":["hashtag1","hashtag2"]},{"1341868171":["hashtag1","hashtag2"]},{"1341868103":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341868129, 1341868104, 1341868154, 1341868115, 1341868171, 1341868103)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.84633731842041 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 13:34:03.281206
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/13/33/image_08032025_13_33_45_10009.jpg', 2), ('/home/nano/Desktop/images/08032025/13/33/image_08032025_13_33_35_10014.jpg', 2), ('/home/nano/Desktop/images/08032025/13/33/image_08032025_13_33_25_10021.jpg', 2), ('/home/nano/Desktop/images/08032025/13/33/image_08032025_13_33_15_10004.jpg', 2), ('/home/nano/Desktop/images/08032025/13/32/image_08032025_13_33_05_10036.jpg', 2), ('/home/nano/Desktop/images/08032025/13/32/image_08032025_13_32_55_10007.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/13/33/image_08032025_13_33_45_10009.jpg', '/home/nano/Desktop/images/08032025/13/33/image_08032025_13_33_35_10014.jpg', '/home/nano/Desktop/images/08032025/13/33/image_08032025_13_33_25_10021.jpg', '/home/nano/Desktop/images/08032025/13/33/image_08032025_13_33_15_10004.jpg', '/home/nano/Desktop/images/08032025/13/32/image_08032025_13_33_05_10036.jpg', '/home/nano/Desktop/images/08032025/13/32/image_08032025_13_32_55_10007.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/13/33/image_08032025_13_33_45_10009.jpg
/home/nano/Desktop/images/08032025/13/33/image_08032025_13_33_35_10014.jpg
/home/nano/Desktop/images/08032025/13/33/image_08032025_13_33_25_10021.jpg
/home/nano/Desktop/images/08032025/13/33/image_08032025_13_33_15_10004.jpg
/home/nano/Desktop/images/08032025/13/32/image_08032025_13_33_05_10036.jpg
/home/nano/Desktop/images/08032025/13/32/image_08032025_13_32_55_10007.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341868210","1341868230","1341868212","1341868206","1341868226","1341868208"],"photo_ids_order":["1341868206","1341868208","1341868210","1341868212","1341868226","1341868230"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/8597730c20fa162dd7257b244f45135e.jpg","text":"TemporaryFile(/tmp/multipartBody4997859168735751722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741437303746,"filename":"image_08032025_13_33_25_10021.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/89c36961e69e8370337a8e708b0b7526.jpg","text":"TemporaryFile(/tmp/multipartBody8665526648443707939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741437303746,"filename":"image_08032025_13_32_55_10007.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/855acb88d34478fbb033b6f8bf94c58c.jpg","text":"TemporaryFile(/tmp/multipartBody8500978797748010523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741437303746,"filename":"image_08032025_13_33_15_10004.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/9450ceed6db53a9ae61f6725207264d8.jpg","text":"TemporaryFile(/tmp/multipartBody5553247043687299594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741437303746,"filename":"image_08032025_13_33_45_10009.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/33534a4ccf15070d63d63a56d8048aa4.jpg","text":"TemporaryFile(/tmp/multipartBody8908975758465446549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741437303746,"filename":"image_08032025_13_33_05_10036.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/3fd51f599d1afd01bff5220b8c9e526d.jpg","text":"TemporaryFile(/tmp/multipartBody8452391880657132737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741437303746,"filename":"image_08032025_13_33_35_10014.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341868210","file1":"1341868208","file0":"1341868206","file4":"1341868226","file5":"1341868230","file3":"1341868212"},"map_files_photo_id_array":[{"photo_id":"1341868230","filename":"file5"},{"photo_id":"1341868210","filename":"file2"},{"photo_id":"1341868226","filename":"file4"},{"photo_id":"1341868208","filename":"file1"},{"photo_id":"1341868206","filename":"file0"},{"photo_id":"1341868212","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341868210":["hashtag1","hashtag2"]},{"1341868230":["hashtag1","hashtag2"]},{"1341868212":["hashtag1","hashtag2"]},{"1341868206":["hashtag1","hashtag2"]},{"1341868226":["hashtag1","hashtag2"]},{"1341868208":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341868210, 1341868230, 1341868212, 1341868206, 1341868226, 1341868208)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.165218353271484 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 13:35:03.014710
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/13/34/image_08032025_13_34_46_10023.jpg', 2), ('/home/nano/Desktop/images/08032025/13/34/image_08032025_13_34_36_10016.jpg', 2), ('/home/nano/Desktop/images/08032025/13/34/image_08032025_13_34_25_10040.jpg', 2), ('/home/nano/Desktop/images/08032025/13/34/image_08032025_13_34_15_10020.jpg', 2), ('/home/nano/Desktop/images/08032025/13/33/image_08032025_13_34_05_10025.jpg', 2), ('/home/nano/Desktop/images/08032025/13/33/image_08032025_13_33_55_10013.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/13/34/image_08032025_13_34_46_10023.jpg', '/home/nano/Desktop/images/08032025/13/34/image_08032025_13_34_36_10016.jpg', '/home/nano/Desktop/images/08032025/13/34/image_08032025_13_34_25_10040.jpg', '/home/nano/Desktop/images/08032025/13/34/image_08032025_13_34_15_10020.jpg', '/home/nano/Desktop/images/08032025/13/33/image_08032025_13_34_05_10025.jpg', '/home/nano/Desktop/images/08032025/13/33/image_08032025_13_33_55_10013.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/13/34/image_08032025_13_34_46_10023.jpg
/home/nano/Desktop/images/08032025/13/34/image_08032025_13_34_36_10016.jpg
/home/nano/Desktop/images/08032025/13/34/image_08032025_13_34_25_10040.jpg
/home/nano/Desktop/images/08032025/13/34/image_08032025_13_34_15_10020.jpg
/home/nano/Desktop/images/08032025/13/33/image_08032025_13_34_05_10025.jpg
/home/nano/Desktop/images/08032025/13/33/image_08032025_13_33_55_10013.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341868453","1341868429","1341868609","1341868650","1341868623","1341868533"],"photo_ids_order":["1341868429","1341868453","1341868533","1341868609","1341868623","1341868650"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/5c8e10f85eadb49cc13c2984345cb09b.jpg","text":"TemporaryFile(/tmp/multipartBody8484680522642586347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741437363501,"filename":"image_08032025_13_34_36_10016.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/1bd3081a681787e16884dbe242ef7160.jpg","text":"TemporaryFile(/tmp/multipartBody8556651021963691220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741437363501,"filename":"image_08032025_13_34_46_10023.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/672aabf4e11208bafa29ca7fad837735.jpg","text":"TemporaryFile(/tmp/multipartBody3545584366032276666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741437363501,"filename":"image_08032025_13_34_15_10020.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/f9f92d746915fb76075be8cdf68522ff.jpg","text":"TemporaryFile(/tmp/multipartBody2474262940785656291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741437363501,"filename":"image_08032025_13_33_55_10013.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/e180abbbc8c08b40bc42a8746bcf1aff.jpg","text":"TemporaryFile(/tmp/multipartBody1621754531598935222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741437363501,"filename":"image_08032025_13_34_05_10025.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/2cad0efea553ba59144fcad4178e791f.jpg","text":"TemporaryFile(/tmp/multipartBody667265964590988715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741437363501,"filename":"image_08032025_13_34_25_10040.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341868533","file1":"1341868453","file0":"1341868429","file4":"1341868623","file5":"1341868650","file3":"1341868609"},"map_files_photo_id_array":[{"photo_id":"1341868650","filename":"file5"},{"photo_id":"1341868533","filename":"file2"},{"photo_id":"1341868623","filename":"file4"},{"photo_id":"1341868453","filename":"file1"},{"photo_id":"1341868429","filename":"file0"},{"photo_id":"1341868609","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341868453":["hashtag1","hashtag2"]},{"1341868429":["hashtag1","hashtag2"]},{"1341868609":["hashtag1","hashtag2"]},{"1341868650":["hashtag1","hashtag2"]},{"1341868623":["hashtag1","hashtag2"]},{"1341868533":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341868453, 1341868429, 1341868609, 1341868650, 1341868623, 1341868533)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.793081760406494 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 13:36:03.268497
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/13/35/image_08032025_13_35_45_10028.jpg', 2), ('/home/nano/Desktop/images/08032025/13/35/image_08032025_13_35_35_10021.jpg', 2), ('/home/nano/Desktop/images/08032025/13/35/image_08032025_13_35_25_10027.jpg', 2), ('/home/nano/Desktop/images/08032025/13/35/image_08032025_13_35_15_9017.jpg', 2), ('/home/nano/Desktop/images/08032025/13/34/image_08032025_13_35_06_10039.jpg', 2), ('/home/nano/Desktop/images/08032025/13/34/image_08032025_13_34_56_10020.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/13/35/image_08032025_13_35_45_10028.jpg', '/home/nano/Desktop/images/08032025/13/35/image_08032025_13_35_35_10021.jpg', '/home/nano/Desktop/images/08032025/13/35/image_08032025_13_35_25_10027.jpg', '/home/nano/Desktop/images/08032025/13/35/image_08032025_13_35_15_9017.jpg', '/home/nano/Desktop/images/08032025/13/34/image_08032025_13_35_06_10039.jpg', '/home/nano/Desktop/images/08032025/13/34/image_08032025_13_34_56_10020.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/13/35/image_08032025_13_35_45_10028.jpg
/home/nano/Desktop/images/08032025/13/35/image_08032025_13_35_35_10021.jpg
/home/nano/Desktop/images/08032025/13/35/image_08032025_13_35_25_10027.jpg
/home/nano/Desktop/images/08032025/13/35/image_08032025_13_35_15_9017.jpg
/home/nano/Desktop/images/08032025/13/34/image_08032025_13_35_06_10039.jpg
/home/nano/Desktop/images/08032025/13/34/image_08032025_13_34_56_10020.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341868744","1341868723","1341868720","1341868698","1341868742","1341868700"],"photo_ids_order":["1341868698","1341868700","1341868720","1341868723","1341868742","1341868744"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/8e61b803ed55b2fd2ab8346b73b18ea3.jpg","text":"TemporaryFile(/tmp/multipartBody6578298316062609985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741437423748,"filename":"image_08032025_13_34_56_10020.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/bdbcd6e99abcd8597678e449620d5fd6.jpg","text":"TemporaryFile(/tmp/multipartBody5674167682750404081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741437423748,"filename":"image_08032025_13_35_15_9017.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/06badbf26c4c08953d6fc611e822165b.jpg","text":"TemporaryFile(/tmp/multipartBody6660331063828553499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741437423748,"filename":"image_08032025_13_35_25_10027.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/9eb04f3408510ffc275ba192a85d3db7.jpg","text":"TemporaryFile(/tmp/multipartBody6321026958492938041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741437423748,"filename":"image_08032025_13_35_45_10028.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/4b477005766a0e1dd71d145422164eee.jpg","text":"TemporaryFile(/tmp/multipartBody2288124672945463494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741437423748,"filename":"image_08032025_13_35_06_10039.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/d5345ac690f48247b57b922b8e9ae38d.jpg","text":"TemporaryFile(/tmp/multipartBody9047977355318063460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741437423748,"filename":"image_08032025_13_35_35_10021.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341868720","file1":"1341868700","file0":"1341868698","file4":"1341868742","file5":"1341868744","file3":"1341868723"},"map_files_photo_id_array":[{"photo_id":"1341868744","filename":"file5"},{"photo_id":"1341868720","filename":"file2"},{"photo_id":"1341868742","filename":"file4"},{"photo_id":"1341868700","filename":"file1"},{"photo_id":"1341868698","filename":"file0"},{"photo_id":"1341868723","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341868744":["hashtag1","hashtag2"]},{"1341868723":["hashtag1","hashtag2"]},{"1341868720":["hashtag1","hashtag2"]},{"1341868698":["hashtag1","hashtag2"]},{"1341868742":["hashtag1","hashtag2"]},{"1341868700":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341868744, 1341868723, 1341868720, 1341868698, 1341868742, 1341868700)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.19766354560852 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 13:37:03.526997
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/13/36/image_08032025_13_36_45_10055.jpg', 2), ('/home/nano/Desktop/images/08032025/13/36/image_08032025_13_36_35_10064.jpg', 2), ('/home/nano/Desktop/images/08032025/13/36/image_08032025_13_36_25_10028.jpg', 2), ('/home/nano/Desktop/images/08032025/13/36/image_08032025_13_36_15_10053.jpg', 2), ('/home/nano/Desktop/images/08032025/13/35/image_08032025_13_36_05_10051.jpg', 2), ('/home/nano/Desktop/images/08032025/13/35/image_08032025_13_35_55_10030.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/13/36/image_08032025_13_36_45_10055.jpg', '/home/nano/Desktop/images/08032025/13/36/image_08032025_13_36_35_10064.jpg', '/home/nano/Desktop/images/08032025/13/36/image_08032025_13_36_25_10028.jpg', '/home/nano/Desktop/images/08032025/13/36/image_08032025_13_36_15_10053.jpg', '/home/nano/Desktop/images/08032025/13/35/image_08032025_13_36_05_10051.jpg', '/home/nano/Desktop/images/08032025/13/35/image_08032025_13_35_55_10030.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/13/36/image_08032025_13_36_45_10055.jpg
/home/nano/Desktop/images/08032025/13/36/image_08032025_13_36_35_10064.jpg
/home/nano/Desktop/images/08032025/13/36/image_08032025_13_36_25_10028.jpg
/home/nano/Desktop/images/08032025/13/36/image_08032025_13_36_15_10053.jpg
/home/nano/Desktop/images/08032025/13/35/image_08032025_13_36_05_10051.jpg
/home/nano/Desktop/images/08032025/13/35/image_08032025_13_35_55_10030.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341868903","1341868875","1341868914","1341868917","1341868910","1341868847"],"photo_ids_order":["1341868847","1341868875","1341868903","1341868910","1341868914","1341868917"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/398e1e24366052f9facdb4fdafddf858.jpg","text":"TemporaryFile(/tmp/multipartBody9211469620742997508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741437483994,"filename":"image_08032025_13_36_25_10028.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/25d6450568a43bc5180320ab0a6afb0c.jpg","text":"TemporaryFile(/tmp/multipartBody7500108516085859057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741437483994,"filename":"image_08032025_13_36_35_10064.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/05fed5b60312f2784753db9482eded6a.jpg","text":"TemporaryFile(/tmp/multipartBody4893745766867940561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741437483994,"filename":"image_08032025_13_36_05_10051.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/c30c8b18c261ede9a47d2a763394a94a.jpg","text":"TemporaryFile(/tmp/multipartBody8531814357052695395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741437483994,"filename":"image_08032025_13_35_55_10030.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/6e3a03820b62ec140acf723518c03247.jpg","text":"TemporaryFile(/tmp/multipartBody6212955780262817712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741437483994,"filename":"image_08032025_13_36_15_10053.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/f856204d5f8d9d40fb06b3c525298e68.jpg","text":"TemporaryFile(/tmp/multipartBody619731198694515845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741437483994,"filename":"image_08032025_13_36_45_10055.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341868903","file1":"1341868875","file0":"1341868847","file4":"1341868914","file5":"1341868917","file3":"1341868910"},"map_files_photo_id_array":[{"photo_id":"1341868917","filename":"file5"},{"photo_id":"1341868903","filename":"file2"},{"photo_id":"1341868914","filename":"file4"},{"photo_id":"1341868875","filename":"file1"},{"photo_id":"1341868847","filename":"file0"},{"photo_id":"1341868910","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341868903":["hashtag1","hashtag2"]},{"1341868875":["hashtag1","hashtag2"]},{"1341868914":["hashtag1","hashtag2"]},{"1341868917":["hashtag1","hashtag2"]},{"1341868910":["hashtag1","hashtag2"]},{"1341868847":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341868903, 1341868875, 1341868914, 1341868917, 1341868910, 1341868847)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.17453360557556 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 13:38:03.524499
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/13/37/image_08032025_13_37_45_10036.jpg', 2), ('/home/nano/Desktop/images/08032025/13/37/image_08032025_13_37_35_10036.jpg', 2), ('/home/nano/Desktop/images/08032025/13/37/image_08032025_13_37_25_10033.jpg', 2), ('/home/nano/Desktop/images/08032025/13/37/image_08032025_13_37_15_10068.jpg', 2), ('/home/nano/Desktop/images/08032025/13/36/image_08032025_13_37_05_10032.jpg', 2), ('/home/nano/Desktop/images/08032025/13/36/image_08032025_13_36_55_10032.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/13/37/image_08032025_13_37_45_10036.jpg', '/home/nano/Desktop/images/08032025/13/37/image_08032025_13_37_35_10036.jpg', '/home/nano/Desktop/images/08032025/13/37/image_08032025_13_37_25_10033.jpg', '/home/nano/Desktop/images/08032025/13/37/image_08032025_13_37_15_10068.jpg', '/home/nano/Desktop/images/08032025/13/36/image_08032025_13_37_05_10032.jpg', '/home/nano/Desktop/images/08032025/13/36/image_08032025_13_36_55_10032.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/13/37/image_08032025_13_37_45_10036.jpg
/home/nano/Desktop/images/08032025/13/37/image_08032025_13_37_35_10036.jpg
/home/nano/Desktop/images/08032025/13/37/image_08032025_13_37_25_10033.jpg
/home/nano/Desktop/images/08032025/13/37/image_08032025_13_37_15_10068.jpg
/home/nano/Desktop/images/08032025/13/36/image_08032025_13_37_05_10032.jpg
/home/nano/Desktop/images/08032025/13/36/image_08032025_13_36_55_10032.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341869097","1341869040","1341869036","1341869048","1341869071","1341869053"],"photo_ids_order":["1341869036","1341869040","1341869048","1341869053","1341869071","1341869097"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/e67c1f92f0924964ef322bfb337c5ba5.jpg","text":"TemporaryFile(/tmp/multipartBody1485793713469712493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741437543984,"filename":"image_08032025_13_36_55_10032.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/4adf2ca99fd58d063c6fde0de36fbf26.jpg","text":"TemporaryFile(/tmp/multipartBody4028402577041707422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741437543984,"filename":"image_08032025_13_37_35_10036.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/2337a1b625ea4a030573fb0542e0a65b.jpg","text":"TemporaryFile(/tmp/multipartBody8938362192808270443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741437543984,"filename":"image_08032025_13_37_45_10036.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/ce599fbc630839920315dc6a3e730280.jpg","text":"TemporaryFile(/tmp/multipartBody8976343093508009307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741437543984,"filename":"image_08032025_13_37_25_10033.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/2efda50c8e6838e8a0d68498dbdef07c.jpg","text":"TemporaryFile(/tmp/multipartBody8288635625044017843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741437543984,"filename":"image_08032025_13_37_05_10032.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/deee38c804a687fec0cca2236991de9a.jpg","text":"TemporaryFile(/tmp/multipartBody192809412400331486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741437543984,"filename":"image_08032025_13_37_15_10068.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341869048","file1":"1341869040","file0":"1341869036","file4":"1341869071","file5":"1341869097","file3":"1341869053"},"map_files_photo_id_array":[{"photo_id":"1341869097","filename":"file5"},{"photo_id":"1341869048","filename":"file2"},{"photo_id":"1341869071","filename":"file4"},{"photo_id":"1341869040","filename":"file1"},{"photo_id":"1341869036","filename":"file0"},{"photo_id":"1341869053","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341869097":["hashtag1","hashtag2"]},{"1341869040":["hashtag1","hashtag2"]},{"1341869036":["hashtag1","hashtag2"]},{"1341869048":["hashtag1","hashtag2"]},{"1341869071":["hashtag1","hashtag2"]},{"1341869053":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341869097, 1341869040, 1341869036, 1341869048, 1341869071, 1341869053)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.31373047828674 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 13:39:03.866752
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/13/38/image_08032025_13_38_46_10042.jpg', 2), ('/home/nano/Desktop/images/08032025/13/38/image_08032025_13_38_35_10036.jpg', 2), ('/home/nano/Desktop/images/08032025/13/38/image_08032025_13_38_25_10044.jpg', 2), ('/home/nano/Desktop/images/08032025/13/38/image_08032025_13_38_15_10072.jpg', 2), ('/home/nano/Desktop/images/08032025/13/37/image_08032025_13_38_05_10059.jpg', 2), ('/home/nano/Desktop/images/08032025/13/37/image_08032025_13_37_55_10038.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/13/38/image_08032025_13_38_46_10042.jpg', '/home/nano/Desktop/images/08032025/13/38/image_08032025_13_38_35_10036.jpg', '/home/nano/Desktop/images/08032025/13/38/image_08032025_13_38_25_10044.jpg', '/home/nano/Desktop/images/08032025/13/38/image_08032025_13_38_15_10072.jpg', '/home/nano/Desktop/images/08032025/13/37/image_08032025_13_38_05_10059.jpg', '/home/nano/Desktop/images/08032025/13/37/image_08032025_13_37_55_10038.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/13/38/image_08032025_13_38_46_10042.jpg
/home/nano/Desktop/images/08032025/13/38/image_08032025_13_38_35_10036.jpg
/home/nano/Desktop/images/08032025/13/38/image_08032025_13_38_25_10044.jpg
/home/nano/Desktop/images/08032025/13/38/image_08032025_13_38_15_10072.jpg
/home/nano/Desktop/images/08032025/13/37/image_08032025_13_38_05_10059.jpg
/home/nano/Desktop/images/08032025/13/37/image_08032025_13_37_55_10038.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341869305","1341869238","1341869301","1341869291","1341869296","1341869266"],"photo_ids_order":["1341869238","1341869266","1341869291","1341869296","1341869301","1341869305"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/72d01c086acaa970000a07ab456ed32e.jpg","text":"TemporaryFile(/tmp/multipartBody8183494687572658426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741437604331,"filename":"image_08032025_13_37_55_10038.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/a1f939e40610d4a672ae9f438192bad5.jpg","text":"TemporaryFile(/tmp/multipartBody4481143226012389461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741437604331,"filename":"image_08032025_13_38_46_10042.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/798e572738a856d060443d8e9fe37899.jpg","text":"TemporaryFile(/tmp/multipartBody152962235975649803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741437604331,"filename":"image_08032025_13_38_05_10059.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/c12b183c330ae70954aea4b41d0a927c.jpg","text":"TemporaryFile(/tmp/multipartBody4346537687183925055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741437604331,"filename":"image_08032025_13_38_25_10044.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/1d84159760d30551ee20d6f5825942bb.jpg","text":"TemporaryFile(/tmp/multipartBody1089790640466825496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741437604331,"filename":"image_08032025_13_38_15_10072.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/91493cea24b786a1e70fddc977dd4f39.jpg","text":"TemporaryFile(/tmp/multipartBody5730759707687611799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741437604331,"filename":"image_08032025_13_38_35_10036.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341869291","file1":"1341869266","file0":"1341869238","file4":"1341869301","file5":"1341869305","file3":"1341869296"},"map_files_photo_id_array":[{"photo_id":"1341869305","filename":"file5"},{"photo_id":"1341869291","filename":"file2"},{"photo_id":"1341869301","filename":"file4"},{"photo_id":"1341869266","filename":"file1"},{"photo_id":"1341869238","filename":"file0"},{"photo_id":"1341869296","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341869305":["hashtag1","hashtag2"]},{"1341869238":["hashtag1","hashtag2"]},{"1341869301":["hashtag1","hashtag2"]},{"1341869291":["hashtag1","hashtag2"]},{"1341869296":["hashtag1","hashtag2"]},{"1341869266":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341869305, 1341869238, 1341869301, 1341869291, 1341869296, 1341869266)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.820781230926514 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 13:40:02.616385
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/13/40/image_08032025_13_40_15_10040.jpg', 2), ('/home/nano/Desktop/images/08032025/13/39/image_08032025_13_39_45_10030.jpg', 2), ('/home/nano/Desktop/images/08032025/13/39/image_08032025_13_39_35_10041.jpg', 2), ('/home/nano/Desktop/images/08032025/13/39/image_08032025_13_39_25_10034.jpg', 2), ('/home/nano/Desktop/images/08032025/13/39/image_08032025_13_39_15_10042.jpg', 2), ('/home/nano/Desktop/images/08032025/13/38/image_08032025_13_39_05_9079.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/13/40/image_08032025_13_40_15_10040.jpg', '/home/nano/Desktop/images/08032025/13/39/image_08032025_13_39_45_10030.jpg', '/home/nano/Desktop/images/08032025/13/39/image_08032025_13_39_35_10041.jpg', '/home/nano/Desktop/images/08032025/13/39/image_08032025_13_39_25_10034.jpg', '/home/nano/Desktop/images/08032025/13/39/image_08032025_13_39_15_10042.jpg', '/home/nano/Desktop/images/08032025/13/38/image_08032025_13_39_05_9079.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/13/40/image_08032025_13_40_15_10040.jpg
/home/nano/Desktop/images/08032025/13/39/image_08032025_13_39_45_10030.jpg
/home/nano/Desktop/images/08032025/13/39/image_08032025_13_39_35_10041.jpg
/home/nano/Desktop/images/08032025/13/39/image_08032025_13_39_25_10034.jpg
/home/nano/Desktop/images/08032025/13/39/image_08032025_13_39_15_10042.jpg
/home/nano/Desktop/images/08032025/13/38/image_08032025_13_39_05_9079.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.4194216728210449 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 marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 13:40:31.840482
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/13/40/image_08032025_13_40_45_10042.jpg', 2), ('/home/nano/Desktop/images/08032025/13/40/image_08032025_13_40_35_10041.jpg', 2), ('/home/nano/Desktop/images/08032025/13/40/image_08032025_13_40_25_10037.jpg', 2), ('/home/nano/Desktop/images/08032025/13/40/image_08032025_13_40_15_10040.jpg', 2), ('/home/nano/Desktop/images/08032025/13/39/image_08032025_13_40_05_10038.jpg', 2), ('/home/nano/Desktop/images/08032025/13/39/image_08032025_13_39_55_10043.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/13/40/image_08032025_13_40_45_10042.jpg', '/home/nano/Desktop/images/08032025/13/40/image_08032025_13_40_35_10041.jpg', '/home/nano/Desktop/images/08032025/13/40/image_08032025_13_40_25_10037.jpg', '/home/nano/Desktop/images/08032025/13/40/image_08032025_13_40_15_10040.jpg', '/home/nano/Desktop/images/08032025/13/39/image_08032025_13_40_05_10038.jpg', '/home/nano/Desktop/images/08032025/13/39/image_08032025_13_39_55_10043.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/13/40/image_08032025_13_40_45_10042.jpg
/home/nano/Desktop/images/08032025/13/40/image_08032025_13_40_35_10041.jpg
/home/nano/Desktop/images/08032025/13/40/image_08032025_13_40_25_10037.jpg
/home/nano/Desktop/images/08032025/13/40/image_08032025_13_40_15_10040.jpg
/home/nano/Desktop/images/08032025/13/39/image_08032025_13_40_05_10038.jpg
/home/nano/Desktop/images/08032025/13/39/image_08032025_13_39_55_10043.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341869811","1341869736","1341869699","1341869714","1341869674","1341869892"],"photo_ids_order":["1341869674","1341869699","1341869714","1341869736","1341869811","1341869892"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/4a0c9549a3fc5792d16e106d8430f4a1.jpg","text":"TemporaryFile(/tmp/multipartBody2819510683270907435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741437692268,"filename":"image_08032025_13_40_05_10038.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/835da00c66a37514df409a8808a41107.jpg","text":"TemporaryFile(/tmp/multipartBody1666659379930113853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741437692268,"filename":"image_08032025_13_40_15_10040.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/8c7c71092626159e95289779d293bacb.jpg","text":"TemporaryFile(/tmp/multipartBody6047102374043398467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741437692268,"filename":"image_08032025_13_40_35_10041.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/65423c024cf9f31bda14a20bba099b74.jpg","text":"TemporaryFile(/tmp/multipartBody2946582893564736200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741437692268,"filename":"image_08032025_13_40_25_10037.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/5305fead1fc62192e4d34cdd73e2a745.jpg","text":"TemporaryFile(/tmp/multipartBody1393944832710621417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741437692268,"filename":"image_08032025_13_40_45_10042.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/a8dbdd871820a54a15963842632cd25a.jpg","text":"TemporaryFile(/tmp/multipartBody1261997946274683925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741437692268,"filename":"image_08032025_13_39_55_10043.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341869714","file1":"1341869699","file0":"1341869674","file4":"1341869811","file5":"1341869892","file3":"1341869736"},"map_files_photo_id_array":[{"photo_id":"1341869892","filename":"file5"},{"photo_id":"1341869714","filename":"file2"},{"photo_id":"1341869811","filename":"file4"},{"photo_id":"1341869699","filename":"file1"},{"photo_id":"1341869674","filename":"file0"},{"photo_id":"1341869736","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341869811":["hashtag1","hashtag2"]},{"1341869736":["hashtag1","hashtag2"]},{"1341869699":["hashtag1","hashtag2"]},{"1341869714":["hashtag1","hashtag2"]},{"1341869674":["hashtag1","hashtag2"]},{"1341869892":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341869811, 1341869736, 1341869699, 1341869714, 1341869674, 1341869892)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.73686194419861 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 13:41:31.961038
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/13/41/image_08032025_13_41_45_10006.jpg', 2), ('/home/nano/Desktop/images/08032025/13/41/image_08032025_13_41_35_10007.jpg', 2), ('/home/nano/Desktop/images/08032025/13/41/image_08032025_13_41_25_10008.jpg', 2), ('/home/nano/Desktop/images/08032025/13/41/image_08032025_13_41_15_10031.jpg', 2), ('/home/nano/Desktop/images/08032025/13/40/image_08032025_13_41_05_10029.jpg', 2), ('/home/nano/Desktop/images/08032025/13/40/image_08032025_13_40_55_10046.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/13/41/image_08032025_13_41_45_10006.jpg', '/home/nano/Desktop/images/08032025/13/41/image_08032025_13_41_35_10007.jpg', '/home/nano/Desktop/images/08032025/13/41/image_08032025_13_41_25_10008.jpg', '/home/nano/Desktop/images/08032025/13/41/image_08032025_13_41_15_10031.jpg', '/home/nano/Desktop/images/08032025/13/40/image_08032025_13_41_05_10029.jpg', '/home/nano/Desktop/images/08032025/13/40/image_08032025_13_40_55_10046.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/13/41/image_08032025_13_41_45_10006.jpg
/home/nano/Desktop/images/08032025/13/41/image_08032025_13_41_35_10007.jpg
/home/nano/Desktop/images/08032025/13/41/image_08032025_13_41_25_10008.jpg
/home/nano/Desktop/images/08032025/13/41/image_08032025_13_41_15_10031.jpg
/home/nano/Desktop/images/08032025/13/40/image_08032025_13_41_05_10029.jpg
/home/nano/Desktop/images/08032025/13/40/image_08032025_13_40_55_10046.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341870436","1341870276","1341870342","1341870207","1341870377","1341870452"],"photo_ids_order":["1341870207","1341870276","1341870342","1341870377","1341870436","1341870452"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/448d03f8eb8f540a4dff1437d499ca4c.jpg","text":"TemporaryFile(/tmp/multipartBody4041144115253003365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741437752386,"filename":"image_08032025_13_41_05_10029.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/c0aea607166916003810930f3e04be8c.jpg","text":"TemporaryFile(/tmp/multipartBody5964005599294565020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741437752386,"filename":"image_08032025_13_41_35_10007.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/f4f76d43f61a3eb635cc10c26a42dc89.jpg","text":"TemporaryFile(/tmp/multipartBody7016093153028316763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741437752386,"filename":"image_08032025_13_41_25_10008.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/3ee3bafc304885ef5c464126ee655636.jpg","text":"TemporaryFile(/tmp/multipartBody2232290091397389228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741437752386,"filename":"image_08032025_13_41_45_10006.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/ca61a355254e34e48000fbcad1b38170.jpg","text":"TemporaryFile(/tmp/multipartBody5490732666070362963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741437752386,"filename":"image_08032025_13_41_15_10031.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/f7b4882505d84045a46d10bae689d3b3.jpg","text":"TemporaryFile(/tmp/multipartBody2822171704145989519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741437752386,"filename":"image_08032025_13_40_55_10046.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341870342","file1":"1341870276","file0":"1341870207","file4":"1341870436","file5":"1341870452","file3":"1341870377"},"map_files_photo_id_array":[{"photo_id":"1341870452","filename":"file5"},{"photo_id":"1341870342","filename":"file2"},{"photo_id":"1341870436","filename":"file4"},{"photo_id":"1341870276","filename":"file1"},{"photo_id":"1341870207","filename":"file0"},{"photo_id":"1341870377","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341870436":["hashtag1","hashtag2"]},{"1341870276":["hashtag1","hashtag2"]},{"1341870342":["hashtag1","hashtag2"]},{"1341870207":["hashtag1","hashtag2"]},{"1341870377":["hashtag1","hashtag2"]},{"1341870452":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341870436, 1341870276, 1341870342, 1341870207, 1341870377, 1341870452)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.22238206863403 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 13:42:32.065794
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/13/42/image_08032025_13_42_45_10023.jpg', 2), ('/home/nano/Desktop/images/08032025/13/42/image_08032025_13_42_35_10033.jpg', 2), ('/home/nano/Desktop/images/08032025/13/42/image_08032025_13_42_25_10023.jpg', 2), ('/home/nano/Desktop/images/08032025/13/42/image_08032025_13_42_15_10020.jpg', 2), ('/home/nano/Desktop/images/08032025/13/41/image_08032025_13_42_05_10022.jpg', 2), ('/home/nano/Desktop/images/08032025/13/41/image_08032025_13_41_55_10028.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/13/42/image_08032025_13_42_45_10023.jpg', '/home/nano/Desktop/images/08032025/13/42/image_08032025_13_42_35_10033.jpg', '/home/nano/Desktop/images/08032025/13/42/image_08032025_13_42_25_10023.jpg', '/home/nano/Desktop/images/08032025/13/42/image_08032025_13_42_15_10020.jpg', '/home/nano/Desktop/images/08032025/13/41/image_08032025_13_42_05_10022.jpg', '/home/nano/Desktop/images/08032025/13/41/image_08032025_13_41_55_10028.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/13/42/image_08032025_13_42_45_10023.jpg
/home/nano/Desktop/images/08032025/13/42/image_08032025_13_42_35_10033.jpg
/home/nano/Desktop/images/08032025/13/42/image_08032025_13_42_25_10023.jpg
/home/nano/Desktop/images/08032025/13/42/image_08032025_13_42_15_10020.jpg
/home/nano/Desktop/images/08032025/13/41/image_08032025_13_42_05_10022.jpg
/home/nano/Desktop/images/08032025/13/41/image_08032025_13_41_55_10028.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341870502","1341870505","1341870508","1341870510","1341870497","1341870499"],"photo_ids_order":["1341870497","1341870499","1341870502","1341870505","1341870508","1341870510"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/4f34aae9cf38298c36fdc3134d86ef86.jpg","text":"TemporaryFile(/tmp/multipartBody6674094703830132386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741437814291,"filename":"image_08032025_13_42_25_10023.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/2da612ca632a52528d3d7c2752a49871.jpg","text":"TemporaryFile(/tmp/multipartBody2994399151807860967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741437814291,"filename":"image_08032025_13_42_15_10020.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/09a14345e792fb38689143ce066ea75d.jpg","text":"TemporaryFile(/tmp/multipartBody3273739643771797038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741437814291,"filename":"image_08032025_13_42_05_10022.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/6b3478277baf2657223af22d191a7d9b.jpg","text":"TemporaryFile(/tmp/multipartBody5511538129200520045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741437814291,"filename":"image_08032025_13_41_55_10028.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/53c9e903dac93b3dcffcc50998507769.jpg","text":"TemporaryFile(/tmp/multipartBody3236205132755318690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741437814291,"filename":"image_08032025_13_42_45_10023.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/5b9258215e9eb59c5b4a9037cc59f512.jpg","text":"TemporaryFile(/tmp/multipartBody9100651653265173295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741437814291,"filename":"image_08032025_13_42_35_10033.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341870502","file1":"1341870499","file0":"1341870497","file4":"1341870508","file5":"1341870510","file3":"1341870505"},"map_files_photo_id_array":[{"photo_id":"1341870510","filename":"file5"},{"photo_id":"1341870502","filename":"file2"},{"photo_id":"1341870508","filename":"file4"},{"photo_id":"1341870499","filename":"file1"},{"photo_id":"1341870497","filename":"file0"},{"photo_id":"1341870505","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341870502":["hashtag1","hashtag2"]},{"1341870505":["hashtag1","hashtag2"]},{"1341870508":["hashtag1","hashtag2"]},{"1341870510":["hashtag1","hashtag2"]},{"1341870497":["hashtag1","hashtag2"]},{"1341870499":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341870502, 1341870505, 1341870508, 1341870510, 1341870497, 1341870499)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.77075409889221 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 13:43:32.192709
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/13/43/image_08032025_13_43_45_10026.jpg', 2), ('/home/nano/Desktop/images/08032025/13/43/image_08032025_13_43_35_10028.jpg', 2), ('/home/nano/Desktop/images/08032025/13/43/image_08032025_13_43_25_10025.jpg', 2), ('/home/nano/Desktop/images/08032025/13/43/image_08032025_13_43_15_10027.jpg', 2), ('/home/nano/Desktop/images/08032025/13/42/image_08032025_13_43_05_10028.jpg', 2), ('/home/nano/Desktop/images/08032025/13/42/image_08032025_13_42_55_10015.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/13/43/image_08032025_13_43_45_10026.jpg', '/home/nano/Desktop/images/08032025/13/43/image_08032025_13_43_35_10028.jpg', '/home/nano/Desktop/images/08032025/13/43/image_08032025_13_43_25_10025.jpg', '/home/nano/Desktop/images/08032025/13/43/image_08032025_13_43_15_10027.jpg', '/home/nano/Desktop/images/08032025/13/42/image_08032025_13_43_05_10028.jpg', '/home/nano/Desktop/images/08032025/13/42/image_08032025_13_42_55_10015.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/13/43/image_08032025_13_43_45_10026.jpg
/home/nano/Desktop/images/08032025/13/43/image_08032025_13_43_35_10028.jpg
/home/nano/Desktop/images/08032025/13/43/image_08032025_13_43_25_10025.jpg
/home/nano/Desktop/images/08032025/13/43/image_08032025_13_43_15_10027.jpg
/home/nano/Desktop/images/08032025/13/42/image_08032025_13_43_05_10028.jpg
/home/nano/Desktop/images/08032025/13/42/image_08032025_13_42_55_10015.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341870546","1341870555","1341870549","1341870543","1341870551","1341870553"],"photo_ids_order":["1341870543","1341870546","1341870549","1341870551","1341870553","1341870555"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/820f56e7a1bab77480d94d3cc7ec3357.jpg","text":"TemporaryFile(/tmp/multipartBody4180146807021798987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741437872644,"filename":"image_08032025_13_43_35_10028.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/5083e9bae78dc80db7600fd921ffb8c6.jpg","text":"TemporaryFile(/tmp/multipartBody2711145010902428433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741437872644,"filename":"image_08032025_13_42_55_10015.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/1383aa4f02f97611b71bd11fe872ef12.jpg","text":"TemporaryFile(/tmp/multipartBody3137664107883317679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741437872644,"filename":"image_08032025_13_43_25_10025.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/9e114a49779d490054955da7b5816213.jpg","text":"TemporaryFile(/tmp/multipartBody3775913294884526216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741437872644,"filename":"image_08032025_13_43_45_10026.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/4b992e4292dec18f092a7716af449b3b.jpg","text":"TemporaryFile(/tmp/multipartBody4070121210832344104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741437872644,"filename":"image_08032025_13_43_15_10027.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/d25666de18a076599e6bb2eb20e4c228.jpg","text":"TemporaryFile(/tmp/multipartBody4263600501844136698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741437872644,"filename":"image_08032025_13_43_05_10028.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341870549","file1":"1341870546","file0":"1341870543","file4":"1341870553","file5":"1341870555","file3":"1341870551"},"map_files_photo_id_array":[{"photo_id":"1341870555","filename":"file5"},{"photo_id":"1341870549","filename":"file2"},{"photo_id":"1341870553","filename":"file4"},{"photo_id":"1341870546","filename":"file1"},{"photo_id":"1341870543","filename":"file0"},{"photo_id":"1341870551","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341870546":["hashtag1","hashtag2"]},{"1341870555":["hashtag1","hashtag2"]},{"1341870549":["hashtag1","hashtag2"]},{"1341870543":["hashtag1","hashtag2"]},{"1341870551":["hashtag1","hashtag2"]},{"1341870553":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341870546, 1341870555, 1341870549, 1341870543, 1341870551, 1341870553)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.71579098701477 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 13:44:32.289058
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/13/44/image_08032025_13_44_45_9981.jpg', 2), ('/home/nano/Desktop/images/08032025/13/44/image_08032025_13_44_35_10025.jpg', 2), ('/home/nano/Desktop/images/08032025/13/44/image_08032025_13_44_25_9045.jpg', 2), ('/home/nano/Desktop/images/08032025/13/44/image_08032025_13_44_16_10033.jpg', 2), ('/home/nano/Desktop/images/08032025/13/43/image_08032025_13_44_06_10041.jpg', 2), ('/home/nano/Desktop/images/08032025/13/43/image_08032025_13_43_55_10029.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/13/44/image_08032025_13_44_45_9981.jpg', '/home/nano/Desktop/images/08032025/13/44/image_08032025_13_44_35_10025.jpg', '/home/nano/Desktop/images/08032025/13/44/image_08032025_13_44_25_9045.jpg', '/home/nano/Desktop/images/08032025/13/44/image_08032025_13_44_16_10033.jpg', '/home/nano/Desktop/images/08032025/13/43/image_08032025_13_44_06_10041.jpg', '/home/nano/Desktop/images/08032025/13/43/image_08032025_13_43_55_10029.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/13/44/image_08032025_13_44_45_9981.jpg
/home/nano/Desktop/images/08032025/13/44/image_08032025_13_44_35_10025.jpg
/home/nano/Desktop/images/08032025/13/44/image_08032025_13_44_25_9045.jpg
/home/nano/Desktop/images/08032025/13/44/image_08032025_13_44_16_10033.jpg
/home/nano/Desktop/images/08032025/13/43/image_08032025_13_44_06_10041.jpg
/home/nano/Desktop/images/08032025/13/43/image_08032025_13_43_55_10029.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341870594","1341870607","1341870591","1341870579","1341870618","1341870583"],"photo_ids_order":["1341870579","1341870583","1341870591","1341870594","1341870607","1341870618"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/fe1c39b31f4e18794a88dcb694586949.jpg","text":"TemporaryFile(/tmp/multipartBody7641874710753138712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741437932727,"filename":"image_08032025_13_44_16_10033.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/953c731e34a1ff573293b5462c406430.jpg","text":"TemporaryFile(/tmp/multipartBody4214824268436984035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741437932727,"filename":"image_08032025_13_44_06_10041.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/8927192ee19dd7f18c2070ffc3867339.jpg","text":"TemporaryFile(/tmp/multipartBody3923971574960460484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741437932727,"filename":"image_08032025_13_44_25_9045.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/b231a0117dc1ee31ee71a4805c0e125c.jpg","text":"TemporaryFile(/tmp/multipartBody3167800046838828407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741437932727,"filename":"image_08032025_13_44_45_9981.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/1b40e3a23bc8bbddd6e4f4b116be8777.jpg","text":"TemporaryFile(/tmp/multipartBody666992247728327534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741437932727,"filename":"image_08032025_13_43_55_10029.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/2895b400766f8113cc631ff0ef57b044.jpg","text":"TemporaryFile(/tmp/multipartBody1934872962945330811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741437932727,"filename":"image_08032025_13_44_35_10025.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341870591","file1":"1341870583","file0":"1341870579","file4":"1341870607","file5":"1341870618","file3":"1341870594"},"map_files_photo_id_array":[{"photo_id":"1341870618","filename":"file5"},{"photo_id":"1341870591","filename":"file2"},{"photo_id":"1341870607","filename":"file4"},{"photo_id":"1341870583","filename":"file1"},{"photo_id":"1341870579","filename":"file0"},{"photo_id":"1341870594","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341870594":["hashtag1","hashtag2"]},{"1341870607":["hashtag1","hashtag2"]},{"1341870591":["hashtag1","hashtag2"]},{"1341870579":["hashtag1","hashtag2"]},{"1341870618":["hashtag1","hashtag2"]},{"1341870583":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341870594, 1341870607, 1341870591, 1341870579, 1341870618, 1341870583)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.89396691322327 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 13:45:32.384329
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/13/45/image_08032025_13_45_46_9974.jpg', 2), ('/home/nano/Desktop/images/08032025/13/45/image_08032025_13_45_36_10993.jpg', 2), ('/home/nano/Desktop/images/08032025/13/45/image_08032025_13_45_25_9981.jpg', 2), ('/home/nano/Desktop/images/08032025/13/45/image_08032025_13_45_15_9989.jpg', 2), ('/home/nano/Desktop/images/08032025/13/44/image_08032025_13_45_05_10013.jpg', 2), ('/home/nano/Desktop/images/08032025/13/44/image_08032025_13_44_55_9995.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/13/45/image_08032025_13_45_46_9974.jpg', '/home/nano/Desktop/images/08032025/13/45/image_08032025_13_45_36_10993.jpg', '/home/nano/Desktop/images/08032025/13/45/image_08032025_13_45_25_9981.jpg', '/home/nano/Desktop/images/08032025/13/45/image_08032025_13_45_15_9989.jpg', '/home/nano/Desktop/images/08032025/13/44/image_08032025_13_45_05_10013.jpg', '/home/nano/Desktop/images/08032025/13/44/image_08032025_13_44_55_9995.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/13/45/image_08032025_13_45_46_9974.jpg
/home/nano/Desktop/images/08032025/13/45/image_08032025_13_45_36_10993.jpg
/home/nano/Desktop/images/08032025/13/45/image_08032025_13_45_25_9981.jpg
/home/nano/Desktop/images/08032025/13/45/image_08032025_13_45_15_9989.jpg
/home/nano/Desktop/images/08032025/13/44/image_08032025_13_45_05_10013.jpg
/home/nano/Desktop/images/08032025/13/44/image_08032025_13_44_55_9995.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341870684","1341870678","1341870704","1341870682","1341870838","1341870688"],"photo_ids_order":["1341870678","1341870682","1341870684","1341870688","1341870704","1341870838"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/375f4f3803be177bbbfdbc1de090201b.jpg","text":"TemporaryFile(/tmp/multipartBody6167628807866607920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741437992824,"filename":"image_08032025_13_45_25_9981.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/e29c2b788c1a42094a01577f54e99e0d.jpg","text":"TemporaryFile(/tmp/multipartBody6574639249097283745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741437992824,"filename":"image_08032025_13_45_46_9974.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/831ff0420573ee584b8c80dae5338b9e.jpg","text":"TemporaryFile(/tmp/multipartBody4833912779757389885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741437992824,"filename":"image_08032025_13_45_05_10013.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/c152c01616cba1c6887d33243ac8f17b.jpg","text":"TemporaryFile(/tmp/multipartBody901334036210498432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741437992824,"filename":"image_08032025_13_45_36_10993.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/f0382dc4f77d789c9980f9809306d9df.jpg","text":"TemporaryFile(/tmp/multipartBody4960562096313246011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741437992824,"filename":"image_08032025_13_44_55_9995.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/9cdc70bbcee665f88709995716379032.jpg","text":"TemporaryFile(/tmp/multipartBody7107351976879454032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741437992824,"filename":"image_08032025_13_45_15_9989.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341870684","file1":"1341870682","file0":"1341870678","file4":"1341870704","file5":"1341870838","file3":"1341870688"},"map_files_photo_id_array":[{"photo_id":"1341870838","filename":"file5"},{"photo_id":"1341870684","filename":"file2"},{"photo_id":"1341870704","filename":"file4"},{"photo_id":"1341870682","filename":"file1"},{"photo_id":"1341870678","filename":"file0"},{"photo_id":"1341870688","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341870684":["hashtag1","hashtag2"]},{"1341870678":["hashtag1","hashtag2"]},{"1341870704":["hashtag1","hashtag2"]},{"1341870682":["hashtag1","hashtag2"]},{"1341870838":["hashtag1","hashtag2"]},{"1341870688":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341870684, 1341870678, 1341870704, 1341870682, 1341870838, 1341870688)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.253697633743286 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 13:46:32.498642
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/13/46/image_08032025_13_46_45_9996.jpg', 2), ('/home/nano/Desktop/images/08032025/13/46/image_08032025_13_46_36_10001.jpg', 2), ('/home/nano/Desktop/images/08032025/13/46/image_08032025_13_46_25_9981.jpg', 2), ('/home/nano/Desktop/images/08032025/13/46/image_08032025_13_46_16_9981.jpg', 2), ('/home/nano/Desktop/images/08032025/13/45/image_08032025_13_46_06_9978.jpg', 2), ('/home/nano/Desktop/images/08032025/13/45/image_08032025_13_45_56_9995.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/13/46/image_08032025_13_46_45_9996.jpg', '/home/nano/Desktop/images/08032025/13/46/image_08032025_13_46_36_10001.jpg', '/home/nano/Desktop/images/08032025/13/46/image_08032025_13_46_25_9981.jpg', '/home/nano/Desktop/images/08032025/13/46/image_08032025_13_46_16_9981.jpg', '/home/nano/Desktop/images/08032025/13/45/image_08032025_13_46_06_9978.jpg', '/home/nano/Desktop/images/08032025/13/45/image_08032025_13_45_56_9995.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/13/46/image_08032025_13_46_45_9996.jpg
/home/nano/Desktop/images/08032025/13/46/image_08032025_13_46_36_10001.jpg
/home/nano/Desktop/images/08032025/13/46/image_08032025_13_46_25_9981.jpg
/home/nano/Desktop/images/08032025/13/46/image_08032025_13_46_16_9981.jpg
/home/nano/Desktop/images/08032025/13/45/image_08032025_13_46_06_9978.jpg
/home/nano/Desktop/images/08032025/13/45/image_08032025_13_45_56_9995.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341870907","1341870957","1341870942","1341870912","1341870959","1341870961"],"photo_ids_order":["1341870907","1341870912","1341870942","1341870957","1341870959","1341870961"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/659c24471ae0afa3c91a18c8cb39e8c5.jpg","text":"TemporaryFile(/tmp/multipartBody967230895426369053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741438053275,"filename":"image_08032025_13_46_45_9996.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/a0e4c4d34de1df3a589f85647509a8fb.jpg","text":"TemporaryFile(/tmp/multipartBody5749405959040452281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741438053275,"filename":"image_08032025_13_46_16_9981.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/8738e2c874ca7c6652a1c2d184719681.jpg","text":"TemporaryFile(/tmp/multipartBody7931396419838138390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741438053275,"filename":"image_08032025_13_46_25_9981.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/e4b56a573eef5900cd7e1339d1bec69c.jpg","text":"TemporaryFile(/tmp/multipartBody5183069570440075345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741438053275,"filename":"image_08032025_13_46_36_10001.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/0edebf9c90efec78987a21f7141be16a.jpg","text":"TemporaryFile(/tmp/multipartBody7244217811539307374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741438053275,"filename":"image_08032025_13_46_06_9978.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/c523f37893eee0c46356f7f7299c5eb2.jpg","text":"TemporaryFile(/tmp/multipartBody8056612745520409132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741438053275,"filename":"image_08032025_13_45_56_9995.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341870942","file1":"1341870912","file0":"1341870907","file4":"1341870959","file5":"1341870961","file3":"1341870957"},"map_files_photo_id_array":[{"photo_id":"1341870961","filename":"file5"},{"photo_id":"1341870942","filename":"file2"},{"photo_id":"1341870959","filename":"file4"},{"photo_id":"1341870912","filename":"file1"},{"photo_id":"1341870907","filename":"file0"},{"photo_id":"1341870957","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341870907":["hashtag1","hashtag2"]},{"1341870957":["hashtag1","hashtag2"]},{"1341870942":["hashtag1","hashtag2"]},{"1341870912":["hashtag1","hashtag2"]},{"1341870959":["hashtag1","hashtag2"]},{"1341870961":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341870907, 1341870957, 1341870942, 1341870912, 1341870959, 1341870961)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.18121695518494 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 13:47:32.640128
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/13/47/image_08032025_13_47_45_9976.jpg', 2), ('/home/nano/Desktop/images/08032025/13/47/image_08032025_13_47_35_9993.jpg', 2), ('/home/nano/Desktop/images/08032025/13/47/image_08032025_13_47_25_9995.jpg', 2), ('/home/nano/Desktop/images/08032025/13/47/image_08032025_13_47_15_9977.jpg', 2), ('/home/nano/Desktop/images/08032025/13/46/image_08032025_13_47_05_9998.jpg', 2), ('/home/nano/Desktop/images/08032025/13/46/image_08032025_13_46_55_9980.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/13/47/image_08032025_13_47_45_9976.jpg', '/home/nano/Desktop/images/08032025/13/47/image_08032025_13_47_35_9993.jpg', '/home/nano/Desktop/images/08032025/13/47/image_08032025_13_47_25_9995.jpg', '/home/nano/Desktop/images/08032025/13/47/image_08032025_13_47_15_9977.jpg', '/home/nano/Desktop/images/08032025/13/46/image_08032025_13_47_05_9998.jpg', '/home/nano/Desktop/images/08032025/13/46/image_08032025_13_46_55_9980.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/13/47/image_08032025_13_47_45_9976.jpg
/home/nano/Desktop/images/08032025/13/47/image_08032025_13_47_35_9993.jpg
/home/nano/Desktop/images/08032025/13/47/image_08032025_13_47_25_9995.jpg
/home/nano/Desktop/images/08032025/13/47/image_08032025_13_47_15_9977.jpg
/home/nano/Desktop/images/08032025/13/46/image_08032025_13_47_05_9998.jpg
/home/nano/Desktop/images/08032025/13/46/image_08032025_13_46_55_9980.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341871101","1341871169","1341871097","1341871103","1341871189","1341871138"],"photo_ids_order":["1341871097","1341871101","1341871103","1341871138","1341871169","1341871189"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/1601a77118f72ed59ef64b69edc2f702.jpg","text":"TemporaryFile(/tmp/multipartBody3082270609447167259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741438113075,"filename":"image_08032025_13_47_35_9993.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/026b02354a666b9a72356812fd9dcda6.jpg","text":"TemporaryFile(/tmp/multipartBody4123995541676739225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741438113075,"filename":"image_08032025_13_47_05_9998.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/48fa9740dc4f985fdf900aef634e6949.jpg","text":"TemporaryFile(/tmp/multipartBody4319395033830163097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741438113075,"filename":"image_08032025_13_47_45_9976.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/7efa5c0253456ef2ea1442c52152e762.jpg","text":"TemporaryFile(/tmp/multipartBody5997615530709359845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741438113075,"filename":"image_08032025_13_47_25_9995.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/7eafca9afbe3137ac4e58a709088a792.jpg","text":"TemporaryFile(/tmp/multipartBody7787562287344292436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741438113075,"filename":"image_08032025_13_46_55_9980.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/d314a5ef37502b3f33278775b90a8cf7.jpg","text":"TemporaryFile(/tmp/multipartBody7600465686452851893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741438113075,"filename":"image_08032025_13_47_15_9977.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341871103","file1":"1341871101","file0":"1341871097","file4":"1341871169","file5":"1341871189","file3":"1341871138"},"map_files_photo_id_array":[{"photo_id":"1341871189","filename":"file5"},{"photo_id":"1341871103","filename":"file2"},{"photo_id":"1341871169","filename":"file4"},{"photo_id":"1341871101","filename":"file1"},{"photo_id":"1341871097","filename":"file0"},{"photo_id":"1341871138","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341871101":["hashtag1","hashtag2"]},{"1341871169":["hashtag1","hashtag2"]},{"1341871097":["hashtag1","hashtag2"]},{"1341871103":["hashtag1","hashtag2"]},{"1341871189":["hashtag1","hashtag2"]},{"1341871138":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341871101, 1341871169, 1341871097, 1341871103, 1341871189, 1341871138)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.73951482772827 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 13:48:32.746110
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/13/48/image_08032025_13_48_45_9969.jpg', 2), ('/home/nano/Desktop/images/08032025/13/48/image_08032025_13_48_35_9974.jpg', 2), ('/home/nano/Desktop/images/08032025/13/48/image_08032025_13_48_25_9972.jpg', 2), ('/home/nano/Desktop/images/08032025/13/48/image_08032025_13_48_15_9970.jpg', 2), ('/home/nano/Desktop/images/08032025/13/47/image_08032025_13_48_05_9983.jpg', 2), ('/home/nano/Desktop/images/08032025/13/47/image_08032025_13_47_55_9970.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/13/48/image_08032025_13_48_45_9969.jpg', '/home/nano/Desktop/images/08032025/13/48/image_08032025_13_48_35_9974.jpg', '/home/nano/Desktop/images/08032025/13/48/image_08032025_13_48_25_9972.jpg', '/home/nano/Desktop/images/08032025/13/48/image_08032025_13_48_15_9970.jpg', '/home/nano/Desktop/images/08032025/13/47/image_08032025_13_48_05_9983.jpg', '/home/nano/Desktop/images/08032025/13/47/image_08032025_13_47_55_9970.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/13/48/image_08032025_13_48_45_9969.jpg
/home/nano/Desktop/images/08032025/13/48/image_08032025_13_48_35_9974.jpg
/home/nano/Desktop/images/08032025/13/48/image_08032025_13_48_25_9972.jpg
/home/nano/Desktop/images/08032025/13/48/image_08032025_13_48_15_9970.jpg
/home/nano/Desktop/images/08032025/13/47/image_08032025_13_48_05_9983.jpg
/home/nano/Desktop/images/08032025/13/47/image_08032025_13_47_55_9970.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341871271","1341871310","1341871297","1341871301","1341871267","1341871276"],"photo_ids_order":["1341871267","1341871271","1341871276","1341871297","1341871301","1341871310"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/475f58ac9dc5faebd9a16b8ac1d63c7a.jpg","text":"TemporaryFile(/tmp/multipartBody6325384200733462365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741438173159,"filename":"image_08032025_13_48_35_9974.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/d5b9dd74ff1b5bcfb434c036ace5dbd7.jpg","text":"TemporaryFile(/tmp/multipartBody757609126820994272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741438173159,"filename":"image_08032025_13_47_55_9970.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/0ee077f955ad2580163d4ccdd031b9ba.jpg","text":"TemporaryFile(/tmp/multipartBody2450506983349854639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741438173159,"filename":"image_08032025_13_48_15_9970.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/0b27c23c2a90ab4026997fc5f58311cd.jpg","text":"TemporaryFile(/tmp/multipartBody7620903510019404366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741438173159,"filename":"image_08032025_13_48_05_9983.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/691d3039bd72274c8510b40aca1605e6.jpg","text":"TemporaryFile(/tmp/multipartBody5017855381995354029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741438173159,"filename":"image_08032025_13_48_45_9969.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/b7aeb365495969f209a37c9d2f8b3418.jpg","text":"TemporaryFile(/tmp/multipartBody5992984965259532449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741438173159,"filename":"image_08032025_13_48_25_9972.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341871276","file1":"1341871271","file0":"1341871267","file4":"1341871301","file5":"1341871310","file3":"1341871297"},"map_files_photo_id_array":[{"photo_id":"1341871310","filename":"file5"},{"photo_id":"1341871276","filename":"file2"},{"photo_id":"1341871301","filename":"file4"},{"photo_id":"1341871271","filename":"file1"},{"photo_id":"1341871267","filename":"file0"},{"photo_id":"1341871297","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341871271":["hashtag1","hashtag2"]},{"1341871310":["hashtag1","hashtag2"]},{"1341871297":["hashtag1","hashtag2"]},{"1341871301":["hashtag1","hashtag2"]},{"1341871267":["hashtag1","hashtag2"]},{"1341871276":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341871271, 1341871310, 1341871297, 1341871301, 1341871267, 1341871276)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.64633917808533 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 13:49:31.830796
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/13/49/image_08032025_13_49_45_9960.jpg', 2), ('/home/nano/Desktop/images/08032025/13/49/image_08032025_13_49_35_9961.jpg', 2), ('/home/nano/Desktop/images/08032025/13/49/image_08032025_13_49_25_9960.jpg', 2), ('/home/nano/Desktop/images/08032025/13/49/image_08032025_13_49_15_9971.jpg', 2), ('/home/nano/Desktop/images/08032025/13/48/image_08032025_13_49_05_9980.jpg', 2), ('/home/nano/Desktop/images/08032025/13/48/image_08032025_13_48_55_9972.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/13/49/image_08032025_13_49_45_9960.jpg', '/home/nano/Desktop/images/08032025/13/49/image_08032025_13_49_35_9961.jpg', '/home/nano/Desktop/images/08032025/13/49/image_08032025_13_49_25_9960.jpg', '/home/nano/Desktop/images/08032025/13/49/image_08032025_13_49_15_9971.jpg', '/home/nano/Desktop/images/08032025/13/48/image_08032025_13_49_05_9980.jpg', '/home/nano/Desktop/images/08032025/13/48/image_08032025_13_48_55_9972.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/13/49/image_08032025_13_49_45_9960.jpg
/home/nano/Desktop/images/08032025/13/49/image_08032025_13_49_35_9961.jpg
/home/nano/Desktop/images/08032025/13/49/image_08032025_13_49_25_9960.jpg
/home/nano/Desktop/images/08032025/13/49/image_08032025_13_49_15_9971.jpg
/home/nano/Desktop/images/08032025/13/48/image_08032025_13_49_05_9980.jpg
/home/nano/Desktop/images/08032025/13/48/image_08032025_13_48_55_9972.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341871455","1341871443","1341871452","1341871446","1341871460","1341871457"],"photo_ids_order":["1341871443","1341871446","1341871452","1341871455","1341871457","1341871460"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/75a3a8f8f78417571b5ddad4f1c78e93.jpg","text":"TemporaryFile(/tmp/multipartBody5902432691935928561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741438232259,"filename":"image_08032025_13_49_15_9971.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/f418e3e5bacf06e32936703b32e1177e.jpg","text":"TemporaryFile(/tmp/multipartBody9092434109026665573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741438232259,"filename":"image_08032025_13_49_45_9960.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/0979a2ac5596a93275cb57c167ec26ce.jpg","text":"TemporaryFile(/tmp/multipartBody4728235346893126951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741438232259,"filename":"image_08032025_13_49_25_9960.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/0112d0764e2bda8b20ab6470857f4d71.jpg","text":"TemporaryFile(/tmp/multipartBody1768074375241844416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741438232259,"filename":"image_08032025_13_49_35_9961.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/152ec37ddbbd2b3da39f3d3d08406f7b.jpg","text":"TemporaryFile(/tmp/multipartBody1744578492563259519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741438232259,"filename":"image_08032025_13_48_55_9972.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/5fd629e3acc2ca9bf89a131a95565153.jpg","text":"TemporaryFile(/tmp/multipartBody6459750883125134029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741438232259,"filename":"image_08032025_13_49_05_9980.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341871452","file1":"1341871446","file0":"1341871443","file4":"1341871457","file5":"1341871460","file3":"1341871455"},"map_files_photo_id_array":[{"photo_id":"1341871460","filename":"file5"},{"photo_id":"1341871452","filename":"file2"},{"photo_id":"1341871457","filename":"file4"},{"photo_id":"1341871446","filename":"file1"},{"photo_id":"1341871443","filename":"file0"},{"photo_id":"1341871455","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341871455":["hashtag1","hashtag2"]},{"1341871443":["hashtag1","hashtag2"]},{"1341871452":["hashtag1","hashtag2"]},{"1341871446":["hashtag1","hashtag2"]},{"1341871460":["hashtag1","hashtag2"]},{"1341871457":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341871455, 1341871443, 1341871452, 1341871446, 1341871460, 1341871457)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.395148515701294 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 13:50:31.961137
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/13/50/image_08032025_13_50_45_9980.jpg', 2), ('/home/nano/Desktop/images/08032025/13/50/image_08032025_13_50_35_9979.jpg', 2), ('/home/nano/Desktop/images/08032025/13/50/image_08032025_13_50_25_9969.jpg', 2), ('/home/nano/Desktop/images/08032025/13/50/image_08032025_13_50_15_9966.jpg', 2), ('/home/nano/Desktop/images/08032025/13/49/image_08032025_13_50_05_9965.jpg', 2), ('/home/nano/Desktop/images/08032025/13/49/image_08032025_13_49_55_9955.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/13/50/image_08032025_13_50_45_9980.jpg', '/home/nano/Desktop/images/08032025/13/50/image_08032025_13_50_35_9979.jpg', '/home/nano/Desktop/images/08032025/13/50/image_08032025_13_50_25_9969.jpg', '/home/nano/Desktop/images/08032025/13/50/image_08032025_13_50_15_9966.jpg', '/home/nano/Desktop/images/08032025/13/49/image_08032025_13_50_05_9965.jpg', '/home/nano/Desktop/images/08032025/13/49/image_08032025_13_49_55_9955.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/13/50/image_08032025_13_50_45_9980.jpg
/home/nano/Desktop/images/08032025/13/50/image_08032025_13_50_35_9979.jpg
/home/nano/Desktop/images/08032025/13/50/image_08032025_13_50_25_9969.jpg
/home/nano/Desktop/images/08032025/13/50/image_08032025_13_50_15_9966.jpg
/home/nano/Desktop/images/08032025/13/49/image_08032025_13_50_05_9965.jpg
/home/nano/Desktop/images/08032025/13/49/image_08032025_13_49_55_9955.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341871571","1341871568","1341871562","1341871544","1341871523","1341871540"],"photo_ids_order":["1341871523","1341871540","1341871544","1341871562","1341871568","1341871571"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/34bbeb034b16ee3e14148319a4a7417f.jpg","text":"TemporaryFile(/tmp/multipartBody7702957712541456219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741438292387,"filename":"image_08032025_13_49_55_9955.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/56d0166c7cb3426b82051d4df1f21f03.jpg","text":"TemporaryFile(/tmp/multipartBody5444944800580550858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741438292387,"filename":"image_08032025_13_50_05_9965.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/47ccd766e71434e74479b1ba0040b4ed.jpg","text":"TemporaryFile(/tmp/multipartBody3456634051570215288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741438292387,"filename":"image_08032025_13_50_15_9966.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/31ef7074747debda7d26a9c46b711065.jpg","text":"TemporaryFile(/tmp/multipartBody7132546627899468761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741438292387,"filename":"image_08032025_13_50_25_9969.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/dcd603abfb141a13e4232886d9a74c3d.jpg","text":"TemporaryFile(/tmp/multipartBody4416955694320846602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741438292387,"filename":"image_08032025_13_50_45_9980.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/b899945f12ee1fe14ffe2e895abb47ec.jpg","text":"TemporaryFile(/tmp/multipartBody5257013054136942626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741438292387,"filename":"image_08032025_13_50_35_9979.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341871544","file1":"1341871540","file0":"1341871523","file4":"1341871568","file5":"1341871571","file3":"1341871562"},"map_files_photo_id_array":[{"photo_id":"1341871571","filename":"file5"},{"photo_id":"1341871544","filename":"file2"},{"photo_id":"1341871568","filename":"file4"},{"photo_id":"1341871540","filename":"file1"},{"photo_id":"1341871523","filename":"file0"},{"photo_id":"1341871562","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341871571":["hashtag1","hashtag2"]},{"1341871568":["hashtag1","hashtag2"]},{"1341871562":["hashtag1","hashtag2"]},{"1341871544":["hashtag1","hashtag2"]},{"1341871523":["hashtag1","hashtag2"]},{"1341871540":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341871571, 1341871568, 1341871562, 1341871544, 1341871523, 1341871540)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.33436155319214 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 13:51:32.066507
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/13/51/image_08032025_13_51_45_9956.jpg', 2), ('/home/nano/Desktop/images/08032025/13/51/image_08032025_13_51_35_9954.jpg', 2), ('/home/nano/Desktop/images/08032025/13/51/image_08032025_13_51_25_9952.jpg', 2), ('/home/nano/Desktop/images/08032025/13/51/image_08032025_13_51_15_9976.jpg', 2), ('/home/nano/Desktop/images/08032025/13/50/image_08032025_13_51_05_9984.jpg', 2), ('/home/nano/Desktop/images/08032025/13/50/image_08032025_13_50_55_9956.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/13/51/image_08032025_13_51_45_9956.jpg', '/home/nano/Desktop/images/08032025/13/51/image_08032025_13_51_35_9954.jpg', '/home/nano/Desktop/images/08032025/13/51/image_08032025_13_51_25_9952.jpg', '/home/nano/Desktop/images/08032025/13/51/image_08032025_13_51_15_9976.jpg', '/home/nano/Desktop/images/08032025/13/50/image_08032025_13_51_05_9984.jpg', '/home/nano/Desktop/images/08032025/13/50/image_08032025_13_50_55_9956.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/13/51/image_08032025_13_51_45_9956.jpg
/home/nano/Desktop/images/08032025/13/51/image_08032025_13_51_35_9954.jpg
/home/nano/Desktop/images/08032025/13/51/image_08032025_13_51_25_9952.jpg
/home/nano/Desktop/images/08032025/13/51/image_08032025_13_51_15_9976.jpg
/home/nano/Desktop/images/08032025/13/50/image_08032025_13_51_05_9984.jpg
/home/nano/Desktop/images/08032025/13/50/image_08032025_13_50_55_9956.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341871632","1341871646","1341871637","1341871642","1341871651","1341871654"],"photo_ids_order":["1341871632","1341871637","1341871642","1341871646","1341871651","1341871654"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/cbe75d4761f74ef66ca3b295337205a8.jpg","text":"TemporaryFile(/tmp/multipartBody3427259519859843477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741438352496,"filename":"image_08032025_13_51_45_9956.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/783dd5ffbcb8d47639459a0c8b0f49a5.jpg","text":"TemporaryFile(/tmp/multipartBody7932803240210775804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741438352496,"filename":"image_08032025_13_51_15_9976.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/9fa063ec8ce56a0a95903673b4734d59.jpg","text":"TemporaryFile(/tmp/multipartBody5744201899866588979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741438352496,"filename":"image_08032025_13_51_35_9954.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/f3ea36f5be5638a033e2879896ad2ded.jpg","text":"TemporaryFile(/tmp/multipartBody7733833806277504638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741438352496,"filename":"image_08032025_13_51_25_9952.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/6fa2f56e27f7bf0696996c27b6fd028b.jpg","text":"TemporaryFile(/tmp/multipartBody1939188644554297030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741438352496,"filename":"image_08032025_13_51_05_9984.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/aaef3ce7c824a6df2df467cebe4c8e9e.jpg","text":"TemporaryFile(/tmp/multipartBody6719021389012149222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741438352496,"filename":"image_08032025_13_50_55_9956.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341871642","file1":"1341871637","file0":"1341871632","file4":"1341871651","file5":"1341871654","file3":"1341871646"},"map_files_photo_id_array":[{"photo_id":"1341871654","filename":"file5"},{"photo_id":"1341871642","filename":"file2"},{"photo_id":"1341871651","filename":"file4"},{"photo_id":"1341871637","filename":"file1"},{"photo_id":"1341871632","filename":"file0"},{"photo_id":"1341871646","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341871632":["hashtag1","hashtag2"]},{"1341871646":["hashtag1","hashtag2"]},{"1341871637":["hashtag1","hashtag2"]},{"1341871642":["hashtag1","hashtag2"]},{"1341871651":["hashtag1","hashtag2"]},{"1341871654":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341871632, 1341871646, 1341871637, 1341871642, 1341871651, 1341871654)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.516369342803955 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 13:52:32.212610
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/13/52/image_08032025_13_52_45_9962.jpg', 2), ('/home/nano/Desktop/images/08032025/13/52/image_08032025_13_52_35_9958.jpg', 2), ('/home/nano/Desktop/images/08032025/13/52/image_08032025_13_52_26_9951.jpg', 2), ('/home/nano/Desktop/images/08032025/13/52/image_08032025_13_52_16_10971.jpg', 2), ('/home/nano/Desktop/images/08032025/13/51/image_08032025_13_52_05_9976.jpg', 2), ('/home/nano/Desktop/images/08032025/13/51/image_08032025_13_51_55_9953.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/13/52/image_08032025_13_52_45_9962.jpg', '/home/nano/Desktop/images/08032025/13/52/image_08032025_13_52_35_9958.jpg', '/home/nano/Desktop/images/08032025/13/52/image_08032025_13_52_26_9951.jpg', '/home/nano/Desktop/images/08032025/13/52/image_08032025_13_52_16_10971.jpg', '/home/nano/Desktop/images/08032025/13/51/image_08032025_13_52_05_9976.jpg', '/home/nano/Desktop/images/08032025/13/51/image_08032025_13_51_55_9953.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/13/52/image_08032025_13_52_45_9962.jpg
/home/nano/Desktop/images/08032025/13/52/image_08032025_13_52_35_9958.jpg
/home/nano/Desktop/images/08032025/13/52/image_08032025_13_52_26_9951.jpg
/home/nano/Desktop/images/08032025/13/52/image_08032025_13_52_16_10971.jpg
/home/nano/Desktop/images/08032025/13/51/image_08032025_13_52_05_9976.jpg
/home/nano/Desktop/images/08032025/13/51/image_08032025_13_51_55_9953.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341871734","1341871721","1341871715","1341871700","1341871706","1341871729"],"photo_ids_order":["1341871700","1341871706","1341871715","1341871721","1341871729","1341871734"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/ab79f2db2e5857cf20277bc7148c96ee.jpg","text":"TemporaryFile(/tmp/multipartBody7949042437071146516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741438412753,"filename":"image_08032025_13_51_55_9953.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/dcf792c88581141d662d7e28e10737ff.jpg","text":"TemporaryFile(/tmp/multipartBody7484829953611357204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741438412753,"filename":"image_08032025_13_52_16_10971.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/609d31152490bc45ce030101d0cbbfd1.jpg","text":"TemporaryFile(/tmp/multipartBody5083462088341325804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741438412753,"filename":"image_08032025_13_52_26_9951.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/3dda54e67679b1e3a845d76f566d2b60.jpg","text":"TemporaryFile(/tmp/multipartBody6119556726889910673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741438412753,"filename":"image_08032025_13_52_45_9962.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/6ca923c580a92de747d7cfb7f4e924cd.jpg","text":"TemporaryFile(/tmp/multipartBody6732705730612346978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741438412753,"filename":"image_08032025_13_52_35_9958.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/1b9aa3b4b2fefc5abec61c7791c46f07.jpg","text":"TemporaryFile(/tmp/multipartBody957113631886070389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741438412753,"filename":"image_08032025_13_52_05_9976.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341871715","file1":"1341871706","file0":"1341871700","file4":"1341871729","file5":"1341871734","file3":"1341871721"},"map_files_photo_id_array":[{"photo_id":"1341871734","filename":"file5"},{"photo_id":"1341871715","filename":"file2"},{"photo_id":"1341871729","filename":"file4"},{"photo_id":"1341871706","filename":"file1"},{"photo_id":"1341871700","filename":"file0"},{"photo_id":"1341871721","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341871734":["hashtag1","hashtag2"]},{"1341871721":["hashtag1","hashtag2"]},{"1341871715":["hashtag1","hashtag2"]},{"1341871700":["hashtag1","hashtag2"]},{"1341871706":["hashtag1","hashtag2"]},{"1341871729":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341871734, 1341871721, 1341871715, 1341871700, 1341871706, 1341871729)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.73814415931702 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 13:53:32.421728
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/13/53/image_08032025_13_53_45_9938.jpg', 2), ('/home/nano/Desktop/images/08032025/13/53/image_08032025_13_53_35_9938.jpg', 2), ('/home/nano/Desktop/images/08032025/13/53/image_08032025_13_53_25_9972.jpg', 2), ('/home/nano/Desktop/images/08032025/13/53/image_08032025_13_53_15_9955.jpg', 2), ('/home/nano/Desktop/images/08032025/13/52/image_08032025_13_53_05_9973.jpg', 2), ('/home/nano/Desktop/images/08032025/13/52/image_08032025_13_52_55_9952.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/13/53/image_08032025_13_53_45_9938.jpg', '/home/nano/Desktop/images/08032025/13/53/image_08032025_13_53_35_9938.jpg', '/home/nano/Desktop/images/08032025/13/53/image_08032025_13_53_25_9972.jpg', '/home/nano/Desktop/images/08032025/13/53/image_08032025_13_53_15_9955.jpg', '/home/nano/Desktop/images/08032025/13/52/image_08032025_13_53_05_9973.jpg', '/home/nano/Desktop/images/08032025/13/52/image_08032025_13_52_55_9952.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/13/53/image_08032025_13_53_45_9938.jpg
/home/nano/Desktop/images/08032025/13/53/image_08032025_13_53_35_9938.jpg
/home/nano/Desktop/images/08032025/13/53/image_08032025_13_53_25_9972.jpg
/home/nano/Desktop/images/08032025/13/53/image_08032025_13_53_15_9955.jpg
/home/nano/Desktop/images/08032025/13/52/image_08032025_13_53_05_9973.jpg
/home/nano/Desktop/images/08032025/13/52/image_08032025_13_52_55_9952.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341871893","1341871941","1341871923","1341871874","1341871888","1341871882"],"photo_ids_order":["1341871874","1341871882","1341871888","1341871893","1341871923","1341871941"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/42a91c328a94ae83d754cc0c99ea8c82.jpg","text":"TemporaryFile(/tmp/multipartBody6908910193172508498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741438472988,"filename":"image_08032025_13_53_15_9955.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/bc0e34cf3624ad399dbb97ec2ab636fc.jpg","text":"TemporaryFile(/tmp/multipartBody4644917818459133314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741438472988,"filename":"image_08032025_13_52_55_9952.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/f246ba5fefe95c16a3c8a879475fdec6.jpg","text":"TemporaryFile(/tmp/multipartBody3329776267576197947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741438472988,"filename":"image_08032025_13_53_05_9973.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/65c838ae3ef9b79bfdfc24e6fb907dab.jpg","text":"TemporaryFile(/tmp/multipartBody1614353799260394380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741438472988,"filename":"image_08032025_13_53_45_9938.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/b4835171e8fd6ec747fd93649927de7e.jpg","text":"TemporaryFile(/tmp/multipartBody3892030476753934152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741438472988,"filename":"image_08032025_13_53_25_9972.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/3aed64ffbf94c93cfce5808c1ab30dc6.jpg","text":"TemporaryFile(/tmp/multipartBody6970600211258341132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741438472988,"filename":"image_08032025_13_53_35_9938.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341871888","file1":"1341871882","file0":"1341871874","file4":"1341871923","file5":"1341871941","file3":"1341871893"},"map_files_photo_id_array":[{"photo_id":"1341871941","filename":"file5"},{"photo_id":"1341871888","filename":"file2"},{"photo_id":"1341871923","filename":"file4"},{"photo_id":"1341871882","filename":"file1"},{"photo_id":"1341871874","filename":"file0"},{"photo_id":"1341871893","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341871893":["hashtag1","hashtag2"]},{"1341871941":["hashtag1","hashtag2"]},{"1341871923":["hashtag1","hashtag2"]},{"1341871874":["hashtag1","hashtag2"]},{"1341871888":["hashtag1","hashtag2"]},{"1341871882":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341871893, 1341871941, 1341871923, 1341871874, 1341871888, 1341871882)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.77459096908569 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 13:54:32.542769
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/13/54/image_08032025_13_54_45_9940.jpg', 2), ('/home/nano/Desktop/images/08032025/13/54/image_08032025_13_54_35_9942.jpg', 2), ('/home/nano/Desktop/images/08032025/13/54/image_08032025_13_54_25_9936.jpg', 2), ('/home/nano/Desktop/images/08032025/13/54/image_08032025_13_54_15_9934.jpg', 2), ('/home/nano/Desktop/images/08032025/13/53/image_08032025_13_54_05_9951.jpg', 2), ('/home/nano/Desktop/images/08032025/13/53/image_08032025_13_53_55_9954.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/13/54/image_08032025_13_54_45_9940.jpg', '/home/nano/Desktop/images/08032025/13/54/image_08032025_13_54_35_9942.jpg', '/home/nano/Desktop/images/08032025/13/54/image_08032025_13_54_25_9936.jpg', '/home/nano/Desktop/images/08032025/13/54/image_08032025_13_54_15_9934.jpg', '/home/nano/Desktop/images/08032025/13/53/image_08032025_13_54_05_9951.jpg', '/home/nano/Desktop/images/08032025/13/53/image_08032025_13_53_55_9954.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/13/54/image_08032025_13_54_45_9940.jpg
/home/nano/Desktop/images/08032025/13/54/image_08032025_13_54_35_9942.jpg
/home/nano/Desktop/images/08032025/13/54/image_08032025_13_54_25_9936.jpg
/home/nano/Desktop/images/08032025/13/54/image_08032025_13_54_15_9934.jpg
/home/nano/Desktop/images/08032025/13/53/image_08032025_13_54_05_9951.jpg
/home/nano/Desktop/images/08032025/13/53/image_08032025_13_53_55_9954.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341871986","1341871991","1341871982","1341871996","1341872002","1341871975"],"photo_ids_order":["1341871975","1341871982","1341871986","1341871991","1341871996","1341872002"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/8925be1c35f52288a91bedcb5d18a9d4.jpg","text":"TemporaryFile(/tmp/multipartBody6916069685434643496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741438533107,"filename":"image_08032025_13_54_25_9936.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/d46b44a4ae9bdf926307fee6091e187d.jpg","text":"TemporaryFile(/tmp/multipartBody3152083388587042205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741438533107,"filename":"image_08032025_13_54_15_9934.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/b606b215e558f8a70720a7ddc09b3417.jpg","text":"TemporaryFile(/tmp/multipartBody6480115825566596906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741438533107,"filename":"image_08032025_13_54_35_9942.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/9042e481c272c7f325e53503a9dfaf23.jpg","text":"TemporaryFile(/tmp/multipartBody4578055432144928616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741438533107,"filename":"image_08032025_13_54_05_9951.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/90c41686384c308adfa65d52c04544db.jpg","text":"TemporaryFile(/tmp/multipartBody735191104675874971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741438533107,"filename":"image_08032025_13_53_55_9954.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/0baf7f860cc319f97a6028105008eb48.jpg","text":"TemporaryFile(/tmp/multipartBody7113158628808033402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741438533107,"filename":"image_08032025_13_54_45_9940.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341871986","file1":"1341871982","file0":"1341871975","file4":"1341871996","file5":"1341872002","file3":"1341871991"},"map_files_photo_id_array":[{"photo_id":"1341872002","filename":"file5"},{"photo_id":"1341871986","filename":"file2"},{"photo_id":"1341871996","filename":"file4"},{"photo_id":"1341871982","filename":"file1"},{"photo_id":"1341871975","filename":"file0"},{"photo_id":"1341871991","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341871986":["hashtag1","hashtag2"]},{"1341871991":["hashtag1","hashtag2"]},{"1341871982":["hashtag1","hashtag2"]},{"1341871996":["hashtag1","hashtag2"]},{"1341872002":["hashtag1","hashtag2"]},{"1341871975":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341871986, 1341871991, 1341871982, 1341871996, 1341872002, 1341871975)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.541239500045776 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 13:55:32.615617
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/13/55/image_08032025_13_55_46_10966.jpg', 2), ('/home/nano/Desktop/images/08032025/13/55/image_08032025_13_55_35_9950.jpg', 2), ('/home/nano/Desktop/images/08032025/13/55/image_08032025_13_55_25_9962.jpg', 2), ('/home/nano/Desktop/images/08032025/13/55/image_08032025_13_55_15_9951.jpg', 2), ('/home/nano/Desktop/images/08032025/13/54/image_08032025_13_55_05_9976.jpg', 2), ('/home/nano/Desktop/images/08032025/13/54/image_08032025_13_54_55_9948.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/13/55/image_08032025_13_55_46_10966.jpg', '/home/nano/Desktop/images/08032025/13/55/image_08032025_13_55_35_9950.jpg', '/home/nano/Desktop/images/08032025/13/55/image_08032025_13_55_25_9962.jpg', '/home/nano/Desktop/images/08032025/13/55/image_08032025_13_55_15_9951.jpg', '/home/nano/Desktop/images/08032025/13/54/image_08032025_13_55_05_9976.jpg', '/home/nano/Desktop/images/08032025/13/54/image_08032025_13_54_55_9948.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/13/55/image_08032025_13_55_46_10966.jpg
/home/nano/Desktop/images/08032025/13/55/image_08032025_13_55_35_9950.jpg
/home/nano/Desktop/images/08032025/13/55/image_08032025_13_55_25_9962.jpg
/home/nano/Desktop/images/08032025/13/55/image_08032025_13_55_15_9951.jpg
/home/nano/Desktop/images/08032025/13/54/image_08032025_13_55_05_9976.jpg
/home/nano/Desktop/images/08032025/13/54/image_08032025_13_54_55_9948.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341872087","1341872057","1341872044","1341872017","1341872094","1341872011"],"photo_ids_order":["1341872011","1341872017","1341872044","1341872057","1341872087","1341872094"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/61a0578eceda82922fdb0c7c36f58629.jpg","text":"TemporaryFile(/tmp/multipartBody5123037248174415038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741438593195,"filename":"image_08032025_13_55_05_9976.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/fbcae92281aaf44e400ef2d2a3cf27fb.jpg","text":"TemporaryFile(/tmp/multipartBody8134966400439695086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741438593195,"filename":"image_08032025_13_55_15_9951.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/939ae3f92bd07f0cbdf3764df67f13a1.jpg","text":"TemporaryFile(/tmp/multipartBody5582776397691521585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741438593195,"filename":"image_08032025_13_55_25_9962.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/cdf9d180f49f615b52ed3b0c8a652101.jpg","text":"TemporaryFile(/tmp/multipartBody8800638049209171244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741438593195,"filename":"image_08032025_13_55_35_9950.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/c65812c00f6343c42712466fa550cbd6.jpg","text":"TemporaryFile(/tmp/multipartBody2711555685565848735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741438593195,"filename":"image_08032025_13_54_55_9948.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/2080bb75a37c4c5c8d30a4687c2f8c4a.jpg","text":"TemporaryFile(/tmp/multipartBody3849998409205723410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741438593195,"filename":"image_08032025_13_55_46_10966.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341872044","file1":"1341872017","file0":"1341872011","file4":"1341872087","file5":"1341872094","file3":"1341872057"},"map_files_photo_id_array":[{"photo_id":"1341872094","filename":"file5"},{"photo_id":"1341872044","filename":"file2"},{"photo_id":"1341872087","filename":"file4"},{"photo_id":"1341872017","filename":"file1"},{"photo_id":"1341872011","filename":"file0"},{"photo_id":"1341872057","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341872087":["hashtag1","hashtag2"]},{"1341872057":["hashtag1","hashtag2"]},{"1341872044":["hashtag1","hashtag2"]},{"1341872017":["hashtag1","hashtag2"]},{"1341872094":["hashtag1","hashtag2"]},{"1341872011":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341872087, 1341872057, 1341872044, 1341872017, 1341872094, 1341872011)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.60816407203674 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 13:56:32.723548
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/13/56/image_08032025_13_56_45_9952.jpg', 2), ('/home/nano/Desktop/images/08032025/13/56/image_08032025_13_56_35_9955.jpg', 2), ('/home/nano/Desktop/images/08032025/13/56/image_08032025_13_56_25_9967.jpg', 2), ('/home/nano/Desktop/images/08032025/13/56/image_08032025_13_56_15_9951.jpg', 2), ('/home/nano/Desktop/images/08032025/13/55/image_08032025_13_56_06_9987.jpg', 2), ('/home/nano/Desktop/images/08032025/13/55/image_08032025_13_55_56_9947.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/13/56/image_08032025_13_56_45_9952.jpg', '/home/nano/Desktop/images/08032025/13/56/image_08032025_13_56_35_9955.jpg', '/home/nano/Desktop/images/08032025/13/56/image_08032025_13_56_25_9967.jpg', '/home/nano/Desktop/images/08032025/13/56/image_08032025_13_56_15_9951.jpg', '/home/nano/Desktop/images/08032025/13/55/image_08032025_13_56_06_9987.jpg', '/home/nano/Desktop/images/08032025/13/55/image_08032025_13_55_56_9947.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/13/56/image_08032025_13_56_45_9952.jpg
/home/nano/Desktop/images/08032025/13/56/image_08032025_13_56_35_9955.jpg
/home/nano/Desktop/images/08032025/13/56/image_08032025_13_56_25_9967.jpg
/home/nano/Desktop/images/08032025/13/56/image_08032025_13_56_15_9951.jpg
/home/nano/Desktop/images/08032025/13/55/image_08032025_13_56_06_9987.jpg
/home/nano/Desktop/images/08032025/13/55/image_08032025_13_55_56_9947.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341872514","1341872802","1341872412","1341872229","1341872684","1341872657"],"photo_ids_order":["1341872229","1341872412","1341872514","1341872657","1341872684","1341872802"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/387afd2d3f8a2790f65d1d39ab6558bd.jpg","text":"TemporaryFile(/tmp/multipartBody9116304026801900417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741438653299,"filename":"image_08032025_13_56_25_9967.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/aaf8b30e2bba2a877dc37bad4177c823.jpg","text":"TemporaryFile(/tmp/multipartBody4587770120807205852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741438653299,"filename":"image_08032025_13_55_56_9947.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/66f6b38d59e1f80415e73948e2e0c550.jpg","text":"TemporaryFile(/tmp/multipartBody2121957917327307765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741438653299,"filename":"image_08032025_13_56_35_9955.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/60ab36b2599b3da25b552f9370a9218d.jpg","text":"TemporaryFile(/tmp/multipartBody1871616158134546633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741438653299,"filename":"image_08032025_13_56_45_9952.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/513b65166380eb1f068cbe884e2ef92f.jpg","text":"TemporaryFile(/tmp/multipartBody1241666254620140577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741438653299,"filename":"image_08032025_13_56_06_9987.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/a1f712d1867af97658c004dd7a1d725f.jpg","text":"TemporaryFile(/tmp/multipartBody278900434738102079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741438653299,"filename":"image_08032025_13_56_15_9951.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341872514","file1":"1341872412","file0":"1341872229","file4":"1341872684","file5":"1341872802","file3":"1341872657"},"map_files_photo_id_array":[{"photo_id":"1341872802","filename":"file5"},{"photo_id":"1341872514","filename":"file2"},{"photo_id":"1341872684","filename":"file4"},{"photo_id":"1341872412","filename":"file1"},{"photo_id":"1341872229","filename":"file0"},{"photo_id":"1341872657","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341872514":["hashtag1","hashtag2"]},{"1341872802":["hashtag1","hashtag2"]},{"1341872412":["hashtag1","hashtag2"]},{"1341872229":["hashtag1","hashtag2"]},{"1341872684":["hashtag1","hashtag2"]},{"1341872657":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341872514, 1341872802, 1341872412, 1341872229, 1341872684, 1341872657)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.51835870742798 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 13:57:31.846591
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/13/57/image_08032025_13_57_45_9955.jpg', 2), ('/home/nano/Desktop/images/08032025/13/57/image_08032025_13_57_35_9953.jpg', 2), ('/home/nano/Desktop/images/08032025/13/57/image_08032025_13_57_25_9952.jpg', 2), ('/home/nano/Desktop/images/08032025/13/57/image_08032025_13_57_15_9951.jpg', 2), ('/home/nano/Desktop/images/08032025/13/56/image_08032025_13_57_05_9956.jpg', 2), ('/home/nano/Desktop/images/08032025/13/56/image_08032025_13_56_55_9957.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/13/57/image_08032025_13_57_45_9955.jpg', '/home/nano/Desktop/images/08032025/13/57/image_08032025_13_57_35_9953.jpg', '/home/nano/Desktop/images/08032025/13/57/image_08032025_13_57_25_9952.jpg', '/home/nano/Desktop/images/08032025/13/57/image_08032025_13_57_15_9951.jpg', '/home/nano/Desktop/images/08032025/13/56/image_08032025_13_57_05_9956.jpg', '/home/nano/Desktop/images/08032025/13/56/image_08032025_13_56_55_9957.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/13/57/image_08032025_13_57_45_9955.jpg
/home/nano/Desktop/images/08032025/13/57/image_08032025_13_57_35_9953.jpg
/home/nano/Desktop/images/08032025/13/57/image_08032025_13_57_25_9952.jpg
/home/nano/Desktop/images/08032025/13/57/image_08032025_13_57_15_9951.jpg
/home/nano/Desktop/images/08032025/13/56/image_08032025_13_57_05_9956.jpg
/home/nano/Desktop/images/08032025/13/56/image_08032025_13_56_55_9957.jpg
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 13:58:02.814672
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/13/58/image_08032025_13_58_35_9944.jpg', 2), ('/home/nano/Desktop/images/08032025/13/57/image_08032025_13_57_45_9955.jpg', 2), ('/home/nano/Desktop/images/08032025/13/57/image_08032025_13_57_35_9953.jpg', 2), ('/home/nano/Desktop/images/08032025/13/57/image_08032025_13_57_25_9952.jpg', 2), ('/home/nano/Desktop/images/08032025/13/57/image_08032025_13_57_15_9951.jpg', 2), ('/home/nano/Desktop/images/08032025/13/56/image_08032025_13_57_05_9956.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/13/58/image_08032025_13_58_35_9944.jpg', '/home/nano/Desktop/images/08032025/13/57/image_08032025_13_57_45_9955.jpg', '/home/nano/Desktop/images/08032025/13/57/image_08032025_13_57_35_9953.jpg', '/home/nano/Desktop/images/08032025/13/57/image_08032025_13_57_25_9952.jpg', '/home/nano/Desktop/images/08032025/13/57/image_08032025_13_57_15_9951.jpg', '/home/nano/Desktop/images/08032025/13/56/image_08032025_13_57_05_9956.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/13/58/image_08032025_13_58_35_9944.jpg
/home/nano/Desktop/images/08032025/13/57/image_08032025_13_57_45_9955.jpg
/home/nano/Desktop/images/08032025/13/57/image_08032025_13_57_35_9953.jpg
/home/nano/Desktop/images/08032025/13/57/image_08032025_13_57_25_9952.jpg
/home/nano/Desktop/images/08032025/13/57/image_08032025_13_57_15_9951.jpg
/home/nano/Desktop/images/08032025/13/56/image_08032025_13_57_05_9956.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341874325","1341874319","1341874321","1341874324","1341874317","1341874305"],"photo_ids_order":["1341874305","1341874317","1341874319","1341874321","1341874324","1341874325"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/ed9fd8c2707a6f7c6fc31120608fc220.jpg","text":"TemporaryFile(/tmp/multipartBody4670919422116439300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741438743592,"filename":"image_08032025_13_57_05_9956.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/41ef0dcee506b8e02f977d0da3ab0e66.jpg","text":"TemporaryFile(/tmp/multipartBody7205022026340392106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741438743592,"filename":"image_08032025_13_57_35_9953.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/5a0d012b92e552345b0fa0831b0fcc7d.jpg","text":"TemporaryFile(/tmp/multipartBody8923102144099991057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741438743592,"filename":"image_08032025_13_57_25_9952.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/b725a2ee79e20159fd91fd937d041cad.jpg","text":"TemporaryFile(/tmp/multipartBody2161676825317041449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741438743592,"filename":"image_08032025_13_57_15_9951.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/8c93d4bbd3118feba9a39fd783885998.jpg","text":"TemporaryFile(/tmp/multipartBody1464673055250724741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741438743592,"filename":"image_08032025_13_57_45_9955.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/532def2b95c707b66ed03a5807187eaa.jpg","text":"TemporaryFile(/tmp/multipartBody3753041221796892571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741438743592,"filename":"image_08032025_13_58_35_9944.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341874319","file1":"1341874317","file0":"1341874305","file4":"1341874324","file5":"1341874325","file3":"1341874321"},"map_files_photo_id_array":[{"photo_id":"1341874325","filename":"file5"},{"photo_id":"1341874319","filename":"file2"},{"photo_id":"1341874324","filename":"file4"},{"photo_id":"1341874317","filename":"file1"},{"photo_id":"1341874305","filename":"file0"},{"photo_id":"1341874321","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341874325":["hashtag1","hashtag2"]},{"1341874319":["hashtag1","hashtag2"]},{"1341874321":["hashtag1","hashtag2"]},{"1341874324":["hashtag1","hashtag2"]},{"1341874317":["hashtag1","hashtag2"]},{"1341874305":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341874325, 1341874319, 1341874321, 1341874324, 1341874317, 1341874305)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.83495497703552 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 13:59:03.523508
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/13/58/image_08032025_13_58_45_9961.jpg', 2), ('/home/nano/Desktop/images/08032025/13/58/image_08032025_13_58_25_9978.jpg', 2), ('/home/nano/Desktop/images/08032025/13/58/image_08032025_13_58_15_9961.jpg', 2), ('/home/nano/Desktop/images/08032025/13/57/image_08032025_13_58_05_9975.jpg', 2), ('/home/nano/Desktop/images/08032025/13/57/image_08032025_13_57_55_9951.jpg', 2), ('/home/nano/Desktop/images/08032025/13/56/image_08032025_13_56_55_9957.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/13/58/image_08032025_13_58_45_9961.jpg', '/home/nano/Desktop/images/08032025/13/58/image_08032025_13_58_25_9978.jpg', '/home/nano/Desktop/images/08032025/13/58/image_08032025_13_58_15_9961.jpg', '/home/nano/Desktop/images/08032025/13/57/image_08032025_13_58_05_9975.jpg', '/home/nano/Desktop/images/08032025/13/57/image_08032025_13_57_55_9951.jpg', '/home/nano/Desktop/images/08032025/13/56/image_08032025_13_56_55_9957.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/13/58/image_08032025_13_58_45_9961.jpg
/home/nano/Desktop/images/08032025/13/58/image_08032025_13_58_25_9978.jpg
/home/nano/Desktop/images/08032025/13/58/image_08032025_13_58_15_9961.jpg
/home/nano/Desktop/images/08032025/13/57/image_08032025_13_58_05_9975.jpg
/home/nano/Desktop/images/08032025/13/57/image_08032025_13_57_55_9951.jpg
/home/nano/Desktop/images/08032025/13/56/image_08032025_13_56_55_9957.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341874378","1341874351","1341874333","1341874327","1341874371","1341874385"],"photo_ids_order":["1341874327","1341874333","1341874351","1341874371","1341874378","1341874385"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/86a187fdd90cd658f0bc734660b1ca42.jpg","text":"TemporaryFile(/tmp/multipartBody8045246075213867124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741438804066,"filename":"image_08032025_13_57_55_9951.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/21c623ab0349cb5032badb571423408f.jpg","text":"TemporaryFile(/tmp/multipartBody8167236556472585177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741438804066,"filename":"image_08032025_13_58_15_9961.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/ba996b7ed1fbab5de93e522d3e3e17cf.jpg","text":"TemporaryFile(/tmp/multipartBody9185174491154845701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741438804066,"filename":"image_08032025_13_58_25_9978.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/384d4d46a85ccd1ff5312a00916adc22.jpg","text":"TemporaryFile(/tmp/multipartBody114804098494412787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741438804066,"filename":"image_08032025_13_58_45_9961.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/5fbdef6d0b9801f9e54ee6fb033b2e02.jpg","text":"TemporaryFile(/tmp/multipartBody5196476651478229768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741438804066,"filename":"image_08032025_13_58_05_9975.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/e293deb20faf4874c1c9df7341a7d46a.jpg","text":"TemporaryFile(/tmp/multipartBody4296675001665554183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741438804066,"filename":"image_08032025_13_56_55_9957.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341874351","file1":"1341874333","file0":"1341874327","file4":"1341874378","file5":"1341874385","file3":"1341874371"},"map_files_photo_id_array":[{"photo_id":"1341874385","filename":"file5"},{"photo_id":"1341874351","filename":"file2"},{"photo_id":"1341874378","filename":"file4"},{"photo_id":"1341874333","filename":"file1"},{"photo_id":"1341874327","filename":"file0"},{"photo_id":"1341874371","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341874378":["hashtag1","hashtag2"]},{"1341874351":["hashtag1","hashtag2"]},{"1341874333":["hashtag1","hashtag2"]},{"1341874327":["hashtag1","hashtag2"]},{"1341874371":["hashtag1","hashtag2"]},{"1341874385":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341874378, 1341874351, 1341874333, 1341874327, 1341874371, 1341874385)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.144532203674316 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 14:00:03.315488
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/13/59/image_08032025_13_59_45_9959.jpg', 2), ('/home/nano/Desktop/images/08032025/13/59/image_08032025_13_59_35_9960.jpg', 2), ('/home/nano/Desktop/images/08032025/13/59/image_08032025_13_59_25_9964.jpg', 2), ('/home/nano/Desktop/images/08032025/13/59/image_08032025_13_59_15_9983.jpg', 2), ('/home/nano/Desktop/images/08032025/13/58/image_08032025_13_59_05_10007.jpg', 2), ('/home/nano/Desktop/images/08032025/13/58/image_08032025_13_58_55_9984.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/13/59/image_08032025_13_59_45_9959.jpg', '/home/nano/Desktop/images/08032025/13/59/image_08032025_13_59_35_9960.jpg', '/home/nano/Desktop/images/08032025/13/59/image_08032025_13_59_25_9964.jpg', '/home/nano/Desktop/images/08032025/13/59/image_08032025_13_59_15_9983.jpg', '/home/nano/Desktop/images/08032025/13/58/image_08032025_13_59_05_10007.jpg', '/home/nano/Desktop/images/08032025/13/58/image_08032025_13_58_55_9984.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/13/59/image_08032025_13_59_45_9959.jpg
/home/nano/Desktop/images/08032025/13/59/image_08032025_13_59_35_9960.jpg
/home/nano/Desktop/images/08032025/13/59/image_08032025_13_59_25_9964.jpg
/home/nano/Desktop/images/08032025/13/59/image_08032025_13_59_15_9983.jpg
/home/nano/Desktop/images/08032025/13/58/image_08032025_13_59_05_10007.jpg
/home/nano/Desktop/images/08032025/13/58/image_08032025_13_58_55_9984.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341874882","1341874912","1341874896","1341874944","1341874908","1341874902"],"photo_ids_order":["1341874882","1341874896","1341874902","1341874908","1341874912","1341874944"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/057c672aded1a137aa6cc66d69e39069.jpg","text":"TemporaryFile(/tmp/multipartBody9007582727326094588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741438863819,"filename":"image_08032025_13_59_45_9959.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/8f2b61968380ef0c71e5b512bbe7d046.jpg","text":"TemporaryFile(/tmp/multipartBody6402896370019081284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741438863819,"filename":"image_08032025_13_59_05_10007.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/2320a1b24b75aa18e4a3634f1018fa1a.jpg","text":"TemporaryFile(/tmp/multipartBody9089419023662611037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741438863819,"filename":"image_08032025_13_59_35_9960.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/91be5e59b9d2f6109c8f80a7034e1f64.jpg","text":"TemporaryFile(/tmp/multipartBody4630615683567850780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741438863819,"filename":"image_08032025_13_58_55_9984.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/c770c1218fab072766ea55899097cddd.jpg","text":"TemporaryFile(/tmp/multipartBody5295388771189855869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741438863819,"filename":"image_08032025_13_59_15_9983.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/398aaee3399b735786f552c4df9d757c.jpg","text":"TemporaryFile(/tmp/multipartBody4748598482927547779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741438863819,"filename":"image_08032025_13_59_25_9964.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341874902","file1":"1341874896","file0":"1341874882","file4":"1341874912","file5":"1341874944","file3":"1341874908"},"map_files_photo_id_array":[{"photo_id":"1341874944","filename":"file5"},{"photo_id":"1341874902","filename":"file2"},{"photo_id":"1341874912","filename":"file4"},{"photo_id":"1341874896","filename":"file1"},{"photo_id":"1341874882","filename":"file0"},{"photo_id":"1341874908","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341874882":["hashtag1","hashtag2"]},{"1341874912":["hashtag1","hashtag2"]},{"1341874896":["hashtag1","hashtag2"]},{"1341874944":["hashtag1","hashtag2"]},{"1341874908":["hashtag1","hashtag2"]},{"1341874902":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341874882, 1341874912, 1341874896, 1341874944, 1341874908, 1341874902)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.12575078010559 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 14:01:03.347005
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/14/00/image_08032025_14_00_46_9948.jpg', 2), ('/home/nano/Desktop/images/08032025/14/00/image_08032025_14_00_36_10967.jpg', 2), ('/home/nano/Desktop/images/08032025/14/00/image_08032025_14_00_25_9995.jpg', 2), ('/home/nano/Desktop/images/08032025/14/00/image_08032025_14_00_15_9972.jpg', 2), ('/home/nano/Desktop/images/08032025/13/59/image_08032025_14_00_05_9986.jpg', 2), ('/home/nano/Desktop/images/08032025/13/59/image_08032025_13_59_55_9956.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/14/00/image_08032025_14_00_46_9948.jpg', '/home/nano/Desktop/images/08032025/14/00/image_08032025_14_00_36_10967.jpg', '/home/nano/Desktop/images/08032025/14/00/image_08032025_14_00_25_9995.jpg', '/home/nano/Desktop/images/08032025/14/00/image_08032025_14_00_15_9972.jpg', '/home/nano/Desktop/images/08032025/13/59/image_08032025_14_00_05_9986.jpg', '/home/nano/Desktop/images/08032025/13/59/image_08032025_13_59_55_9956.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/14/00/image_08032025_14_00_46_9948.jpg
/home/nano/Desktop/images/08032025/14/00/image_08032025_14_00_36_10967.jpg
/home/nano/Desktop/images/08032025/14/00/image_08032025_14_00_25_9995.jpg
/home/nano/Desktop/images/08032025/14/00/image_08032025_14_00_15_9972.jpg
/home/nano/Desktop/images/08032025/13/59/image_08032025_14_00_05_9986.jpg
/home/nano/Desktop/images/08032025/13/59/image_08032025_13_59_55_9956.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.40882444381713867 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 marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 14:01:32.577771
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/14/01/image_08032025_14_01_45_9948.jpg', 2), ('/home/nano/Desktop/images/08032025/14/01/image_08032025_14_01_35_9961.jpg', 2), ('/home/nano/Desktop/images/08032025/14/01/image_08032025_14_01_25_9959.jpg', 2), ('/home/nano/Desktop/images/08032025/14/01/image_08032025_14_01_15_9967.jpg', 2), ('/home/nano/Desktop/images/08032025/14/00/image_08032025_14_01_05_9982.jpg', 2), ('/home/nano/Desktop/images/08032025/14/00/image_08032025_14_00_55_9954.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/14/01/image_08032025_14_01_45_9948.jpg', '/home/nano/Desktop/images/08032025/14/01/image_08032025_14_01_35_9961.jpg', '/home/nano/Desktop/images/08032025/14/01/image_08032025_14_01_25_9959.jpg', '/home/nano/Desktop/images/08032025/14/01/image_08032025_14_01_15_9967.jpg', '/home/nano/Desktop/images/08032025/14/00/image_08032025_14_01_05_9982.jpg', '/home/nano/Desktop/images/08032025/14/00/image_08032025_14_00_55_9954.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/14/01/image_08032025_14_01_45_9948.jpg
/home/nano/Desktop/images/08032025/14/01/image_08032025_14_01_35_9961.jpg
/home/nano/Desktop/images/08032025/14/01/image_08032025_14_01_25_9959.jpg
/home/nano/Desktop/images/08032025/14/01/image_08032025_14_01_15_9967.jpg
/home/nano/Desktop/images/08032025/14/00/image_08032025_14_01_05_9982.jpg
/home/nano/Desktop/images/08032025/14/00/image_08032025_14_00_55_9954.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341875968","1341875862","1341875766","1341875795","1341875980","1341875782"],"photo_ids_order":["1341875766","1341875782","1341875795","1341875862","1341875968","1341875980"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/f0129f9fbafb3b83d825b5fedc5d3638.jpg","text":"TemporaryFile(/tmp/multipartBody5703377285522528416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741438953046,"filename":"image_08032025_14_01_05_9982.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/a954f7e59ba6df8914523da78c3eeaf7.jpg","text":"TemporaryFile(/tmp/multipartBody4580665605128908558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741438953046,"filename":"image_08032025_14_01_15_9967.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/14074d95ce14475fd9260a920d8255e7.jpg","text":"TemporaryFile(/tmp/multipartBody353430520601336292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741438953046,"filename":"image_08032025_14_01_45_9948.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/2f77d3875eff398e16b68b0bf2f47432.jpg","text":"TemporaryFile(/tmp/multipartBody1806139956118672926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741438953046,"filename":"image_08032025_14_01_25_9959.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/dc02938ec7088deb751be2d258b11dec.jpg","text":"TemporaryFile(/tmp/multipartBody8677400176138450644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741438953046,"filename":"image_08032025_14_00_55_9954.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/9df6a2a9551d2db6c143aab00e4f05bb.jpg","text":"TemporaryFile(/tmp/multipartBody7199476367090835308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741438953046,"filename":"image_08032025_14_01_35_9961.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341875795","file1":"1341875782","file0":"1341875766","file4":"1341875968","file5":"1341875980","file3":"1341875862"},"map_files_photo_id_array":[{"photo_id":"1341875980","filename":"file5"},{"photo_id":"1341875795","filename":"file2"},{"photo_id":"1341875968","filename":"file4"},{"photo_id":"1341875782","filename":"file1"},{"photo_id":"1341875766","filename":"file0"},{"photo_id":"1341875862","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341875968":["hashtag1","hashtag2"]},{"1341875862":["hashtag1","hashtag2"]},{"1341875766":["hashtag1","hashtag2"]},{"1341875795":["hashtag1","hashtag2"]},{"1341875980":["hashtag1","hashtag2"]},{"1341875782":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341875968, 1341875862, 1341875766, 1341875795, 1341875980, 1341875782)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.34819531440735 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 14:02:32.670862
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/14/02/image_08032025_14_02_45_9964.jpg', 2), ('/home/nano/Desktop/images/08032025/14/02/image_08032025_14_02_35_9956.jpg', 2), ('/home/nano/Desktop/images/08032025/14/02/image_08032025_14_02_25_9953.jpg', 2), ('/home/nano/Desktop/images/08032025/14/02/image_08032025_14_02_15_9972.jpg', 2), ('/home/nano/Desktop/images/08032025/14/01/image_08032025_14_02_05_9966.jpg', 2), ('/home/nano/Desktop/images/08032025/14/01/image_08032025_14_01_55_9954.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/14/02/image_08032025_14_02_45_9964.jpg', '/home/nano/Desktop/images/08032025/14/02/image_08032025_14_02_35_9956.jpg', '/home/nano/Desktop/images/08032025/14/02/image_08032025_14_02_25_9953.jpg', '/home/nano/Desktop/images/08032025/14/02/image_08032025_14_02_15_9972.jpg', '/home/nano/Desktop/images/08032025/14/01/image_08032025_14_02_05_9966.jpg', '/home/nano/Desktop/images/08032025/14/01/image_08032025_14_01_55_9954.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/14/02/image_08032025_14_02_45_9964.jpg
/home/nano/Desktop/images/08032025/14/02/image_08032025_14_02_35_9956.jpg
/home/nano/Desktop/images/08032025/14/02/image_08032025_14_02_25_9953.jpg
/home/nano/Desktop/images/08032025/14/02/image_08032025_14_02_15_9972.jpg
/home/nano/Desktop/images/08032025/14/01/image_08032025_14_02_05_9966.jpg
/home/nano/Desktop/images/08032025/14/01/image_08032025_14_01_55_9954.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341876477","1341876537","1341876459","1341876519","1341876389","1341876503"],"photo_ids_order":["1341876389","1341876459","1341876477","1341876503","1341876519","1341876537"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/425a4ecd3208925b1474cefd81826472.jpg","text":"TemporaryFile(/tmp/multipartBody8627402228266978050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741439013147,"filename":"image_08032025_14_02_25_9953.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/e74a17f68b94c2fd38bce3a177b9224a.jpg","text":"TemporaryFile(/tmp/multipartBody3871031448696070334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741439013147,"filename":"image_08032025_14_01_55_9954.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/3ec4114959ac7856cb77e306cda2501b.jpg","text":"TemporaryFile(/tmp/multipartBody8787807072540165524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741439013147,"filename":"image_08032025_14_02_35_9956.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/fa61263ed84ec69abf0a30987b127fc3.jpg","text":"TemporaryFile(/tmp/multipartBody3348933389114780641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741439013147,"filename":"image_08032025_14_02_05_9966.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/53d52b1d82706c86312540b3dfc06e2c.jpg","text":"TemporaryFile(/tmp/multipartBody3580293002103313160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741439013147,"filename":"image_08032025_14_02_45_9964.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/0b265cf517fdcd4d58c3fbef48125083.jpg","text":"TemporaryFile(/tmp/multipartBody7977763153512353907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741439013147,"filename":"image_08032025_14_02_15_9972.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341876477","file1":"1341876459","file0":"1341876389","file4":"1341876519","file5":"1341876537","file3":"1341876503"},"map_files_photo_id_array":[{"photo_id":"1341876537","filename":"file5"},{"photo_id":"1341876477","filename":"file2"},{"photo_id":"1341876519","filename":"file4"},{"photo_id":"1341876459","filename":"file1"},{"photo_id":"1341876389","filename":"file0"},{"photo_id":"1341876503","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341876477":["hashtag1","hashtag2"]},{"1341876537":["hashtag1","hashtag2"]},{"1341876459":["hashtag1","hashtag2"]},{"1341876519":["hashtag1","hashtag2"]},{"1341876389":["hashtag1","hashtag2"]},{"1341876503":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341876477, 1341876537, 1341876459, 1341876519, 1341876389, 1341876503)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.926772356033325 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 14:03:31.793355
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/14/03/image_08032025_14_03_45_9960.jpg', 2), ('/home/nano/Desktop/images/08032025/14/03/image_08032025_14_03_35_9965.jpg', 2), ('/home/nano/Desktop/images/08032025/14/03/image_08032025_14_03_25_9972.jpg', 2), ('/home/nano/Desktop/images/08032025/14/03/image_08032025_14_03_15_9989.jpg', 2), ('/home/nano/Desktop/images/08032025/14/02/image_08032025_14_03_05_10009.jpg', 2), ('/home/nano/Desktop/images/08032025/14/02/image_08032025_14_02_55_9970.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/14/03/image_08032025_14_03_45_9960.jpg', '/home/nano/Desktop/images/08032025/14/03/image_08032025_14_03_35_9965.jpg', '/home/nano/Desktop/images/08032025/14/03/image_08032025_14_03_25_9972.jpg', '/home/nano/Desktop/images/08032025/14/03/image_08032025_14_03_15_9989.jpg', '/home/nano/Desktop/images/08032025/14/02/image_08032025_14_03_05_10009.jpg', '/home/nano/Desktop/images/08032025/14/02/image_08032025_14_02_55_9970.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/14/03/image_08032025_14_03_45_9960.jpg
/home/nano/Desktop/images/08032025/14/03/image_08032025_14_03_35_9965.jpg
/home/nano/Desktop/images/08032025/14/03/image_08032025_14_03_25_9972.jpg
/home/nano/Desktop/images/08032025/14/03/image_08032025_14_03_15_9989.jpg
/home/nano/Desktop/images/08032025/14/02/image_08032025_14_03_05_10009.jpg
/home/nano/Desktop/images/08032025/14/02/image_08032025_14_02_55_9970.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341876748","1341876774","1341876675","1341876648","1341876702","1341876725"],"photo_ids_order":["1341876648","1341876675","1341876702","1341876725","1341876748","1341876774"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/dbe252fb132f6dc82ae8ea1549059ba2.jpg","text":"TemporaryFile(/tmp/multipartBody2956133156935356988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741439072206,"filename":"image_08032025_14_03_05_10009.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/9b15cb62a052db2fa2dad2488a37abf0.jpg","text":"TemporaryFile(/tmp/multipartBody5735524710640832323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741439072206,"filename":"image_08032025_14_02_55_9970.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/5933aebedfdfa9c24932ef65d7656d75.jpg","text":"TemporaryFile(/tmp/multipartBody6004580442420934949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741439072206,"filename":"image_08032025_14_03_35_9965.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/2f478930eb0659a19468bb55979cd092.jpg","text":"TemporaryFile(/tmp/multipartBody8338239886065605496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741439072206,"filename":"image_08032025_14_03_45_9960.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/06e33dedcb9b4107c95c7005094f9790.jpg","text":"TemporaryFile(/tmp/multipartBody6939337475589605997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741439072206,"filename":"image_08032025_14_03_25_9972.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/43e53e96b430aa98df49464c96076fd1.jpg","text":"TemporaryFile(/tmp/multipartBody2737806664865481468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741439072206,"filename":"image_08032025_14_03_15_9989.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341876702","file1":"1341876675","file0":"1341876648","file4":"1341876748","file5":"1341876774","file3":"1341876725"},"map_files_photo_id_array":[{"photo_id":"1341876774","filename":"file5"},{"photo_id":"1341876702","filename":"file2"},{"photo_id":"1341876748","filename":"file4"},{"photo_id":"1341876675","filename":"file1"},{"photo_id":"1341876648","filename":"file0"},{"photo_id":"1341876725","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341876748":["hashtag1","hashtag2"]},{"1341876774":["hashtag1","hashtag2"]},{"1341876675":["hashtag1","hashtag2"]},{"1341876648":["hashtag1","hashtag2"]},{"1341876702":["hashtag1","hashtag2"]},{"1341876725":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341876748, 1341876774, 1341876675, 1341876648, 1341876702, 1341876725)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.67908072471619 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 14:04:31.880602
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/14/04/image_08032025_14_04_45_9957.jpg', 2), ('/home/nano/Desktop/images/08032025/14/04/image_08032025_14_04_35_9964.jpg', 2), ('/home/nano/Desktop/images/08032025/14/04/image_08032025_14_04_25_9964.jpg', 2), ('/home/nano/Desktop/images/08032025/14/04/image_08032025_14_04_15_9963.jpg', 2), ('/home/nano/Desktop/images/08032025/14/03/image_08032025_14_04_05_9986.jpg', 2), ('/home/nano/Desktop/images/08032025/14/03/image_08032025_14_03_55_9967.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/14/04/image_08032025_14_04_45_9957.jpg', '/home/nano/Desktop/images/08032025/14/04/image_08032025_14_04_35_9964.jpg', '/home/nano/Desktop/images/08032025/14/04/image_08032025_14_04_25_9964.jpg', '/home/nano/Desktop/images/08032025/14/04/image_08032025_14_04_15_9963.jpg', '/home/nano/Desktop/images/08032025/14/03/image_08032025_14_04_05_9986.jpg', '/home/nano/Desktop/images/08032025/14/03/image_08032025_14_03_55_9967.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/14/04/image_08032025_14_04_45_9957.jpg
/home/nano/Desktop/images/08032025/14/04/image_08032025_14_04_35_9964.jpg
/home/nano/Desktop/images/08032025/14/04/image_08032025_14_04_25_9964.jpg
/home/nano/Desktop/images/08032025/14/04/image_08032025_14_04_15_9963.jpg
/home/nano/Desktop/images/08032025/14/03/image_08032025_14_04_05_9986.jpg
/home/nano/Desktop/images/08032025/14/03/image_08032025_14_03_55_9967.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341877011","1341877061","1341877148","1341877127","1341877034","1341877090"],"photo_ids_order":["1341877011","1341877034","1341877061","1341877090","1341877127","1341877148"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/46275eebc8caec9f28ae1c0909b931cc.jpg","text":"TemporaryFile(/tmp/multipartBody8716540951510969946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741439132448,"filename":"image_08032025_14_04_45_9957.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/7d1f6be63dff82e10df6e00c468c0ad0.jpg","text":"TemporaryFile(/tmp/multipartBody2413487674656296786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741439132448,"filename":"image_08032025_14_04_25_9964.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/98919dd20caa36a56196ca762e37aa00.jpg","text":"TemporaryFile(/tmp/multipartBody2634048224027673788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741439132448,"filename":"image_08032025_14_03_55_9967.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/5d317cd3b62cc79b3999578426d26203.jpg","text":"TemporaryFile(/tmp/multipartBody6152365306176946919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741439132448,"filename":"image_08032025_14_04_05_9986.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/7f4d81b1fe2e5ba2b058df21422175d4.jpg","text":"TemporaryFile(/tmp/multipartBody2512827011671719139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741439132448,"filename":"image_08032025_14_04_35_9964.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/87c44338396fd2eb39532cc06404d989.jpg","text":"TemporaryFile(/tmp/multipartBody3089554170846991352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741439132448,"filename":"image_08032025_14_04_15_9963.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341877061","file1":"1341877034","file0":"1341877011","file4":"1341877127","file5":"1341877148","file3":"1341877090"},"map_files_photo_id_array":[{"photo_id":"1341877148","filename":"file5"},{"photo_id":"1341877061","filename":"file2"},{"photo_id":"1341877127","filename":"file4"},{"photo_id":"1341877034","filename":"file1"},{"photo_id":"1341877011","filename":"file0"},{"photo_id":"1341877090","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341877011":["hashtag1","hashtag2"]},{"1341877061":["hashtag1","hashtag2"]},{"1341877148":["hashtag1","hashtag2"]},{"1341877127":["hashtag1","hashtag2"]},{"1341877034":["hashtag1","hashtag2"]},{"1341877090":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341877011, 1341877061, 1341877148, 1341877127, 1341877034, 1341877090)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.05861282348633 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 14:05:32.009391
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/14/05/image_08032025_14_05_46_9976.jpg', 2), ('/home/nano/Desktop/images/08032025/14/05/image_08032025_14_05_36_10962.jpg', 2), ('/home/nano/Desktop/images/08032025/14/05/image_08032025_14_05_25_9955.jpg', 2), ('/home/nano/Desktop/images/08032025/14/05/image_08032025_14_05_15_9958.jpg', 2), ('/home/nano/Desktop/images/08032025/14/04/image_08032025_14_05_05_9967.jpg', 2), ('/home/nano/Desktop/images/08032025/14/04/image_08032025_14_04_55_9960.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/14/05/image_08032025_14_05_46_9976.jpg', '/home/nano/Desktop/images/08032025/14/05/image_08032025_14_05_36_10962.jpg', '/home/nano/Desktop/images/08032025/14/05/image_08032025_14_05_25_9955.jpg', '/home/nano/Desktop/images/08032025/14/05/image_08032025_14_05_15_9958.jpg', '/home/nano/Desktop/images/08032025/14/04/image_08032025_14_05_05_9967.jpg', '/home/nano/Desktop/images/08032025/14/04/image_08032025_14_04_55_9960.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/14/05/image_08032025_14_05_46_9976.jpg
/home/nano/Desktop/images/08032025/14/05/image_08032025_14_05_36_10962.jpg
/home/nano/Desktop/images/08032025/14/05/image_08032025_14_05_25_9955.jpg
/home/nano/Desktop/images/08032025/14/05/image_08032025_14_05_15_9958.jpg
/home/nano/Desktop/images/08032025/14/04/image_08032025_14_05_05_9967.jpg
/home/nano/Desktop/images/08032025/14/04/image_08032025_14_04_55_9960.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341877383","1341877536","1341877582","1341877498","1341877426","1341877609"],"photo_ids_order":["1341877383","1341877426","1341877498","1341877536","1341877582","1341877609"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/ac17b60433e34b4dfb2c59a8887fefab.jpg","text":"TemporaryFile(/tmp/multipartBody5082235423050908048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741439192548,"filename":"image_08032025_14_05_46_9976.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/5ce3559be42e2b4a692d4d1f9246929b.jpg","text":"TemporaryFile(/tmp/multipartBody4631850561682799667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741439192548,"filename":"image_08032025_14_05_15_9958.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/bc365ba40d5233431d8c5295ed8c268e.jpg","text":"TemporaryFile(/tmp/multipartBody6840895779892475101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741439192548,"filename":"image_08032025_14_05_05_9967.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/7561bad3fd7e7219e9257b9d4e755c4e.jpg","text":"TemporaryFile(/tmp/multipartBody1565194289861096862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741439192548,"filename":"image_08032025_14_05_25_9955.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/91ee2b99001a4a8ed52381976033c5db.jpg","text":"TemporaryFile(/tmp/multipartBody4071237320731492946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741439192548,"filename":"image_08032025_14_05_36_10962.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/1b53acf64814ac8cf31aef6413b174b9.jpg","text":"TemporaryFile(/tmp/multipartBody4799991797308427581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741439192548,"filename":"image_08032025_14_04_55_9960.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341877498","file1":"1341877426","file0":"1341877383","file4":"1341877582","file5":"1341877609","file3":"1341877536"},"map_files_photo_id_array":[{"photo_id":"1341877609","filename":"file5"},{"photo_id":"1341877498","filename":"file2"},{"photo_id":"1341877582","filename":"file4"},{"photo_id":"1341877426","filename":"file1"},{"photo_id":"1341877383","filename":"file0"},{"photo_id":"1341877536","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341877383":["hashtag1","hashtag2"]},{"1341877536":["hashtag1","hashtag2"]},{"1341877582":["hashtag1","hashtag2"]},{"1341877498":["hashtag1","hashtag2"]},{"1341877426":["hashtag1","hashtag2"]},{"1341877609":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341877383, 1341877536, 1341877582, 1341877498, 1341877426, 1341877609)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.698792457580566 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 14:06:32.113262
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/14/06/image_08032025_14_06_45_9943.jpg', 2), ('/home/nano/Desktop/images/08032025/14/06/image_08032025_14_06_35_9969.jpg', 2), ('/home/nano/Desktop/images/08032025/14/06/image_08032025_14_06_25_9968.jpg', 2), ('/home/nano/Desktop/images/08032025/14/06/image_08032025_14_06_15_9948.jpg', 2), ('/home/nano/Desktop/images/08032025/14/05/image_08032025_14_06_05_9977.jpg', 2), ('/home/nano/Desktop/images/08032025/14/05/image_08032025_14_05_55_9948.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/14/06/image_08032025_14_06_45_9943.jpg', '/home/nano/Desktop/images/08032025/14/06/image_08032025_14_06_35_9969.jpg', '/home/nano/Desktop/images/08032025/14/06/image_08032025_14_06_25_9968.jpg', '/home/nano/Desktop/images/08032025/14/06/image_08032025_14_06_15_9948.jpg', '/home/nano/Desktop/images/08032025/14/05/image_08032025_14_06_05_9977.jpg', '/home/nano/Desktop/images/08032025/14/05/image_08032025_14_05_55_9948.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/14/06/image_08032025_14_06_45_9943.jpg
/home/nano/Desktop/images/08032025/14/06/image_08032025_14_06_35_9969.jpg
/home/nano/Desktop/images/08032025/14/06/image_08032025_14_06_25_9968.jpg
/home/nano/Desktop/images/08032025/14/06/image_08032025_14_06_15_9948.jpg
/home/nano/Desktop/images/08032025/14/05/image_08032025_14_06_05_9977.jpg
/home/nano/Desktop/images/08032025/14/05/image_08032025_14_05_55_9948.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341878006","1341877844","1341877931","1341877811","1341877972","1341877875"],"photo_ids_order":["1341877811","1341877844","1341877875","1341877931","1341877972","1341878006"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/0abef623e5a067d9ea60ba5c8c78c5c2.jpg","text":"TemporaryFile(/tmp/multipartBody5902443604342555780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741439252665,"filename":"image_08032025_14_05_55_9948.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/1f58727f75b1a340ec85e5a1c1763373.jpg","text":"TemporaryFile(/tmp/multipartBody4932871071478739744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741439252665,"filename":"image_08032025_14_06_35_9969.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/db757449d15c9aaa3ce6718c69373470.jpg","text":"TemporaryFile(/tmp/multipartBody2439476059599011720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741439252665,"filename":"image_08032025_14_06_15_9948.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/40e6b0e8ff2be4de80d586d58537f275.jpg","text":"TemporaryFile(/tmp/multipartBody8748102343878504743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741439252665,"filename":"image_08032025_14_06_45_9943.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/3e6a28f4c7f9efe11070de70136dd8ef.jpg","text":"TemporaryFile(/tmp/multipartBody3406859451710126578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741439252665,"filename":"image_08032025_14_06_05_9977.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/18e4bfea2509d1a0a8ccc087f05418e9.jpg","text":"TemporaryFile(/tmp/multipartBody8256120622831234179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741439252665,"filename":"image_08032025_14_06_25_9968.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341877875","file1":"1341877844","file0":"1341877811","file4":"1341877972","file5":"1341878006","file3":"1341877931"},"map_files_photo_id_array":[{"photo_id":"1341878006","filename":"file5"},{"photo_id":"1341877875","filename":"file2"},{"photo_id":"1341877972","filename":"file4"},{"photo_id":"1341877844","filename":"file1"},{"photo_id":"1341877811","filename":"file0"},{"photo_id":"1341877931","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341878006":["hashtag1","hashtag2"]},{"1341877844":["hashtag1","hashtag2"]},{"1341877931":["hashtag1","hashtag2"]},{"1341877811":["hashtag1","hashtag2"]},{"1341877972":["hashtag1","hashtag2"]},{"1341877875":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341878006, 1341877844, 1341877931, 1341877811, 1341877972, 1341877875)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.762664556503296 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 14:07:32.225300
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/14/07/image_08032025_14_07_45_9985.jpg', 2), ('/home/nano/Desktop/images/08032025/14/07/image_08032025_14_07_35_9986.jpg', 2), ('/home/nano/Desktop/images/08032025/14/07/image_08032025_14_07_25_10006.jpg', 2), ('/home/nano/Desktop/images/08032025/14/07/image_08032025_14_07_15_10001.jpg', 2), ('/home/nano/Desktop/images/08032025/14/06/image_08032025_14_07_05_10003.jpg', 2), ('/home/nano/Desktop/images/08032025/14/06/image_08032025_14_06_55_9943.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/14/07/image_08032025_14_07_45_9985.jpg', '/home/nano/Desktop/images/08032025/14/07/image_08032025_14_07_35_9986.jpg', '/home/nano/Desktop/images/08032025/14/07/image_08032025_14_07_25_10006.jpg', '/home/nano/Desktop/images/08032025/14/07/image_08032025_14_07_15_10001.jpg', '/home/nano/Desktop/images/08032025/14/06/image_08032025_14_07_05_10003.jpg', '/home/nano/Desktop/images/08032025/14/06/image_08032025_14_06_55_9943.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/14/07/image_08032025_14_07_45_9985.jpg
/home/nano/Desktop/images/08032025/14/07/image_08032025_14_07_35_9986.jpg
/home/nano/Desktop/images/08032025/14/07/image_08032025_14_07_25_10006.jpg
/home/nano/Desktop/images/08032025/14/07/image_08032025_14_07_15_10001.jpg
/home/nano/Desktop/images/08032025/14/06/image_08032025_14_07_05_10003.jpg
/home/nano/Desktop/images/08032025/14/06/image_08032025_14_06_55_9943.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341878226","1341878195","1341878369","1341878408","1341878281","1341878260"],"photo_ids_order":["1341878195","1341878226","1341878260","1341878281","1341878369","1341878408"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/feca4048ddb5fc2e1fa38f6f95c66fad.jpg","text":"TemporaryFile(/tmp/multipartBody6187865851787975536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741439312803,"filename":"image_08032025_14_07_35_9986.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/faff57700b2b54fb8b155d219f9814db.jpg","text":"TemporaryFile(/tmp/multipartBody3945616078769742150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741439312803,"filename":"image_08032025_14_07_45_9985.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/85663e0a38e906eacaedab19251359d0.jpg","text":"TemporaryFile(/tmp/multipartBody961028005895223267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741439312803,"filename":"image_08032025_14_07_05_10003.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/25ac391c78bd7e1874ef07034d71ae74.jpg","text":"TemporaryFile(/tmp/multipartBody8777572440294159196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741439312803,"filename":"image_08032025_14_06_55_9943.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/7d53e4e8e1a9ac09749909c59adf855b.jpg","text":"TemporaryFile(/tmp/multipartBody5117358895419532065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741439312803,"filename":"image_08032025_14_07_15_10001.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/e8973c22435dadd4dab417e6709a1b44.jpg","text":"TemporaryFile(/tmp/multipartBody5957206288655512168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741439312803,"filename":"image_08032025_14_07_25_10006.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341878260","file1":"1341878226","file0":"1341878195","file4":"1341878369","file5":"1341878408","file3":"1341878281"},"map_files_photo_id_array":[{"photo_id":"1341878408","filename":"file5"},{"photo_id":"1341878260","filename":"file2"},{"photo_id":"1341878369","filename":"file4"},{"photo_id":"1341878226","filename":"file1"},{"photo_id":"1341878195","filename":"file0"},{"photo_id":"1341878281","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341878226":["hashtag1","hashtag2"]},{"1341878195":["hashtag1","hashtag2"]},{"1341878369":["hashtag1","hashtag2"]},{"1341878408":["hashtag1","hashtag2"]},{"1341878281":["hashtag1","hashtag2"]},{"1341878260":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341878226, 1341878195, 1341878369, 1341878408, 1341878281, 1341878260)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.61009407043457 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 14:08:32.327158
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/14/08/image_08032025_14_08_45_9977.jpg', 2), ('/home/nano/Desktop/images/08032025/14/08/image_08032025_14_08_35_9984.jpg', 2), ('/home/nano/Desktop/images/08032025/14/08/image_08032025_14_08_25_9980.jpg', 2), ('/home/nano/Desktop/images/08032025/14/08/image_08032025_14_08_15_9972.jpg', 2), ('/home/nano/Desktop/images/08032025/14/07/image_08032025_14_08_05_10013.jpg', 2), ('/home/nano/Desktop/images/08032025/14/07/image_08032025_14_07_55_9983.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/14/08/image_08032025_14_08_45_9977.jpg', '/home/nano/Desktop/images/08032025/14/08/image_08032025_14_08_35_9984.jpg', '/home/nano/Desktop/images/08032025/14/08/image_08032025_14_08_25_9980.jpg', '/home/nano/Desktop/images/08032025/14/08/image_08032025_14_08_15_9972.jpg', '/home/nano/Desktop/images/08032025/14/07/image_08032025_14_08_05_10013.jpg', '/home/nano/Desktop/images/08032025/14/07/image_08032025_14_07_55_9983.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/14/08/image_08032025_14_08_45_9977.jpg
/home/nano/Desktop/images/08032025/14/08/image_08032025_14_08_35_9984.jpg
/home/nano/Desktop/images/08032025/14/08/image_08032025_14_08_25_9980.jpg
/home/nano/Desktop/images/08032025/14/08/image_08032025_14_08_15_9972.jpg
/home/nano/Desktop/images/08032025/14/07/image_08032025_14_08_05_10013.jpg
/home/nano/Desktop/images/08032025/14/07/image_08032025_14_07_55_9983.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.5152239799499512 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 marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 14:09:03.480645
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/14/08/image_08032025_14_08_45_9977.jpg', 2), ('/home/nano/Desktop/images/08032025/14/08/image_08032025_14_08_35_9984.jpg', 2), ('/home/nano/Desktop/images/08032025/14/08/image_08032025_14_08_25_9980.jpg', 2), ('/home/nano/Desktop/images/08032025/14/08/image_08032025_14_08_15_9972.jpg', 2), ('/home/nano/Desktop/images/08032025/14/07/image_08032025_14_08_05_10013.jpg', 2), ('/home/nano/Desktop/images/08032025/14/07/image_08032025_14_07_55_9983.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/14/08/image_08032025_14_08_45_9977.jpg', '/home/nano/Desktop/images/08032025/14/08/image_08032025_14_08_35_9984.jpg', '/home/nano/Desktop/images/08032025/14/08/image_08032025_14_08_25_9980.jpg', '/home/nano/Desktop/images/08032025/14/08/image_08032025_14_08_15_9972.jpg', '/home/nano/Desktop/images/08032025/14/07/image_08032025_14_08_05_10013.jpg', '/home/nano/Desktop/images/08032025/14/07/image_08032025_14_07_55_9983.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/14/08/image_08032025_14_08_45_9977.jpg
/home/nano/Desktop/images/08032025/14/08/image_08032025_14_08_35_9984.jpg
/home/nano/Desktop/images/08032025/14/08/image_08032025_14_08_25_9980.jpg
/home/nano/Desktop/images/08032025/14/08/image_08032025_14_08_15_9972.jpg
/home/nano/Desktop/images/08032025/14/07/image_08032025_14_08_05_10013.jpg
/home/nano/Desktop/images/08032025/14/07/image_08032025_14_07_55_9983.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341878936","1341878884","1341879081","1341878905","1341878841","1341879006"],"photo_ids_order":["1341878841","1341878884","1341878905","1341878936","1341879006","1341879081"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/4a4f7c220aa3c5f1ff38b431d5f6c3d5.jpg","text":"TemporaryFile(/tmp/multipartBody2779081374930129937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741439403959,"filename":"image_08032025_14_08_15_9972.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/e9dc949824601bc6e1cf3f12f095c361.jpg","text":"TemporaryFile(/tmp/multipartBody165694883735320620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741439403959,"filename":"image_08032025_14_08_35_9984.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/7d94e15b88b9025d39abd9e373ebdcee.jpg","text":"TemporaryFile(/tmp/multipartBody8906259905803069046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741439403959,"filename":"image_08032025_14_07_55_9983.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/056c7fcc38ae61ee32f6a4ec448d9372.jpg","text":"TemporaryFile(/tmp/multipartBody3604289486718242816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741439403959,"filename":"image_08032025_14_08_25_9980.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/7f61e77572821631291baefe39b8448e.jpg","text":"TemporaryFile(/tmp/multipartBody8768762264940976003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741439403959,"filename":"image_08032025_14_08_45_9977.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/6f213b8409b0ae8b04bf1f1c63803faa.jpg","text":"TemporaryFile(/tmp/multipartBody3888741061126028714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741439403959,"filename":"image_08032025_14_08_05_10013.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341878905","file1":"1341878884","file0":"1341878841","file4":"1341879006","file5":"1341879081","file3":"1341878936"},"map_files_photo_id_array":[{"photo_id":"1341879081","filename":"file5"},{"photo_id":"1341878905","filename":"file2"},{"photo_id":"1341879006","filename":"file4"},{"photo_id":"1341878884","filename":"file1"},{"photo_id":"1341878841","filename":"file0"},{"photo_id":"1341878936","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341878936":["hashtag1","hashtag2"]},{"1341878884":["hashtag1","hashtag2"]},{"1341879081":["hashtag1","hashtag2"]},{"1341878905":["hashtag1","hashtag2"]},{"1341878841":["hashtag1","hashtag2"]},{"1341879006":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341878936, 1341878884, 1341879081, 1341878905, 1341878841, 1341879006)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.903727293014526 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 14:10:03.383214
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/14/09/image_08032025_14_09_45_9987.jpg', 2), ('/home/nano/Desktop/images/08032025/14/09/image_08032025_14_09_35_9983.jpg', 2), ('/home/nano/Desktop/images/08032025/14/09/image_08032025_14_09_25_9981.jpg', 2), ('/home/nano/Desktop/images/08032025/14/09/image_08032025_14_09_15_9987.jpg', 2), ('/home/nano/Desktop/images/08032025/14/08/image_08032025_14_09_05_9994.jpg', 2), ('/home/nano/Desktop/images/08032025/14/08/image_08032025_14_08_55_9978.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/14/09/image_08032025_14_09_45_9987.jpg', '/home/nano/Desktop/images/08032025/14/09/image_08032025_14_09_35_9983.jpg', '/home/nano/Desktop/images/08032025/14/09/image_08032025_14_09_25_9981.jpg', '/home/nano/Desktop/images/08032025/14/09/image_08032025_14_09_15_9987.jpg', '/home/nano/Desktop/images/08032025/14/08/image_08032025_14_09_05_9994.jpg', '/home/nano/Desktop/images/08032025/14/08/image_08032025_14_08_55_9978.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/14/09/image_08032025_14_09_45_9987.jpg
/home/nano/Desktop/images/08032025/14/09/image_08032025_14_09_35_9983.jpg
/home/nano/Desktop/images/08032025/14/09/image_08032025_14_09_25_9981.jpg
/home/nano/Desktop/images/08032025/14/09/image_08032025_14_09_15_9987.jpg
/home/nano/Desktop/images/08032025/14/08/image_08032025_14_09_05_9994.jpg
/home/nano/Desktop/images/08032025/14/08/image_08032025_14_08_55_9978.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341879455","1341879524","1341879583","1341879712","1341879666","1341879396"],"photo_ids_order":["1341879396","1341879455","1341879524","1341879583","1341879666","1341879712"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/c36a854bde7ec212a19b3eba4e22e2c4.jpg","text":"TemporaryFile(/tmp/multipartBody1474731013093121027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741439463820,"filename":"image_08032025_14_09_35_9983.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/cd644306a97942b810272ffdf63a48ca.jpg","text":"TemporaryFile(/tmp/multipartBody959812009013280054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741439463820,"filename":"image_08032025_14_09_25_9981.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/53176b736d891af73a3beadbd9b468cd.jpg","text":"TemporaryFile(/tmp/multipartBody8008176342568833446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741439463820,"filename":"image_08032025_14_09_15_9987.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/e5aff6ac733f0e0d880db573f634ba03.jpg","text":"TemporaryFile(/tmp/multipartBody7180026301002015902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741439463820,"filename":"image_08032025_14_08_55_9978.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/b9323ea6a0944b374c59180b1c5d3cda.jpg","text":"TemporaryFile(/tmp/multipartBody2392713969090721449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741439463820,"filename":"image_08032025_14_09_05_9994.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/db86e179747cf058e0f6bb7a940186f6.jpg","text":"TemporaryFile(/tmp/multipartBody927168212259110110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741439463820,"filename":"image_08032025_14_09_45_9987.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341879524","file1":"1341879455","file0":"1341879396","file4":"1341879666","file5":"1341879712","file3":"1341879583"},"map_files_photo_id_array":[{"photo_id":"1341879712","filename":"file5"},{"photo_id":"1341879524","filename":"file2"},{"photo_id":"1341879666","filename":"file4"},{"photo_id":"1341879455","filename":"file1"},{"photo_id":"1341879396","filename":"file0"},{"photo_id":"1341879583","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341879455":["hashtag1","hashtag2"]},{"1341879524":["hashtag1","hashtag2"]},{"1341879583":["hashtag1","hashtag2"]},{"1341879712":["hashtag1","hashtag2"]},{"1341879666":["hashtag1","hashtag2"]},{"1341879396":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341879455, 1341879524, 1341879583, 1341879712, 1341879666, 1341879396)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.44489574432373 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 14:11:03.428320
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/14/10/image_08032025_14_10_45_10024.jpg', 2), ('/home/nano/Desktop/images/08032025/14/10/image_08032025_14_10_35_9993.jpg', 2), ('/home/nano/Desktop/images/08032025/14/10/image_08032025_14_10_25_9984.jpg', 2), ('/home/nano/Desktop/images/08032025/14/10/image_08032025_14_10_15_10015.jpg', 2), ('/home/nano/Desktop/images/08032025/14/09/image_08032025_14_10_05_10043.jpg', 2), ('/home/nano/Desktop/images/08032025/14/09/image_08032025_14_09_55_9987.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/14/10/image_08032025_14_10_45_10024.jpg', '/home/nano/Desktop/images/08032025/14/10/image_08032025_14_10_35_9993.jpg', '/home/nano/Desktop/images/08032025/14/10/image_08032025_14_10_25_9984.jpg', '/home/nano/Desktop/images/08032025/14/10/image_08032025_14_10_15_10015.jpg', '/home/nano/Desktop/images/08032025/14/09/image_08032025_14_10_05_10043.jpg', '/home/nano/Desktop/images/08032025/14/09/image_08032025_14_09_55_9987.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/14/10/image_08032025_14_10_45_10024.jpg
/home/nano/Desktop/images/08032025/14/10/image_08032025_14_10_35_9993.jpg
/home/nano/Desktop/images/08032025/14/10/image_08032025_14_10_25_9984.jpg
/home/nano/Desktop/images/08032025/14/10/image_08032025_14_10_15_10015.jpg
/home/nano/Desktop/images/08032025/14/09/image_08032025_14_10_05_10043.jpg
/home/nano/Desktop/images/08032025/14/09/image_08032025_14_09_55_9987.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341880029","1341880190","1341880005","1341880034","1341880087","1341880158"],"photo_ids_order":["1341880005","1341880029","1341880034","1341880087","1341880158","1341880190"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/371c48311e696379e9fbae33ea37bde4.jpg","text":"TemporaryFile(/tmp/multipartBody1356534470991755054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741439523915,"filename":"image_08032025_14_10_35_9993.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/10405fe0e5ffbd25f97dca490636e460.jpg","text":"TemporaryFile(/tmp/multipartBody4995446379793122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741439523915,"filename":"image_08032025_14_09_55_9987.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/c88b6fae3259c9f3659faa340afd4cb3.jpg","text":"TemporaryFile(/tmp/multipartBody6191468823463495037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741439523915,"filename":"image_08032025_14_10_45_10024.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/05a8885938364538a4d0aba6ed375f16.jpg","text":"TemporaryFile(/tmp/multipartBody3281914581603604734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741439523915,"filename":"image_08032025_14_10_25_9984.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/1da47a182556894a9525d24570e83b8c.jpg","text":"TemporaryFile(/tmp/multipartBody1531296882041296464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741439523915,"filename":"image_08032025_14_10_15_10015.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/ae3c244e9ed72eab2b6a27cffe7498b2.jpg","text":"TemporaryFile(/tmp/multipartBody2137467525831158020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741439523915,"filename":"image_08032025_14_10_05_10043.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341880034","file1":"1341880029","file0":"1341880005","file4":"1341880158","file5":"1341880190","file3":"1341880087"},"map_files_photo_id_array":[{"photo_id":"1341880190","filename":"file5"},{"photo_id":"1341880034","filename":"file2"},{"photo_id":"1341880158","filename":"file4"},{"photo_id":"1341880029","filename":"file1"},{"photo_id":"1341880005","filename":"file0"},{"photo_id":"1341880087","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341880029":["hashtag1","hashtag2"]},{"1341880190":["hashtag1","hashtag2"]},{"1341880005":["hashtag1","hashtag2"]},{"1341880034":["hashtag1","hashtag2"]},{"1341880087":["hashtag1","hashtag2"]},{"1341880158":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341880029, 1341880190, 1341880005, 1341880034, 1341880087, 1341880158)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.07479286193848 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 14:12:03.674679
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/14/11/image_08032025_14_11_45_9984.jpg', 2), ('/home/nano/Desktop/images/08032025/14/11/image_08032025_14_11_35_9984.jpg', 2), ('/home/nano/Desktop/images/08032025/14/11/image_08032025_14_11_25_9983.jpg', 2), ('/home/nano/Desktop/images/08032025/14/11/image_08032025_14_11_15_10011.jpg', 2), ('/home/nano/Desktop/images/08032025/14/10/image_08032025_14_11_05_10025.jpg', 2), ('/home/nano/Desktop/images/08032025/14/10/image_08032025_14_10_55_10015.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/14/11/image_08032025_14_11_45_9984.jpg', '/home/nano/Desktop/images/08032025/14/11/image_08032025_14_11_35_9984.jpg', '/home/nano/Desktop/images/08032025/14/11/image_08032025_14_11_25_9983.jpg', '/home/nano/Desktop/images/08032025/14/11/image_08032025_14_11_15_10011.jpg', '/home/nano/Desktop/images/08032025/14/10/image_08032025_14_11_05_10025.jpg', '/home/nano/Desktop/images/08032025/14/10/image_08032025_14_10_55_10015.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/14/11/image_08032025_14_11_45_9984.jpg
/home/nano/Desktop/images/08032025/14/11/image_08032025_14_11_35_9984.jpg
/home/nano/Desktop/images/08032025/14/11/image_08032025_14_11_25_9983.jpg
/home/nano/Desktop/images/08032025/14/11/image_08032025_14_11_15_10011.jpg
/home/nano/Desktop/images/08032025/14/10/image_08032025_14_11_05_10025.jpg
/home/nano/Desktop/images/08032025/14/10/image_08032025_14_10_55_10015.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.3534269332885742 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 marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 14:12:32.766281
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/14/12/image_08032025_14_12_45_9999.jpg', 2), ('/home/nano/Desktop/images/08032025/14/12/image_08032025_14_12_35_9993.jpg', 2), ('/home/nano/Desktop/images/08032025/14/12/image_08032025_14_12_25_9993.jpg', 2), ('/home/nano/Desktop/images/08032025/14/12/image_08032025_14_12_15_9982.jpg', 2), ('/home/nano/Desktop/images/08032025/14/11/image_08032025_14_12_05_10017.jpg', 2), ('/home/nano/Desktop/images/08032025/14/11/image_08032025_14_11_55_9986.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/14/12/image_08032025_14_12_45_9999.jpg', '/home/nano/Desktop/images/08032025/14/12/image_08032025_14_12_35_9993.jpg', '/home/nano/Desktop/images/08032025/14/12/image_08032025_14_12_25_9993.jpg', '/home/nano/Desktop/images/08032025/14/12/image_08032025_14_12_15_9982.jpg', '/home/nano/Desktop/images/08032025/14/11/image_08032025_14_12_05_10017.jpg', '/home/nano/Desktop/images/08032025/14/11/image_08032025_14_11_55_9986.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/14/12/image_08032025_14_12_45_9999.jpg
/home/nano/Desktop/images/08032025/14/12/image_08032025_14_12_35_9993.jpg
/home/nano/Desktop/images/08032025/14/12/image_08032025_14_12_25_9993.jpg
/home/nano/Desktop/images/08032025/14/12/image_08032025_14_12_15_9982.jpg
/home/nano/Desktop/images/08032025/14/11/image_08032025_14_12_05_10017.jpg
/home/nano/Desktop/images/08032025/14/11/image_08032025_14_11_55_9986.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341880326","1341880400","1341880390","1341880354","1341880386","1341880395"],"photo_ids_order":["1341880326","1341880354","1341880386","1341880390","1341880395","1341880400"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/095870b1cdde4ad63ac9a93ae6d76156.jpg","text":"TemporaryFile(/tmp/multipartBody4268773349413525768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741439613354,"filename":"image_08032025_14_12_45_9999.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/338b1fe93c98304d45947ff22dd209c5.jpg","text":"TemporaryFile(/tmp/multipartBody8440715116722587233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741439613354,"filename":"image_08032025_14_11_55_9986.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/d29234cb9ebf8d8c8689558aae15f596.jpg","text":"TemporaryFile(/tmp/multipartBody8762169852682898221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741439613354,"filename":"image_08032025_14_12_15_9982.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/969031b69fe2911318c2b96af2bd88fe.jpg","text":"TemporaryFile(/tmp/multipartBody4845681088915379177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741439613354,"filename":"image_08032025_14_12_35_9993.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/6bdddc34ca1b042e5286659010958236.jpg","text":"TemporaryFile(/tmp/multipartBody8452971226537721410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741439613354,"filename":"image_08032025_14_12_25_9993.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/3ed436b2b8d6e465eac5a8211a0dc370.jpg","text":"TemporaryFile(/tmp/multipartBody8297421258632696442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741439613354,"filename":"image_08032025_14_12_05_10017.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341880386","file1":"1341880354","file0":"1341880326","file4":"1341880395","file5":"1341880400","file3":"1341880390"},"map_files_photo_id_array":[{"photo_id":"1341880400","filename":"file5"},{"photo_id":"1341880386","filename":"file2"},{"photo_id":"1341880395","filename":"file4"},{"photo_id":"1341880354","filename":"file1"},{"photo_id":"1341880326","filename":"file0"},{"photo_id":"1341880390","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341880326":["hashtag1","hashtag2"]},{"1341880400":["hashtag1","hashtag2"]},{"1341880390":["hashtag1","hashtag2"]},{"1341880354":["hashtag1","hashtag2"]},{"1341880386":["hashtag1","hashtag2"]},{"1341880395":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341880326, 1341880400, 1341880390, 1341880354, 1341880386, 1341880395)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.2704553604126 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 14:13:31.900765
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/14/13/image_08032025_14_13_45_9985.jpg', 2), ('/home/nano/Desktop/images/08032025/14/13/image_08032025_14_13_35_9980.jpg', 2), ('/home/nano/Desktop/images/08032025/14/13/image_08032025_14_13_25_9982.jpg', 2), ('/home/nano/Desktop/images/08032025/14/13/image_08032025_14_13_15_9990.jpg', 2), ('/home/nano/Desktop/images/08032025/14/12/image_08032025_14_13_05_10001.jpg', 2), ('/home/nano/Desktop/images/08032025/14/12/image_08032025_14_12_55_10006.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/14/13/image_08032025_14_13_45_9985.jpg', '/home/nano/Desktop/images/08032025/14/13/image_08032025_14_13_35_9980.jpg', '/home/nano/Desktop/images/08032025/14/13/image_08032025_14_13_25_9982.jpg', '/home/nano/Desktop/images/08032025/14/13/image_08032025_14_13_15_9990.jpg', '/home/nano/Desktop/images/08032025/14/12/image_08032025_14_13_05_10001.jpg', '/home/nano/Desktop/images/08032025/14/12/image_08032025_14_12_55_10006.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/14/13/image_08032025_14_13_45_9985.jpg
/home/nano/Desktop/images/08032025/14/13/image_08032025_14_13_35_9980.jpg
/home/nano/Desktop/images/08032025/14/13/image_08032025_14_13_25_9982.jpg
/home/nano/Desktop/images/08032025/14/13/image_08032025_14_13_15_9990.jpg
/home/nano/Desktop/images/08032025/14/12/image_08032025_14_13_05_10001.jpg
/home/nano/Desktop/images/08032025/14/12/image_08032025_14_12_55_10006.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341880623","1341880658","1341880684","1341880723","1341880593","1341880560"],"photo_ids_order":["1341880560","1341880593","1341880623","1341880658","1341880684","1341880723"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/57186f78b8b692833b331c3f388e6f57.jpg","text":"TemporaryFile(/tmp/multipartBody684863504746582003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741439672467,"filename":"image_08032025_14_13_25_9982.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/08e9e3e3e94a171d0e4bd5bc9efb9209.jpg","text":"TemporaryFile(/tmp/multipartBody7125658794505986811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741439672467,"filename":"image_08032025_14_13_15_9990.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/af25dd7d530f996eb615605251344608.jpg","text":"TemporaryFile(/tmp/multipartBody903100121073763298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741439672467,"filename":"image_08032025_14_13_05_10001.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/0d00b4eddf8583d4043bf8e21d851ed6.jpg","text":"TemporaryFile(/tmp/multipartBody3777557627871001744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741439672467,"filename":"image_08032025_14_12_55_10006.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/1bfe3686a66b2764bd8b784ed7d05f12.jpg","text":"TemporaryFile(/tmp/multipartBody851450164080080183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741439672467,"filename":"image_08032025_14_13_35_9980.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/86d4644dd989badc621f26688c4c52ec.jpg","text":"TemporaryFile(/tmp/multipartBody4714855979529864871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741439672467,"filename":"image_08032025_14_13_45_9985.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341880623","file1":"1341880593","file0":"1341880560","file4":"1341880684","file5":"1341880723","file3":"1341880658"},"map_files_photo_id_array":[{"photo_id":"1341880723","filename":"file5"},{"photo_id":"1341880623","filename":"file2"},{"photo_id":"1341880684","filename":"file4"},{"photo_id":"1341880593","filename":"file1"},{"photo_id":"1341880560","filename":"file0"},{"photo_id":"1341880658","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341880623":["hashtag1","hashtag2"]},{"1341880658":["hashtag1","hashtag2"]},{"1341880684":["hashtag1","hashtag2"]},{"1341880723":["hashtag1","hashtag2"]},{"1341880593":["hashtag1","hashtag2"]},{"1341880560":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341880623, 1341880658, 1341880684, 1341880723, 1341880593, 1341880560)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.518818855285645 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 14:14:31.986774
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/14/14/image_08032025_14_14_45_9985.jpg', 2), ('/home/nano/Desktop/images/08032025/14/14/image_08032025_14_14_35_9986.jpg', 2), ('/home/nano/Desktop/images/08032025/14/14/image_08032025_14_14_25_9989.jpg', 2), ('/home/nano/Desktop/images/08032025/14/14/image_08032025_14_14_15_9983.jpg', 2), ('/home/nano/Desktop/images/08032025/14/13/image_08032025_14_14_05_10020.jpg', 2), ('/home/nano/Desktop/images/08032025/14/13/image_08032025_14_13_55_10001.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/14/14/image_08032025_14_14_45_9985.jpg', '/home/nano/Desktop/images/08032025/14/14/image_08032025_14_14_35_9986.jpg', '/home/nano/Desktop/images/08032025/14/14/image_08032025_14_14_25_9989.jpg', '/home/nano/Desktop/images/08032025/14/14/image_08032025_14_14_15_9983.jpg', '/home/nano/Desktop/images/08032025/14/13/image_08032025_14_14_05_10020.jpg', '/home/nano/Desktop/images/08032025/14/13/image_08032025_14_13_55_10001.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/14/14/image_08032025_14_14_45_9985.jpg
/home/nano/Desktop/images/08032025/14/14/image_08032025_14_14_35_9986.jpg
/home/nano/Desktop/images/08032025/14/14/image_08032025_14_14_25_9989.jpg
/home/nano/Desktop/images/08032025/14/14/image_08032025_14_14_15_9983.jpg
/home/nano/Desktop/images/08032025/14/13/image_08032025_14_14_05_10020.jpg
/home/nano/Desktop/images/08032025/14/13/image_08032025_14_13_55_10001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341881048","1341880985","1341880865","1341880772","1341881094","1341881022"],"photo_ids_order":["1341880772","1341880865","1341880985","1341881022","1341881048","1341881094"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/53b9e1f7b5717f1d8d2f2719e60c3fee.jpg","text":"TemporaryFile(/tmp/multipartBody3902851174180376607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741439732538,"filename":"image_08032025_14_14_05_10020.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/a8e4ef91ebafa73cd11a0cda292ef23e.jpg","text":"TemporaryFile(/tmp/multipartBody3842775817051763674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741439732538,"filename":"image_08032025_14_14_25_9989.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/739ccec96d88616b07d319219e23097c.jpg","text":"TemporaryFile(/tmp/multipartBody4763214937648632821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741439732538,"filename":"image_08032025_14_14_35_9986.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/95a9d56bd593222f3c1dc661d1c47997.jpg","text":"TemporaryFile(/tmp/multipartBody7595585246055505886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741439732538,"filename":"image_08032025_14_14_45_9985.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/5e35eb7e80eec470ec9dfc2af3de9711.jpg","text":"TemporaryFile(/tmp/multipartBody8660914759606429888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741439732538,"filename":"image_08032025_14_13_55_10001.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/482839f820515c153235572aff3aa8da.jpg","text":"TemporaryFile(/tmp/multipartBody2475537362560868750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741439732538,"filename":"image_08032025_14_14_15_9983.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341880985","file1":"1341880865","file0":"1341880772","file4":"1341881048","file5":"1341881094","file3":"1341881022"},"map_files_photo_id_array":[{"photo_id":"1341881094","filename":"file5"},{"photo_id":"1341880985","filename":"file2"},{"photo_id":"1341881048","filename":"file4"},{"photo_id":"1341880865","filename":"file1"},{"photo_id":"1341880772","filename":"file0"},{"photo_id":"1341881022","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341881048":["hashtag1","hashtag2"]},{"1341880985":["hashtag1","hashtag2"]},{"1341880865":["hashtag1","hashtag2"]},{"1341880772":["hashtag1","hashtag2"]},{"1341881094":["hashtag1","hashtag2"]},{"1341881022":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341881048, 1341880985, 1341880865, 1341880772, 1341881094, 1341881022)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.0207417011261 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 14:15:32.121674
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/14/15/image_08032025_14_15_45_9985.jpg', 2), ('/home/nano/Desktop/images/08032025/14/15/image_08032025_14_15_35_9984.jpg', 2), ('/home/nano/Desktop/images/08032025/14/15/image_08032025_14_15_25_9984.jpg', 2), ('/home/nano/Desktop/images/08032025/14/15/image_08032025_14_15_15_9986.jpg', 2), ('/home/nano/Desktop/images/08032025/14/14/image_08032025_14_15_05_10014.jpg', 2), ('/home/nano/Desktop/images/08032025/14/14/image_08032025_14_14_55_9988.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/14/15/image_08032025_14_15_45_9985.jpg', '/home/nano/Desktop/images/08032025/14/15/image_08032025_14_15_35_9984.jpg', '/home/nano/Desktop/images/08032025/14/15/image_08032025_14_15_25_9984.jpg', '/home/nano/Desktop/images/08032025/14/15/image_08032025_14_15_15_9986.jpg', '/home/nano/Desktop/images/08032025/14/14/image_08032025_14_15_05_10014.jpg', '/home/nano/Desktop/images/08032025/14/14/image_08032025_14_14_55_9988.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/14/15/image_08032025_14_15_45_9985.jpg
/home/nano/Desktop/images/08032025/14/15/image_08032025_14_15_35_9984.jpg
/home/nano/Desktop/images/08032025/14/15/image_08032025_14_15_25_9984.jpg
/home/nano/Desktop/images/08032025/14/15/image_08032025_14_15_15_9986.jpg
/home/nano/Desktop/images/08032025/14/14/image_08032025_14_15_05_10014.jpg
/home/nano/Desktop/images/08032025/14/14/image_08032025_14_14_55_9988.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341881549","1341881572","1341881644","1341881611","1341881512","1341881690"],"photo_ids_order":["1341881512","1341881549","1341881572","1341881611","1341881644","1341881690"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/c2e74ff7a72de8c1bf5f90030f7cba5c.jpg","text":"TemporaryFile(/tmp/multipartBody4410316471602955967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741439792686,"filename":"image_08032025_14_15_35_9984.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/b3b52fa119c13b1d04657e89967501df.jpg","text":"TemporaryFile(/tmp/multipartBody1009960979829493244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741439792686,"filename":"image_08032025_14_15_25_9984.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/0266ca4c6c2c245fc1c58ba9b0877ac6.jpg","text":"TemporaryFile(/tmp/multipartBody5487687172941044486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741439792686,"filename":"image_08032025_14_15_05_10014.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/476450b8b52da97d34ea705a12e5db5a.jpg","text":"TemporaryFile(/tmp/multipartBody3872561907743149606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741439792686,"filename":"image_08032025_14_15_15_9986.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/666bd594938a8f6efa67bbd644e1a24c.jpg","text":"TemporaryFile(/tmp/multipartBody1265391919167204419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741439792686,"filename":"image_08032025_14_15_45_9985.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/f05e75ec69da20a2b5bda0ba2be41356.jpg","text":"TemporaryFile(/tmp/multipartBody4309334377681383568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741439792686,"filename":"image_08032025_14_14_55_9988.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341881572","file1":"1341881549","file0":"1341881512","file4":"1341881644","file5":"1341881690","file3":"1341881611"},"map_files_photo_id_array":[{"photo_id":"1341881690","filename":"file5"},{"photo_id":"1341881572","filename":"file2"},{"photo_id":"1341881644","filename":"file4"},{"photo_id":"1341881549","filename":"file1"},{"photo_id":"1341881512","filename":"file0"},{"photo_id":"1341881611","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341881549":["hashtag1","hashtag2"]},{"1341881572":["hashtag1","hashtag2"]},{"1341881644":["hashtag1","hashtag2"]},{"1341881611":["hashtag1","hashtag2"]},{"1341881512":["hashtag1","hashtag2"]},{"1341881690":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341881549, 1341881572, 1341881644, 1341881611, 1341881512, 1341881690)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.02522921562195 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 14:16:32.220530
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/14/16/image_08032025_14_16_55_9984.jpg', 2), ('/home/nano/Desktop/images/08032025/14/16/image_08032025_14_16_35_9997.jpg', 2), ('/home/nano/Desktop/images/08032025/14/16/image_08032025_14_16_25_9992.jpg', 2), ('/home/nano/Desktop/images/08032025/14/16/image_08032025_14_16_15_9993.jpg', 2), ('/home/nano/Desktop/images/08032025/14/15/image_08032025_14_16_05_10043.jpg', 2), ('/home/nano/Desktop/images/08032025/14/15/image_08032025_14_15_55_9985.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/14/16/image_08032025_14_16_55_9984.jpg', '/home/nano/Desktop/images/08032025/14/16/image_08032025_14_16_35_9997.jpg', '/home/nano/Desktop/images/08032025/14/16/image_08032025_14_16_25_9992.jpg', '/home/nano/Desktop/images/08032025/14/16/image_08032025_14_16_15_9993.jpg', '/home/nano/Desktop/images/08032025/14/15/image_08032025_14_16_05_10043.jpg', '/home/nano/Desktop/images/08032025/14/15/image_08032025_14_15_55_9985.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/14/16/image_08032025_14_16_55_9984.jpg
/home/nano/Desktop/images/08032025/14/16/image_08032025_14_16_35_9997.jpg
/home/nano/Desktop/images/08032025/14/16/image_08032025_14_16_25_9992.jpg
/home/nano/Desktop/images/08032025/14/16/image_08032025_14_16_15_9993.jpg
/home/nano/Desktop/images/08032025/14/15/image_08032025_14_16_05_10043.jpg
/home/nano/Desktop/images/08032025/14/15/image_08032025_14_15_55_9985.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341882200","1341882154","1341882124","1341882205","1341882208","1341882086"],"photo_ids_order":["1341882086","1341882124","1341882154","1341882200","1341882205","1341882208"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/843a3e63a4561a3d909ba9594930f00b.jpg","text":"TemporaryFile(/tmp/multipartBody8113969283898244240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741439852793,"filename":"image_08032025_14_16_15_9993.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/01e0323e9b022336b82b2a32c0defcde.jpg","text":"TemporaryFile(/tmp/multipartBody8340289747095450799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741439852793,"filename":"image_08032025_14_16_25_9992.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/d3e32231c4d4142342be6c2610f53110.jpg","text":"TemporaryFile(/tmp/multipartBody6194394147525450468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741439852793,"filename":"image_08032025_14_16_35_9997.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/43893d92e122877df6a9ca11eaaa2a53.jpg","text":"TemporaryFile(/tmp/multipartBody8497870464945585458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741439852793,"filename":"image_08032025_14_16_05_10043.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/6d95be67e502d7aee0f387f6b627c429.jpg","text":"TemporaryFile(/tmp/multipartBody7931878231680558406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741439852793,"filename":"image_08032025_14_15_55_9985.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/1f8a45639018391ee838edb797cb177d.jpg","text":"TemporaryFile(/tmp/multipartBody4852877695580861315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741439852793,"filename":"image_08032025_14_16_55_9984.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341882154","file1":"1341882124","file0":"1341882086","file4":"1341882205","file5":"1341882208","file3":"1341882200"},"map_files_photo_id_array":[{"photo_id":"1341882208","filename":"file5"},{"photo_id":"1341882154","filename":"file2"},{"photo_id":"1341882205","filename":"file4"},{"photo_id":"1341882124","filename":"file1"},{"photo_id":"1341882086","filename":"file0"},{"photo_id":"1341882200","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341882200":["hashtag1","hashtag2"]},{"1341882154":["hashtag1","hashtag2"]},{"1341882124":["hashtag1","hashtag2"]},{"1341882205":["hashtag1","hashtag2"]},{"1341882208":["hashtag1","hashtag2"]},{"1341882086":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341882200, 1341882154, 1341882124, 1341882205, 1341882208, 1341882086)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.857365608215332 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 14:17:32.325496
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/14/17/image_08032025_14_17_45_9989.jpg', 2), ('/home/nano/Desktop/images/08032025/14/17/image_08032025_14_17_35_9984.jpg', 2), ('/home/nano/Desktop/images/08032025/14/17/image_08032025_14_17_25_9985.jpg', 2), ('/home/nano/Desktop/images/08032025/14/17/image_08032025_14_17_15_9991.jpg', 2), ('/home/nano/Desktop/images/08032025/14/16/image_08032025_14_17_05_9994.jpg', 2), ('/home/nano/Desktop/images/08032025/14/16/image_08032025_14_16_45_9998.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/14/17/image_08032025_14_17_45_9989.jpg', '/home/nano/Desktop/images/08032025/14/17/image_08032025_14_17_35_9984.jpg', '/home/nano/Desktop/images/08032025/14/17/image_08032025_14_17_25_9985.jpg', '/home/nano/Desktop/images/08032025/14/17/image_08032025_14_17_15_9991.jpg', '/home/nano/Desktop/images/08032025/14/16/image_08032025_14_17_05_9994.jpg', '/home/nano/Desktop/images/08032025/14/16/image_08032025_14_16_45_9998.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/14/17/image_08032025_14_17_45_9989.jpg
/home/nano/Desktop/images/08032025/14/17/image_08032025_14_17_35_9984.jpg
/home/nano/Desktop/images/08032025/14/17/image_08032025_14_17_25_9985.jpg
/home/nano/Desktop/images/08032025/14/17/image_08032025_14_17_15_9991.jpg
/home/nano/Desktop/images/08032025/14/16/image_08032025_14_17_05_9994.jpg
/home/nano/Desktop/images/08032025/14/16/image_08032025_14_16_45_9998.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341882580","1341882745","1341882747","1341882741","1341882705","1341882515"],"photo_ids_order":["1341882515","1341882580","1341882705","1341882741","1341882745","1341882747"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/fb8deefe24524777d18fc6b7b8e23dcf.jpg","text":"TemporaryFile(/tmp/multipartBody6260755354113735324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741439912880,"filename":"image_08032025_14_17_35_9984.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/9ce9d59b4edc27541d051284b354e17b.jpg","text":"TemporaryFile(/tmp/multipartBody3025628628175802940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741439912880,"filename":"image_08032025_14_17_05_9994.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/653707c8c988c944f72ae2603c20dc54.jpg","text":"TemporaryFile(/tmp/multipartBody2630127893864375888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741439912880,"filename":"image_08032025_14_16_45_9998.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/5f62d01ed6748e0ef45cae3a3517d365.jpg","text":"TemporaryFile(/tmp/multipartBody6032339002443311226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741439912880,"filename":"image_08032025_14_17_15_9991.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/aadd589f0e4f96049ae43835e7d0efeb.jpg","text":"TemporaryFile(/tmp/multipartBody6488599661897405510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741439912880,"filename":"image_08032025_14_17_25_9985.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/589bc0c77129e3266826456dc43aa6ed.jpg","text":"TemporaryFile(/tmp/multipartBody5867996373977457571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741439912880,"filename":"image_08032025_14_17_45_9989.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341882705","file1":"1341882580","file0":"1341882515","file4":"1341882745","file5":"1341882747","file3":"1341882741"},"map_files_photo_id_array":[{"photo_id":"1341882747","filename":"file5"},{"photo_id":"1341882705","filename":"file2"},{"photo_id":"1341882745","filename":"file4"},{"photo_id":"1341882580","filename":"file1"},{"photo_id":"1341882515","filename":"file0"},{"photo_id":"1341882741","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341882580":["hashtag1","hashtag2"]},{"1341882745":["hashtag1","hashtag2"]},{"1341882747":["hashtag1","hashtag2"]},{"1341882741":["hashtag1","hashtag2"]},{"1341882705":["hashtag1","hashtag2"]},{"1341882515":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341882580, 1341882745, 1341882747, 1341882741, 1341882705, 1341882515)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.23205542564392 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 14:18:32.394688
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/14/18/image_08032025_14_18_45_9983.jpg', 2), ('/home/nano/Desktop/images/08032025/14/18/image_08032025_14_18_35_9985.jpg', 2), ('/home/nano/Desktop/images/08032025/14/18/image_08032025_14_18_25_9982.jpg', 2), ('/home/nano/Desktop/images/08032025/14/18/image_08032025_14_18_15_10007.jpg', 2), ('/home/nano/Desktop/images/08032025/14/17/image_08032025_14_18_05_10023.jpg', 2), ('/home/nano/Desktop/images/08032025/14/17/image_08032025_14_17_55_9991.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/14/18/image_08032025_14_18_45_9983.jpg', '/home/nano/Desktop/images/08032025/14/18/image_08032025_14_18_35_9985.jpg', '/home/nano/Desktop/images/08032025/14/18/image_08032025_14_18_25_9982.jpg', '/home/nano/Desktop/images/08032025/14/18/image_08032025_14_18_15_10007.jpg', '/home/nano/Desktop/images/08032025/14/17/image_08032025_14_18_05_10023.jpg', '/home/nano/Desktop/images/08032025/14/17/image_08032025_14_17_55_9991.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/14/18/image_08032025_14_18_45_9983.jpg
/home/nano/Desktop/images/08032025/14/18/image_08032025_14_18_35_9985.jpg
/home/nano/Desktop/images/08032025/14/18/image_08032025_14_18_25_9982.jpg
/home/nano/Desktop/images/08032025/14/18/image_08032025_14_18_15_10007.jpg
/home/nano/Desktop/images/08032025/14/17/image_08032025_14_18_05_10023.jpg
/home/nano/Desktop/images/08032025/14/17/image_08032025_14_17_55_9991.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341883171","1341883147","1341882955","1341883121","1341883052","1341882983"],"photo_ids_order":["1341882955","1341882983","1341883052","1341883121","1341883147","1341883171"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/4d2a24d76c1d6407de4daf64869611f4.jpg","text":"TemporaryFile(/tmp/multipartBody1432234129086446214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741439972854,"filename":"image_08032025_14_17_55_9991.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/80d19a46f41dd39e9652e0af143bccb9.jpg","text":"TemporaryFile(/tmp/multipartBody7977434024479918208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741439972854,"filename":"image_08032025_14_18_05_10023.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/271ec7cf406b3b5b45ca8dbeb79b2f49.jpg","text":"TemporaryFile(/tmp/multipartBody7951059886251107735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741439972854,"filename":"image_08032025_14_18_45_9983.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/23e18a92cf867c5e41ee996a6c47e160.jpg","text":"TemporaryFile(/tmp/multipartBody3168487693340378805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741439972854,"filename":"image_08032025_14_18_15_10007.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/13706821e321268c633b5581bc288b5d.jpg","text":"TemporaryFile(/tmp/multipartBody222620179989253625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741439972854,"filename":"image_08032025_14_18_25_9982.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/16182c33c37bf461c6ef30907be06172.jpg","text":"TemporaryFile(/tmp/multipartBody5285776395009456734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741439972854,"filename":"image_08032025_14_18_35_9985.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341883052","file1":"1341882983","file0":"1341882955","file4":"1341883147","file5":"1341883171","file3":"1341883121"},"map_files_photo_id_array":[{"photo_id":"1341883171","filename":"file5"},{"photo_id":"1341883052","filename":"file2"},{"photo_id":"1341883147","filename":"file4"},{"photo_id":"1341882983","filename":"file1"},{"photo_id":"1341882955","filename":"file0"},{"photo_id":"1341883121","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341883171":["hashtag1","hashtag2"]},{"1341883147":["hashtag1","hashtag2"]},{"1341882955":["hashtag1","hashtag2"]},{"1341883121":["hashtag1","hashtag2"]},{"1341883052":["hashtag1","hashtag2"]},{"1341882983":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341883171, 1341883147, 1341882955, 1341883121, 1341883052, 1341882983)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.67200422286987 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 14:19:32.499860
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/14/19/image_08032025_14_19_45_9988.jpg', 2), ('/home/nano/Desktop/images/08032025/14/19/image_08032025_14_19_35_10013.jpg', 2), ('/home/nano/Desktop/images/08032025/14/19/image_08032025_14_19_25_9988.jpg', 2), ('/home/nano/Desktop/images/08032025/14/19/image_08032025_14_19_15_9996.jpg', 2), ('/home/nano/Desktop/images/08032025/14/18/image_08032025_14_19_05_9999.jpg', 2), ('/home/nano/Desktop/images/08032025/14/18/image_08032025_14_18_55_9986.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/14/19/image_08032025_14_19_45_9988.jpg', '/home/nano/Desktop/images/08032025/14/19/image_08032025_14_19_35_10013.jpg', '/home/nano/Desktop/images/08032025/14/19/image_08032025_14_19_25_9988.jpg', '/home/nano/Desktop/images/08032025/14/19/image_08032025_14_19_15_9996.jpg', '/home/nano/Desktop/images/08032025/14/18/image_08032025_14_19_05_9999.jpg', '/home/nano/Desktop/images/08032025/14/18/image_08032025_14_18_55_9986.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/14/19/image_08032025_14_19_45_9988.jpg
/home/nano/Desktop/images/08032025/14/19/image_08032025_14_19_35_10013.jpg
/home/nano/Desktop/images/08032025/14/19/image_08032025_14_19_25_9988.jpg
/home/nano/Desktop/images/08032025/14/19/image_08032025_14_19_15_9996.jpg
/home/nano/Desktop/images/08032025/14/18/image_08032025_14_19_05_9999.jpg
/home/nano/Desktop/images/08032025/14/18/image_08032025_14_18_55_9986.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341883261","1341883249","1341883240","1341883237","1341883257","1341883253"],"photo_ids_order":["1341883237","1341883240","1341883249","1341883253","1341883257","1341883261"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/13694f24ed3d87a13cea3c3e2b7c9805.jpg","text":"TemporaryFile(/tmp/multipartBody7425976255343637308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741440033026,"filename":"image_08032025_14_18_55_9986.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/f188dd70fc33f1f7855100bc317236ef.jpg","text":"TemporaryFile(/tmp/multipartBody3700759184833948810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741440033026,"filename":"image_08032025_14_19_25_9988.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/349df136d311ee2699d4580f395375c5.jpg","text":"TemporaryFile(/tmp/multipartBody830097077659698238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741440033026,"filename":"image_08032025_14_19_35_10013.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/bd33fa73b0a292eeee2dc2b57779668d.jpg","text":"TemporaryFile(/tmp/multipartBody3227895056665251752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741440033026,"filename":"image_08032025_14_19_45_9988.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/c8ba89ff1522d89d82c0695922fdde8a.jpg","text":"TemporaryFile(/tmp/multipartBody4343988862481334878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741440033026,"filename":"image_08032025_14_19_05_9999.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/b7abcd68317dd58efe2627ce61e259f8.jpg","text":"TemporaryFile(/tmp/multipartBody4495121524770598359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741440033026,"filename":"image_08032025_14_19_15_9996.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341883249","file1":"1341883240","file0":"1341883237","file4":"1341883257","file5":"1341883261","file3":"1341883253"},"map_files_photo_id_array":[{"photo_id":"1341883261","filename":"file5"},{"photo_id":"1341883249","filename":"file2"},{"photo_id":"1341883257","filename":"file4"},{"photo_id":"1341883240","filename":"file1"},{"photo_id":"1341883237","filename":"file0"},{"photo_id":"1341883253","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341883261":["hashtag1","hashtag2"]},{"1341883249":["hashtag1","hashtag2"]},{"1341883240":["hashtag1","hashtag2"]},{"1341883237":["hashtag1","hashtag2"]},{"1341883257":["hashtag1","hashtag2"]},{"1341883253":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341883261, 1341883249, 1341883240, 1341883237, 1341883257, 1341883253)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.689194202423096 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 14:20:32.601305
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/14/20/image_08032025_14_20_45_9989.jpg', 2), ('/home/nano/Desktop/images/08032025/14/20/image_08032025_14_20_35_9993.jpg', 2), ('/home/nano/Desktop/images/08032025/14/20/image_08032025_14_20_25_10015.jpg', 2), ('/home/nano/Desktop/images/08032025/14/20/image_08032025_14_20_15_10002.jpg', 2), ('/home/nano/Desktop/images/08032025/14/19/image_08032025_14_20_05_10025.jpg', 2), ('/home/nano/Desktop/images/08032025/14/19/image_08032025_14_19_55_9989.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/14/20/image_08032025_14_20_45_9989.jpg', '/home/nano/Desktop/images/08032025/14/20/image_08032025_14_20_35_9993.jpg', '/home/nano/Desktop/images/08032025/14/20/image_08032025_14_20_25_10015.jpg', '/home/nano/Desktop/images/08032025/14/20/image_08032025_14_20_15_10002.jpg', '/home/nano/Desktop/images/08032025/14/19/image_08032025_14_20_05_10025.jpg', '/home/nano/Desktop/images/08032025/14/19/image_08032025_14_19_55_9989.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/14/20/image_08032025_14_20_45_9989.jpg
/home/nano/Desktop/images/08032025/14/20/image_08032025_14_20_35_9993.jpg
/home/nano/Desktop/images/08032025/14/20/image_08032025_14_20_25_10015.jpg
/home/nano/Desktop/images/08032025/14/20/image_08032025_14_20_15_10002.jpg
/home/nano/Desktop/images/08032025/14/19/image_08032025_14_20_05_10025.jpg
/home/nano/Desktop/images/08032025/14/19/image_08032025_14_19_55_9989.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341883291","1341883299","1341883284","1341883278","1341883295","1341883301"],"photo_ids_order":["1341883278","1341883284","1341883291","1341883295","1341883299","1341883301"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/e0e434d591a704eb1769818c56c2f934.jpg","text":"TemporaryFile(/tmp/multipartBody6068963602393052360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741440093120,"filename":"image_08032025_14_20_25_10015.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/425146407e3096853db1002f6a70e4d1.jpg","text":"TemporaryFile(/tmp/multipartBody2236831648763034178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741440093120,"filename":"image_08032025_14_20_05_10025.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/6aa01ab33ef473660fd725e0955b7c77.jpg","text":"TemporaryFile(/tmp/multipartBody298214999236978572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741440093120,"filename":"image_08032025_14_20_35_9993.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/c4e66bba1093c941eac764a0f9a1d864.jpg","text":"TemporaryFile(/tmp/multipartBody2482131062478351434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741440093120,"filename":"image_08032025_14_20_45_9989.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/c2b260c6e7dd7fc85367bbb4fca83056.jpg","text":"TemporaryFile(/tmp/multipartBody7734058347032669223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741440093120,"filename":"image_08032025_14_20_15_10002.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/50e32443319fcc65449e4fe09f3abd65.jpg","text":"TemporaryFile(/tmp/multipartBody5008295044809632973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741440093120,"filename":"image_08032025_14_19_55_9989.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341883291","file1":"1341883284","file0":"1341883278","file4":"1341883299","file5":"1341883301","file3":"1341883295"},"map_files_photo_id_array":[{"photo_id":"1341883301","filename":"file5"},{"photo_id":"1341883291","filename":"file2"},{"photo_id":"1341883299","filename":"file4"},{"photo_id":"1341883284","filename":"file1"},{"photo_id":"1341883278","filename":"file0"},{"photo_id":"1341883295","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341883291":["hashtag1","hashtag2"]},{"1341883299":["hashtag1","hashtag2"]},{"1341883284":["hashtag1","hashtag2"]},{"1341883278":["hashtag1","hashtag2"]},{"1341883295":["hashtag1","hashtag2"]},{"1341883301":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341883291, 1341883299, 1341883284, 1341883278, 1341883295, 1341883301)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.468488454818726 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 14:21:32.723966
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/14/21/image_08032025_14_21_45_9989.jpg', 2), ('/home/nano/Desktop/images/08032025/14/21/image_08032025_14_21_35_9997.jpg', 2), ('/home/nano/Desktop/images/08032025/14/21/image_08032025_14_21_25_9988.jpg', 2), ('/home/nano/Desktop/images/08032025/14/21/image_08032025_14_21_15_9998.jpg', 2), ('/home/nano/Desktop/images/08032025/14/20/image_08032025_14_21_05_10001.jpg', 2), ('/home/nano/Desktop/images/08032025/14/20/image_08032025_14_20_55_9991.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/14/21/image_08032025_14_21_45_9989.jpg', '/home/nano/Desktop/images/08032025/14/21/image_08032025_14_21_35_9997.jpg', '/home/nano/Desktop/images/08032025/14/21/image_08032025_14_21_25_9988.jpg', '/home/nano/Desktop/images/08032025/14/21/image_08032025_14_21_15_9998.jpg', '/home/nano/Desktop/images/08032025/14/20/image_08032025_14_21_05_10001.jpg', '/home/nano/Desktop/images/08032025/14/20/image_08032025_14_20_55_9991.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/14/21/image_08032025_14_21_45_9989.jpg
/home/nano/Desktop/images/08032025/14/21/image_08032025_14_21_35_9997.jpg
/home/nano/Desktop/images/08032025/14/21/image_08032025_14_21_25_9988.jpg
/home/nano/Desktop/images/08032025/14/21/image_08032025_14_21_15_9998.jpg
/home/nano/Desktop/images/08032025/14/20/image_08032025_14_21_05_10001.jpg
/home/nano/Desktop/images/08032025/14/20/image_08032025_14_20_55_9991.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341883333","1341883342","1341883338","1341883323","1341883347","1341883328"],"photo_ids_order":["1341883323","1341883328","1341883333","1341883338","1341883342","1341883347"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/64a0bc09c7550b803fad3a6a5860a3e6.jpg","text":"TemporaryFile(/tmp/multipartBody5452635727916606593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741440153138,"filename":"image_08032025_14_21_25_9988.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/fac164fd791fc80430d7ef3573e26fb6.jpg","text":"TemporaryFile(/tmp/multipartBody4131287470092361993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741440153138,"filename":"image_08032025_14_21_05_10001.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/9fbd7ac7fdaaf671f39df3ccc7aef4c7.jpg","text":"TemporaryFile(/tmp/multipartBody6501942919616066399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741440153138,"filename":"image_08032025_14_21_15_9998.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/559aa56db695b036e888f4948af00dd4.jpg","text":"TemporaryFile(/tmp/multipartBody4722732133337956929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741440153138,"filename":"image_08032025_14_21_45_9989.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/7729309ceec91b0eeabe148851ae82db.jpg","text":"TemporaryFile(/tmp/multipartBody5285996102416353454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741440153138,"filename":"image_08032025_14_20_55_9991.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/5a5418f781d898c5272cb07d45fd2959.jpg","text":"TemporaryFile(/tmp/multipartBody3168691542235046628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741440153138,"filename":"image_08032025_14_21_35_9997.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341883333","file1":"1341883328","file0":"1341883323","file4":"1341883342","file5":"1341883347","file3":"1341883338"},"map_files_photo_id_array":[{"photo_id":"1341883347","filename":"file5"},{"photo_id":"1341883333","filename":"file2"},{"photo_id":"1341883342","filename":"file4"},{"photo_id":"1341883328","filename":"file1"},{"photo_id":"1341883323","filename":"file0"},{"photo_id":"1341883338","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341883333":["hashtag1","hashtag2"]},{"1341883342":["hashtag1","hashtag2"]},{"1341883338":["hashtag1","hashtag2"]},{"1341883323":["hashtag1","hashtag2"]},{"1341883347":["hashtag1","hashtag2"]},{"1341883328":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341883333, 1341883342, 1341883338, 1341883323, 1341883347, 1341883328)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.511056900024414 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 14:22:31.832009
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/14/22/image_08032025_14_22_45_9989.jpg', 2), ('/home/nano/Desktop/images/08032025/14/22/image_08032025_14_22_35_9992.jpg', 2), ('/home/nano/Desktop/images/08032025/14/22/image_08032025_14_22_25_9988.jpg', 2), ('/home/nano/Desktop/images/08032025/14/22/image_08032025_14_22_15_9999.jpg', 2), ('/home/nano/Desktop/images/08032025/14/21/image_08032025_14_22_05_10004.jpg', 2), ('/home/nano/Desktop/images/08032025/14/21/image_08032025_14_21_55_9991.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/14/22/image_08032025_14_22_45_9989.jpg', '/home/nano/Desktop/images/08032025/14/22/image_08032025_14_22_35_9992.jpg', '/home/nano/Desktop/images/08032025/14/22/image_08032025_14_22_25_9988.jpg', '/home/nano/Desktop/images/08032025/14/22/image_08032025_14_22_15_9999.jpg', '/home/nano/Desktop/images/08032025/14/21/image_08032025_14_22_05_10004.jpg', '/home/nano/Desktop/images/08032025/14/21/image_08032025_14_21_55_9991.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/14/22/image_08032025_14_22_45_9989.jpg
/home/nano/Desktop/images/08032025/14/22/image_08032025_14_22_35_9992.jpg
/home/nano/Desktop/images/08032025/14/22/image_08032025_14_22_25_9988.jpg
/home/nano/Desktop/images/08032025/14/22/image_08032025_14_22_15_9999.jpg
/home/nano/Desktop/images/08032025/14/21/image_08032025_14_22_05_10004.jpg
/home/nano/Desktop/images/08032025/14/21/image_08032025_14_21_55_9991.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.3387415409088135 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 marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 14:23:02.497232
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/14/22/image_08032025_14_22_45_9989.jpg', 2), ('/home/nano/Desktop/images/08032025/14/22/image_08032025_14_22_35_9992.jpg', 2), ('/home/nano/Desktop/images/08032025/14/22/image_08032025_14_22_25_9988.jpg', 2), ('/home/nano/Desktop/images/08032025/14/22/image_08032025_14_22_15_9999.jpg', 2), ('/home/nano/Desktop/images/08032025/14/21/image_08032025_14_22_05_10004.jpg', 2), ('/home/nano/Desktop/images/08032025/14/21/image_08032025_14_21_55_9991.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/14/22/image_08032025_14_22_45_9989.jpg', '/home/nano/Desktop/images/08032025/14/22/image_08032025_14_22_35_9992.jpg', '/home/nano/Desktop/images/08032025/14/22/image_08032025_14_22_25_9988.jpg', '/home/nano/Desktop/images/08032025/14/22/image_08032025_14_22_15_9999.jpg', '/home/nano/Desktop/images/08032025/14/21/image_08032025_14_22_05_10004.jpg', '/home/nano/Desktop/images/08032025/14/21/image_08032025_14_21_55_9991.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/14/22/image_08032025_14_22_45_9989.jpg
/home/nano/Desktop/images/08032025/14/22/image_08032025_14_22_35_9992.jpg
/home/nano/Desktop/images/08032025/14/22/image_08032025_14_22_25_9988.jpg
/home/nano/Desktop/images/08032025/14/22/image_08032025_14_22_15_9999.jpg
/home/nano/Desktop/images/08032025/14/21/image_08032025_14_22_05_10004.jpg
/home/nano/Desktop/images/08032025/14/21/image_08032025_14_21_55_9991.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341883597","1341883459","1341883470","1341883518","1341883527","1341883463"],"photo_ids_order":["1341883459","1341883463","1341883470","1341883518","1341883527","1341883597"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/9e1f0afc24244bd0a2bfad51ebea1e2c.jpg","text":"TemporaryFile(/tmp/multipartBody3888946845270901245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741440242952,"filename":"image_08032025_14_21_55_9991.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/f2e8f661636816ec928bc031b8e9be60.jpg","text":"TemporaryFile(/tmp/multipartBody6388993626566673153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741440242952,"filename":"image_08032025_14_22_45_9989.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/f6fe45444711310b6e35de104d7294b6.jpg","text":"TemporaryFile(/tmp/multipartBody5076117657893281355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741440242952,"filename":"image_08032025_14_22_25_9988.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/b94ca9d56d77f0bf8e40b03ae336bd2b.jpg","text":"TemporaryFile(/tmp/multipartBody8077008173162666120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741440242952,"filename":"image_08032025_14_22_15_9999.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/c71f91741d17f02e5157215194f263e7.jpg","text":"TemporaryFile(/tmp/multipartBody536860709386645099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741440242952,"filename":"image_08032025_14_22_05_10004.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/c6c91213ba5599e85b3f33c3893b13b7.jpg","text":"TemporaryFile(/tmp/multipartBody7713036116723976224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741440242952,"filename":"image_08032025_14_22_35_9992.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341883470","file1":"1341883463","file0":"1341883459","file4":"1341883527","file5":"1341883597","file3":"1341883518"},"map_files_photo_id_array":[{"photo_id":"1341883597","filename":"file5"},{"photo_id":"1341883470","filename":"file2"},{"photo_id":"1341883527","filename":"file4"},{"photo_id":"1341883463","filename":"file1"},{"photo_id":"1341883459","filename":"file0"},{"photo_id":"1341883518","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341883597":["hashtag1","hashtag2"]},{"1341883459":["hashtag1","hashtag2"]},{"1341883470":["hashtag1","hashtag2"]},{"1341883518":["hashtag1","hashtag2"]},{"1341883527":["hashtag1","hashtag2"]},{"1341883463":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341883597, 1341883459, 1341883470, 1341883518, 1341883527, 1341883463)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.57504105567932 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 14:24:03.084401
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/14/23/image_08032025_14_23_45_9992.jpg', 2), ('/home/nano/Desktop/images/08032025/14/23/image_08032025_14_23_35_9992.jpg', 2), ('/home/nano/Desktop/images/08032025/14/23/image_08032025_14_23_25_9989.jpg', 2), ('/home/nano/Desktop/images/08032025/14/23/image_08032025_14_23_15_9990.jpg', 2), ('/home/nano/Desktop/images/08032025/14/22/image_08032025_14_23_05_10048.jpg', 2), ('/home/nano/Desktop/images/08032025/14/22/image_08032025_14_22_55_9994.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/14/23/image_08032025_14_23_45_9992.jpg', '/home/nano/Desktop/images/08032025/14/23/image_08032025_14_23_35_9992.jpg', '/home/nano/Desktop/images/08032025/14/23/image_08032025_14_23_25_9989.jpg', '/home/nano/Desktop/images/08032025/14/23/image_08032025_14_23_15_9990.jpg', '/home/nano/Desktop/images/08032025/14/22/image_08032025_14_23_05_10048.jpg', '/home/nano/Desktop/images/08032025/14/22/image_08032025_14_22_55_9994.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/14/23/image_08032025_14_23_45_9992.jpg
/home/nano/Desktop/images/08032025/14/23/image_08032025_14_23_35_9992.jpg
/home/nano/Desktop/images/08032025/14/23/image_08032025_14_23_25_9989.jpg
/home/nano/Desktop/images/08032025/14/23/image_08032025_14_23_15_9990.jpg
/home/nano/Desktop/images/08032025/14/22/image_08032025_14_23_05_10048.jpg
/home/nano/Desktop/images/08032025/14/22/image_08032025_14_22_55_9994.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341884270","1341883838","1341884062","1341883910","1341884170","1341883990"],"photo_ids_order":["1341883838","1341883910","1341883990","1341884062","1341884170","1341884270"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/d46a139b3539cb4cbeadb4822f328f1e.jpg","text":"TemporaryFile(/tmp/multipartBody7888753217983120805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741440303546,"filename":"image_08032025_14_22_55_9994.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/df6c3c543d07df1cd2844a126f26d706.jpg","text":"TemporaryFile(/tmp/multipartBody4650068545271362762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741440303546,"filename":"image_08032025_14_23_45_9992.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/ae5f627c4ac1126e089156d702287532.jpg","text":"TemporaryFile(/tmp/multipartBody3278455714188209253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741440303546,"filename":"image_08032025_14_23_15_9990.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/482924d42c474cb986f9f9bffe9a809b.jpg","text":"TemporaryFile(/tmp/multipartBody671472748494545761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741440303546,"filename":"image_08032025_14_23_35_9992.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/24a5c6219b817bbef1c3894ec50a7c25.jpg","text":"TemporaryFile(/tmp/multipartBody4489931394416139302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741440303546,"filename":"image_08032025_14_23_05_10048.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/af0906059fe445ebf4795b80e443f1db.jpg","text":"TemporaryFile(/tmp/multipartBody6065638645972596624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741440303546,"filename":"image_08032025_14_23_25_9989.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341883990","file1":"1341883910","file0":"1341883838","file4":"1341884170","file5":"1341884270","file3":"1341884062"},"map_files_photo_id_array":[{"photo_id":"1341884270","filename":"file5"},{"photo_id":"1341883990","filename":"file2"},{"photo_id":"1341884170","filename":"file4"},{"photo_id":"1341883910","filename":"file1"},{"photo_id":"1341883838","filename":"file0"},{"photo_id":"1341884062","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341884270":["hashtag1","hashtag2"]},{"1341883838":["hashtag1","hashtag2"]},{"1341884062":["hashtag1","hashtag2"]},{"1341883910":["hashtag1","hashtag2"]},{"1341884170":["hashtag1","hashtag2"]},{"1341883990":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341884270, 1341883838, 1341884062, 1341883910, 1341884170, 1341883990)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.190643310546875 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 14:25:03.062043
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/14/24/image_08032025_14_24_45_10017.jpg', 2), ('/home/nano/Desktop/images/08032025/14/24/image_08032025_14_24_35_9994.jpg', 2), ('/home/nano/Desktop/images/08032025/14/24/image_08032025_14_24_25_9985.jpg', 2), ('/home/nano/Desktop/images/08032025/14/24/image_08032025_14_24_15_10015.jpg', 2), ('/home/nano/Desktop/images/08032025/14/23/image_08032025_14_24_05_10017.jpg', 2), ('/home/nano/Desktop/images/08032025/14/23/image_08032025_14_23_55_9988.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/14/24/image_08032025_14_24_45_10017.jpg', '/home/nano/Desktop/images/08032025/14/24/image_08032025_14_24_35_9994.jpg', '/home/nano/Desktop/images/08032025/14/24/image_08032025_14_24_25_9985.jpg', '/home/nano/Desktop/images/08032025/14/24/image_08032025_14_24_15_10015.jpg', '/home/nano/Desktop/images/08032025/14/23/image_08032025_14_24_05_10017.jpg', '/home/nano/Desktop/images/08032025/14/23/image_08032025_14_23_55_9988.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/14/24/image_08032025_14_24_45_10017.jpg
/home/nano/Desktop/images/08032025/14/24/image_08032025_14_24_35_9994.jpg
/home/nano/Desktop/images/08032025/14/24/image_08032025_14_24_25_9985.jpg
/home/nano/Desktop/images/08032025/14/24/image_08032025_14_24_15_10015.jpg
/home/nano/Desktop/images/08032025/14/23/image_08032025_14_24_05_10017.jpg
/home/nano/Desktop/images/08032025/14/23/image_08032025_14_23_55_9988.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341884704","1341884611","1341884582","1341884729","1341884653","1341884749"],"photo_ids_order":["1341884582","1341884611","1341884653","1341884704","1341884729","1341884749"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/e5a8dd477d82502edf5b380e417847fd.jpg","text":"TemporaryFile(/tmp/multipartBody5636589640057183504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741440363502,"filename":"image_08032025_14_24_15_10015.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/61495587513591c5795d6db448ddb313.jpg","text":"TemporaryFile(/tmp/multipartBody1520925405707373594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741440363502,"filename":"image_08032025_14_24_35_9994.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/920f7440bd9e978913477467399f140e.jpg","text":"TemporaryFile(/tmp/multipartBody8023794808575577396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741440363502,"filename":"image_08032025_14_24_45_10017.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/a2230b89b22c6a54dbb5125c9bd8d614.jpg","text":"TemporaryFile(/tmp/multipartBody5191828133233762533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741440363502,"filename":"image_08032025_14_24_05_10017.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/4b8e9ad81d14855c21b2fe31833c5323.jpg","text":"TemporaryFile(/tmp/multipartBody1845678967822623225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741440363502,"filename":"image_08032025_14_24_25_9985.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/748397d8e84169b7883fd062c7e82c53.jpg","text":"TemporaryFile(/tmp/multipartBody354187396218748840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741440363502,"filename":"image_08032025_14_23_55_9988.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341884653","file1":"1341884611","file0":"1341884582","file4":"1341884729","file5":"1341884749","file3":"1341884704"},"map_files_photo_id_array":[{"photo_id":"1341884749","filename":"file5"},{"photo_id":"1341884653","filename":"file2"},{"photo_id":"1341884729","filename":"file4"},{"photo_id":"1341884611","filename":"file1"},{"photo_id":"1341884582","filename":"file0"},{"photo_id":"1341884704","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341884704":["hashtag1","hashtag2"]},{"1341884611":["hashtag1","hashtag2"]},{"1341884582":["hashtag1","hashtag2"]},{"1341884729":["hashtag1","hashtag2"]},{"1341884653":["hashtag1","hashtag2"]},{"1341884749":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341884704, 1341884611, 1341884582, 1341884729, 1341884653, 1341884749)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.006338596343994 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 14:26:03.168634
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/14/25/image_08032025_14_25_45_9991.jpg', 2), ('/home/nano/Desktop/images/08032025/14/25/image_08032025_14_25_35_9991.jpg', 2), ('/home/nano/Desktop/images/08032025/14/25/image_08032025_14_25_25_9994.jpg', 2), ('/home/nano/Desktop/images/08032025/14/25/image_08032025_14_25_15_10003.jpg', 2), ('/home/nano/Desktop/images/08032025/14/24/image_08032025_14_25_05_10006.jpg', 2), ('/home/nano/Desktop/images/08032025/14/24/image_08032025_14_24_55_9993.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/14/25/image_08032025_14_25_45_9991.jpg', '/home/nano/Desktop/images/08032025/14/25/image_08032025_14_25_35_9991.jpg', '/home/nano/Desktop/images/08032025/14/25/image_08032025_14_25_25_9994.jpg', '/home/nano/Desktop/images/08032025/14/25/image_08032025_14_25_15_10003.jpg', '/home/nano/Desktop/images/08032025/14/24/image_08032025_14_25_05_10006.jpg', '/home/nano/Desktop/images/08032025/14/24/image_08032025_14_24_55_9993.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/14/25/image_08032025_14_25_45_9991.jpg
/home/nano/Desktop/images/08032025/14/25/image_08032025_14_25_35_9991.jpg
/home/nano/Desktop/images/08032025/14/25/image_08032025_14_25_25_9994.jpg
/home/nano/Desktop/images/08032025/14/25/image_08032025_14_25_15_10003.jpg
/home/nano/Desktop/images/08032025/14/24/image_08032025_14_25_05_10006.jpg
/home/nano/Desktop/images/08032025/14/24/image_08032025_14_24_55_9993.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.3571321964263916 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 marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 14:26:32.248766
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/14/26/image_08032025_14_26_45_10017.jpg', 2), ('/home/nano/Desktop/images/08032025/14/26/image_08032025_14_26_35_9989.jpg', 2), ('/home/nano/Desktop/images/08032025/14/26/image_08032025_14_26_25_9989.jpg', 2), ('/home/nano/Desktop/images/08032025/14/26/image_08032025_14_26_15_9999.jpg', 2), ('/home/nano/Desktop/images/08032025/14/25/image_08032025_14_26_05_10000.jpg', 2), ('/home/nano/Desktop/images/08032025/14/25/image_08032025_14_25_55_9987.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/14/26/image_08032025_14_26_45_10017.jpg', '/home/nano/Desktop/images/08032025/14/26/image_08032025_14_26_35_9989.jpg', '/home/nano/Desktop/images/08032025/14/26/image_08032025_14_26_25_9989.jpg', '/home/nano/Desktop/images/08032025/14/26/image_08032025_14_26_15_9999.jpg', '/home/nano/Desktop/images/08032025/14/25/image_08032025_14_26_05_10000.jpg', '/home/nano/Desktop/images/08032025/14/25/image_08032025_14_25_55_9987.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/14/26/image_08032025_14_26_45_10017.jpg
/home/nano/Desktop/images/08032025/14/26/image_08032025_14_26_35_9989.jpg
/home/nano/Desktop/images/08032025/14/26/image_08032025_14_26_25_9989.jpg
/home/nano/Desktop/images/08032025/14/26/image_08032025_14_26_15_9999.jpg
/home/nano/Desktop/images/08032025/14/25/image_08032025_14_26_05_10000.jpg
/home/nano/Desktop/images/08032025/14/25/image_08032025_14_25_55_9987.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341885272","1341885219","1341885173","1341885105","1341885320","1341885310"],"photo_ids_order":["1341885105","1341885173","1341885219","1341885272","1341885310","1341885320"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/d69d628cc19bb123145c535ab7f741e1.jpg","text":"TemporaryFile(/tmp/multipartBody8902708188550616866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741440452704,"filename":"image_08032025_14_26_15_9999.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/0283cf119c0f27d8c62c2064e9c139da.jpg","text":"TemporaryFile(/tmp/multipartBody1925410699836102259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741440452704,"filename":"image_08032025_14_26_25_9989.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/46c9a0f1ae0b48e5b6f386ad0404d9b2.jpg","text":"TemporaryFile(/tmp/multipartBody5786443940491664546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741440452704,"filename":"image_08032025_14_26_35_9989.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/60e39643fec73bc023ed23e986dd5b27.jpg","text":"TemporaryFile(/tmp/multipartBody8927507900117007013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741440452704,"filename":"image_08032025_14_26_45_10017.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/5f0ee897ec592439d79b756be80d2227.jpg","text":"TemporaryFile(/tmp/multipartBody2864360141647525423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741440452704,"filename":"image_08032025_14_25_55_9987.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/b423103eb117e2c2e3f9bfc545ab0d44.jpg","text":"TemporaryFile(/tmp/multipartBody3468996591422096936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741440452704,"filename":"image_08032025_14_26_05_10000.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341885219","file1":"1341885173","file0":"1341885105","file4":"1341885310","file5":"1341885320","file3":"1341885272"},"map_files_photo_id_array":[{"photo_id":"1341885320","filename":"file5"},{"photo_id":"1341885219","filename":"file2"},{"photo_id":"1341885310","filename":"file4"},{"photo_id":"1341885173","filename":"file1"},{"photo_id":"1341885105","filename":"file0"},{"photo_id":"1341885272","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341885272":["hashtag1","hashtag2"]},{"1341885219":["hashtag1","hashtag2"]},{"1341885173":["hashtag1","hashtag2"]},{"1341885105":["hashtag1","hashtag2"]},{"1341885320":["hashtag1","hashtag2"]},{"1341885310":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341885272, 1341885219, 1341885173, 1341885105, 1341885320, 1341885310)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.90198564529419 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 14:27:32.341266
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/14/27/image_08032025_14_27_45_9981.jpg', 2), ('/home/nano/Desktop/images/08032025/14/27/image_08032025_14_27_35_9983.jpg', 2), ('/home/nano/Desktop/images/08032025/14/27/image_08032025_14_27_25_9980.jpg', 2), ('/home/nano/Desktop/images/08032025/14/27/image_08032025_14_27_15_9993.jpg', 2), ('/home/nano/Desktop/images/08032025/14/26/image_08032025_14_27_05_10022.jpg', 2), ('/home/nano/Desktop/images/08032025/14/26/image_08032025_14_26_55_9989.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/14/27/image_08032025_14_27_45_9981.jpg', '/home/nano/Desktop/images/08032025/14/27/image_08032025_14_27_35_9983.jpg', '/home/nano/Desktop/images/08032025/14/27/image_08032025_14_27_25_9980.jpg', '/home/nano/Desktop/images/08032025/14/27/image_08032025_14_27_15_9993.jpg', '/home/nano/Desktop/images/08032025/14/26/image_08032025_14_27_05_10022.jpg', '/home/nano/Desktop/images/08032025/14/26/image_08032025_14_26_55_9989.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/14/27/image_08032025_14_27_45_9981.jpg
/home/nano/Desktop/images/08032025/14/27/image_08032025_14_27_35_9983.jpg
/home/nano/Desktop/images/08032025/14/27/image_08032025_14_27_25_9980.jpg
/home/nano/Desktop/images/08032025/14/27/image_08032025_14_27_15_9993.jpg
/home/nano/Desktop/images/08032025/14/26/image_08032025_14_27_05_10022.jpg
/home/nano/Desktop/images/08032025/14/26/image_08032025_14_26_55_9989.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341885432","1341885443","1341885437","1341885422","1341885415","1341885406"],"photo_ids_order":["1341885406","1341885415","1341885422","1341885432","1341885437","1341885443"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/112dbafab2b82390bf17f42f5df6cfcc.jpg","text":"TemporaryFile(/tmp/multipartBody8728390996397722602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741440512777,"filename":"image_08032025_14_27_15_9993.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/5878257f83c69c4a1c872dd6b52d2ff4.jpg","text":"TemporaryFile(/tmp/multipartBody2234780850262870828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741440512777,"filename":"image_08032025_14_26_55_9989.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/e7b7c09c11fdeb6489a4606c3237f361.jpg","text":"TemporaryFile(/tmp/multipartBody5196879370484665538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741440512777,"filename":"image_08032025_14_27_05_10022.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/e0e4f50477cb9a8e84004ea60832f210.jpg","text":"TemporaryFile(/tmp/multipartBody2455430562083682556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741440512777,"filename":"image_08032025_14_27_25_9980.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/6bf17f495d12182a32f9dca53f0c3bce.jpg","text":"TemporaryFile(/tmp/multipartBody1318207059321207134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741440512777,"filename":"image_08032025_14_27_35_9983.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/4799bd38bf45a128c6cb086aca6b568d.jpg","text":"TemporaryFile(/tmp/multipartBody8890701251453438355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741440512777,"filename":"image_08032025_14_27_45_9981.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341885422","file1":"1341885415","file0":"1341885406","file4":"1341885437","file5":"1341885443","file3":"1341885432"},"map_files_photo_id_array":[{"photo_id":"1341885443","filename":"file5"},{"photo_id":"1341885422","filename":"file2"},{"photo_id":"1341885437","filename":"file4"},{"photo_id":"1341885415","filename":"file1"},{"photo_id":"1341885406","filename":"file0"},{"photo_id":"1341885432","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341885432":["hashtag1","hashtag2"]},{"1341885443":["hashtag1","hashtag2"]},{"1341885437":["hashtag1","hashtag2"]},{"1341885422":["hashtag1","hashtag2"]},{"1341885415":["hashtag1","hashtag2"]},{"1341885406":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341885432, 1341885443, 1341885437, 1341885422, 1341885415, 1341885406)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.836848735809326 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 14:28:32.435852
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/14/28/image_08032025_14_28_45_9970.jpg', 2), ('/home/nano/Desktop/images/08032025/14/28/image_08032025_14_28_35_9982.jpg', 2), ('/home/nano/Desktop/images/08032025/14/28/image_08032025_14_28_25_9978.jpg', 2), ('/home/nano/Desktop/images/08032025/14/28/image_08032025_14_28_15_9984.jpg', 2), ('/home/nano/Desktop/images/08032025/14/27/image_08032025_14_28_05_10001.jpg', 2), ('/home/nano/Desktop/images/08032025/14/27/image_08032025_14_27_55_9983.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/14/28/image_08032025_14_28_45_9970.jpg', '/home/nano/Desktop/images/08032025/14/28/image_08032025_14_28_35_9982.jpg', '/home/nano/Desktop/images/08032025/14/28/image_08032025_14_28_25_9978.jpg', '/home/nano/Desktop/images/08032025/14/28/image_08032025_14_28_15_9984.jpg', '/home/nano/Desktop/images/08032025/14/27/image_08032025_14_28_05_10001.jpg', '/home/nano/Desktop/images/08032025/14/27/image_08032025_14_27_55_9983.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/14/28/image_08032025_14_28_45_9970.jpg
/home/nano/Desktop/images/08032025/14/28/image_08032025_14_28_35_9982.jpg
/home/nano/Desktop/images/08032025/14/28/image_08032025_14_28_25_9978.jpg
/home/nano/Desktop/images/08032025/14/28/image_08032025_14_28_15_9984.jpg
/home/nano/Desktop/images/08032025/14/27/image_08032025_14_28_05_10001.jpg
/home/nano/Desktop/images/08032025/14/27/image_08032025_14_27_55_9983.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341885603","1341885599","1341885592","1341885605","1341885595","1341885586"],"photo_ids_order":["1341885586","1341885592","1341885595","1341885599","1341885603","1341885605"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/6f5e5d725fa710c810bb54a8bdee3cbe.jpg","text":"TemporaryFile(/tmp/multipartBody1309575476816708185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741440572871,"filename":"image_08032025_14_28_05_10001.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/30bb18469336399bca456d6bd468b26a.jpg","text":"TemporaryFile(/tmp/multipartBody6806493884124983638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741440572871,"filename":"image_08032025_14_28_15_9984.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/8328e8ba4d1084a535c34394cff9fff4.jpg","text":"TemporaryFile(/tmp/multipartBody1392298449219599031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741440572871,"filename":"image_08032025_14_28_35_9982.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/47a78d16ab46dbf16c14b38ca3e5ca23.jpg","text":"TemporaryFile(/tmp/multipartBody7896040959062645629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741440572871,"filename":"image_08032025_14_27_55_9983.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/9ca9f8d619c5311d6c8993fcac300ccd.jpg","text":"TemporaryFile(/tmp/multipartBody3620551846854882976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741440572871,"filename":"image_08032025_14_28_25_9978.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/42564d3556334a5d1802cc58bdc0319c.jpg","text":"TemporaryFile(/tmp/multipartBody8291326739185043344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741440572871,"filename":"image_08032025_14_28_45_9970.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341885595","file1":"1341885592","file0":"1341885586","file4":"1341885603","file5":"1341885605","file3":"1341885599"},"map_files_photo_id_array":[{"photo_id":"1341885605","filename":"file5"},{"photo_id":"1341885595","filename":"file2"},{"photo_id":"1341885603","filename":"file4"},{"photo_id":"1341885592","filename":"file1"},{"photo_id":"1341885586","filename":"file0"},{"photo_id":"1341885599","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341885603":["hashtag1","hashtag2"]},{"1341885599":["hashtag1","hashtag2"]},{"1341885592":["hashtag1","hashtag2"]},{"1341885605":["hashtag1","hashtag2"]},{"1341885595":["hashtag1","hashtag2"]},{"1341885586":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341885603, 1341885599, 1341885592, 1341885605, 1341885595, 1341885586)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.141356468200684 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 14:29:32.549165
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/14/29/image_08032025_14_29_45_9987.jpg', 2), ('/home/nano/Desktop/images/08032025/14/29/image_08032025_14_29_35_9959.jpg', 2), ('/home/nano/Desktop/images/08032025/14/29/image_08032025_14_29_25_9964.jpg', 2), ('/home/nano/Desktop/images/08032025/14/29/image_08032025_14_29_16_9960.jpg', 2), ('/home/nano/Desktop/images/08032025/14/28/image_08032025_14_29_06_9990.jpg', 2), ('/home/nano/Desktop/images/08032025/14/28/image_08032025_14_28_56_10975.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/14/29/image_08032025_14_29_45_9987.jpg', '/home/nano/Desktop/images/08032025/14/29/image_08032025_14_29_35_9959.jpg', '/home/nano/Desktop/images/08032025/14/29/image_08032025_14_29_25_9964.jpg', '/home/nano/Desktop/images/08032025/14/29/image_08032025_14_29_16_9960.jpg', '/home/nano/Desktop/images/08032025/14/28/image_08032025_14_29_06_9990.jpg', '/home/nano/Desktop/images/08032025/14/28/image_08032025_14_28_56_10975.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/14/29/image_08032025_14_29_45_9987.jpg
/home/nano/Desktop/images/08032025/14/29/image_08032025_14_29_35_9959.jpg
/home/nano/Desktop/images/08032025/14/29/image_08032025_14_29_25_9964.jpg
/home/nano/Desktop/images/08032025/14/29/image_08032025_14_29_16_9960.jpg
/home/nano/Desktop/images/08032025/14/28/image_08032025_14_29_06_9990.jpg
/home/nano/Desktop/images/08032025/14/28/image_08032025_14_28_56_10975.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341885642","1341885636","1341885641","1341885631","1341885628","1341885622"],"photo_ids_order":["1341885622","1341885628","1341885631","1341885636","1341885641","1341885642"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/2e40280d77464e8f935ec84b48b7307d.jpg","text":"TemporaryFile(/tmp/multipartBody3308877445732645759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741440633022,"filename":"image_08032025_14_28_56_10975.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/23b0f68b0e1981f8660345ae4e84b434.jpg","text":"TemporaryFile(/tmp/multipartBody2455529232322888424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741440633022,"filename":"image_08032025_14_29_16_9960.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/095a31c71eb94d6387d429b0b1b44035.jpg","text":"TemporaryFile(/tmp/multipartBody896191119721851749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741440633022,"filename":"image_08032025_14_29_06_9990.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/db118e76dc23e20f21d5ef2bf919a083.jpg","text":"TemporaryFile(/tmp/multipartBody4914002085882262098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741440633022,"filename":"image_08032025_14_29_25_9964.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/30c6dddd8c79d73331eac1b87460c45f.jpg","text":"TemporaryFile(/tmp/multipartBody2992635111412251788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741440633022,"filename":"image_08032025_14_29_35_9959.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/88d3eb98472aac18786241802bbe8c10.jpg","text":"TemporaryFile(/tmp/multipartBody3317312599804907202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741440633022,"filename":"image_08032025_14_29_45_9987.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341885631","file1":"1341885628","file0":"1341885622","file4":"1341885641","file5":"1341885642","file3":"1341885636"},"map_files_photo_id_array":[{"photo_id":"1341885642","filename":"file5"},{"photo_id":"1341885631","filename":"file2"},{"photo_id":"1341885641","filename":"file4"},{"photo_id":"1341885628","filename":"file1"},{"photo_id":"1341885622","filename":"file0"},{"photo_id":"1341885636","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341885642":["hashtag1","hashtag2"]},{"1341885636":["hashtag1","hashtag2"]},{"1341885641":["hashtag1","hashtag2"]},{"1341885631":["hashtag1","hashtag2"]},{"1341885628":["hashtag1","hashtag2"]},{"1341885622":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341885642, 1341885636, 1341885641, 1341885631, 1341885628, 1341885622)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.01189851760864 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 14:30:32.673981
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/14/30/image_08032025_14_30_45_9964.jpg', 2), ('/home/nano/Desktop/images/08032025/14/30/image_08032025_14_30_35_9959.jpg', 2), ('/home/nano/Desktop/images/08032025/14/30/image_08032025_14_30_25_9963.jpg', 2), ('/home/nano/Desktop/images/08032025/14/30/image_08032025_14_30_15_9963.jpg', 2), ('/home/nano/Desktop/images/08032025/14/29/image_08032025_14_30_05_9990.jpg', 2), ('/home/nano/Desktop/images/08032025/14/29/image_08032025_14_29_55_9962.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/14/30/image_08032025_14_30_45_9964.jpg', '/home/nano/Desktop/images/08032025/14/30/image_08032025_14_30_35_9959.jpg', '/home/nano/Desktop/images/08032025/14/30/image_08032025_14_30_25_9963.jpg', '/home/nano/Desktop/images/08032025/14/30/image_08032025_14_30_15_9963.jpg', '/home/nano/Desktop/images/08032025/14/29/image_08032025_14_30_05_9990.jpg', '/home/nano/Desktop/images/08032025/14/29/image_08032025_14_29_55_9962.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/14/30/image_08032025_14_30_45_9964.jpg
/home/nano/Desktop/images/08032025/14/30/image_08032025_14_30_35_9959.jpg
/home/nano/Desktop/images/08032025/14/30/image_08032025_14_30_25_9963.jpg
/home/nano/Desktop/images/08032025/14/30/image_08032025_14_30_15_9963.jpg
/home/nano/Desktop/images/08032025/14/29/image_08032025_14_30_05_9990.jpg
/home/nano/Desktop/images/08032025/14/29/image_08032025_14_29_55_9962.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341885663","1341885671","1341885673","1341885658","1341885678","1341885666"],"photo_ids_order":["1341885658","1341885663","1341885666","1341885671","1341885673","1341885678"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/2727bb925ee8c6dc1011761fa02ecfdf.jpg","text":"TemporaryFile(/tmp/multipartBody7352285232944861933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741440693137,"filename":"image_08032025_14_30_35_9959.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/e0392a47c7666ad2c3f79f0667bb861d.jpg","text":"TemporaryFile(/tmp/multipartBody6786796641713355934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741440693137,"filename":"image_08032025_14_30_15_9963.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/743c45b05b47c83c69c5b9b47c22875c.jpg","text":"TemporaryFile(/tmp/multipartBody4145996471463374143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741440693137,"filename":"image_08032025_14_30_05_9990.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/794aad5f183e22bc34edd33472350efb.jpg","text":"TemporaryFile(/tmp/multipartBody8198836241970100947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741440693137,"filename":"image_08032025_14_30_45_9964.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/8853d148522680399454aae4eeaa8a71.jpg","text":"TemporaryFile(/tmp/multipartBody5484748119357843817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741440693137,"filename":"image_08032025_14_29_55_9962.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/801d674bf3b0adede57484391590e085.jpg","text":"TemporaryFile(/tmp/multipartBody8475926461239744663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741440693137,"filename":"image_08032025_14_30_25_9963.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341885666","file1":"1341885663","file0":"1341885658","file4":"1341885673","file5":"1341885678","file3":"1341885671"},"map_files_photo_id_array":[{"photo_id":"1341885678","filename":"file5"},{"photo_id":"1341885666","filename":"file2"},{"photo_id":"1341885673","filename":"file4"},{"photo_id":"1341885663","filename":"file1"},{"photo_id":"1341885658","filename":"file0"},{"photo_id":"1341885671","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341885663":["hashtag1","hashtag2"]},{"1341885671":["hashtag1","hashtag2"]},{"1341885673":["hashtag1","hashtag2"]},{"1341885658":["hashtag1","hashtag2"]},{"1341885678":["hashtag1","hashtag2"]},{"1341885666":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341885663, 1341885671, 1341885673, 1341885658, 1341885678, 1341885666)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.43469476699829 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 14:31:31.772440
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/14/31/image_08032025_14_31_45_9967.jpg', 2), ('/home/nano/Desktop/images/08032025/14/31/image_08032025_14_31_35_9966.jpg', 2), ('/home/nano/Desktop/images/08032025/14/31/image_08032025_14_31_25_9978.jpg', 2), ('/home/nano/Desktop/images/08032025/14/31/image_08032025_14_31_15_9986.jpg', 2), ('/home/nano/Desktop/images/08032025/14/30/image_08032025_14_31_05_9980.jpg', 2), ('/home/nano/Desktop/images/08032025/14/30/image_08032025_14_30_55_9961.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/14/31/image_08032025_14_31_45_9967.jpg', '/home/nano/Desktop/images/08032025/14/31/image_08032025_14_31_35_9966.jpg', '/home/nano/Desktop/images/08032025/14/31/image_08032025_14_31_25_9978.jpg', '/home/nano/Desktop/images/08032025/14/31/image_08032025_14_31_15_9986.jpg', '/home/nano/Desktop/images/08032025/14/30/image_08032025_14_31_05_9980.jpg', '/home/nano/Desktop/images/08032025/14/30/image_08032025_14_30_55_9961.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/14/31/image_08032025_14_31_45_9967.jpg
/home/nano/Desktop/images/08032025/14/31/image_08032025_14_31_35_9966.jpg
/home/nano/Desktop/images/08032025/14/31/image_08032025_14_31_25_9978.jpg
/home/nano/Desktop/images/08032025/14/31/image_08032025_14_31_15_9986.jpg
/home/nano/Desktop/images/08032025/14/30/image_08032025_14_31_05_9980.jpg
/home/nano/Desktop/images/08032025/14/30/image_08032025_14_30_55_9961.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341885774","1341885801","1341885804","1341885790","1341885798","1341885786"],"photo_ids_order":["1341885774","1341885786","1341885790","1341885798","1341885801","1341885804"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/70d5a4a6b71aeab9fc121a1500ac8926.jpg","text":"TemporaryFile(/tmp/multipartBody1731304510832908921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741440752219,"filename":"image_08032025_14_31_45_9967.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/3df5e3ad752024575ce9be2b5cb1c8f2.jpg","text":"TemporaryFile(/tmp/multipartBody7177247855965132625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741440752219,"filename":"image_08032025_14_31_05_9980.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/4634c305ae3a1ff5e26cf204212b92a9.jpg","text":"TemporaryFile(/tmp/multipartBody6879344920528560622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741440752219,"filename":"image_08032025_14_30_55_9961.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/10aac2c24f1408d7b89564c52799ebcb.jpg","text":"TemporaryFile(/tmp/multipartBody2827795670437331386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741440752219,"filename":"image_08032025_14_31_25_9978.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/56e2a3791dfa6bf676235282b10698c8.jpg","text":"TemporaryFile(/tmp/multipartBody8867217117702979563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741440752219,"filename":"image_08032025_14_31_15_9986.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/59aea78f0ecfcb250b91b18b8a7e8c6d.jpg","text":"TemporaryFile(/tmp/multipartBody2381629580182624282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741440752219,"filename":"image_08032025_14_31_35_9966.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341885790","file1":"1341885786","file0":"1341885774","file4":"1341885801","file5":"1341885804","file3":"1341885798"},"map_files_photo_id_array":[{"photo_id":"1341885804","filename":"file5"},{"photo_id":"1341885790","filename":"file2"},{"photo_id":"1341885801","filename":"file4"},{"photo_id":"1341885786","filename":"file1"},{"photo_id":"1341885774","filename":"file0"},{"photo_id":"1341885798","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341885774":["hashtag1","hashtag2"]},{"1341885801":["hashtag1","hashtag2"]},{"1341885804":["hashtag1","hashtag2"]},{"1341885790":["hashtag1","hashtag2"]},{"1341885798":["hashtag1","hashtag2"]},{"1341885786":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341885774, 1341885801, 1341885804, 1341885790, 1341885798, 1341885786)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.96587586402893 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 14:32:31.975513
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/14/32/image_08032025_14_32_45_9987.jpg', 2), ('/home/nano/Desktop/images/08032025/14/32/image_08032025_14_32_35_9991.jpg', 2), ('/home/nano/Desktop/images/08032025/14/32/image_08032025_14_32_25_10015.jpg', 2), ('/home/nano/Desktop/images/08032025/14/32/image_08032025_14_32_15_9991.jpg', 2), ('/home/nano/Desktop/images/08032025/14/31/image_08032025_14_32_05_10009.jpg', 2), ('/home/nano/Desktop/images/08032025/14/31/image_08032025_14_31_55_9968.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/14/32/image_08032025_14_32_45_9987.jpg', '/home/nano/Desktop/images/08032025/14/32/image_08032025_14_32_35_9991.jpg', '/home/nano/Desktop/images/08032025/14/32/image_08032025_14_32_25_10015.jpg', '/home/nano/Desktop/images/08032025/14/32/image_08032025_14_32_15_9991.jpg', '/home/nano/Desktop/images/08032025/14/31/image_08032025_14_32_05_10009.jpg', '/home/nano/Desktop/images/08032025/14/31/image_08032025_14_31_55_9968.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/14/32/image_08032025_14_32_45_9987.jpg
/home/nano/Desktop/images/08032025/14/32/image_08032025_14_32_35_9991.jpg
/home/nano/Desktop/images/08032025/14/32/image_08032025_14_32_25_10015.jpg
/home/nano/Desktop/images/08032025/14/32/image_08032025_14_32_15_9991.jpg
/home/nano/Desktop/images/08032025/14/31/image_08032025_14_32_05_10009.jpg
/home/nano/Desktop/images/08032025/14/31/image_08032025_14_31_55_9968.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341886107","1341885987","1341885873","1341886225","1341885917","1341885892"],"photo_ids_order":["1341885873","1341885892","1341885917","1341885987","1341886107","1341886225"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/b44c20aa92799703c08747c256ce2f0b.jpg","text":"TemporaryFile(/tmp/multipartBody7724882555143247031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741440812393,"filename":"image_08032025_14_32_05_10009.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/17e08998458a2ef0d24c3346faef450f.jpg","text":"TemporaryFile(/tmp/multipartBody6474752942050468890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741440812393,"filename":"image_08032025_14_32_15_9991.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/90d93a345ef32b60e225b1fc74f247d3.jpg","text":"TemporaryFile(/tmp/multipartBody2946740297277100015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741440812393,"filename":"image_08032025_14_32_45_9987.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/8b76c4d7871772c6f9ff88bff3c5b706.jpg","text":"TemporaryFile(/tmp/multipartBody7805369125098308320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741440812393,"filename":"image_08032025_14_31_55_9968.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/a1106fe1f4a95ca2641250fa4a7a165a.jpg","text":"TemporaryFile(/tmp/multipartBody8692001030492800828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741440812393,"filename":"image_08032025_14_32_25_10015.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/be65fb8d37786bacdb46537b5edc552b.jpg","text":"TemporaryFile(/tmp/multipartBody2280392540583568510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741440812393,"filename":"image_08032025_14_32_35_9991.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341885917","file1":"1341885892","file0":"1341885873","file4":"1341886107","file5":"1341886225","file3":"1341885987"},"map_files_photo_id_array":[{"photo_id":"1341886225","filename":"file5"},{"photo_id":"1341885917","filename":"file2"},{"photo_id":"1341886107","filename":"file4"},{"photo_id":"1341885892","filename":"file1"},{"photo_id":"1341885873","filename":"file0"},{"photo_id":"1341885987","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341886107":["hashtag1","hashtag2"]},{"1341885987":["hashtag1","hashtag2"]},{"1341885873":["hashtag1","hashtag2"]},{"1341886225":["hashtag1","hashtag2"]},{"1341885917":["hashtag1","hashtag2"]},{"1341885892":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341886107, 1341885987, 1341885873, 1341886225, 1341885917, 1341885892)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.925673484802246 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 14:33:32.145113
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/14/33/image_08032025_14_33_45_9995.jpg', 2), ('/home/nano/Desktop/images/08032025/14/33/image_08032025_14_33_35_9996.jpg', 2), ('/home/nano/Desktop/images/08032025/14/33/image_08032025_14_33_25_9991.jpg', 2), ('/home/nano/Desktop/images/08032025/14/33/image_08032025_14_33_15_9991.jpg', 2), ('/home/nano/Desktop/images/08032025/14/32/image_08032025_14_33_05_10001.jpg', 2), ('/home/nano/Desktop/images/08032025/14/32/image_08032025_14_32_55_9991.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/14/33/image_08032025_14_33_45_9995.jpg', '/home/nano/Desktop/images/08032025/14/33/image_08032025_14_33_35_9996.jpg', '/home/nano/Desktop/images/08032025/14/33/image_08032025_14_33_25_9991.jpg', '/home/nano/Desktop/images/08032025/14/33/image_08032025_14_33_15_9991.jpg', '/home/nano/Desktop/images/08032025/14/32/image_08032025_14_33_05_10001.jpg', '/home/nano/Desktop/images/08032025/14/32/image_08032025_14_32_55_9991.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/14/33/image_08032025_14_33_45_9995.jpg
/home/nano/Desktop/images/08032025/14/33/image_08032025_14_33_35_9996.jpg
/home/nano/Desktop/images/08032025/14/33/image_08032025_14_33_25_9991.jpg
/home/nano/Desktop/images/08032025/14/33/image_08032025_14_33_15_9991.jpg
/home/nano/Desktop/images/08032025/14/32/image_08032025_14_33_05_10001.jpg
/home/nano/Desktop/images/08032025/14/32/image_08032025_14_32_55_9991.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341887141","1341887000","1341887003","1341886859","1341886987","1341887005"],"photo_ids_order":["1341886859","1341886987","1341887000","1341887003","1341887005","1341887141"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/2e05f99adc44dfc8e3f9f61783136fa2.jpg","text":"TemporaryFile(/tmp/multipartBody2922740125091065999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741440872584,"filename":"image_08032025_14_32_55_9991.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/56076f57b646eb09daccc75225fd4a2c.jpg","text":"TemporaryFile(/tmp/multipartBody5088516856548722041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741440872584,"filename":"image_08032025_14_33_25_9991.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/4e1785f0cbd6f35f28bca9633cb994de.jpg","text":"TemporaryFile(/tmp/multipartBody3295142706155275732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741440872584,"filename":"image_08032025_14_33_15_9991.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/60f25b2a1e2ef9331687eb73a9bed8a4.jpg","text":"TemporaryFile(/tmp/multipartBody6827017340984000874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741440872584,"filename":"image_08032025_14_33_45_9995.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/d14d41379458d478e3f29891a1080dcf.jpg","text":"TemporaryFile(/tmp/multipartBody1535161015669088971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741440872584,"filename":"image_08032025_14_33_35_9996.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/e4d7c0ec06bceaa74e28eaafba435aa4.jpg","text":"TemporaryFile(/tmp/multipartBody2352174389458536236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741440872584,"filename":"image_08032025_14_33_05_10001.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341887000","file1":"1341886987","file0":"1341886859","file4":"1341887005","file5":"1341887141","file3":"1341887003"},"map_files_photo_id_array":[{"photo_id":"1341887141","filename":"file5"},{"photo_id":"1341887000","filename":"file2"},{"photo_id":"1341887005","filename":"file4"},{"photo_id":"1341886987","filename":"file1"},{"photo_id":"1341886859","filename":"file0"},{"photo_id":"1341887003","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341887141":["hashtag1","hashtag2"]},{"1341887000":["hashtag1","hashtag2"]},{"1341887003":["hashtag1","hashtag2"]},{"1341886859":["hashtag1","hashtag2"]},{"1341886987":["hashtag1","hashtag2"]},{"1341887005":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341887141, 1341887000, 1341887003, 1341886859, 1341886987, 1341887005)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.194655895233154 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 14:34:32.266051
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/14/34/image_08032025_14_34_45_10001.jpg', 2), ('/home/nano/Desktop/images/08032025/14/34/image_08032025_14_34_35_9991.jpg', 2), ('/home/nano/Desktop/images/08032025/14/34/image_08032025_14_34_25_9996.jpg', 2), ('/home/nano/Desktop/images/08032025/14/34/image_08032025_14_34_15_9993.jpg', 2), ('/home/nano/Desktop/images/08032025/14/33/image_08032025_14_34_05_10037.jpg', 2), ('/home/nano/Desktop/images/08032025/14/33/image_08032025_14_33_55_9997.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/14/34/image_08032025_14_34_45_10001.jpg', '/home/nano/Desktop/images/08032025/14/34/image_08032025_14_34_35_9991.jpg', '/home/nano/Desktop/images/08032025/14/34/image_08032025_14_34_25_9996.jpg', '/home/nano/Desktop/images/08032025/14/34/image_08032025_14_34_15_9993.jpg', '/home/nano/Desktop/images/08032025/14/33/image_08032025_14_34_05_10037.jpg', '/home/nano/Desktop/images/08032025/14/33/image_08032025_14_33_55_9997.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/14/34/image_08032025_14_34_45_10001.jpg
/home/nano/Desktop/images/08032025/14/34/image_08032025_14_34_35_9991.jpg
/home/nano/Desktop/images/08032025/14/34/image_08032025_14_34_25_9996.jpg
/home/nano/Desktop/images/08032025/14/34/image_08032025_14_34_15_9993.jpg
/home/nano/Desktop/images/08032025/14/33/image_08032025_14_34_05_10037.jpg
/home/nano/Desktop/images/08032025/14/33/image_08032025_14_33_55_9997.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341887372","1341887345","1341887278","1341887376","1341887379","1341887340"],"photo_ids_order":["1341887278","1341887340","1341887345","1341887372","1341887376","1341887379"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/1f6bbe2b55f7fbbc374134931f87b0a1.jpg","text":"TemporaryFile(/tmp/multipartBody5674461152246706063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741440932704,"filename":"image_08032025_14_34_15_9993.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/363a673a208f7a1482d2dc535c6109d9.jpg","text":"TemporaryFile(/tmp/multipartBody186188549566540115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741440932704,"filename":"image_08032025_14_34_25_9996.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/88dd52a1a4b715948e5bf8b6854e0b4f.jpg","text":"TemporaryFile(/tmp/multipartBody1941620639732431013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741440932704,"filename":"image_08032025_14_34_45_10001.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/7b3cd52340507c44a654f725695dfeaf.jpg","text":"TemporaryFile(/tmp/multipartBody7481308854944164547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741440932704,"filename":"image_08032025_14_34_05_10037.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/c5886af1bf667b21a4c3bac574ccc59c.jpg","text":"TemporaryFile(/tmp/multipartBody8326803141392502199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741440932704,"filename":"image_08032025_14_33_55_9997.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/5bef095f1878159a39eaea54bcb207b3.jpg","text":"TemporaryFile(/tmp/multipartBody8110579116112042430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741440932704,"filename":"image_08032025_14_34_35_9991.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341887345","file1":"1341887340","file0":"1341887278","file4":"1341887376","file5":"1341887379","file3":"1341887372"},"map_files_photo_id_array":[{"photo_id":"1341887379","filename":"file5"},{"photo_id":"1341887345","filename":"file2"},{"photo_id":"1341887376","filename":"file4"},{"photo_id":"1341887340","filename":"file1"},{"photo_id":"1341887278","filename":"file0"},{"photo_id":"1341887372","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341887372":["hashtag1","hashtag2"]},{"1341887345":["hashtag1","hashtag2"]},{"1341887278":["hashtag1","hashtag2"]},{"1341887376":["hashtag1","hashtag2"]},{"1341887379":["hashtag1","hashtag2"]},{"1341887340":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341887372, 1341887345, 1341887278, 1341887376, 1341887379, 1341887340)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.329084396362305 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 14:35:32.380275
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/14/35/image_08032025_14_35_45_10003.jpg', 2), ('/home/nano/Desktop/images/08032025/14/35/image_08032025_14_35_35_9997.jpg', 2), ('/home/nano/Desktop/images/08032025/14/35/image_08032025_14_35_25_10000.jpg', 2), ('/home/nano/Desktop/images/08032025/14/35/image_08032025_14_35_15_10014.jpg', 2), ('/home/nano/Desktop/images/08032025/14/34/image_08032025_14_35_05_10008.jpg', 2), ('/home/nano/Desktop/images/08032025/14/34/image_08032025_14_34_55_9994.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/14/35/image_08032025_14_35_45_10003.jpg', '/home/nano/Desktop/images/08032025/14/35/image_08032025_14_35_35_9997.jpg', '/home/nano/Desktop/images/08032025/14/35/image_08032025_14_35_25_10000.jpg', '/home/nano/Desktop/images/08032025/14/35/image_08032025_14_35_15_10014.jpg', '/home/nano/Desktop/images/08032025/14/34/image_08032025_14_35_05_10008.jpg', '/home/nano/Desktop/images/08032025/14/34/image_08032025_14_34_55_9994.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/14/35/image_08032025_14_35_45_10003.jpg
/home/nano/Desktop/images/08032025/14/35/image_08032025_14_35_35_9997.jpg
/home/nano/Desktop/images/08032025/14/35/image_08032025_14_35_25_10000.jpg
/home/nano/Desktop/images/08032025/14/35/image_08032025_14_35_15_10014.jpg
/home/nano/Desktop/images/08032025/14/34/image_08032025_14_35_05_10008.jpg
/home/nano/Desktop/images/08032025/14/34/image_08032025_14_34_55_9994.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341887392","1341887413","1341887397","1341887400","1341887403","1341887406"],"photo_ids_order":["1341887392","1341887397","1341887400","1341887403","1341887406","1341887413"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/31efd770c8c9300e2d3a7f3388bec735.jpg","text":"TemporaryFile(/tmp/multipartBody6911569486978308414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741440992796,"filename":"image_08032025_14_35_45_10003.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/5469d4d0c32cc160faff5a9ca6bd72c1.jpg","text":"TemporaryFile(/tmp/multipartBody2392804470280119052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741440992796,"filename":"image_08032025_14_34_55_9994.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/825416de0a9c4f328caea9ae98d1b680.jpg","text":"TemporaryFile(/tmp/multipartBody4438695098117702639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741440992796,"filename":"image_08032025_14_35_35_9997.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/be67f64853ec49db2c22fc21146a133f.jpg","text":"TemporaryFile(/tmp/multipartBody9151709243672105770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741440992796,"filename":"image_08032025_14_35_25_10000.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/21da3e82282f5b43da1548c0484d4a64.jpg","text":"TemporaryFile(/tmp/multipartBody3682255717306322170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741440992796,"filename":"image_08032025_14_35_15_10014.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/2a475db2e76f62faea2a51260a86de7c.jpg","text":"TemporaryFile(/tmp/multipartBody2626313278049756013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741440992796,"filename":"image_08032025_14_35_05_10008.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341887400","file1":"1341887397","file0":"1341887392","file4":"1341887406","file5":"1341887413","file3":"1341887403"},"map_files_photo_id_array":[{"photo_id":"1341887413","filename":"file5"},{"photo_id":"1341887400","filename":"file2"},{"photo_id":"1341887406","filename":"file4"},{"photo_id":"1341887397","filename":"file1"},{"photo_id":"1341887392","filename":"file0"},{"photo_id":"1341887403","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341887392":["hashtag1","hashtag2"]},{"1341887413":["hashtag1","hashtag2"]},{"1341887397":["hashtag1","hashtag2"]},{"1341887400":["hashtag1","hashtag2"]},{"1341887403":["hashtag1","hashtag2"]},{"1341887406":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341887392, 1341887413, 1341887397, 1341887400, 1341887403, 1341887406)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.668521881103516 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 14:36:32.503616
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/14/36/image_08032025_14_36_45_9999.jpg', 2), ('/home/nano/Desktop/images/08032025/14/36/image_08032025_14_36_35_10004.jpg', 2), ('/home/nano/Desktop/images/08032025/14/36/image_08032025_14_36_25_10020.jpg', 2), ('/home/nano/Desktop/images/08032025/14/36/image_08032025_14_36_15_10000.jpg', 2), ('/home/nano/Desktop/images/08032025/14/35/image_08032025_14_36_05_10036.jpg', 2), ('/home/nano/Desktop/images/08032025/14/35/image_08032025_14_35_55_10007.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/14/36/image_08032025_14_36_45_9999.jpg', '/home/nano/Desktop/images/08032025/14/36/image_08032025_14_36_35_10004.jpg', '/home/nano/Desktop/images/08032025/14/36/image_08032025_14_36_25_10020.jpg', '/home/nano/Desktop/images/08032025/14/36/image_08032025_14_36_15_10000.jpg', '/home/nano/Desktop/images/08032025/14/35/image_08032025_14_36_05_10036.jpg', '/home/nano/Desktop/images/08032025/14/35/image_08032025_14_35_55_10007.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/14/36/image_08032025_14_36_45_9999.jpg
/home/nano/Desktop/images/08032025/14/36/image_08032025_14_36_35_10004.jpg
/home/nano/Desktop/images/08032025/14/36/image_08032025_14_36_25_10020.jpg
/home/nano/Desktop/images/08032025/14/36/image_08032025_14_36_15_10000.jpg
/home/nano/Desktop/images/08032025/14/35/image_08032025_14_36_05_10036.jpg
/home/nano/Desktop/images/08032025/14/35/image_08032025_14_35_55_10007.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341887719","1341887766","1341887667","1341887817","1341887798","1341887693"],"photo_ids_order":["1341887667","1341887693","1341887719","1341887766","1341887798","1341887817"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/e4ba395f755175aba5dc4365ac9a1a60.jpg","text":"TemporaryFile(/tmp/multipartBody2232328840545394856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741441052921,"filename":"image_08032025_14_36_25_10020.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/978e68c21c4dc7aef5c3bc986fed1e20.jpg","text":"TemporaryFile(/tmp/multipartBody8568142676929213692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741441052921,"filename":"image_08032025_14_36_15_10000.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/02dd4b1f24d23506d8e87ab8608ab993.jpg","text":"TemporaryFile(/tmp/multipartBody7163387195651179997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741441052921,"filename":"image_08032025_14_36_45_9999.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/bf7322e8668d864cbfc0fad2649dc2bd.jpg","text":"TemporaryFile(/tmp/multipartBody1219014906797048532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741441052921,"filename":"image_08032025_14_35_55_10007.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/11f127322813145f8ab8ff9aca38a56e.jpg","text":"TemporaryFile(/tmp/multipartBody7607215971141768047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741441052921,"filename":"image_08032025_14_36_05_10036.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/ae2f3d15acb6f45365dce5ea86de7838.jpg","text":"TemporaryFile(/tmp/multipartBody1606132378659790995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741441052921,"filename":"image_08032025_14_36_35_10004.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341887719","file1":"1341887693","file0":"1341887667","file4":"1341887798","file5":"1341887817","file3":"1341887766"},"map_files_photo_id_array":[{"photo_id":"1341887817","filename":"file5"},{"photo_id":"1341887719","filename":"file2"},{"photo_id":"1341887798","filename":"file4"},{"photo_id":"1341887693","filename":"file1"},{"photo_id":"1341887667","filename":"file0"},{"photo_id":"1341887766","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341887719":["hashtag1","hashtag2"]},{"1341887766":["hashtag1","hashtag2"]},{"1341887667":["hashtag1","hashtag2"]},{"1341887817":["hashtag1","hashtag2"]},{"1341887798":["hashtag1","hashtag2"]},{"1341887693":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341887719, 1341887766, 1341887667, 1341887817, 1341887798, 1341887693)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.55382251739502 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 14:37:32.578761
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/14/37/image_08032025_14_37_45_10003.jpg', 2), ('/home/nano/Desktop/images/08032025/14/37/image_08032025_14_37_35_10003.jpg', 2), ('/home/nano/Desktop/images/08032025/14/37/image_08032025_14_37_25_10029.jpg', 2), ('/home/nano/Desktop/images/08032025/14/37/image_08032025_14_37_15_10000.jpg', 2), ('/home/nano/Desktop/images/08032025/14/36/image_08032025_14_37_05_10025.jpg', 2), ('/home/nano/Desktop/images/08032025/14/36/image_08032025_14_36_55_10005.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/14/37/image_08032025_14_37_45_10003.jpg', '/home/nano/Desktop/images/08032025/14/37/image_08032025_14_37_35_10003.jpg', '/home/nano/Desktop/images/08032025/14/37/image_08032025_14_37_25_10029.jpg', '/home/nano/Desktop/images/08032025/14/37/image_08032025_14_37_15_10000.jpg', '/home/nano/Desktop/images/08032025/14/36/image_08032025_14_37_05_10025.jpg', '/home/nano/Desktop/images/08032025/14/36/image_08032025_14_36_55_10005.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/14/37/image_08032025_14_37_45_10003.jpg
/home/nano/Desktop/images/08032025/14/37/image_08032025_14_37_35_10003.jpg
/home/nano/Desktop/images/08032025/14/37/image_08032025_14_37_25_10029.jpg
/home/nano/Desktop/images/08032025/14/37/image_08032025_14_37_15_10000.jpg
/home/nano/Desktop/images/08032025/14/36/image_08032025_14_37_05_10025.jpg
/home/nano/Desktop/images/08032025/14/36/image_08032025_14_36_55_10005.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341888166","1341887899","1341888160","1341888136","1341888004","1341887984"],"photo_ids_order":["1341887899","1341887984","1341888004","1341888136","1341888160","1341888166"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/65ff202709ea359f73e9d9935a234f7b.jpg","text":"TemporaryFile(/tmp/multipartBody7471973547860163529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741441113017,"filename":"image_08032025_14_36_55_10005.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/14b4b79f9fa827d2b72411f3c6592273.jpg","text":"TemporaryFile(/tmp/multipartBody1020429993828367063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741441113017,"filename":"image_08032025_14_37_45_10003.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/4c082d72a50ba2a4ba05dba5d789b1ea.jpg","text":"TemporaryFile(/tmp/multipartBody1091043583096067527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741441113017,"filename":"image_08032025_14_37_05_10025.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/94a00d54f2a537047f4f4a08008b72e4.jpg","text":"TemporaryFile(/tmp/multipartBody927725580932138978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741441113017,"filename":"image_08032025_14_37_15_10000.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/25063b6871470807af899de7ec5cc5ab.jpg","text":"TemporaryFile(/tmp/multipartBody5351055673824009012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741441113017,"filename":"image_08032025_14_37_25_10029.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/42f756675e82ebb19ee77cc56cf97da3.jpg","text":"TemporaryFile(/tmp/multipartBody8444297948829669227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741441113017,"filename":"image_08032025_14_37_35_10003.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341888004","file1":"1341887984","file0":"1341887899","file4":"1341888160","file5":"1341888166","file3":"1341888136"},"map_files_photo_id_array":[{"photo_id":"1341888166","filename":"file5"},{"photo_id":"1341888004","filename":"file2"},{"photo_id":"1341888160","filename":"file4"},{"photo_id":"1341887984","filename":"file1"},{"photo_id":"1341887899","filename":"file0"},{"photo_id":"1341888136","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341888166":["hashtag1","hashtag2"]},{"1341887899":["hashtag1","hashtag2"]},{"1341888160":["hashtag1","hashtag2"]},{"1341888136":["hashtag1","hashtag2"]},{"1341888004":["hashtag1","hashtag2"]},{"1341887984":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341888166, 1341887899, 1341888160, 1341888136, 1341888004, 1341887984)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.05504059791565 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 14:38:32.706498
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/14/38/image_08032025_14_38_45_10004.jpg', 2), ('/home/nano/Desktop/images/08032025/14/38/image_08032025_14_38_35_10027.jpg', 2), ('/home/nano/Desktop/images/08032025/14/38/image_08032025_14_38_25_10002.jpg', 2), ('/home/nano/Desktop/images/08032025/14/38/image_08032025_14_38_15_10017.jpg', 2), ('/home/nano/Desktop/images/08032025/14/37/image_08032025_14_38_05_10016.jpg', 2), ('/home/nano/Desktop/images/08032025/14/37/image_08032025_14_37_55_9997.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/14/38/image_08032025_14_38_45_10004.jpg', '/home/nano/Desktop/images/08032025/14/38/image_08032025_14_38_35_10027.jpg', '/home/nano/Desktop/images/08032025/14/38/image_08032025_14_38_25_10002.jpg', '/home/nano/Desktop/images/08032025/14/38/image_08032025_14_38_15_10017.jpg', '/home/nano/Desktop/images/08032025/14/37/image_08032025_14_38_05_10016.jpg', '/home/nano/Desktop/images/08032025/14/37/image_08032025_14_37_55_9997.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/14/38/image_08032025_14_38_45_10004.jpg
/home/nano/Desktop/images/08032025/14/38/image_08032025_14_38_35_10027.jpg
/home/nano/Desktop/images/08032025/14/38/image_08032025_14_38_25_10002.jpg
/home/nano/Desktop/images/08032025/14/38/image_08032025_14_38_15_10017.jpg
/home/nano/Desktop/images/08032025/14/37/image_08032025_14_38_05_10016.jpg
/home/nano/Desktop/images/08032025/14/37/image_08032025_14_37_55_9997.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341888215","1341888268","1341888238","1341888261","1341888210","1341888257"],"photo_ids_order":["1341888210","1341888215","1341888238","1341888257","1341888261","1341888268"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/6c1f601fe544aa741e6f8347fdcb4eb6.jpg","text":"TemporaryFile(/tmp/multipartBody5994255720140959746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741441173155,"filename":"image_08032025_14_38_35_10027.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/2b6f64dad9652a33dc482fb420462a3c.jpg","text":"TemporaryFile(/tmp/multipartBody7011528982541077173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741441173155,"filename":"image_08032025_14_37_55_9997.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/2e11a92675979c16085e939d0cb30c88.jpg","text":"TemporaryFile(/tmp/multipartBody1344595857792529864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741441173155,"filename":"image_08032025_14_38_25_10002.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/abef9c249c15c883fbc0fda1d41e5890.jpg","text":"TemporaryFile(/tmp/multipartBody7764517939245965633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741441173155,"filename":"image_08032025_14_38_05_10016.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/e1ec3913e1bfad451fe8fcca8857bb66.jpg","text":"TemporaryFile(/tmp/multipartBody6624764232492524839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741441173155,"filename":"image_08032025_14_38_45_10004.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/0255b018dbfd4b8158ff11972c66402d.jpg","text":"TemporaryFile(/tmp/multipartBody8919450060653329707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741441173155,"filename":"image_08032025_14_38_15_10017.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341888238","file1":"1341888215","file0":"1341888210","file4":"1341888261","file5":"1341888268","file3":"1341888257"},"map_files_photo_id_array":[{"photo_id":"1341888268","filename":"file5"},{"photo_id":"1341888238","filename":"file2"},{"photo_id":"1341888261","filename":"file4"},{"photo_id":"1341888215","filename":"file1"},{"photo_id":"1341888210","filename":"file0"},{"photo_id":"1341888257","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341888215":["hashtag1","hashtag2"]},{"1341888268":["hashtag1","hashtag2"]},{"1341888238":["hashtag1","hashtag2"]},{"1341888261":["hashtag1","hashtag2"]},{"1341888210":["hashtag1","hashtag2"]},{"1341888257":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341888215, 1341888268, 1341888238, 1341888261, 1341888210, 1341888257)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.94316864013672 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 14:39:31.817409
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/14/39/image_08032025_14_39_45_10020.jpg', 2), ('/home/nano/Desktop/images/08032025/14/39/image_08032025_14_39_35_10031.jpg', 2), ('/home/nano/Desktop/images/08032025/14/39/image_08032025_14_39_25_10003.jpg', 2), ('/home/nano/Desktop/images/08032025/14/39/image_08032025_14_39_15_10014.jpg', 2), ('/home/nano/Desktop/images/08032025/14/38/image_08032025_14_39_05_10018.jpg', 2), ('/home/nano/Desktop/images/08032025/14/38/image_08032025_14_38_55_10001.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/14/39/image_08032025_14_39_45_10020.jpg', '/home/nano/Desktop/images/08032025/14/39/image_08032025_14_39_35_10031.jpg', '/home/nano/Desktop/images/08032025/14/39/image_08032025_14_39_25_10003.jpg', '/home/nano/Desktop/images/08032025/14/39/image_08032025_14_39_15_10014.jpg', '/home/nano/Desktop/images/08032025/14/38/image_08032025_14_39_05_10018.jpg', '/home/nano/Desktop/images/08032025/14/38/image_08032025_14_38_55_10001.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/14/39/image_08032025_14_39_45_10020.jpg
/home/nano/Desktop/images/08032025/14/39/image_08032025_14_39_35_10031.jpg
/home/nano/Desktop/images/08032025/14/39/image_08032025_14_39_25_10003.jpg
/home/nano/Desktop/images/08032025/14/39/image_08032025_14_39_15_10014.jpg
/home/nano/Desktop/images/08032025/14/38/image_08032025_14_39_05_10018.jpg
/home/nano/Desktop/images/08032025/14/38/image_08032025_14_38_55_10001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341888305","1341888294","1341888324","1341888321","1341888290","1341888287"],"photo_ids_order":["1341888287","1341888290","1341888294","1341888305","1341888321","1341888324"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/97eac2c0148c3719232eb5e02edfa55e.jpg","text":"TemporaryFile(/tmp/multipartBody3702256436793259578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741441232272,"filename":"image_08032025_14_39_15_10014.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/5b283c060a275ee55671d9bdc9098cf2.jpg","text":"TemporaryFile(/tmp/multipartBody2742183739592482032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741441232272,"filename":"image_08032025_14_39_25_10003.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/25b82f320e93f549f7dd37f0ce4dd103.jpg","text":"TemporaryFile(/tmp/multipartBody7669006537974403508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741441232272,"filename":"image_08032025_14_38_55_10001.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/c682abd9a14a0bf23956c602d93851cd.jpg","text":"TemporaryFile(/tmp/multipartBody3016460104125231733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741441232272,"filename":"image_08032025_14_39_05_10018.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/5f9276b9bd3b43ece20e0e1d01a9f55b.jpg","text":"TemporaryFile(/tmp/multipartBody7088115873806337554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741441232272,"filename":"image_08032025_14_39_35_10031.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/17027ae2a6ff92a5ca20ffa4b13b6929.jpg","text":"TemporaryFile(/tmp/multipartBody4472470670048426914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741441232272,"filename":"image_08032025_14_39_45_10020.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341888294","file1":"1341888290","file0":"1341888287","file4":"1341888321","file5":"1341888324","file3":"1341888305"},"map_files_photo_id_array":[{"photo_id":"1341888324","filename":"file5"},{"photo_id":"1341888294","filename":"file2"},{"photo_id":"1341888321","filename":"file4"},{"photo_id":"1341888290","filename":"file1"},{"photo_id":"1341888287","filename":"file0"},{"photo_id":"1341888305","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341888305":["hashtag1","hashtag2"]},{"1341888294":["hashtag1","hashtag2"]},{"1341888324":["hashtag1","hashtag2"]},{"1341888321":["hashtag1","hashtag2"]},{"1341888290":["hashtag1","hashtag2"]},{"1341888287":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341888305, 1341888294, 1341888324, 1341888321, 1341888290, 1341888287)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.85702037811279 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 14:40:31.906830
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/14/40/image_08032025_14_40_45_10004.jpg', 2), ('/home/nano/Desktop/images/08032025/14/40/image_08032025_14_40_35_10004.jpg', 2), ('/home/nano/Desktop/images/08032025/14/40/image_08032025_14_40_25_10005.jpg', 2), ('/home/nano/Desktop/images/08032025/14/40/image_08032025_14_40_15_10007.jpg', 2), ('/home/nano/Desktop/images/08032025/14/39/image_08032025_14_40_05_10058.jpg', 2), ('/home/nano/Desktop/images/08032025/14/39/image_08032025_14_39_55_10004.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/14/40/image_08032025_14_40_45_10004.jpg', '/home/nano/Desktop/images/08032025/14/40/image_08032025_14_40_35_10004.jpg', '/home/nano/Desktop/images/08032025/14/40/image_08032025_14_40_25_10005.jpg', '/home/nano/Desktop/images/08032025/14/40/image_08032025_14_40_15_10007.jpg', '/home/nano/Desktop/images/08032025/14/39/image_08032025_14_40_05_10058.jpg', '/home/nano/Desktop/images/08032025/14/39/image_08032025_14_39_55_10004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/14/40/image_08032025_14_40_45_10004.jpg
/home/nano/Desktop/images/08032025/14/40/image_08032025_14_40_35_10004.jpg
/home/nano/Desktop/images/08032025/14/40/image_08032025_14_40_25_10005.jpg
/home/nano/Desktop/images/08032025/14/40/image_08032025_14_40_15_10007.jpg
/home/nano/Desktop/images/08032025/14/39/image_08032025_14_40_05_10058.jpg
/home/nano/Desktop/images/08032025/14/39/image_08032025_14_39_55_10004.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341888397","1341888376","1341888427","1341888372","1341888453","1341888522"],"photo_ids_order":["1341888372","1341888376","1341888397","1341888427","1341888453","1341888522"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/258c7a97ec362c558194b8c75901bfb0.jpg","text":"TemporaryFile(/tmp/multipartBody5274963385358333346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741441292333,"filename":"image_08032025_14_40_25_10005.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/3c5e0e8a39364fd820b14f3c5c1898d2.jpg","text":"TemporaryFile(/tmp/multipartBody3684812694522096150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741441292333,"filename":"image_08032025_14_40_35_10004.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/756825794d0e81ff62d79954f7c29146.jpg","text":"TemporaryFile(/tmp/multipartBody2483674330742544238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741441292333,"filename":"image_08032025_14_40_15_10007.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/76d7b03eb7437e3d492f4f0d3d0b2286.jpg","text":"TemporaryFile(/tmp/multipartBody8579963627710406494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741441292333,"filename":"image_08032025_14_40_45_10004.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/efb0e7025678be7a68e5f5a0e72575cb.jpg","text":"TemporaryFile(/tmp/multipartBody2440595381779113514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741441292333,"filename":"image_08032025_14_40_05_10058.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/4deecce2636be1cb105fc5d9cdc116ad.jpg","text":"TemporaryFile(/tmp/multipartBody178092687644800723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741441292333,"filename":"image_08032025_14_39_55_10004.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341888397","file1":"1341888376","file0":"1341888372","file4":"1341888453","file5":"1341888522","file3":"1341888427"},"map_files_photo_id_array":[{"photo_id":"1341888522","filename":"file5"},{"photo_id":"1341888397","filename":"file2"},{"photo_id":"1341888453","filename":"file4"},{"photo_id":"1341888376","filename":"file1"},{"photo_id":"1341888372","filename":"file0"},{"photo_id":"1341888427","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341888397":["hashtag1","hashtag2"]},{"1341888376":["hashtag1","hashtag2"]},{"1341888427":["hashtag1","hashtag2"]},{"1341888372":["hashtag1","hashtag2"]},{"1341888453":["hashtag1","hashtag2"]},{"1341888522":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341888397, 1341888376, 1341888427, 1341888372, 1341888453, 1341888522)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.97901797294617 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 14:41:32.035080
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/14/41/image_08032025_14_41_45_10000.jpg', 2), ('/home/nano/Desktop/images/08032025/14/41/image_08032025_14_41_35_9999.jpg', 2), ('/home/nano/Desktop/images/08032025/14/41/image_08032025_14_41_25_10001.jpg', 2), ('/home/nano/Desktop/images/08032025/14/41/image_08032025_14_41_15_10005.jpg', 2), ('/home/nano/Desktop/images/08032025/14/40/image_08032025_14_41_05_10018.jpg', 2), ('/home/nano/Desktop/images/08032025/14/40/image_08032025_14_40_55_10010.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/14/41/image_08032025_14_41_45_10000.jpg', '/home/nano/Desktop/images/08032025/14/41/image_08032025_14_41_35_9999.jpg', '/home/nano/Desktop/images/08032025/14/41/image_08032025_14_41_25_10001.jpg', '/home/nano/Desktop/images/08032025/14/41/image_08032025_14_41_15_10005.jpg', '/home/nano/Desktop/images/08032025/14/40/image_08032025_14_41_05_10018.jpg', '/home/nano/Desktop/images/08032025/14/40/image_08032025_14_40_55_10010.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/14/41/image_08032025_14_41_45_10000.jpg
/home/nano/Desktop/images/08032025/14/41/image_08032025_14_41_35_9999.jpg
/home/nano/Desktop/images/08032025/14/41/image_08032025_14_41_25_10001.jpg
/home/nano/Desktop/images/08032025/14/41/image_08032025_14_41_15_10005.jpg
/home/nano/Desktop/images/08032025/14/40/image_08032025_14_41_05_10018.jpg
/home/nano/Desktop/images/08032025/14/40/image_08032025_14_40_55_10010.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341888766","1341888724","1341888861","1341888810","1341888680","1341888656"],"photo_ids_order":["1341888656","1341888680","1341888724","1341888766","1341888810","1341888861"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/978a60e4bc64d4ff23b9da13bdb2941f.jpg","text":"TemporaryFile(/tmp/multipartBody5936222788635441968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741441352508,"filename":"image_08032025_14_41_15_10005.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/02de5800cd1667155476ce8958417202.jpg","text":"TemporaryFile(/tmp/multipartBody5061845433034643157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741441352508,"filename":"image_08032025_14_41_25_10001.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/5390a393893335bee41d695552ca44c8.jpg","text":"TemporaryFile(/tmp/multipartBody5633154957002317502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741441352508,"filename":"image_08032025_14_40_55_10010.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/9eeb614fcad6b8ff76ed3fa7d808a4b6.jpg","text":"TemporaryFile(/tmp/multipartBody5294500553491353114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741441352508,"filename":"image_08032025_14_41_05_10018.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/f11fb683570bd7a70ea9d2d6918fc69e.jpg","text":"TemporaryFile(/tmp/multipartBody5392145883023277885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741441352508,"filename":"image_08032025_14_41_35_9999.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/089c225261c52373118bfbf52c6ba859.jpg","text":"TemporaryFile(/tmp/multipartBody2273410496114687242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741441352508,"filename":"image_08032025_14_41_45_10000.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341888724","file1":"1341888680","file0":"1341888656","file4":"1341888810","file5":"1341888861","file3":"1341888766"},"map_files_photo_id_array":[{"photo_id":"1341888861","filename":"file5"},{"photo_id":"1341888724","filename":"file2"},{"photo_id":"1341888810","filename":"file4"},{"photo_id":"1341888680","filename":"file1"},{"photo_id":"1341888656","filename":"file0"},{"photo_id":"1341888766","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341888766":["hashtag1","hashtag2"]},{"1341888724":["hashtag1","hashtag2"]},{"1341888861":["hashtag1","hashtag2"]},{"1341888810":["hashtag1","hashtag2"]},{"1341888680":["hashtag1","hashtag2"]},{"1341888656":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341888766, 1341888724, 1341888861, 1341888810, 1341888680, 1341888656)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.816155195236206 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 14:42:32.175558
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/14/42/image_08032025_14_42_46_10002.jpg', 2), ('/home/nano/Desktop/images/08032025/14/42/image_08032025_14_42_36_10005.jpg', 2), ('/home/nano/Desktop/images/08032025/14/42/image_08032025_14_42_26_10020.jpg', 2), ('/home/nano/Desktop/images/08032025/14/42/image_08032025_14_42_15_10005.jpg', 2), ('/home/nano/Desktop/images/08032025/14/41/image_08032025_14_42_05_10019.jpg', 2), ('/home/nano/Desktop/images/08032025/14/41/image_08032025_14_41_55_10002.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/14/42/image_08032025_14_42_46_10002.jpg', '/home/nano/Desktop/images/08032025/14/42/image_08032025_14_42_36_10005.jpg', '/home/nano/Desktop/images/08032025/14/42/image_08032025_14_42_26_10020.jpg', '/home/nano/Desktop/images/08032025/14/42/image_08032025_14_42_15_10005.jpg', '/home/nano/Desktop/images/08032025/14/41/image_08032025_14_42_05_10019.jpg', '/home/nano/Desktop/images/08032025/14/41/image_08032025_14_41_55_10002.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/14/42/image_08032025_14_42_46_10002.jpg
/home/nano/Desktop/images/08032025/14/42/image_08032025_14_42_36_10005.jpg
/home/nano/Desktop/images/08032025/14/42/image_08032025_14_42_26_10020.jpg
/home/nano/Desktop/images/08032025/14/42/image_08032025_14_42_15_10005.jpg
/home/nano/Desktop/images/08032025/14/41/image_08032025_14_42_05_10019.jpg
/home/nano/Desktop/images/08032025/14/41/image_08032025_14_41_55_10002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341889285","1341889351","1341889324","1341889386","1341889257","1341889202"],"photo_ids_order":["1341889202","1341889257","1341889285","1341889324","1341889351","1341889386"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/37730237fbb1ec15fb7ee7f764dedc26.jpg","text":"TemporaryFile(/tmp/multipartBody7931709654453520565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741441412662,"filename":"image_08032025_14_42_26_10020.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/277c89c34a33faad6e5af107f4046845.jpg","text":"TemporaryFile(/tmp/multipartBody5162373732398921907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741441412662,"filename":"image_08032025_14_42_05_10019.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/269b1ffb228d41c3a75bc9023ecf63a6.jpg","text":"TemporaryFile(/tmp/multipartBody499630354449474215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741441412662,"filename":"image_08032025_14_42_15_10005.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/3ae2fe93f340571bff9a4db48cc1eebe.jpg","text":"TemporaryFile(/tmp/multipartBody1122432999142466093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741441412662,"filename":"image_08032025_14_41_55_10002.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/daf966582bca02e95156e10a98961a42.jpg","text":"TemporaryFile(/tmp/multipartBody5190706420533946518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741441412662,"filename":"image_08032025_14_42_36_10005.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/f814c6a89a7843744f218a1717a4f88e.jpg","text":"TemporaryFile(/tmp/multipartBody4517256647415443495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741441412662,"filename":"image_08032025_14_42_46_10002.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341889285","file1":"1341889257","file0":"1341889202","file4":"1341889351","file5":"1341889386","file3":"1341889324"},"map_files_photo_id_array":[{"photo_id":"1341889386","filename":"file5"},{"photo_id":"1341889285","filename":"file2"},{"photo_id":"1341889351","filename":"file4"},{"photo_id":"1341889257","filename":"file1"},{"photo_id":"1341889202","filename":"file0"},{"photo_id":"1341889324","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341889285":["hashtag1","hashtag2"]},{"1341889351":["hashtag1","hashtag2"]},{"1341889324":["hashtag1","hashtag2"]},{"1341889386":["hashtag1","hashtag2"]},{"1341889257":["hashtag1","hashtag2"]},{"1341889202":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341889285, 1341889351, 1341889324, 1341889386, 1341889257, 1341889202)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.670881509780884 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 14:43:32.319701
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/14/43/image_08032025_14_43_46_10002.jpg', 2), ('/home/nano/Desktop/images/08032025/14/43/image_08032025_14_43_36_10005.jpg', 2), ('/home/nano/Desktop/images/08032025/14/43/image_08032025_14_43_26_10005.jpg', 2), ('/home/nano/Desktop/images/08032025/14/43/image_08032025_14_43_16_10004.jpg', 2), ('/home/nano/Desktop/images/08032025/14/42/image_08032025_14_43_06_10009.jpg', 2), ('/home/nano/Desktop/images/08032025/14/42/image_08032025_14_42_56_10000.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/14/43/image_08032025_14_43_46_10002.jpg', '/home/nano/Desktop/images/08032025/14/43/image_08032025_14_43_36_10005.jpg', '/home/nano/Desktop/images/08032025/14/43/image_08032025_14_43_26_10005.jpg', '/home/nano/Desktop/images/08032025/14/43/image_08032025_14_43_16_10004.jpg', '/home/nano/Desktop/images/08032025/14/42/image_08032025_14_43_06_10009.jpg', '/home/nano/Desktop/images/08032025/14/42/image_08032025_14_42_56_10000.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/14/43/image_08032025_14_43_46_10002.jpg
/home/nano/Desktop/images/08032025/14/43/image_08032025_14_43_36_10005.jpg
/home/nano/Desktop/images/08032025/14/43/image_08032025_14_43_26_10005.jpg
/home/nano/Desktop/images/08032025/14/43/image_08032025_14_43_16_10004.jpg
/home/nano/Desktop/images/08032025/14/42/image_08032025_14_43_06_10009.jpg
/home/nano/Desktop/images/08032025/14/42/image_08032025_14_42_56_10000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341889723","1341889717","1341889705","1341889743","1341889767","1341889769"],"photo_ids_order":["1341889705","1341889717","1341889723","1341889743","1341889767","1341889769"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/19a369381ca0db401189387197703941.jpg","text":"TemporaryFile(/tmp/multipartBody5646485948384477697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741441472763,"filename":"image_08032025_14_43_26_10005.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/5d4c557384a6df13b8edf639db89164a.jpg","text":"TemporaryFile(/tmp/multipartBody2667462396666918308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741441472763,"filename":"image_08032025_14_43_36_10005.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/44d857251ec907c33898aeee7bc3dce9.jpg","text":"TemporaryFile(/tmp/multipartBody8112334121624530282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741441472763,"filename":"image_08032025_14_43_46_10002.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/9d0e2ce08386f7e6069a0a28f0504200.jpg","text":"TemporaryFile(/tmp/multipartBody5873744590381662128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741441472763,"filename":"image_08032025_14_43_16_10004.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/b6c3dfc41dbb7f8d093427b6c68f3b67.jpg","text":"TemporaryFile(/tmp/multipartBody5273003562178911906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741441472763,"filename":"image_08032025_14_43_06_10009.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/c69c83495db56f28289168e3adcfd44a.jpg","text":"TemporaryFile(/tmp/multipartBody748537781526834812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741441472763,"filename":"image_08032025_14_42_56_10000.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341889723","file1":"1341889717","file0":"1341889705","file4":"1341889767","file5":"1341889769","file3":"1341889743"},"map_files_photo_id_array":[{"photo_id":"1341889769","filename":"file5"},{"photo_id":"1341889723","filename":"file2"},{"photo_id":"1341889767","filename":"file4"},{"photo_id":"1341889717","filename":"file1"},{"photo_id":"1341889705","filename":"file0"},{"photo_id":"1341889743","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341889723":["hashtag1","hashtag2"]},{"1341889717":["hashtag1","hashtag2"]},{"1341889705":["hashtag1","hashtag2"]},{"1341889743":["hashtag1","hashtag2"]},{"1341889767":["hashtag1","hashtag2"]},{"1341889769":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341889723, 1341889717, 1341889705, 1341889743, 1341889767, 1341889769)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.862536907196045 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 14:44:32.388987
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/14/44/image_08032025_14_44_45_10002.jpg', 2), ('/home/nano/Desktop/images/08032025/14/44/image_08032025_14_44_35_9999.jpg', 2), ('/home/nano/Desktop/images/08032025/14/44/image_08032025_14_44_25_10018.jpg', 2), ('/home/nano/Desktop/images/08032025/14/44/image_08032025_14_44_15_9011.jpg', 2), ('/home/nano/Desktop/images/08032025/14/43/image_08032025_14_44_06_10032.jpg', 2), ('/home/nano/Desktop/images/08032025/14/43/image_08032025_14_43_56_9996.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/14/44/image_08032025_14_44_45_10002.jpg', '/home/nano/Desktop/images/08032025/14/44/image_08032025_14_44_35_9999.jpg', '/home/nano/Desktop/images/08032025/14/44/image_08032025_14_44_25_10018.jpg', '/home/nano/Desktop/images/08032025/14/44/image_08032025_14_44_15_9011.jpg', '/home/nano/Desktop/images/08032025/14/43/image_08032025_14_44_06_10032.jpg', '/home/nano/Desktop/images/08032025/14/43/image_08032025_14_43_56_9996.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/14/44/image_08032025_14_44_45_10002.jpg
/home/nano/Desktop/images/08032025/14/44/image_08032025_14_44_35_9999.jpg
/home/nano/Desktop/images/08032025/14/44/image_08032025_14_44_25_10018.jpg
/home/nano/Desktop/images/08032025/14/44/image_08032025_14_44_15_9011.jpg
/home/nano/Desktop/images/08032025/14/43/image_08032025_14_44_06_10032.jpg
/home/nano/Desktop/images/08032025/14/43/image_08032025_14_43_56_9996.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341889845","1341889847","1341889841","1341889835","1341889838","1341889832"],"photo_ids_order":["1341889832","1341889835","1341889838","1341889841","1341889845","1341889847"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/9759c1424bb5c31ed404ffe78c3c068a.jpg","text":"TemporaryFile(/tmp/multipartBody8939883793224046568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741441532809,"filename":"image_08032025_14_44_06_10032.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/a1a00c8c6acd7b3aef5c21f277dbac68.jpg","text":"TemporaryFile(/tmp/multipartBody2849030828109705462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741441532809,"filename":"image_08032025_14_43_56_9996.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/8a156f7cb14fb1c301f97b5d27017775.jpg","text":"TemporaryFile(/tmp/multipartBody3460868723083758163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741441532809,"filename":"image_08032025_14_44_15_9011.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/67d62a6f227a706d93b734ce173f4424.jpg","text":"TemporaryFile(/tmp/multipartBody7362700532676435130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741441532809,"filename":"image_08032025_14_44_35_9999.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/b011b5e98972db82d6519b56ed033eb4.jpg","text":"TemporaryFile(/tmp/multipartBody2048962412818830660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741441532809,"filename":"image_08032025_14_44_25_10018.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/ee1b5a5bc87eb6c591bbae0af038b9a8.jpg","text":"TemporaryFile(/tmp/multipartBody6890800960377816690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741441532809,"filename":"image_08032025_14_44_45_10002.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341889838","file1":"1341889835","file0":"1341889832","file4":"1341889845","file5":"1341889847","file3":"1341889841"},"map_files_photo_id_array":[{"photo_id":"1341889847","filename":"file5"},{"photo_id":"1341889838","filename":"file2"},{"photo_id":"1341889845","filename":"file4"},{"photo_id":"1341889835","filename":"file1"},{"photo_id":"1341889832","filename":"file0"},{"photo_id":"1341889841","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341889845":["hashtag1","hashtag2"]},{"1341889847":["hashtag1","hashtag2"]},{"1341889841":["hashtag1","hashtag2"]},{"1341889835":["hashtag1","hashtag2"]},{"1341889838":["hashtag1","hashtag2"]},{"1341889832":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341889845, 1341889847, 1341889841, 1341889835, 1341889838, 1341889832)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.15462589263916 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 14:45:32.516803
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/14/45/image_08032025_14_45_45_10006.jpg', 2), ('/home/nano/Desktop/images/08032025/14/45/image_08032025_14_45_35_10000.jpg', 2), ('/home/nano/Desktop/images/08032025/14/45/image_08032025_14_45_25_10001.jpg', 2), ('/home/nano/Desktop/images/08032025/14/45/image_08032025_14_45_15_10024.jpg', 2), ('/home/nano/Desktop/images/08032025/14/44/image_08032025_14_45_05_10036.jpg', 2), ('/home/nano/Desktop/images/08032025/14/44/image_08032025_14_44_55_10002.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/14/45/image_08032025_14_45_45_10006.jpg', '/home/nano/Desktop/images/08032025/14/45/image_08032025_14_45_35_10000.jpg', '/home/nano/Desktop/images/08032025/14/45/image_08032025_14_45_25_10001.jpg', '/home/nano/Desktop/images/08032025/14/45/image_08032025_14_45_15_10024.jpg', '/home/nano/Desktop/images/08032025/14/44/image_08032025_14_45_05_10036.jpg', '/home/nano/Desktop/images/08032025/14/44/image_08032025_14_44_55_10002.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/14/45/image_08032025_14_45_45_10006.jpg
/home/nano/Desktop/images/08032025/14/45/image_08032025_14_45_35_10000.jpg
/home/nano/Desktop/images/08032025/14/45/image_08032025_14_45_25_10001.jpg
/home/nano/Desktop/images/08032025/14/45/image_08032025_14_45_15_10024.jpg
/home/nano/Desktop/images/08032025/14/44/image_08032025_14_45_05_10036.jpg
/home/nano/Desktop/images/08032025/14/44/image_08032025_14_44_55_10002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341889873","1341889933","1341889869","1341889866","1341889871","1341889931"],"photo_ids_order":["1341889866","1341889869","1341889871","1341889873","1341889931","1341889933"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/130c6aac208725b46ec576854ad5cd40.jpg","text":"TemporaryFile(/tmp/multipartBody3539559708278836513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741441592966,"filename":"image_08032025_14_45_15_10024.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/7b3d77de95117bf241a9d9ca8f6d7e7a.jpg","text":"TemporaryFile(/tmp/multipartBody2902477536375654711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741441592966,"filename":"image_08032025_14_44_55_10002.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/4f7bc0ade0b298525249391d4f7c47db.jpg","text":"TemporaryFile(/tmp/multipartBody8086894490533901450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741441592966,"filename":"image_08032025_14_45_35_10000.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/cf54cb036b45d58ee3282a5f854cd9f0.jpg","text":"TemporaryFile(/tmp/multipartBody1543194345274301090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741441592966,"filename":"image_08032025_14_45_45_10006.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/399bd24e45694c43ca4fefd0c911df9f.jpg","text":"TemporaryFile(/tmp/multipartBody2974297852168340820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741441592966,"filename":"image_08032025_14_45_25_10001.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/ad834131ce6a254ad6367994bd346510.jpg","text":"TemporaryFile(/tmp/multipartBody5425632734964218567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741441592966,"filename":"image_08032025_14_45_05_10036.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341889871","file1":"1341889869","file0":"1341889866","file4":"1341889931","file5":"1341889933","file3":"1341889873"},"map_files_photo_id_array":[{"photo_id":"1341889933","filename":"file5"},{"photo_id":"1341889871","filename":"file2"},{"photo_id":"1341889931","filename":"file4"},{"photo_id":"1341889869","filename":"file1"},{"photo_id":"1341889866","filename":"file0"},{"photo_id":"1341889873","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341889873":["hashtag1","hashtag2"]},{"1341889933":["hashtag1","hashtag2"]},{"1341889869":["hashtag1","hashtag2"]},{"1341889866":["hashtag1","hashtag2"]},{"1341889871":["hashtag1","hashtag2"]},{"1341889931":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341889873, 1341889933, 1341889869, 1341889866, 1341889871, 1341889931)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.468287229537964 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 14:46:32.629177
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/14/46/image_08032025_14_46_45_10012.jpg', 2), ('/home/nano/Desktop/images/08032025/14/46/image_08032025_14_46_35_9997.jpg', 2), ('/home/nano/Desktop/images/08032025/14/46/image_08032025_14_46_25_9992.jpg', 2), ('/home/nano/Desktop/images/08032025/14/46/image_08032025_14_46_15_10005.jpg', 2), ('/home/nano/Desktop/images/08032025/14/45/image_08032025_14_46_05_10005.jpg', 2), ('/home/nano/Desktop/images/08032025/14/45/image_08032025_14_45_55_9996.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/14/46/image_08032025_14_46_45_10012.jpg', '/home/nano/Desktop/images/08032025/14/46/image_08032025_14_46_35_9997.jpg', '/home/nano/Desktop/images/08032025/14/46/image_08032025_14_46_25_9992.jpg', '/home/nano/Desktop/images/08032025/14/46/image_08032025_14_46_15_10005.jpg', '/home/nano/Desktop/images/08032025/14/45/image_08032025_14_46_05_10005.jpg', '/home/nano/Desktop/images/08032025/14/45/image_08032025_14_45_55_9996.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/14/46/image_08032025_14_46_45_10012.jpg
/home/nano/Desktop/images/08032025/14/46/image_08032025_14_46_35_9997.jpg
/home/nano/Desktop/images/08032025/14/46/image_08032025_14_46_25_9992.jpg
/home/nano/Desktop/images/08032025/14/46/image_08032025_14_46_15_10005.jpg
/home/nano/Desktop/images/08032025/14/45/image_08032025_14_46_05_10005.jpg
/home/nano/Desktop/images/08032025/14/45/image_08032025_14_45_55_9996.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341890227","1341890199","1341890280","1341890328","1341890241","1341890301"],"photo_ids_order":["1341890199","1341890227","1341890241","1341890280","1341890301","1341890328"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/c504f0df5b7c9d3a7ea0f39328badf9a.jpg","text":"TemporaryFile(/tmp/multipartBody6357884607596714990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741441653070,"filename":"image_08032025_14_46_35_9997.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/394992e13673ed277757b6ef109f41de.jpg","text":"TemporaryFile(/tmp/multipartBody3490766061579275617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741441653070,"filename":"image_08032025_14_46_45_10012.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/e4c69674b44eff5a24fadf5463cf2ecf.jpg","text":"TemporaryFile(/tmp/multipartBody6508699447842511965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741441653070,"filename":"image_08032025_14_46_15_10005.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/bf3d62146d47c792ffb27bd7e3dbae4a.jpg","text":"TemporaryFile(/tmp/multipartBody5746865139266357864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741441653070,"filename":"image_08032025_14_45_55_9996.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/aa54320b5ce8ea298984041b4abb44a5.jpg","text":"TemporaryFile(/tmp/multipartBody5429040965594605399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741441653070,"filename":"image_08032025_14_46_25_9992.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/b608b94eb5c057b0ad715c7043e23af8.jpg","text":"TemporaryFile(/tmp/multipartBody1814567111412021550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741441653070,"filename":"image_08032025_14_46_05_10005.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341890241","file1":"1341890227","file0":"1341890199","file4":"1341890301","file5":"1341890328","file3":"1341890280"},"map_files_photo_id_array":[{"photo_id":"1341890328","filename":"file5"},{"photo_id":"1341890241","filename":"file2"},{"photo_id":"1341890301","filename":"file4"},{"photo_id":"1341890227","filename":"file1"},{"photo_id":"1341890199","filename":"file0"},{"photo_id":"1341890280","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341890227":["hashtag1","hashtag2"]},{"1341890199":["hashtag1","hashtag2"]},{"1341890280":["hashtag1","hashtag2"]},{"1341890328":["hashtag1","hashtag2"]},{"1341890241":["hashtag1","hashtag2"]},{"1341890301":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341890227, 1341890199, 1341890280, 1341890328, 1341890241, 1341890301)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.21939992904663 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 14:47:32.713080
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/14/47/image_08032025_14_47_45_9996.jpg', 2), ('/home/nano/Desktop/images/08032025/14/47/image_08032025_14_47_35_10001.jpg', 2), ('/home/nano/Desktop/images/08032025/14/47/image_08032025_14_47_25_9997.jpg', 2), ('/home/nano/Desktop/images/08032025/14/47/image_08032025_14_47_15_9990.jpg', 2), ('/home/nano/Desktop/images/08032025/14/46/image_08032025_14_47_05_10034.jpg', 2), ('/home/nano/Desktop/images/08032025/14/46/image_08032025_14_46_55_9997.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/14/47/image_08032025_14_47_45_9996.jpg', '/home/nano/Desktop/images/08032025/14/47/image_08032025_14_47_35_10001.jpg', '/home/nano/Desktop/images/08032025/14/47/image_08032025_14_47_25_9997.jpg', '/home/nano/Desktop/images/08032025/14/47/image_08032025_14_47_15_9990.jpg', '/home/nano/Desktop/images/08032025/14/46/image_08032025_14_47_05_10034.jpg', '/home/nano/Desktop/images/08032025/14/46/image_08032025_14_46_55_9997.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/14/47/image_08032025_14_47_45_9996.jpg
/home/nano/Desktop/images/08032025/14/47/image_08032025_14_47_35_10001.jpg
/home/nano/Desktop/images/08032025/14/47/image_08032025_14_47_25_9997.jpg
/home/nano/Desktop/images/08032025/14/47/image_08032025_14_47_15_9990.jpg
/home/nano/Desktop/images/08032025/14/46/image_08032025_14_47_05_10034.jpg
/home/nano/Desktop/images/08032025/14/46/image_08032025_14_46_55_9997.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341890695","1341890743","1341890668","1341890641","1341890733","1341890762"],"photo_ids_order":["1341890641","1341890668","1341890695","1341890733","1341890743","1341890762"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/120a7414c6b110c8222666903add71f6.jpg","text":"TemporaryFile(/tmp/multipartBody8496822579841168709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741441713135,"filename":"image_08032025_14_47_25_9997.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/9264133b42f17d1082995e5af6e0b546.jpg","text":"TemporaryFile(/tmp/multipartBody2121336432118174680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741441713135,"filename":"image_08032025_14_47_05_10034.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/672bdf9d7a4fc8ced4ff44eaebd396b8.jpg","text":"TemporaryFile(/tmp/multipartBody8741983543778347743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741441713135,"filename":"image_08032025_14_47_35_10001.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/51f62de56e8c7390188d87b10e952221.jpg","text":"TemporaryFile(/tmp/multipartBody3720302038032127700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741441713135,"filename":"image_08032025_14_47_45_9996.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/7debe68717f538ef52b5e0a1adceedfc.jpg","text":"TemporaryFile(/tmp/multipartBody5114941165161062653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741441713135,"filename":"image_08032025_14_47_15_9990.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/a8fd39ed21d9006e6f6edd2200479f44.jpg","text":"TemporaryFile(/tmp/multipartBody7033992662853590792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741441713135,"filename":"image_08032025_14_46_55_9997.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341890695","file1":"1341890668","file0":"1341890641","file4":"1341890743","file5":"1341890762","file3":"1341890733"},"map_files_photo_id_array":[{"photo_id":"1341890762","filename":"file5"},{"photo_id":"1341890695","filename":"file2"},{"photo_id":"1341890743","filename":"file4"},{"photo_id":"1341890668","filename":"file1"},{"photo_id":"1341890641","filename":"file0"},{"photo_id":"1341890733","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341890695":["hashtag1","hashtag2"]},{"1341890743":["hashtag1","hashtag2"]},{"1341890668":["hashtag1","hashtag2"]},{"1341890641":["hashtag1","hashtag2"]},{"1341890733":["hashtag1","hashtag2"]},{"1341890762":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341890695, 1341890743, 1341890668, 1341890641, 1341890733, 1341890762)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.24608778953552 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 14:48:31.804521
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/14/48/image_08032025_14_48_45_9998.jpg', 2), ('/home/nano/Desktop/images/08032025/14/48/image_08032025_14_48_35_9998.jpg', 2), ('/home/nano/Desktop/images/08032025/14/48/image_08032025_14_48_25_9998.jpg', 2), ('/home/nano/Desktop/images/08032025/14/48/image_08032025_14_48_15_10031.jpg', 2), ('/home/nano/Desktop/images/08032025/14/47/image_08032025_14_48_05_10038.jpg', 2), ('/home/nano/Desktop/images/08032025/14/47/image_08032025_14_47_55_10001.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/14/48/image_08032025_14_48_45_9998.jpg', '/home/nano/Desktop/images/08032025/14/48/image_08032025_14_48_35_9998.jpg', '/home/nano/Desktop/images/08032025/14/48/image_08032025_14_48_25_9998.jpg', '/home/nano/Desktop/images/08032025/14/48/image_08032025_14_48_15_10031.jpg', '/home/nano/Desktop/images/08032025/14/47/image_08032025_14_48_05_10038.jpg', '/home/nano/Desktop/images/08032025/14/47/image_08032025_14_47_55_10001.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/14/48/image_08032025_14_48_45_9998.jpg
/home/nano/Desktop/images/08032025/14/48/image_08032025_14_48_35_9998.jpg
/home/nano/Desktop/images/08032025/14/48/image_08032025_14_48_25_9998.jpg
/home/nano/Desktop/images/08032025/14/48/image_08032025_14_48_15_10031.jpg
/home/nano/Desktop/images/08032025/14/47/image_08032025_14_48_05_10038.jpg
/home/nano/Desktop/images/08032025/14/47/image_08032025_14_47_55_10001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341890989","1341890985","1341891006","1341890996","1341890981","1341890960"],"photo_ids_order":["1341890960","1341890981","1341890985","1341890989","1341890996","1341891006"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/e7aa7f25bdc6732e3da042ef795a086c.jpg","text":"TemporaryFile(/tmp/multipartBody5536795186960651004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741441772240,"filename":"image_08032025_14_48_15_10031.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/418c1bcbc89c4fbf7701c3f5e4e1bcc3.jpg","text":"TemporaryFile(/tmp/multipartBody3360044689694510280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741441772240,"filename":"image_08032025_14_48_25_9998.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/653fd17d138d009051aca34a8dab8de7.jpg","text":"TemporaryFile(/tmp/multipartBody1903497166335592144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741441772240,"filename":"image_08032025_14_47_55_10001.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/00370d14923ba74e2a0e8620bbb89f15.jpg","text":"TemporaryFile(/tmp/multipartBody593619196767149099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741441772240,"filename":"image_08032025_14_48_05_10038.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/49dc7a90957d4f58b9a02b5cf705dbf7.jpg","text":"TemporaryFile(/tmp/multipartBody5679970729144505333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741441772240,"filename":"image_08032025_14_48_35_9998.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/fa65ea5d628c63b4c7e959491d0559eb.jpg","text":"TemporaryFile(/tmp/multipartBody3640603144092143508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741441772240,"filename":"image_08032025_14_48_45_9998.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341890985","file1":"1341890981","file0":"1341890960","file4":"1341890996","file5":"1341891006","file3":"1341890989"},"map_files_photo_id_array":[{"photo_id":"1341891006","filename":"file5"},{"photo_id":"1341890985","filename":"file2"},{"photo_id":"1341890996","filename":"file4"},{"photo_id":"1341890981","filename":"file1"},{"photo_id":"1341890960","filename":"file0"},{"photo_id":"1341890989","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341890989":["hashtag1","hashtag2"]},{"1341890985":["hashtag1","hashtag2"]},{"1341891006":["hashtag1","hashtag2"]},{"1341890996":["hashtag1","hashtag2"]},{"1341890981":["hashtag1","hashtag2"]},{"1341890960":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341890989, 1341890985, 1341891006, 1341890996, 1341890981, 1341890960)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.26175117492676 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 14:49:32.001799
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/14/49/image_08032025_14_49_45_9994.jpg', 2), ('/home/nano/Desktop/images/08032025/14/49/image_08032025_14_49_35_9990.jpg', 2), ('/home/nano/Desktop/images/08032025/14/49/image_08032025_14_49_25_10004.jpg', 2), ('/home/nano/Desktop/images/08032025/14/49/image_08032025_14_49_15_10012.jpg', 2), ('/home/nano/Desktop/images/08032025/14/48/image_08032025_14_49_05_10008.jpg', 2), ('/home/nano/Desktop/images/08032025/14/48/image_08032025_14_48_55_10003.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/14/49/image_08032025_14_49_45_9994.jpg', '/home/nano/Desktop/images/08032025/14/49/image_08032025_14_49_35_9990.jpg', '/home/nano/Desktop/images/08032025/14/49/image_08032025_14_49_25_10004.jpg', '/home/nano/Desktop/images/08032025/14/49/image_08032025_14_49_15_10012.jpg', '/home/nano/Desktop/images/08032025/14/48/image_08032025_14_49_05_10008.jpg', '/home/nano/Desktop/images/08032025/14/48/image_08032025_14_48_55_10003.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/14/49/image_08032025_14_49_45_9994.jpg
/home/nano/Desktop/images/08032025/14/49/image_08032025_14_49_35_9990.jpg
/home/nano/Desktop/images/08032025/14/49/image_08032025_14_49_25_10004.jpg
/home/nano/Desktop/images/08032025/14/49/image_08032025_14_49_15_10012.jpg
/home/nano/Desktop/images/08032025/14/48/image_08032025_14_49_05_10008.jpg
/home/nano/Desktop/images/08032025/14/48/image_08032025_14_48_55_10003.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341891034","1341891064","1341891025","1341891042","1341891059","1341891070"],"photo_ids_order":["1341891025","1341891034","1341891042","1341891059","1341891064","1341891070"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/8709180662d0f95ae3bf314f30f700f3.jpg","text":"TemporaryFile(/tmp/multipartBody1277022405661827079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741441832437,"filename":"image_08032025_14_49_35_9990.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/f5fbe7fad854746db625fd0a258c214b.jpg","text":"TemporaryFile(/tmp/multipartBody4179692683956397881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741441832437,"filename":"image_08032025_14_49_05_10008.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/799d5c726e452e3fa37fada888b7a820.jpg","text":"TemporaryFile(/tmp/multipartBody7448524596282712770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741441832437,"filename":"image_08032025_14_49_45_9994.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/6fe096d6fa9642c874dac346357b1942.jpg","text":"TemporaryFile(/tmp/multipartBody3145858673549655751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741441832437,"filename":"image_08032025_14_49_25_10004.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/a55f6f30fc1315dc95ea2a7945f9c0ea.jpg","text":"TemporaryFile(/tmp/multipartBody1388719447771229622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741441832437,"filename":"image_08032025_14_49_15_10012.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/124d0281271cb088937270ba5be506ea.jpg","text":"TemporaryFile(/tmp/multipartBody575305332900971259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741441832437,"filename":"image_08032025_14_48_55_10003.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341891042","file1":"1341891034","file0":"1341891025","file4":"1341891064","file5":"1341891070","file3":"1341891059"},"map_files_photo_id_array":[{"photo_id":"1341891070","filename":"file5"},{"photo_id":"1341891042","filename":"file2"},{"photo_id":"1341891064","filename":"file4"},{"photo_id":"1341891034","filename":"file1"},{"photo_id":"1341891025","filename":"file0"},{"photo_id":"1341891059","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341891034":["hashtag1","hashtag2"]},{"1341891064":["hashtag1","hashtag2"]},{"1341891025":["hashtag1","hashtag2"]},{"1341891042":["hashtag1","hashtag2"]},{"1341891059":["hashtag1","hashtag2"]},{"1341891070":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341891034, 1341891064, 1341891025, 1341891042, 1341891059, 1341891070)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.65868258476257 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 14:50:32.086527
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/14/50/image_08032025_14_50_45_9984.jpg', 2), ('/home/nano/Desktop/images/08032025/14/50/image_08032025_14_50_35_10000.jpg', 2), ('/home/nano/Desktop/images/08032025/14/50/image_08032025_14_50_25_9986.jpg', 2), ('/home/nano/Desktop/images/08032025/14/50/image_08032025_14_50_15_9989.jpg', 2), ('/home/nano/Desktop/images/08032025/14/49/image_08032025_14_50_05_10043.jpg', 2), ('/home/nano/Desktop/images/08032025/14/49/image_08032025_14_49_55_9990.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/14/50/image_08032025_14_50_45_9984.jpg', '/home/nano/Desktop/images/08032025/14/50/image_08032025_14_50_35_10000.jpg', '/home/nano/Desktop/images/08032025/14/50/image_08032025_14_50_25_9986.jpg', '/home/nano/Desktop/images/08032025/14/50/image_08032025_14_50_15_9989.jpg', '/home/nano/Desktop/images/08032025/14/49/image_08032025_14_50_05_10043.jpg', '/home/nano/Desktop/images/08032025/14/49/image_08032025_14_49_55_9990.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/14/50/image_08032025_14_50_45_9984.jpg
/home/nano/Desktop/images/08032025/14/50/image_08032025_14_50_35_10000.jpg
/home/nano/Desktop/images/08032025/14/50/image_08032025_14_50_25_9986.jpg
/home/nano/Desktop/images/08032025/14/50/image_08032025_14_50_15_9989.jpg
/home/nano/Desktop/images/08032025/14/49/image_08032025_14_50_05_10043.jpg
/home/nano/Desktop/images/08032025/14/49/image_08032025_14_49_55_9990.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341891163","1341891147","1341891135","1341891182","1341891190","1341891151"],"photo_ids_order":["1341891135","1341891147","1341891151","1341891163","1341891182","1341891190"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/e6e658ee4fa8b89ab2caa0d4a61c2995.jpg","text":"TemporaryFile(/tmp/multipartBody3445632966368217197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741441892507,"filename":"image_08032025_14_50_15_9989.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/a1d47877b9086f91da2e23d588ed46b2.jpg","text":"TemporaryFile(/tmp/multipartBody8575296065343784392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741441892507,"filename":"image_08032025_14_50_35_10000.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/88eba8f8f593eb1694cd781cb984f48f.jpg","text":"TemporaryFile(/tmp/multipartBody5193766323356605869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741441892507,"filename":"image_08032025_14_50_45_9984.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/54ebdd070e001f5034be0fde8f2de7ee.jpg","text":"TemporaryFile(/tmp/multipartBody8689202875187884586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741441892507,"filename":"image_08032025_14_50_05_10043.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/f861f9ec08df6da030e79482e6410cc3.jpg","text":"TemporaryFile(/tmp/multipartBody5154461584164165281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741441892507,"filename":"image_08032025_14_49_55_9990.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/2fd7cd41f5b9f29ffb6033febddad32d.jpg","text":"TemporaryFile(/tmp/multipartBody3156255546912116995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741441892507,"filename":"image_08032025_14_50_25_9986.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341891151","file1":"1341891147","file0":"1341891135","file4":"1341891182","file5":"1341891190","file3":"1341891163"},"map_files_photo_id_array":[{"photo_id":"1341891190","filename":"file5"},{"photo_id":"1341891151","filename":"file2"},{"photo_id":"1341891182","filename":"file4"},{"photo_id":"1341891147","filename":"file1"},{"photo_id":"1341891135","filename":"file0"},{"photo_id":"1341891163","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341891163":["hashtag1","hashtag2"]},{"1341891147":["hashtag1","hashtag2"]},{"1341891135":["hashtag1","hashtag2"]},{"1341891182":["hashtag1","hashtag2"]},{"1341891190":["hashtag1","hashtag2"]},{"1341891151":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341891163, 1341891147, 1341891135, 1341891182, 1341891190, 1341891151)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.169769525527954 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 14:51:32.213953
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/14/51/image_08032025_14_51_45_10007.jpg', 2), ('/home/nano/Desktop/images/08032025/14/51/image_08032025_14_51_35_10011.jpg', 2), ('/home/nano/Desktop/images/08032025/14/51/image_08032025_14_51_25_10008.jpg', 2), ('/home/nano/Desktop/images/08032025/14/51/image_08032025_14_51_15_10009.jpg', 2), ('/home/nano/Desktop/images/08032025/14/50/image_08032025_14_51_05_10025.jpg', 2), ('/home/nano/Desktop/images/08032025/14/50/image_08032025_14_50_55_9992.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/14/51/image_08032025_14_51_45_10007.jpg', '/home/nano/Desktop/images/08032025/14/51/image_08032025_14_51_35_10011.jpg', '/home/nano/Desktop/images/08032025/14/51/image_08032025_14_51_25_10008.jpg', '/home/nano/Desktop/images/08032025/14/51/image_08032025_14_51_15_10009.jpg', '/home/nano/Desktop/images/08032025/14/50/image_08032025_14_51_05_10025.jpg', '/home/nano/Desktop/images/08032025/14/50/image_08032025_14_50_55_9992.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/14/51/image_08032025_14_51_45_10007.jpg
/home/nano/Desktop/images/08032025/14/51/image_08032025_14_51_35_10011.jpg
/home/nano/Desktop/images/08032025/14/51/image_08032025_14_51_25_10008.jpg
/home/nano/Desktop/images/08032025/14/51/image_08032025_14_51_15_10009.jpg
/home/nano/Desktop/images/08032025/14/50/image_08032025_14_51_05_10025.jpg
/home/nano/Desktop/images/08032025/14/50/image_08032025_14_50_55_9992.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341891610","1341891399","1341891645","1341891377","1341891557","1341891655"],"photo_ids_order":["1341891377","1341891399","1341891557","1341891610","1341891645","1341891655"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/23f9bb8685d827d8e5ac8ef97a3ebc84.jpg","text":"TemporaryFile(/tmp/multipartBody2069748957287349293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741441952671,"filename":"image_08032025_14_51_15_10009.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/0d0cee14371abc2045c8b8ae54d1a2e5.jpg","text":"TemporaryFile(/tmp/multipartBody2288133066654631015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741441952671,"filename":"image_08032025_14_51_35_10011.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/0d44d5d37d8391bfeaebbcf1eb630840.jpg","text":"TemporaryFile(/tmp/multipartBody940323975537585502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741441952671,"filename":"image_08032025_14_51_05_10025.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/30d688f67f12a947b10000dd4d48d579.jpg","text":"TemporaryFile(/tmp/multipartBody2571366677421982577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741441952671,"filename":"image_08032025_14_51_45_10007.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/e298d8b1bce2a5b6fff77ebacc548216.jpg","text":"TemporaryFile(/tmp/multipartBody2691467540270972654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741441952671,"filename":"image_08032025_14_51_25_10008.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/1bcd4baa05e4e7a644bebb297e5c4a2f.jpg","text":"TemporaryFile(/tmp/multipartBody4758054523417513793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741441952671,"filename":"image_08032025_14_50_55_9992.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341891557","file1":"1341891399","file0":"1341891377","file4":"1341891645","file5":"1341891655","file3":"1341891610"},"map_files_photo_id_array":[{"photo_id":"1341891655","filename":"file5"},{"photo_id":"1341891557","filename":"file2"},{"photo_id":"1341891645","filename":"file4"},{"photo_id":"1341891399","filename":"file1"},{"photo_id":"1341891377","filename":"file0"},{"photo_id":"1341891610","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341891610":["hashtag1","hashtag2"]},{"1341891399":["hashtag1","hashtag2"]},{"1341891645":["hashtag1","hashtag2"]},{"1341891377":["hashtag1","hashtag2"]},{"1341891557":["hashtag1","hashtag2"]},{"1341891655":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341891610, 1341891399, 1341891645, 1341891377, 1341891557, 1341891655)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.450286626815796 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 14:52:32.289299
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/14/52/image_08032025_14_52_45_9998.jpg', 2), ('/home/nano/Desktop/images/08032025/14/52/image_08032025_14_52_35_10009.jpg', 2), ('/home/nano/Desktop/images/08032025/14/52/image_08032025_14_52_25_10030.jpg', 2), ('/home/nano/Desktop/images/08032025/14/52/image_08032025_14_52_15_10021.jpg', 2), ('/home/nano/Desktop/images/08032025/14/51/image_08032025_14_52_05_10032.jpg', 2), ('/home/nano/Desktop/images/08032025/14/51/image_08032025_14_51_55_10010.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/14/52/image_08032025_14_52_45_9998.jpg', '/home/nano/Desktop/images/08032025/14/52/image_08032025_14_52_35_10009.jpg', '/home/nano/Desktop/images/08032025/14/52/image_08032025_14_52_25_10030.jpg', '/home/nano/Desktop/images/08032025/14/52/image_08032025_14_52_15_10021.jpg', '/home/nano/Desktop/images/08032025/14/51/image_08032025_14_52_05_10032.jpg', '/home/nano/Desktop/images/08032025/14/51/image_08032025_14_51_55_10010.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/14/52/image_08032025_14_52_45_9998.jpg
/home/nano/Desktop/images/08032025/14/52/image_08032025_14_52_35_10009.jpg
/home/nano/Desktop/images/08032025/14/52/image_08032025_14_52_25_10030.jpg
/home/nano/Desktop/images/08032025/14/52/image_08032025_14_52_15_10021.jpg
/home/nano/Desktop/images/08032025/14/51/image_08032025_14_52_05_10032.jpg
/home/nano/Desktop/images/08032025/14/51/image_08032025_14_51_55_10010.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341891961","1341891928","1341892082","1341892048","1341892015","1341891889"],"photo_ids_order":["1341891889","1341891928","1341891961","1341892015","1341892048","1341892082"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/69c4a04f418affcac02ecd0d1f0c234c.jpg","text":"TemporaryFile(/tmp/multipartBody3236547715710382817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741442012740,"filename":"image_08032025_14_52_25_10030.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/aa3bda25b1fbe88104c91b0853d8e086.jpg","text":"TemporaryFile(/tmp/multipartBody1786649524216203915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741442012740,"filename":"image_08032025_14_52_35_10009.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/fb6a7fc7ad56600e801fd7cb7305eda8.jpg","text":"TemporaryFile(/tmp/multipartBody8475030757608841255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741442012740,"filename":"image_08032025_14_51_55_10010.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/20d393aa2cdc2c6b7ad4aca6f913b8fd.jpg","text":"TemporaryFile(/tmp/multipartBody2303466485942988115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741442012740,"filename":"image_08032025_14_52_05_10032.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/2af39bfa5d57c0f0794876ed7125a74d.jpg","text":"TemporaryFile(/tmp/multipartBody7280260008035892612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741442012740,"filename":"image_08032025_14_52_15_10021.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/c6a3ccacaf0795aab14abf480e2a5d6c.jpg","text":"TemporaryFile(/tmp/multipartBody8289113877543841627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741442012740,"filename":"image_08032025_14_52_45_9998.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341891961","file1":"1341891928","file0":"1341891889","file4":"1341892048","file5":"1341892082","file3":"1341892015"},"map_files_photo_id_array":[{"photo_id":"1341892082","filename":"file5"},{"photo_id":"1341891961","filename":"file2"},{"photo_id":"1341892048","filename":"file4"},{"photo_id":"1341891928","filename":"file1"},{"photo_id":"1341891889","filename":"file0"},{"photo_id":"1341892015","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341891961":["hashtag1","hashtag2"]},{"1341891928":["hashtag1","hashtag2"]},{"1341892082":["hashtag1","hashtag2"]},{"1341892048":["hashtag1","hashtag2"]},{"1341892015":["hashtag1","hashtag2"]},{"1341891889":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341891961, 1341891928, 1341892082, 1341892048, 1341892015, 1341891889)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.25777554512024 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 14:53:32.453011
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/14/53/image_08032025_14_53_45_9969.jpg', 2), ('/home/nano/Desktop/images/08032025/14/53/image_08032025_14_53_35_9971.jpg', 2), ('/home/nano/Desktop/images/08032025/14/53/image_08032025_14_53_25_10019.jpg', 2), ('/home/nano/Desktop/images/08032025/14/53/image_08032025_14_53_15_10007.jpg', 2), ('/home/nano/Desktop/images/08032025/14/52/image_08032025_14_53_05_10033.jpg', 2), ('/home/nano/Desktop/images/08032025/14/52/image_08032025_14_52_55_10028.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/14/53/image_08032025_14_53_45_9969.jpg', '/home/nano/Desktop/images/08032025/14/53/image_08032025_14_53_35_9971.jpg', '/home/nano/Desktop/images/08032025/14/53/image_08032025_14_53_25_10019.jpg', '/home/nano/Desktop/images/08032025/14/53/image_08032025_14_53_15_10007.jpg', '/home/nano/Desktop/images/08032025/14/52/image_08032025_14_53_05_10033.jpg', '/home/nano/Desktop/images/08032025/14/52/image_08032025_14_52_55_10028.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/14/53/image_08032025_14_53_45_9969.jpg
/home/nano/Desktop/images/08032025/14/53/image_08032025_14_53_35_9971.jpg
/home/nano/Desktop/images/08032025/14/53/image_08032025_14_53_25_10019.jpg
/home/nano/Desktop/images/08032025/14/53/image_08032025_14_53_15_10007.jpg
/home/nano/Desktop/images/08032025/14/52/image_08032025_14_53_05_10033.jpg
/home/nano/Desktop/images/08032025/14/52/image_08032025_14_52_55_10028.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341892309","1341892341","1341892515","1341892475","1341892448","1341892504"],"photo_ids_order":["1341892309","1341892341","1341892448","1341892475","1341892504","1341892515"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/05f282e0477588280af05142d6992255.jpg","text":"TemporaryFile(/tmp/multipartBody4655129176895658722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741442072913,"filename":"image_08032025_14_53_45_9969.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/d43fdcc382f5bbbf0d788d024f5ca5f3.jpg","text":"TemporaryFile(/tmp/multipartBody1158586134900553486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741442072913,"filename":"image_08032025_14_53_35_9971.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/10009148db54a6558db7f9195c5b1f60.jpg","text":"TemporaryFile(/tmp/multipartBody2447922120611598139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741442072913,"filename":"image_08032025_14_52_55_10028.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/dd14214f5af959bbb501f4184a4e9b16.jpg","text":"TemporaryFile(/tmp/multipartBody8276274557120189942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741442072913,"filename":"image_08032025_14_53_15_10007.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/b840e1a5c5a0921d5415fef9f045bb72.jpg","text":"TemporaryFile(/tmp/multipartBody4601580995302147881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741442072913,"filename":"image_08032025_14_53_25_10019.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/3ab0b3b982ca6e15be5f0188f91e7021.jpg","text":"TemporaryFile(/tmp/multipartBody4556419543474696001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741442072913,"filename":"image_08032025_14_53_05_10033.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341892448","file1":"1341892341","file0":"1341892309","file4":"1341892504","file5":"1341892515","file3":"1341892475"},"map_files_photo_id_array":[{"photo_id":"1341892515","filename":"file5"},{"photo_id":"1341892448","filename":"file2"},{"photo_id":"1341892504","filename":"file4"},{"photo_id":"1341892341","filename":"file1"},{"photo_id":"1341892309","filename":"file0"},{"photo_id":"1341892475","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341892309":["hashtag1","hashtag2"]},{"1341892341":["hashtag1","hashtag2"]},{"1341892515":["hashtag1","hashtag2"]},{"1341892475":["hashtag1","hashtag2"]},{"1341892448":["hashtag1","hashtag2"]},{"1341892504":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341892309, 1341892341, 1341892515, 1341892475, 1341892448, 1341892504)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.524718046188354 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 14:54:32.547386
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/14/54/image_08032025_14_54_45_9992.jpg', 2), ('/home/nano/Desktop/images/08032025/14/54/image_08032025_14_54_35_9993.jpg', 2), ('/home/nano/Desktop/images/08032025/14/54/image_08032025_14_54_25_10014.jpg', 2), ('/home/nano/Desktop/images/08032025/14/54/image_08032025_14_54_15_9987.jpg', 2), ('/home/nano/Desktop/images/08032025/14/53/image_08032025_14_54_05_9994.jpg', 2), ('/home/nano/Desktop/images/08032025/14/53/image_08032025_14_53_55_9975.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/14/54/image_08032025_14_54_45_9992.jpg', '/home/nano/Desktop/images/08032025/14/54/image_08032025_14_54_35_9993.jpg', '/home/nano/Desktop/images/08032025/14/54/image_08032025_14_54_25_10014.jpg', '/home/nano/Desktop/images/08032025/14/54/image_08032025_14_54_15_9987.jpg', '/home/nano/Desktop/images/08032025/14/53/image_08032025_14_54_05_9994.jpg', '/home/nano/Desktop/images/08032025/14/53/image_08032025_14_53_55_9975.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/14/54/image_08032025_14_54_45_9992.jpg
/home/nano/Desktop/images/08032025/14/54/image_08032025_14_54_35_9993.jpg
/home/nano/Desktop/images/08032025/14/54/image_08032025_14_54_25_10014.jpg
/home/nano/Desktop/images/08032025/14/54/image_08032025_14_54_15_9987.jpg
/home/nano/Desktop/images/08032025/14/53/image_08032025_14_54_05_9994.jpg
/home/nano/Desktop/images/08032025/14/53/image_08032025_14_53_55_9975.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341892575","1341892572","1341892595","1341892568","1341892684","1341892714"],"photo_ids_order":["1341892568","1341892572","1341892575","1341892595","1341892684","1341892714"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/50197d0d449bc24be9528424898fd7bc.jpg","text":"TemporaryFile(/tmp/multipartBody8678411753143135323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741442132978,"filename":"image_08032025_14_54_25_10014.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/02e9ed2b83cb38014ede01585ba4f52a.jpg","text":"TemporaryFile(/tmp/multipartBody7839010030842672199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741442132978,"filename":"image_08032025_14_54_35_9993.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/c2be1fb8b356df03447c0fb37874f5cf.jpg","text":"TemporaryFile(/tmp/multipartBody5154972425316414250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741442132978,"filename":"image_08032025_14_54_15_9987.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/7b7070f1f099bf6a14a842b0b6fabdc5.jpg","text":"TemporaryFile(/tmp/multipartBody6280262170379110603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741442132978,"filename":"image_08032025_14_54_45_9992.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/4a8c09e4f7b3f938fdb35091f8d97d2a.jpg","text":"TemporaryFile(/tmp/multipartBody7340194276988376039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741442132978,"filename":"image_08032025_14_54_05_9994.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/ccc094da3e285ca9896c6ebdfcb1a399.jpg","text":"TemporaryFile(/tmp/multipartBody8583567630493507107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741442132978,"filename":"image_08032025_14_53_55_9975.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341892575","file1":"1341892572","file0":"1341892568","file4":"1341892684","file5":"1341892714","file3":"1341892595"},"map_files_photo_id_array":[{"photo_id":"1341892714","filename":"file5"},{"photo_id":"1341892575","filename":"file2"},{"photo_id":"1341892684","filename":"file4"},{"photo_id":"1341892572","filename":"file1"},{"photo_id":"1341892568","filename":"file0"},{"photo_id":"1341892595","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341892575":["hashtag1","hashtag2"]},{"1341892572":["hashtag1","hashtag2"]},{"1341892595":["hashtag1","hashtag2"]},{"1341892568":["hashtag1","hashtag2"]},{"1341892684":["hashtag1","hashtag2"]},{"1341892714":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341892575, 1341892572, 1341892595, 1341892568, 1341892684, 1341892714)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.505558490753174 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 14:55:32.635155
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/14/55/image_08032025_14_55_45_9990.jpg', 2), ('/home/nano/Desktop/images/08032025/14/55/image_08032025_14_55_35_9989.jpg', 2), ('/home/nano/Desktop/images/08032025/14/55/image_08032025_14_55_25_9998.jpg', 2), ('/home/nano/Desktop/images/08032025/14/55/image_08032025_14_55_15_10006.jpg', 2), ('/home/nano/Desktop/images/08032025/14/54/image_08032025_14_55_05_10017.jpg', 2), ('/home/nano/Desktop/images/08032025/14/54/image_08032025_14_54_55_9993.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/14/55/image_08032025_14_55_45_9990.jpg', '/home/nano/Desktop/images/08032025/14/55/image_08032025_14_55_35_9989.jpg', '/home/nano/Desktop/images/08032025/14/55/image_08032025_14_55_25_9998.jpg', '/home/nano/Desktop/images/08032025/14/55/image_08032025_14_55_15_10006.jpg', '/home/nano/Desktop/images/08032025/14/54/image_08032025_14_55_05_10017.jpg', '/home/nano/Desktop/images/08032025/14/54/image_08032025_14_54_55_9993.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/14/55/image_08032025_14_55_45_9990.jpg
/home/nano/Desktop/images/08032025/14/55/image_08032025_14_55_35_9989.jpg
/home/nano/Desktop/images/08032025/14/55/image_08032025_14_55_25_9998.jpg
/home/nano/Desktop/images/08032025/14/55/image_08032025_14_55_15_10006.jpg
/home/nano/Desktop/images/08032025/14/54/image_08032025_14_55_05_10017.jpg
/home/nano/Desktop/images/08032025/14/54/image_08032025_14_54_55_9993.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341892746","1341892749","1341892734","1341892754","1341892757","1341892759"],"photo_ids_order":["1341892734","1341892746","1341892749","1341892754","1341892757","1341892759"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/d462c6d1ecbe0a0c3774870f39fcdd96.jpg","text":"TemporaryFile(/tmp/multipartBody5873056244895049154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741442193079,"filename":"image_08032025_14_55_35_9989.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/5bed3579007ae965d89bb199bb007f5d.jpg","text":"TemporaryFile(/tmp/multipartBody778206007314678160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741442193079,"filename":"image_08032025_14_55_25_9998.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/e47645ca521393bdd3ce57a2561aabf5.jpg","text":"TemporaryFile(/tmp/multipartBody1668284584673914162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741442193079,"filename":"image_08032025_14_55_45_9990.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/00e3a96072c03f7d4352215112225259.jpg","text":"TemporaryFile(/tmp/multipartBody6558202805524054108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741442193079,"filename":"image_08032025_14_55_15_10006.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/a48abcd703951c058ab6405f945202fd.jpg","text":"TemporaryFile(/tmp/multipartBody1525799545300977770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741442193079,"filename":"image_08032025_14_55_05_10017.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/e898ddc7c3a465f2b8d7ab654a39ae6a.jpg","text":"TemporaryFile(/tmp/multipartBody7226742224673043562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741442193079,"filename":"image_08032025_14_54_55_9993.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341892749","file1":"1341892746","file0":"1341892734","file4":"1341892757","file5":"1341892759","file3":"1341892754"},"map_files_photo_id_array":[{"photo_id":"1341892759","filename":"file5"},{"photo_id":"1341892749","filename":"file2"},{"photo_id":"1341892757","filename":"file4"},{"photo_id":"1341892746","filename":"file1"},{"photo_id":"1341892734","filename":"file0"},{"photo_id":"1341892754","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341892746":["hashtag1","hashtag2"]},{"1341892749":["hashtag1","hashtag2"]},{"1341892734":["hashtag1","hashtag2"]},{"1341892754":["hashtag1","hashtag2"]},{"1341892757":["hashtag1","hashtag2"]},{"1341892759":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341892746, 1341892749, 1341892734, 1341892754, 1341892757, 1341892759)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.09408354759216 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 14:56:32.751808
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/14/56/image_08032025_14_56_45_9997.jpg', 2), ('/home/nano/Desktop/images/08032025/14/56/image_08032025_14_56_35_10020.jpg', 2), ('/home/nano/Desktop/images/08032025/14/56/image_08032025_14_56_25_10026.jpg', 2), ('/home/nano/Desktop/images/08032025/14/56/image_08032025_14_56_15_10008.jpg', 2), ('/home/nano/Desktop/images/08032025/14/55/image_08032025_14_56_05_10009.jpg', 2), ('/home/nano/Desktop/images/08032025/14/55/image_08032025_14_55_55_10000.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/14/56/image_08032025_14_56_45_9997.jpg', '/home/nano/Desktop/images/08032025/14/56/image_08032025_14_56_35_10020.jpg', '/home/nano/Desktop/images/08032025/14/56/image_08032025_14_56_25_10026.jpg', '/home/nano/Desktop/images/08032025/14/56/image_08032025_14_56_15_10008.jpg', '/home/nano/Desktop/images/08032025/14/55/image_08032025_14_56_05_10009.jpg', '/home/nano/Desktop/images/08032025/14/55/image_08032025_14_55_55_10000.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/14/56/image_08032025_14_56_45_9997.jpg
/home/nano/Desktop/images/08032025/14/56/image_08032025_14_56_35_10020.jpg
/home/nano/Desktop/images/08032025/14/56/image_08032025_14_56_25_10026.jpg
/home/nano/Desktop/images/08032025/14/56/image_08032025_14_56_15_10008.jpg
/home/nano/Desktop/images/08032025/14/55/image_08032025_14_56_05_10009.jpg
/home/nano/Desktop/images/08032025/14/55/image_08032025_14_55_55_10000.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.3564636707305908 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 marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 14:57:02.801684
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/14/56/image_08032025_14_56_45_9997.jpg', 2), ('/home/nano/Desktop/images/08032025/14/56/image_08032025_14_56_35_10020.jpg', 2), ('/home/nano/Desktop/images/08032025/14/56/image_08032025_14_56_25_10026.jpg', 2), ('/home/nano/Desktop/images/08032025/14/56/image_08032025_14_56_15_10008.jpg', 2), ('/home/nano/Desktop/images/08032025/14/55/image_08032025_14_56_05_10009.jpg', 2), ('/home/nano/Desktop/images/08032025/14/55/image_08032025_14_55_55_10000.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/14/56/image_08032025_14_56_45_9997.jpg', '/home/nano/Desktop/images/08032025/14/56/image_08032025_14_56_35_10020.jpg', '/home/nano/Desktop/images/08032025/14/56/image_08032025_14_56_25_10026.jpg', '/home/nano/Desktop/images/08032025/14/56/image_08032025_14_56_15_10008.jpg', '/home/nano/Desktop/images/08032025/14/55/image_08032025_14_56_05_10009.jpg', '/home/nano/Desktop/images/08032025/14/55/image_08032025_14_55_55_10000.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/14/56/image_08032025_14_56_45_9997.jpg
/home/nano/Desktop/images/08032025/14/56/image_08032025_14_56_35_10020.jpg
/home/nano/Desktop/images/08032025/14/56/image_08032025_14_56_25_10026.jpg
/home/nano/Desktop/images/08032025/14/56/image_08032025_14_56_15_10008.jpg
/home/nano/Desktop/images/08032025/14/55/image_08032025_14_56_05_10009.jpg
/home/nano/Desktop/images/08032025/14/55/image_08032025_14_55_55_10000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341892991","1341893006","1341893140","1341893077","1341893053","1341893029"],"photo_ids_order":["1341892991","1341893006","1341893029","1341893053","1341893077","1341893140"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/6416fce9818b4fcf2688e245d2530994.jpg","text":"TemporaryFile(/tmp/multipartBody8632651476791843427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741442283357,"filename":"image_08032025_14_56_45_9997.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/d0e0156559ce2c632f567c06f2826872.jpg","text":"TemporaryFile(/tmp/multipartBody5379483650711008240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741442283357,"filename":"image_08032025_14_56_35_10020.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/3a7dde1fda5cba1ca1074c80f5074ac3.jpg","text":"TemporaryFile(/tmp/multipartBody7211696947300597357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741442283357,"filename":"image_08032025_14_55_55_10000.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/49de97b78f840c34370afb8fc51de3ba.jpg","text":"TemporaryFile(/tmp/multipartBody715040490491086328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741442283357,"filename":"image_08032025_14_56_05_10009.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/b4fcdd07fe379883c9426719923dac54.jpg","text":"TemporaryFile(/tmp/multipartBody1070167094373807215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741442283357,"filename":"image_08032025_14_56_15_10008.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/fd4c90e35c0cfc06ba41b4b6a35b24ba.jpg","text":"TemporaryFile(/tmp/multipartBody4880069042168753980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741442283357,"filename":"image_08032025_14_56_25_10026.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341893029","file1":"1341893006","file0":"1341892991","file4":"1341893077","file5":"1341893140","file3":"1341893053"},"map_files_photo_id_array":[{"photo_id":"1341893140","filename":"file5"},{"photo_id":"1341893029","filename":"file2"},{"photo_id":"1341893077","filename":"file4"},{"photo_id":"1341893006","filename":"file1"},{"photo_id":"1341892991","filename":"file0"},{"photo_id":"1341893053","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341892991":["hashtag1","hashtag2"]},{"1341893006":["hashtag1","hashtag2"]},{"1341893140":["hashtag1","hashtag2"]},{"1341893077":["hashtag1","hashtag2"]},{"1341893053":["hashtag1","hashtag2"]},{"1341893029":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341892991, 1341893006, 1341893140, 1341893077, 1341893053, 1341893029)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.792665243148804 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 14:58:02.990451
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/14/57/image_08032025_14_57_45_9998.jpg', 2), ('/home/nano/Desktop/images/08032025/14/57/image_08032025_14_57_35_10003.jpg', 2), ('/home/nano/Desktop/images/08032025/14/57/image_08032025_14_57_25_9996.jpg', 2), ('/home/nano/Desktop/images/08032025/14/57/image_08032025_14_57_15_9999.jpg', 2), ('/home/nano/Desktop/images/08032025/14/56/image_08032025_14_57_05_10019.jpg', 2), ('/home/nano/Desktop/images/08032025/14/56/image_08032025_14_56_55_9998.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/14/57/image_08032025_14_57_45_9998.jpg', '/home/nano/Desktop/images/08032025/14/57/image_08032025_14_57_35_10003.jpg', '/home/nano/Desktop/images/08032025/14/57/image_08032025_14_57_25_9996.jpg', '/home/nano/Desktop/images/08032025/14/57/image_08032025_14_57_15_9999.jpg', '/home/nano/Desktop/images/08032025/14/56/image_08032025_14_57_05_10019.jpg', '/home/nano/Desktop/images/08032025/14/56/image_08032025_14_56_55_9998.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/14/57/image_08032025_14_57_45_9998.jpg
/home/nano/Desktop/images/08032025/14/57/image_08032025_14_57_35_10003.jpg
/home/nano/Desktop/images/08032025/14/57/image_08032025_14_57_25_9996.jpg
/home/nano/Desktop/images/08032025/14/57/image_08032025_14_57_15_9999.jpg
/home/nano/Desktop/images/08032025/14/56/image_08032025_14_57_05_10019.jpg
/home/nano/Desktop/images/08032025/14/56/image_08032025_14_56_55_9998.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341893325","1341893313","1341893294","1341893321","1341893281","1341893277"],"photo_ids_order":["1341893277","1341893281","1341893294","1341893313","1341893321","1341893325"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/2ff90f21fe3e85e3ee6b854a2889897b.jpg","text":"TemporaryFile(/tmp/multipartBody4634423723895312834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741442343620,"filename":"image_08032025_14_56_55_9998.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/c19f05d197f3ecf550b1e721f01478bf.jpg","text":"TemporaryFile(/tmp/multipartBody6975673980380560681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741442343620,"filename":"image_08032025_14_57_15_9999.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/13414a82834e13635fd516e9f4d55be6.jpg","text":"TemporaryFile(/tmp/multipartBody7354729063552046658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741442343620,"filename":"image_08032025_14_57_25_9996.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/dc4cbabff29a6ea802d94b750fc5de55.jpg","text":"TemporaryFile(/tmp/multipartBody2084599256840945644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741442343620,"filename":"image_08032025_14_57_05_10019.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/3559d0023cadd79b809e8c35b5fe18ae.jpg","text":"TemporaryFile(/tmp/multipartBody1038008853184063921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741442343620,"filename":"image_08032025_14_57_35_10003.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/715b9dfda01f3c6db21141162faf8688.jpg","text":"TemporaryFile(/tmp/multipartBody7022457948349835238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741442343620,"filename":"image_08032025_14_57_45_9998.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341893294","file1":"1341893281","file0":"1341893277","file4":"1341893321","file5":"1341893325","file3":"1341893313"},"map_files_photo_id_array":[{"photo_id":"1341893325","filename":"file5"},{"photo_id":"1341893294","filename":"file2"},{"photo_id":"1341893321","filename":"file4"},{"photo_id":"1341893281","filename":"file1"},{"photo_id":"1341893277","filename":"file0"},{"photo_id":"1341893313","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341893325":["hashtag1","hashtag2"]},{"1341893313":["hashtag1","hashtag2"]},{"1341893294":["hashtag1","hashtag2"]},{"1341893321":["hashtag1","hashtag2"]},{"1341893281":["hashtag1","hashtag2"]},{"1341893277":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341893325, 1341893313, 1341893294, 1341893321, 1341893281, 1341893277)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.310322284698486 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 14:59:02.947098
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/14/58/image_08032025_14_58_45_10010.jpg', 2), ('/home/nano/Desktop/images/08032025/14/58/image_08032025_14_58_35_9997.jpg', 2), ('/home/nano/Desktop/images/08032025/14/58/image_08032025_14_58_25_9999.jpg', 2), ('/home/nano/Desktop/images/08032025/14/58/image_08032025_14_58_15_10008.jpg', 2), ('/home/nano/Desktop/images/08032025/14/57/image_08032025_14_58_05_10015.jpg', 2), ('/home/nano/Desktop/images/08032025/14/57/image_08032025_14_57_55_10000.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/14/58/image_08032025_14_58_45_10010.jpg', '/home/nano/Desktop/images/08032025/14/58/image_08032025_14_58_35_9997.jpg', '/home/nano/Desktop/images/08032025/14/58/image_08032025_14_58_25_9999.jpg', '/home/nano/Desktop/images/08032025/14/58/image_08032025_14_58_15_10008.jpg', '/home/nano/Desktop/images/08032025/14/57/image_08032025_14_58_05_10015.jpg', '/home/nano/Desktop/images/08032025/14/57/image_08032025_14_57_55_10000.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/14/58/image_08032025_14_58_45_10010.jpg
/home/nano/Desktop/images/08032025/14/58/image_08032025_14_58_35_9997.jpg
/home/nano/Desktop/images/08032025/14/58/image_08032025_14_58_25_9999.jpg
/home/nano/Desktop/images/08032025/14/58/image_08032025_14_58_15_10008.jpg
/home/nano/Desktop/images/08032025/14/57/image_08032025_14_58_05_10015.jpg
/home/nano/Desktop/images/08032025/14/57/image_08032025_14_57_55_10000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341893393","1341893420","1341893389","1341893374","1341893416","1341893404"],"photo_ids_order":["1341893374","1341893389","1341893393","1341893404","1341893416","1341893420"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/933e68783b05cc113e88242798e4d307.jpg","text":"TemporaryFile(/tmp/multipartBody399788033013208047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741442403552,"filename":"image_08032025_14_58_25_9999.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/1780181f0feb51f2c020ca8ac48c9370.jpg","text":"TemporaryFile(/tmp/multipartBody8383143344113533481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741442403552,"filename":"image_08032025_14_57_55_10000.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/27d9db3f79f371e658cac2d39b295049.jpg","text":"TemporaryFile(/tmp/multipartBody1316827615505458492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741442403552,"filename":"image_08032025_14_58_35_9997.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/650765641f08caed30882c5e7988f991.jpg","text":"TemporaryFile(/tmp/multipartBody3162851486163531282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741442403552,"filename":"image_08032025_14_58_45_10010.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/0acfc3da794e9620d8ad4fac82182641.jpg","text":"TemporaryFile(/tmp/multipartBody7480949537433130089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741442403552,"filename":"image_08032025_14_58_05_10015.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/738ea9d52012cf689961e7ef819dba74.jpg","text":"TemporaryFile(/tmp/multipartBody1251071008855547682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741442403552,"filename":"image_08032025_14_58_15_10008.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341893393","file1":"1341893389","file0":"1341893374","file4":"1341893416","file5":"1341893420","file3":"1341893404"},"map_files_photo_id_array":[{"photo_id":"1341893420","filename":"file5"},{"photo_id":"1341893393","filename":"file2"},{"photo_id":"1341893416","filename":"file4"},{"photo_id":"1341893389","filename":"file1"},{"photo_id":"1341893374","filename":"file0"},{"photo_id":"1341893404","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341893393":["hashtag1","hashtag2"]},{"1341893420":["hashtag1","hashtag2"]},{"1341893389":["hashtag1","hashtag2"]},{"1341893374":["hashtag1","hashtag2"]},{"1341893416":["hashtag1","hashtag2"]},{"1341893404":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341893393, 1341893420, 1341893389, 1341893374, 1341893416, 1341893404)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.09238338470459 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 15:00:02.821413
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/14/59/image_08032025_14_59_45_10032.jpg', 2), ('/home/nano/Desktop/images/08032025/14/59/image_08032025_14_59_35_10023.jpg', 2), ('/home/nano/Desktop/images/08032025/14/59/image_08032025_14_59_25_10029.jpg', 2), ('/home/nano/Desktop/images/08032025/14/59/image_08032025_14_59_15_10032.jpg', 2), ('/home/nano/Desktop/images/08032025/14/58/image_08032025_14_59_05_10071.jpg', 2), ('/home/nano/Desktop/images/08032025/14/58/image_08032025_14_58_55_9994.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/14/59/image_08032025_14_59_45_10032.jpg', '/home/nano/Desktop/images/08032025/14/59/image_08032025_14_59_35_10023.jpg', '/home/nano/Desktop/images/08032025/14/59/image_08032025_14_59_25_10029.jpg', '/home/nano/Desktop/images/08032025/14/59/image_08032025_14_59_15_10032.jpg', '/home/nano/Desktop/images/08032025/14/58/image_08032025_14_59_05_10071.jpg', '/home/nano/Desktop/images/08032025/14/58/image_08032025_14_58_55_9994.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/14/59/image_08032025_14_59_45_10032.jpg
/home/nano/Desktop/images/08032025/14/59/image_08032025_14_59_35_10023.jpg
/home/nano/Desktop/images/08032025/14/59/image_08032025_14_59_25_10029.jpg
/home/nano/Desktop/images/08032025/14/59/image_08032025_14_59_15_10032.jpg
/home/nano/Desktop/images/08032025/14/58/image_08032025_14_59_05_10071.jpg
/home/nano/Desktop/images/08032025/14/58/image_08032025_14_58_55_9994.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341893474","1341893468","1341893545","1341893515","1341893496","1341893478"],"photo_ids_order":["1341893468","1341893474","1341893478","1341893496","1341893515","1341893545"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/80565b44151d900458abcd3335f51d53.jpg","text":"TemporaryFile(/tmp/multipartBody227976886361900267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741442463281,"filename":"image_08032025_14_59_35_10023.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/de4e07348301dc7eb4a0c77a1b7634b8.jpg","text":"TemporaryFile(/tmp/multipartBody9079580462643399564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741442463281,"filename":"image_08032025_14_59_45_10032.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/a13fe2c84910c0590605171e57910d85.jpg","text":"TemporaryFile(/tmp/multipartBody7764357405641040227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741442463281,"filename":"image_08032025_14_58_55_9994.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/3c04be96d5a975f697dcf1b4f74030da.jpg","text":"TemporaryFile(/tmp/multipartBody2650486340456440554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741442463281,"filename":"image_08032025_14_59_05_10071.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/6ca15faafcf2e22d68606eb8bb48a8dd.jpg","text":"TemporaryFile(/tmp/multipartBody4377515200968375204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741442463281,"filename":"image_08032025_14_59_15_10032.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/2d2e6639e940fde40338bc6892bd5b44.jpg","text":"TemporaryFile(/tmp/multipartBody2541671721988000736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741442463281,"filename":"image_08032025_14_59_25_10029.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341893478","file1":"1341893474","file0":"1341893468","file4":"1341893515","file5":"1341893545","file3":"1341893496"},"map_files_photo_id_array":[{"photo_id":"1341893545","filename":"file5"},{"photo_id":"1341893478","filename":"file2"},{"photo_id":"1341893515","filename":"file4"},{"photo_id":"1341893474","filename":"file1"},{"photo_id":"1341893468","filename":"file0"},{"photo_id":"1341893496","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341893474":["hashtag1","hashtag2"]},{"1341893468":["hashtag1","hashtag2"]},{"1341893545":["hashtag1","hashtag2"]},{"1341893515":["hashtag1","hashtag2"]},{"1341893496":["hashtag1","hashtag2"]},{"1341893478":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341893474, 1341893468, 1341893545, 1341893515, 1341893496, 1341893478)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.958577394485474 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 15:01:02.870667
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/15/00/image_08032025_15_00_45_10024.jpg', 2), ('/home/nano/Desktop/images/08032025/15/00/image_08032025_15_00_35_10028.jpg', 2), ('/home/nano/Desktop/images/08032025/15/00/image_08032025_15_00_25_10026.jpg', 2), ('/home/nano/Desktop/images/08032025/15/00/image_08032025_15_00_15_10031.jpg', 2), ('/home/nano/Desktop/images/08032025/14/59/image_08032025_15_00_05_10049.jpg', 2), ('/home/nano/Desktop/images/08032025/14/59/image_08032025_14_59_55_10022.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/15/00/image_08032025_15_00_45_10024.jpg', '/home/nano/Desktop/images/08032025/15/00/image_08032025_15_00_35_10028.jpg', '/home/nano/Desktop/images/08032025/15/00/image_08032025_15_00_25_10026.jpg', '/home/nano/Desktop/images/08032025/15/00/image_08032025_15_00_15_10031.jpg', '/home/nano/Desktop/images/08032025/14/59/image_08032025_15_00_05_10049.jpg', '/home/nano/Desktop/images/08032025/14/59/image_08032025_14_59_55_10022.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/15/00/image_08032025_15_00_45_10024.jpg
/home/nano/Desktop/images/08032025/15/00/image_08032025_15_00_35_10028.jpg
/home/nano/Desktop/images/08032025/15/00/image_08032025_15_00_25_10026.jpg
/home/nano/Desktop/images/08032025/15/00/image_08032025_15_00_15_10031.jpg
/home/nano/Desktop/images/08032025/14/59/image_08032025_15_00_05_10049.jpg
/home/nano/Desktop/images/08032025/14/59/image_08032025_14_59_55_10022.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341893829","1341893904","1341893735","1341893971","1341893755","1341893932"],"photo_ids_order":["1341893735","1341893755","1341893829","1341893904","1341893932","1341893971"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/766b93dbe4bc685ec0fd9645327a9588.jpg","text":"TemporaryFile(/tmp/multipartBody5622882652817097403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741442523330,"filename":"image_08032025_15_00_25_10026.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/5084ef75cedf692f00f617dad706a154.jpg","text":"TemporaryFile(/tmp/multipartBody8014776771151975474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741442523330,"filename":"image_08032025_15_00_15_10031.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/f4a53f2cedc7c5e1ed81d116f0763945.jpg","text":"TemporaryFile(/tmp/multipartBody839176517311327896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741442523330,"filename":"image_08032025_15_00_45_10024.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/5c37f93cd74c45dd730a9b9e8ce03588.jpg","text":"TemporaryFile(/tmp/multipartBody688811031461477125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741442523330,"filename":"image_08032025_14_59_55_10022.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/88837920a649da9528dbcb2676f92948.jpg","text":"TemporaryFile(/tmp/multipartBody5470635680531761843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741442523330,"filename":"image_08032025_15_00_35_10028.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/ceabd58f6ef801fb9a2e2358c482242b.jpg","text":"TemporaryFile(/tmp/multipartBody8489880354105082894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741442523330,"filename":"image_08032025_15_00_05_10049.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341893829","file1":"1341893755","file0":"1341893735","file4":"1341893932","file5":"1341893971","file3":"1341893904"},"map_files_photo_id_array":[{"photo_id":"1341893971","filename":"file5"},{"photo_id":"1341893829","filename":"file2"},{"photo_id":"1341893932","filename":"file4"},{"photo_id":"1341893755","filename":"file1"},{"photo_id":"1341893735","filename":"file0"},{"photo_id":"1341893904","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341893829":["hashtag1","hashtag2"]},{"1341893904":["hashtag1","hashtag2"]},{"1341893735":["hashtag1","hashtag2"]},{"1341893971":["hashtag1","hashtag2"]},{"1341893755":["hashtag1","hashtag2"]},{"1341893932":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341893829, 1341893904, 1341893735, 1341893971, 1341893755, 1341893932)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.086183071136475 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 15:02:03.087827
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/15/01/image_08032025_15_01_45_10031.jpg', 2), ('/home/nano/Desktop/images/08032025/15/01/image_08032025_15_01_35_9021.jpg', 2), ('/home/nano/Desktop/images/08032025/15/01/image_08032025_15_01_26_10035.jpg', 2), ('/home/nano/Desktop/images/08032025/15/01/image_08032025_15_01_16_10042.jpg', 2), ('/home/nano/Desktop/images/08032025/15/00/image_08032025_15_01_05_10045.jpg', 2), ('/home/nano/Desktop/images/08032025/15/00/image_08032025_15_00_55_10029.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/15/01/image_08032025_15_01_45_10031.jpg', '/home/nano/Desktop/images/08032025/15/01/image_08032025_15_01_35_9021.jpg', '/home/nano/Desktop/images/08032025/15/01/image_08032025_15_01_26_10035.jpg', '/home/nano/Desktop/images/08032025/15/01/image_08032025_15_01_16_10042.jpg', '/home/nano/Desktop/images/08032025/15/00/image_08032025_15_01_05_10045.jpg', '/home/nano/Desktop/images/08032025/15/00/image_08032025_15_00_55_10029.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/15/01/image_08032025_15_01_45_10031.jpg
/home/nano/Desktop/images/08032025/15/01/image_08032025_15_01_35_9021.jpg
/home/nano/Desktop/images/08032025/15/01/image_08032025_15_01_26_10035.jpg
/home/nano/Desktop/images/08032025/15/01/image_08032025_15_01_16_10042.jpg
/home/nano/Desktop/images/08032025/15/00/image_08032025_15_01_05_10045.jpg
/home/nano/Desktop/images/08032025/15/00/image_08032025_15_00_55_10029.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341894284","1341894365","1341894488","1341894323","1341894424","1341894450"],"photo_ids_order":["1341894284","1341894323","1341894365","1341894424","1341894450","1341894488"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/95081417d4269d867c49b9713018714d.jpg","text":"TemporaryFile(/tmp/multipartBody3914114919419705299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741442583667,"filename":"image_08032025_15_01_45_10031.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/5a0a14e5d94ee299e8e795f8d8ef35ba.jpg","text":"TemporaryFile(/tmp/multipartBody3392424217372186273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741442583667,"filename":"image_08032025_15_01_26_10035.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/77a5cec647e3956e2983159211b6766f.jpg","text":"TemporaryFile(/tmp/multipartBody5705806470062391150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741442583667,"filename":"image_08032025_15_00_55_10029.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/96542acb08ee4cce167e2042f180ad90.jpg","text":"TemporaryFile(/tmp/multipartBody6059470500659045822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741442583667,"filename":"image_08032025_15_01_35_9021.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/623c312f86a14f344fb3c0a1a78b85da.jpg","text":"TemporaryFile(/tmp/multipartBody4825556882818654485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741442583667,"filename":"image_08032025_15_01_16_10042.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/73db7ae9438e57bea1af2b5ac2017c97.jpg","text":"TemporaryFile(/tmp/multipartBody4194744571666896822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741442583667,"filename":"image_08032025_15_01_05_10045.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341894365","file1":"1341894323","file0":"1341894284","file4":"1341894450","file5":"1341894488","file3":"1341894424"},"map_files_photo_id_array":[{"photo_id":"1341894488","filename":"file5"},{"photo_id":"1341894365","filename":"file2"},{"photo_id":"1341894450","filename":"file4"},{"photo_id":"1341894323","filename":"file1"},{"photo_id":"1341894284","filename":"file0"},{"photo_id":"1341894424","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341894284":["hashtag1","hashtag2"]},{"1341894365":["hashtag1","hashtag2"]},{"1341894488":["hashtag1","hashtag2"]},{"1341894323":["hashtag1","hashtag2"]},{"1341894424":["hashtag1","hashtag2"]},{"1341894450":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341894284, 1341894365, 1341894488, 1341894323, 1341894424, 1341894450)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.325730085372925 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 15:03:03.228690
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/15/02/image_08032025_15_02_45_10034.jpg', 2), ('/home/nano/Desktop/images/08032025/15/02/image_08032025_15_02_35_10042.jpg', 2), ('/home/nano/Desktop/images/08032025/15/02/image_08032025_15_02_25_10042.jpg', 2), ('/home/nano/Desktop/images/08032025/15/02/image_08032025_15_02_15_10041.jpg', 2), ('/home/nano/Desktop/images/08032025/15/01/image_08032025_15_02_05_10070.jpg', 2), ('/home/nano/Desktop/images/08032025/15/01/image_08032025_15_01_55_10031.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/15/02/image_08032025_15_02_45_10034.jpg', '/home/nano/Desktop/images/08032025/15/02/image_08032025_15_02_35_10042.jpg', '/home/nano/Desktop/images/08032025/15/02/image_08032025_15_02_25_10042.jpg', '/home/nano/Desktop/images/08032025/15/02/image_08032025_15_02_15_10041.jpg', '/home/nano/Desktop/images/08032025/15/01/image_08032025_15_02_05_10070.jpg', '/home/nano/Desktop/images/08032025/15/01/image_08032025_15_01_55_10031.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/15/02/image_08032025_15_02_45_10034.jpg
/home/nano/Desktop/images/08032025/15/02/image_08032025_15_02_35_10042.jpg
/home/nano/Desktop/images/08032025/15/02/image_08032025_15_02_25_10042.jpg
/home/nano/Desktop/images/08032025/15/02/image_08032025_15_02_15_10041.jpg
/home/nano/Desktop/images/08032025/15/01/image_08032025_15_02_05_10070.jpg
/home/nano/Desktop/images/08032025/15/01/image_08032025_15_01_55_10031.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341894917","1341895279","1341894784","1341894961","1341895050","1341895125"],"photo_ids_order":["1341894784","1341894917","1341894961","1341895050","1341895125","1341895279"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/ad71cee41805847b0aa93bff2969be62.jpg","text":"TemporaryFile(/tmp/multipartBody1653613614067178745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741442643801,"filename":"image_08032025_15_02_35_10042.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/dd27f27029b903da3c333e090e2ad061.jpg","text":"TemporaryFile(/tmp/multipartBody8529821041143874146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741442643801,"filename":"image_08032025_15_01_55_10031.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/bc7ac8dc7494e1080bfe6d1398a3d98f.jpg","text":"TemporaryFile(/tmp/multipartBody2422889943934270522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741442643801,"filename":"image_08032025_15_02_45_10034.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/4dee0e0b3de6bbe8338a27ea171451cf.jpg","text":"TemporaryFile(/tmp/multipartBody7213994475961919821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741442643801,"filename":"image_08032025_15_02_25_10042.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/bf8f38fbd93eb69376c7df065cecca61.jpg","text":"TemporaryFile(/tmp/multipartBody4629852811909240718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741442643801,"filename":"image_08032025_15_02_15_10041.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/cd2a4b2b4101dbef55dc354317302d04.jpg","text":"TemporaryFile(/tmp/multipartBody9139709103043546356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741442643801,"filename":"image_08032025_15_02_05_10070.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341894961","file1":"1341894917","file0":"1341894784","file4":"1341895125","file5":"1341895279","file3":"1341895050"},"map_files_photo_id_array":[{"photo_id":"1341895279","filename":"file5"},{"photo_id":"1341894961","filename":"file2"},{"photo_id":"1341895125","filename":"file4"},{"photo_id":"1341894917","filename":"file1"},{"photo_id":"1341894784","filename":"file0"},{"photo_id":"1341895050","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341894917":["hashtag1","hashtag2"]},{"1341895279":["hashtag1","hashtag2"]},{"1341894784":["hashtag1","hashtag2"]},{"1341894961":["hashtag1","hashtag2"]},{"1341895050":["hashtag1","hashtag2"]},{"1341895125":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341894917, 1341895279, 1341894784, 1341894961, 1341895050, 1341895125)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.84608602523804 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 15:04:03.484671
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/15/03/image_08032025_15_03_45_10057.jpg', 2), ('/home/nano/Desktop/images/08032025/15/03/image_08032025_15_03_35_10031.jpg', 2), ('/home/nano/Desktop/images/08032025/15/03/image_08032025_15_03_25_10019.jpg', 2), ('/home/nano/Desktop/images/08032025/15/03/image_08032025_15_03_15_10034.jpg', 2), ('/home/nano/Desktop/images/08032025/15/02/image_08032025_15_03_05_10030.jpg', 2), ('/home/nano/Desktop/images/08032025/15/02/image_08032025_15_02_55_10032.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/15/03/image_08032025_15_03_45_10057.jpg', '/home/nano/Desktop/images/08032025/15/03/image_08032025_15_03_35_10031.jpg', '/home/nano/Desktop/images/08032025/15/03/image_08032025_15_03_25_10019.jpg', '/home/nano/Desktop/images/08032025/15/03/image_08032025_15_03_15_10034.jpg', '/home/nano/Desktop/images/08032025/15/02/image_08032025_15_03_05_10030.jpg', '/home/nano/Desktop/images/08032025/15/02/image_08032025_15_02_55_10032.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/15/03/image_08032025_15_03_45_10057.jpg
/home/nano/Desktop/images/08032025/15/03/image_08032025_15_03_35_10031.jpg
/home/nano/Desktop/images/08032025/15/03/image_08032025_15_03_25_10019.jpg
/home/nano/Desktop/images/08032025/15/03/image_08032025_15_03_15_10034.jpg
/home/nano/Desktop/images/08032025/15/02/image_08032025_15_03_05_10030.jpg
/home/nano/Desktop/images/08032025/15/02/image_08032025_15_02_55_10032.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341895472","1341895526","1341895483","1341895456","1341895557","1341895580"],"photo_ids_order":["1341895456","1341895472","1341895483","1341895526","1341895557","1341895580"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/42857e8f7f0ff5042b2541f65cc37629.jpg","text":"TemporaryFile(/tmp/multipartBody7984774309540166782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741442705377,"filename":"image_08032025_15_03_35_10031.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/8b5c9e23e15d4b240e422a48fe065894.jpg","text":"TemporaryFile(/tmp/multipartBody4543623262340688759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741442705377,"filename":"image_08032025_15_03_15_10034.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/a9e0126dfb1842846acd07e4e51b0fe9.jpg","text":"TemporaryFile(/tmp/multipartBody2609366865576556112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741442705377,"filename":"image_08032025_15_03_25_10019.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/fe04d2cfb8a42f601166e636f6fa4855.jpg","text":"TemporaryFile(/tmp/multipartBody3896733017172864383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741442705377,"filename":"image_08032025_15_03_45_10057.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/87def5babc48a276296490d3c1673603.jpg","text":"TemporaryFile(/tmp/multipartBody3897317398846489996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741442705377,"filename":"image_08032025_15_03_05_10030.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/a777da3cc6899805093c2fcb7be0a172.jpg","text":"TemporaryFile(/tmp/multipartBody7657023913933749109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741442705377,"filename":"image_08032025_15_02_55_10032.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341895483","file1":"1341895472","file0":"1341895456","file4":"1341895557","file5":"1341895580","file3":"1341895526"},"map_files_photo_id_array":[{"photo_id":"1341895580","filename":"file5"},{"photo_id":"1341895483","filename":"file2"},{"photo_id":"1341895557","filename":"file4"},{"photo_id":"1341895472","filename":"file1"},{"photo_id":"1341895456","filename":"file0"},{"photo_id":"1341895526","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341895472":["hashtag1","hashtag2"]},{"1341895526":["hashtag1","hashtag2"]},{"1341895483":["hashtag1","hashtag2"]},{"1341895456":["hashtag1","hashtag2"]},{"1341895557":["hashtag1","hashtag2"]},{"1341895580":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341895472, 1341895526, 1341895483, 1341895456, 1341895557, 1341895580)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.184253215789795 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 15:05:02.426250
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/15/04/image_08032025_15_04_45_10041.jpg', 2), ('/home/nano/Desktop/images/08032025/15/04/image_08032025_15_04_35_10032.jpg', 2), ('/home/nano/Desktop/images/08032025/15/04/image_08032025_15_04_25_10036.jpg', 2), ('/home/nano/Desktop/images/08032025/15/04/image_08032025_15_04_15_10042.jpg', 2), ('/home/nano/Desktop/images/08032025/15/03/image_08032025_15_04_05_10044.jpg', 2), ('/home/nano/Desktop/images/08032025/15/03/image_08032025_15_03_55_10064.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/15/04/image_08032025_15_04_45_10041.jpg', '/home/nano/Desktop/images/08032025/15/04/image_08032025_15_04_35_10032.jpg', '/home/nano/Desktop/images/08032025/15/04/image_08032025_15_04_25_10036.jpg', '/home/nano/Desktop/images/08032025/15/04/image_08032025_15_04_15_10042.jpg', '/home/nano/Desktop/images/08032025/15/03/image_08032025_15_04_05_10044.jpg', '/home/nano/Desktop/images/08032025/15/03/image_08032025_15_03_55_10064.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/15/04/image_08032025_15_04_45_10041.jpg
/home/nano/Desktop/images/08032025/15/04/image_08032025_15_04_35_10032.jpg
/home/nano/Desktop/images/08032025/15/04/image_08032025_15_04_25_10036.jpg
/home/nano/Desktop/images/08032025/15/04/image_08032025_15_04_15_10042.jpg
/home/nano/Desktop/images/08032025/15/03/image_08032025_15_04_05_10044.jpg
/home/nano/Desktop/images/08032025/15/03/image_08032025_15_03_55_10064.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341895862","1341895943","1341896005","1341895923","1341895964","1341895793"],"photo_ids_order":["1341895793","1341895862","1341895923","1341895943","1341895964","1341896005"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/0e5cefb58b49de3ad2572d38cd6b5ff4.jpg","text":"TemporaryFile(/tmp/multipartBody4616561098811390447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741442762956,"filename":"image_08032025_15_04_35_10032.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/55e4281210a5d1edf5e4f028aa153951.jpg","text":"TemporaryFile(/tmp/multipartBody5404914275175030325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741442762956,"filename":"image_08032025_15_04_15_10042.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/820fa523232771835db69fecaf7fe8ee.jpg","text":"TemporaryFile(/tmp/multipartBody1898779227855897930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741442762956,"filename":"image_08032025_15_03_55_10064.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/cea57f9e924fe1d47800f7651efe05c9.jpg","text":"TemporaryFile(/tmp/multipartBody7804814176740197051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741442762956,"filename":"image_08032025_15_04_25_10036.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/75a03d529a9da24bed2d2d67a83c532f.jpg","text":"TemporaryFile(/tmp/multipartBody4193601499461582354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741442762956,"filename":"image_08032025_15_04_05_10044.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/bddea6af9f693a7b8048cc91cbc127b0.jpg","text":"TemporaryFile(/tmp/multipartBody2987487695208193288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741442762956,"filename":"image_08032025_15_04_45_10041.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341895923","file1":"1341895862","file0":"1341895793","file4":"1341895964","file5":"1341896005","file3":"1341895943"},"map_files_photo_id_array":[{"photo_id":"1341896005","filename":"file5"},{"photo_id":"1341895923","filename":"file2"},{"photo_id":"1341895964","filename":"file4"},{"photo_id":"1341895862","filename":"file1"},{"photo_id":"1341895793","filename":"file0"},{"photo_id":"1341895943","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341895862":["hashtag1","hashtag2"]},{"1341895943":["hashtag1","hashtag2"]},{"1341896005":["hashtag1","hashtag2"]},{"1341895923":["hashtag1","hashtag2"]},{"1341895964":["hashtag1","hashtag2"]},{"1341895793":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341895862, 1341895943, 1341896005, 1341895923, 1341895964, 1341895793)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.79470205307007 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 15:06:02.511528
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/15/05/image_08032025_15_05_46_10042.jpg', 2), ('/home/nano/Desktop/images/08032025/15/05/image_08032025_15_05_36_10037.jpg', 2), ('/home/nano/Desktop/images/08032025/15/05/image_08032025_15_05_25_10036.jpg', 2), ('/home/nano/Desktop/images/08032025/15/05/image_08032025_15_05_15_10035.jpg', 2), ('/home/nano/Desktop/images/08032025/15/04/image_08032025_15_05_05_10038.jpg', 2), ('/home/nano/Desktop/images/08032025/15/04/image_08032025_15_04_55_10041.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/15/05/image_08032025_15_05_46_10042.jpg', '/home/nano/Desktop/images/08032025/15/05/image_08032025_15_05_36_10037.jpg', '/home/nano/Desktop/images/08032025/15/05/image_08032025_15_05_25_10036.jpg', '/home/nano/Desktop/images/08032025/15/05/image_08032025_15_05_15_10035.jpg', '/home/nano/Desktop/images/08032025/15/04/image_08032025_15_05_05_10038.jpg', '/home/nano/Desktop/images/08032025/15/04/image_08032025_15_04_55_10041.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/15/05/image_08032025_15_05_46_10042.jpg
/home/nano/Desktop/images/08032025/15/05/image_08032025_15_05_36_10037.jpg
/home/nano/Desktop/images/08032025/15/05/image_08032025_15_05_25_10036.jpg
/home/nano/Desktop/images/08032025/15/05/image_08032025_15_05_15_10035.jpg
/home/nano/Desktop/images/08032025/15/04/image_08032025_15_05_05_10038.jpg
/home/nano/Desktop/images/08032025/15/04/image_08032025_15_04_55_10041.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341896653","1341896787","1341896874","1341896682","1341896916","1341896687"],"photo_ids_order":["1341896653","1341896682","1341896687","1341896787","1341896874","1341896916"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/b22ba1f339588a37d4f75dd689c5414d.jpg","text":"TemporaryFile(/tmp/multipartBody6134835365034070943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741442823023,"filename":"image_08032025_15_05_46_10042.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/3f7d263a24c4730590f8ea011bc73777.jpg","text":"TemporaryFile(/tmp/multipartBody8363542848151999496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741442823023,"filename":"image_08032025_15_05_15_10035.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/cb795f5eedbbcfc8fccfd5f304bd8448.jpg","text":"TemporaryFile(/tmp/multipartBody3159552048939327656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741442823023,"filename":"image_08032025_15_05_05_10038.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/055d245ecad4848570d7441c885d38da.jpg","text":"TemporaryFile(/tmp/multipartBody1744455373780913898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741442823023,"filename":"image_08032025_15_05_36_10037.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/d660639da2f954f10027526c824eaa90.jpg","text":"TemporaryFile(/tmp/multipartBody904706110740157313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741442823023,"filename":"image_08032025_15_04_55_10041.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/5e5d615113050aba3c754ca1c6df8a5b.jpg","text":"TemporaryFile(/tmp/multipartBody353551512025890923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741442823023,"filename":"image_08032025_15_05_25_10036.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341896687","file1":"1341896682","file0":"1341896653","file4":"1341896874","file5":"1341896916","file3":"1341896787"},"map_files_photo_id_array":[{"photo_id":"1341896916","filename":"file5"},{"photo_id":"1341896687","filename":"file2"},{"photo_id":"1341896874","filename":"file4"},{"photo_id":"1341896682","filename":"file1"},{"photo_id":"1341896653","filename":"file0"},{"photo_id":"1341896787","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341896653":["hashtag1","hashtag2"]},{"1341896787":["hashtag1","hashtag2"]},{"1341896874":["hashtag1","hashtag2"]},{"1341896682":["hashtag1","hashtag2"]},{"1341896916":["hashtag1","hashtag2"]},{"1341896687":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341896653, 1341896787, 1341896874, 1341896682, 1341896916, 1341896687)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.26014471054077 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 15:07:02.660936
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/15/06/image_08032025_15_06_45_10050.jpg', 2), ('/home/nano/Desktop/images/08032025/15/06/image_08032025_15_06_35_10032.jpg', 2), ('/home/nano/Desktop/images/08032025/15/06/image_08032025_15_06_25_10041.jpg', 2), ('/home/nano/Desktop/images/08032025/15/06/image_08032025_15_06_15_10037.jpg', 2), ('/home/nano/Desktop/images/08032025/15/05/image_08032025_15_06_05_10050.jpg', 2), ('/home/nano/Desktop/images/08032025/15/05/image_08032025_15_05_55_9024.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/15/06/image_08032025_15_06_45_10050.jpg', '/home/nano/Desktop/images/08032025/15/06/image_08032025_15_06_35_10032.jpg', '/home/nano/Desktop/images/08032025/15/06/image_08032025_15_06_25_10041.jpg', '/home/nano/Desktop/images/08032025/15/06/image_08032025_15_06_15_10037.jpg', '/home/nano/Desktop/images/08032025/15/05/image_08032025_15_06_05_10050.jpg', '/home/nano/Desktop/images/08032025/15/05/image_08032025_15_05_55_9024.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/15/06/image_08032025_15_06_45_10050.jpg
/home/nano/Desktop/images/08032025/15/06/image_08032025_15_06_35_10032.jpg
/home/nano/Desktop/images/08032025/15/06/image_08032025_15_06_25_10041.jpg
/home/nano/Desktop/images/08032025/15/06/image_08032025_15_06_15_10037.jpg
/home/nano/Desktop/images/08032025/15/05/image_08032025_15_06_05_10050.jpg
/home/nano/Desktop/images/08032025/15/05/image_08032025_15_05_55_9024.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341897352","1341897247","1341897115","1341897400","1341897150","1341897187"],"photo_ids_order":["1341897115","1341897150","1341897187","1341897247","1341897352","1341897400"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/0d59be0b2690011282279a216e684a79.jpg","text":"TemporaryFile(/tmp/multipartBody6147767020476323861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741442883248,"filename":"image_08032025_15_06_05_10050.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/cce7ebd338eb52cceda66be2477c4e6d.jpg","text":"TemporaryFile(/tmp/multipartBody726836294819735433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741442883248,"filename":"image_08032025_15_06_15_10037.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/51cdb07b73638679a94e72d66c1c4acc.jpg","text":"TemporaryFile(/tmp/multipartBody385754421357162650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741442883248,"filename":"image_08032025_15_06_45_10050.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/9fdbf9ebb71d1c657392d6dfc1d61073.jpg","text":"TemporaryFile(/tmp/multipartBody6777968742811445208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741442883248,"filename":"image_08032025_15_05_55_9024.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/f5ef2e750a7d66a604d04e6678626fc5.jpg","text":"TemporaryFile(/tmp/multipartBody6705870584810852318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741442883248,"filename":"image_08032025_15_06_35_10032.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/56acf3c896093198994f895641fdc43d.jpg","text":"TemporaryFile(/tmp/multipartBody7124705120838954598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741442883248,"filename":"image_08032025_15_06_25_10041.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341897187","file1":"1341897150","file0":"1341897115","file4":"1341897352","file5":"1341897400","file3":"1341897247"},"map_files_photo_id_array":[{"photo_id":"1341897400","filename":"file5"},{"photo_id":"1341897187","filename":"file2"},{"photo_id":"1341897352","filename":"file4"},{"photo_id":"1341897150","filename":"file1"},{"photo_id":"1341897115","filename":"file0"},{"photo_id":"1341897247","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341897352":["hashtag1","hashtag2"]},{"1341897247":["hashtag1","hashtag2"]},{"1341897115":["hashtag1","hashtag2"]},{"1341897400":["hashtag1","hashtag2"]},{"1341897150":["hashtag1","hashtag2"]},{"1341897187":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341897352, 1341897247, 1341897115, 1341897400, 1341897150, 1341897187)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.461710691452026 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 15:08:02.671070
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/15/07/image_08032025_15_07_45_10041.jpg', 2), ('/home/nano/Desktop/images/08032025/15/07/image_08032025_15_07_35_10059.jpg', 2), ('/home/nano/Desktop/images/08032025/15/07/image_08032025_15_07_25_10062.jpg', 2), ('/home/nano/Desktop/images/08032025/15/07/image_08032025_15_07_15_10060.jpg', 2), ('/home/nano/Desktop/images/08032025/15/06/image_08032025_15_07_05_10056.jpg', 2), ('/home/nano/Desktop/images/08032025/15/06/image_08032025_15_06_55_10039.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/15/07/image_08032025_15_07_45_10041.jpg', '/home/nano/Desktop/images/08032025/15/07/image_08032025_15_07_35_10059.jpg', '/home/nano/Desktop/images/08032025/15/07/image_08032025_15_07_25_10062.jpg', '/home/nano/Desktop/images/08032025/15/07/image_08032025_15_07_15_10060.jpg', '/home/nano/Desktop/images/08032025/15/06/image_08032025_15_07_05_10056.jpg', '/home/nano/Desktop/images/08032025/15/06/image_08032025_15_06_55_10039.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/15/07/image_08032025_15_07_45_10041.jpg
/home/nano/Desktop/images/08032025/15/07/image_08032025_15_07_35_10059.jpg
/home/nano/Desktop/images/08032025/15/07/image_08032025_15_07_25_10062.jpg
/home/nano/Desktop/images/08032025/15/07/image_08032025_15_07_15_10060.jpg
/home/nano/Desktop/images/08032025/15/06/image_08032025_15_07_05_10056.jpg
/home/nano/Desktop/images/08032025/15/06/image_08032025_15_06_55_10039.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341897672","1341897717","1341897624","1341897752","1341897586","1341897595"],"photo_ids_order":["1341897586","1341897595","1341897624","1341897672","1341897717","1341897752"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/9597c2f5d4b09fb627f7e54a65845494.jpg","text":"TemporaryFile(/tmp/multipartBody3875345336656585753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741442943350,"filename":"image_08032025_15_07_15_10060.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/fecb2126fb071ad4568b1cafb4ffde2d.jpg","text":"TemporaryFile(/tmp/multipartBody1696164518391430590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741442943350,"filename":"image_08032025_15_07_05_10056.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/bb8b2c3754c72205ab0e9b6388799ddf.jpg","text":"TemporaryFile(/tmp/multipartBody4052108945510891963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741442943350,"filename":"image_08032025_15_07_25_10062.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/bb6630cc6d1a91ef9b08c84c86a4a11b.jpg","text":"TemporaryFile(/tmp/multipartBody5941504669419666092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741442943350,"filename":"image_08032025_15_06_55_10039.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/b51f6613defbd38785d5ae4ff754c198.jpg","text":"TemporaryFile(/tmp/multipartBody1337837643063093600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741442943350,"filename":"image_08032025_15_07_45_10041.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/9caaa0bd8c2a2e2f2b82100de5a0c53d.jpg","text":"TemporaryFile(/tmp/multipartBody128817432376925295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741442943350,"filename":"image_08032025_15_07_35_10059.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341897624","file1":"1341897595","file0":"1341897586","file4":"1341897717","file5":"1341897752","file3":"1341897672"},"map_files_photo_id_array":[{"photo_id":"1341897752","filename":"file5"},{"photo_id":"1341897624","filename":"file2"},{"photo_id":"1341897717","filename":"file4"},{"photo_id":"1341897595","filename":"file1"},{"photo_id":"1341897586","filename":"file0"},{"photo_id":"1341897672","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341897672":["hashtag1","hashtag2"]},{"1341897717":["hashtag1","hashtag2"]},{"1341897624":["hashtag1","hashtag2"]},{"1341897752":["hashtag1","hashtag2"]},{"1341897586":["hashtag1","hashtag2"]},{"1341897595":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341897672, 1341897717, 1341897624, 1341897752, 1341897586, 1341897595)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.02755260467529 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 15:09:02.948229
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/15/08/image_08032025_15_08_45_10036.jpg', 2), ('/home/nano/Desktop/images/08032025/15/08/image_08032025_15_08_35_10032.jpg', 2), ('/home/nano/Desktop/images/08032025/15/08/image_08032025_15_08_25_10029.jpg', 2), ('/home/nano/Desktop/images/08032025/15/08/image_08032025_15_08_15_10033.jpg', 2), ('/home/nano/Desktop/images/08032025/15/07/image_08032025_15_08_05_10077.jpg', 2), ('/home/nano/Desktop/images/08032025/15/07/image_08032025_15_07_55_10059.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/15/08/image_08032025_15_08_45_10036.jpg', '/home/nano/Desktop/images/08032025/15/08/image_08032025_15_08_35_10032.jpg', '/home/nano/Desktop/images/08032025/15/08/image_08032025_15_08_25_10029.jpg', '/home/nano/Desktop/images/08032025/15/08/image_08032025_15_08_15_10033.jpg', '/home/nano/Desktop/images/08032025/15/07/image_08032025_15_08_05_10077.jpg', '/home/nano/Desktop/images/08032025/15/07/image_08032025_15_07_55_10059.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/15/08/image_08032025_15_08_45_10036.jpg
/home/nano/Desktop/images/08032025/15/08/image_08032025_15_08_35_10032.jpg
/home/nano/Desktop/images/08032025/15/08/image_08032025_15_08_25_10029.jpg
/home/nano/Desktop/images/08032025/15/08/image_08032025_15_08_15_10033.jpg
/home/nano/Desktop/images/08032025/15/07/image_08032025_15_08_05_10077.jpg
/home/nano/Desktop/images/08032025/15/07/image_08032025_15_07_55_10059.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341898191","1341898017","1341898047","1341898163","1341898093","1341898072"],"photo_ids_order":["1341898017","1341898047","1341898072","1341898093","1341898163","1341898191"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/1badcbcf22e77ac7b20887a03aaa99ed.jpg","text":"TemporaryFile(/tmp/multipartBody2431963938579977354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741443003442,"filename":"image_08032025_15_07_55_10059.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/99b186e3bd28b1b29a02084b198ab82a.jpg","text":"TemporaryFile(/tmp/multipartBody4801965900601339353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741443003442,"filename":"image_08032025_15_08_45_10036.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/b4852b3aa28105599063036c8a699cbe.jpg","text":"TemporaryFile(/tmp/multipartBody6402930564065528008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741443003442,"filename":"image_08032025_15_08_35_10032.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/ee0ad41145e4deebb3090cb744123a24.jpg","text":"TemporaryFile(/tmp/multipartBody2461811868707213053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741443003442,"filename":"image_08032025_15_08_05_10077.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/b31cd3b36e33d42b96d9bb09af55fa46.jpg","text":"TemporaryFile(/tmp/multipartBody2484661078315285461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741443003442,"filename":"image_08032025_15_08_15_10033.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/a874070c40078eafe95f4e3f630d4917.jpg","text":"TemporaryFile(/tmp/multipartBody4461048308610851435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741443003442,"filename":"image_08032025_15_08_25_10029.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341898072","file1":"1341898047","file0":"1341898017","file4":"1341898163","file5":"1341898191","file3":"1341898093"},"map_files_photo_id_array":[{"photo_id":"1341898191","filename":"file5"},{"photo_id":"1341898072","filename":"file2"},{"photo_id":"1341898163","filename":"file4"},{"photo_id":"1341898047","filename":"file1"},{"photo_id":"1341898017","filename":"file0"},{"photo_id":"1341898093","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341898191":["hashtag1","hashtag2"]},{"1341898017":["hashtag1","hashtag2"]},{"1341898047":["hashtag1","hashtag2"]},{"1341898163":["hashtag1","hashtag2"]},{"1341898093":["hashtag1","hashtag2"]},{"1341898072":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341898191, 1341898017, 1341898047, 1341898163, 1341898093, 1341898072)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.47092366218567 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 15:10:03.058720
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/15/09/image_08032025_15_09_45_10038.jpg', 2), ('/home/nano/Desktop/images/08032025/15/09/image_08032025_15_09_35_10034.jpg', 2), ('/home/nano/Desktop/images/08032025/15/09/image_08032025_15_09_25_9045.jpg', 2), ('/home/nano/Desktop/images/08032025/15/09/image_08032025_15_09_16_10060.jpg', 2), ('/home/nano/Desktop/images/08032025/15/08/image_08032025_15_09_05_10054.jpg', 2), ('/home/nano/Desktop/images/08032025/15/08/image_08032025_15_08_55_10035.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/15/09/image_08032025_15_09_45_10038.jpg', '/home/nano/Desktop/images/08032025/15/09/image_08032025_15_09_35_10034.jpg', '/home/nano/Desktop/images/08032025/15/09/image_08032025_15_09_25_9045.jpg', '/home/nano/Desktop/images/08032025/15/09/image_08032025_15_09_16_10060.jpg', '/home/nano/Desktop/images/08032025/15/08/image_08032025_15_09_05_10054.jpg', '/home/nano/Desktop/images/08032025/15/08/image_08032025_15_08_55_10035.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/15/09/image_08032025_15_09_45_10038.jpg
/home/nano/Desktop/images/08032025/15/09/image_08032025_15_09_35_10034.jpg
/home/nano/Desktop/images/08032025/15/09/image_08032025_15_09_25_9045.jpg
/home/nano/Desktop/images/08032025/15/09/image_08032025_15_09_16_10060.jpg
/home/nano/Desktop/images/08032025/15/08/image_08032025_15_09_05_10054.jpg
/home/nano/Desktop/images/08032025/15/08/image_08032025_15_08_55_10035.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341898695","1341898578","1341898592","1341898673","1341898552","1341898621"],"photo_ids_order":["1341898552","1341898578","1341898592","1341898621","1341898673","1341898695"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/20a9357ce96a6b867e783dd0108a0e62.jpg","text":"TemporaryFile(/tmp/multipartBody3090065353096986507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741443063563,"filename":"image_08032025_15_08_55_10035.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/f70cc093d00acb2e01305ec6f6262b1e.jpg","text":"TemporaryFile(/tmp/multipartBody2094113248218572428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741443063563,"filename":"image_08032025_15_09_35_10034.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/510109f2397457c153adc6b9791b9992.jpg","text":"TemporaryFile(/tmp/multipartBody6437935963358159996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741443063563,"filename":"image_08032025_15_09_25_9045.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/60c7b70a42aabc6b740d24987d7c7f37.jpg","text":"TemporaryFile(/tmp/multipartBody1457940671375616192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741443063563,"filename":"image_08032025_15_09_05_10054.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/d33b2763624433cc2d697c46eb004259.jpg","text":"TemporaryFile(/tmp/multipartBody5230456551446028316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741443063563,"filename":"image_08032025_15_09_45_10038.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/1c20885635c16bef58453f301d5d02ef.jpg","text":"TemporaryFile(/tmp/multipartBody7869227505897581193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741443063563,"filename":"image_08032025_15_09_16_10060.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341898592","file1":"1341898578","file0":"1341898552","file4":"1341898673","file5":"1341898695","file3":"1341898621"},"map_files_photo_id_array":[{"photo_id":"1341898695","filename":"file5"},{"photo_id":"1341898592","filename":"file2"},{"photo_id":"1341898673","filename":"file4"},{"photo_id":"1341898578","filename":"file1"},{"photo_id":"1341898552","filename":"file0"},{"photo_id":"1341898621","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341898695":["hashtag1","hashtag2"]},{"1341898578":["hashtag1","hashtag2"]},{"1341898592":["hashtag1","hashtag2"]},{"1341898673":["hashtag1","hashtag2"]},{"1341898552":["hashtag1","hashtag2"]},{"1341898621":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341898695, 1341898578, 1341898592, 1341898673, 1341898552, 1341898621)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.560375928878784 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 15:11:03.204592
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/15/10/image_08032025_15_11_05_10044.jpg', 2), ('/home/nano/Desktop/images/08032025/15/10/image_08032025_15_10_45_10033.jpg', 2), ('/home/nano/Desktop/images/08032025/15/10/image_08032025_15_10_35_10042.jpg', 2), ('/home/nano/Desktop/images/08032025/15/10/image_08032025_15_10_25_10038.jpg', 2), ('/home/nano/Desktop/images/08032025/15/10/image_08032025_15_10_15_10043.jpg', 2), ('/home/nano/Desktop/images/08032025/15/09/image_08032025_15_10_05_10057.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/15/10/image_08032025_15_11_05_10044.jpg', '/home/nano/Desktop/images/08032025/15/10/image_08032025_15_10_45_10033.jpg', '/home/nano/Desktop/images/08032025/15/10/image_08032025_15_10_35_10042.jpg', '/home/nano/Desktop/images/08032025/15/10/image_08032025_15_10_25_10038.jpg', '/home/nano/Desktop/images/08032025/15/10/image_08032025_15_10_15_10043.jpg', '/home/nano/Desktop/images/08032025/15/09/image_08032025_15_10_05_10057.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/15/10/image_08032025_15_11_05_10044.jpg
/home/nano/Desktop/images/08032025/15/10/image_08032025_15_10_45_10033.jpg
/home/nano/Desktop/images/08032025/15/10/image_08032025_15_10_35_10042.jpg
/home/nano/Desktop/images/08032025/15/10/image_08032025_15_10_25_10038.jpg
/home/nano/Desktop/images/08032025/15/10/image_08032025_15_10_15_10043.jpg
/home/nano/Desktop/images/08032025/15/09/image_08032025_15_10_05_10057.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341898929","1341898982","1341898958","1341898922","1341898896","1341898909"],"photo_ids_order":["1341898896","1341898909","1341898922","1341898929","1341898958","1341898982"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/145f66116ce6790c9687a83c61d156ee.jpg","text":"TemporaryFile(/tmp/multipartBody4439324010373336140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741443123708,"filename":"image_08032025_15_10_25_10038.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/d540c3932472f326529759bb29035bf3.jpg","text":"TemporaryFile(/tmp/multipartBody5471644267972721879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741443123708,"filename":"image_08032025_15_10_05_10057.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/211a76d3bb488293c331977ce3b74401.jpg","text":"TemporaryFile(/tmp/multipartBody2419436941542146541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741443123708,"filename":"image_08032025_15_10_15_10043.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/960cb0941d8059b6e682680cbdf3cba4.jpg","text":"TemporaryFile(/tmp/multipartBody165539562036904134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741443123708,"filename":"image_08032025_15_10_35_10042.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/6c226c705ceb27bae0d708207f78fc65.jpg","text":"TemporaryFile(/tmp/multipartBody6164314771600798743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741443123708,"filename":"image_08032025_15_11_05_10044.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/383d74e7e1c4b470e03db260a0a76065.jpg","text":"TemporaryFile(/tmp/multipartBody4191882831371752627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741443123708,"filename":"image_08032025_15_10_45_10033.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341898922","file1":"1341898909","file0":"1341898896","file4":"1341898958","file5":"1341898982","file3":"1341898929"},"map_files_photo_id_array":[{"photo_id":"1341898982","filename":"file5"},{"photo_id":"1341898922","filename":"file2"},{"photo_id":"1341898958","filename":"file4"},{"photo_id":"1341898909","filename":"file1"},{"photo_id":"1341898896","filename":"file0"},{"photo_id":"1341898929","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341898929":["hashtag1","hashtag2"]},{"1341898982":["hashtag1","hashtag2"]},{"1341898958":["hashtag1","hashtag2"]},{"1341898922":["hashtag1","hashtag2"]},{"1341898896":["hashtag1","hashtag2"]},{"1341898909":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341898929, 1341898982, 1341898958, 1341898922, 1341898896, 1341898909)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.673219203948975 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 15:12:03.160741
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/15/11/image_08032025_15_11_45_10061.jpg', 2), ('/home/nano/Desktop/images/08032025/15/11/image_08032025_15_11_35_10042.jpg', 2), ('/home/nano/Desktop/images/08032025/15/11/image_08032025_15_11_25_10040.jpg', 2), ('/home/nano/Desktop/images/08032025/15/11/image_08032025_15_11_15_10045.jpg', 2), ('/home/nano/Desktop/images/08032025/15/10/image_08032025_15_10_55_10035.jpg', 2), ('/home/nano/Desktop/images/08032025/15/09/image_08032025_15_09_55_10036.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/15/11/image_08032025_15_11_45_10061.jpg', '/home/nano/Desktop/images/08032025/15/11/image_08032025_15_11_35_10042.jpg', '/home/nano/Desktop/images/08032025/15/11/image_08032025_15_11_25_10040.jpg', '/home/nano/Desktop/images/08032025/15/11/image_08032025_15_11_15_10045.jpg', '/home/nano/Desktop/images/08032025/15/10/image_08032025_15_10_55_10035.jpg', '/home/nano/Desktop/images/08032025/15/09/image_08032025_15_09_55_10036.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/15/11/image_08032025_15_11_45_10061.jpg
/home/nano/Desktop/images/08032025/15/11/image_08032025_15_11_35_10042.jpg
/home/nano/Desktop/images/08032025/15/11/image_08032025_15_11_25_10040.jpg
/home/nano/Desktop/images/08032025/15/11/image_08032025_15_11_15_10045.jpg
/home/nano/Desktop/images/08032025/15/10/image_08032025_15_10_55_10035.jpg
/home/nano/Desktop/images/08032025/15/09/image_08032025_15_09_55_10036.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341899061","1341899069","1341899074","1341899056","1341899065","1341899058"],"photo_ids_order":["1341899056","1341899058","1341899061","1341899065","1341899069","1341899074"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/d58358edcaaf7f78ed064d197e99600c.jpg","text":"TemporaryFile(/tmp/multipartBody6161581848805605373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741443183759,"filename":"image_08032025_15_11_25_10040.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/81788fa2eb2cd37191d28208a93e6bae.jpg","text":"TemporaryFile(/tmp/multipartBody182396706889579260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741443183759,"filename":"image_08032025_15_10_55_10035.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/e9c77b8750f888b0e7e856d43b08dcd4.jpg","text":"TemporaryFile(/tmp/multipartBody4068431864084211552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741443183759,"filename":"image_08032025_15_09_55_10036.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/0300f9933bd051ae6fb31ac6430016e5.jpg","text":"TemporaryFile(/tmp/multipartBody7645601995333309986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741443183759,"filename":"image_08032025_15_11_45_10061.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/b183fcb526c9eabeb466274d4b0f5913.jpg","text":"TemporaryFile(/tmp/multipartBody642792730556928208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741443183759,"filename":"image_08032025_15_11_15_10045.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/6aa473f58a22bc2563490af92d8bbab4.jpg","text":"TemporaryFile(/tmp/multipartBody419993224044675559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741443183759,"filename":"image_08032025_15_11_35_10042.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341899061","file1":"1341899058","file0":"1341899056","file4":"1341899069","file5":"1341899074","file3":"1341899065"},"map_files_photo_id_array":[{"photo_id":"1341899074","filename":"file5"},{"photo_id":"1341899061","filename":"file2"},{"photo_id":"1341899069","filename":"file4"},{"photo_id":"1341899058","filename":"file1"},{"photo_id":"1341899056","filename":"file0"},{"photo_id":"1341899065","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341899061":["hashtag1","hashtag2"]},{"1341899069":["hashtag1","hashtag2"]},{"1341899074":["hashtag1","hashtag2"]},{"1341899056":["hashtag1","hashtag2"]},{"1341899065":["hashtag1","hashtag2"]},{"1341899058":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341899061, 1341899069, 1341899074, 1341899056, 1341899065, 1341899058)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.941192626953125 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 15:13:02.394599
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/15/12/image_08032025_15_12_45_10038.jpg', 2), ('/home/nano/Desktop/images/08032025/15/12/image_08032025_15_12_35_10041.jpg', 2), ('/home/nano/Desktop/images/08032025/15/12/image_08032025_15_12_25_10040.jpg', 2), ('/home/nano/Desktop/images/08032025/15/12/image_08032025_15_12_15_10047.jpg', 2), ('/home/nano/Desktop/images/08032025/15/11/image_08032025_15_12_05_10058.jpg', 2), ('/home/nano/Desktop/images/08032025/15/11/image_08032025_15_11_55_10045.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/15/12/image_08032025_15_12_45_10038.jpg', '/home/nano/Desktop/images/08032025/15/12/image_08032025_15_12_35_10041.jpg', '/home/nano/Desktop/images/08032025/15/12/image_08032025_15_12_25_10040.jpg', '/home/nano/Desktop/images/08032025/15/12/image_08032025_15_12_15_10047.jpg', '/home/nano/Desktop/images/08032025/15/11/image_08032025_15_12_05_10058.jpg', '/home/nano/Desktop/images/08032025/15/11/image_08032025_15_11_55_10045.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/15/12/image_08032025_15_12_45_10038.jpg
/home/nano/Desktop/images/08032025/15/12/image_08032025_15_12_35_10041.jpg
/home/nano/Desktop/images/08032025/15/12/image_08032025_15_12_25_10040.jpg
/home/nano/Desktop/images/08032025/15/12/image_08032025_15_12_15_10047.jpg
/home/nano/Desktop/images/08032025/15/11/image_08032025_15_12_05_10058.jpg
/home/nano/Desktop/images/08032025/15/11/image_08032025_15_11_55_10045.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341899100","1341899098","1341899102","1341899095","1341899104","1341899107"],"photo_ids_order":["1341899095","1341899098","1341899100","1341899102","1341899104","1341899107"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/e3473219f2ab58c67bde4f7b6019e059.jpg","text":"TemporaryFile(/tmp/multipartBody1889934386409178682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741443243008,"filename":"image_08032025_15_12_25_10040.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/3e1f27ed217813f740c0d997753c9632.jpg","text":"TemporaryFile(/tmp/multipartBody8879151704313559824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741443243008,"filename":"image_08032025_15_12_35_10041.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/a9787afb625d26f8416d37594ab60f76.jpg","text":"TemporaryFile(/tmp/multipartBody4314822771998023122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741443243008,"filename":"image_08032025_15_12_15_10047.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/534dd2ec9e8d002f87000e8b558b381c.jpg","text":"TemporaryFile(/tmp/multipartBody7269978352146507733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741443243008,"filename":"image_08032025_15_12_45_10038.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/93c2b0dcc2c39e49f7aa1ddd94c2313c.jpg","text":"TemporaryFile(/tmp/multipartBody4643077119423934298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741443243008,"filename":"image_08032025_15_12_05_10058.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/fe66d55ca8667e059b43059c308cde6f.jpg","text":"TemporaryFile(/tmp/multipartBody345041488623095807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741443243008,"filename":"image_08032025_15_11_55_10045.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341899100","file1":"1341899098","file0":"1341899095","file4":"1341899104","file5":"1341899107","file3":"1341899102"},"map_files_photo_id_array":[{"photo_id":"1341899107","filename":"file5"},{"photo_id":"1341899100","filename":"file2"},{"photo_id":"1341899104","filename":"file4"},{"photo_id":"1341899098","filename":"file1"},{"photo_id":"1341899095","filename":"file0"},{"photo_id":"1341899102","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341899100":["hashtag1","hashtag2"]},{"1341899098":["hashtag1","hashtag2"]},{"1341899102":["hashtag1","hashtag2"]},{"1341899095":["hashtag1","hashtag2"]},{"1341899104":["hashtag1","hashtag2"]},{"1341899107":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341899100, 1341899098, 1341899102, 1341899095, 1341899104, 1341899107)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.6326208114624 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 15:14:02.661264
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/15/13/image_08032025_15_13_45_10039.jpg', 2), ('/home/nano/Desktop/images/08032025/15/13/image_08032025_15_13_35_10042.jpg', 2), ('/home/nano/Desktop/images/08032025/15/13/image_08032025_15_13_25_10038.jpg', 2), ('/home/nano/Desktop/images/08032025/15/13/image_08032025_15_13_15_9032.jpg', 2), ('/home/nano/Desktop/images/08032025/15/12/image_08032025_15_13_06_10076.jpg', 2), ('/home/nano/Desktop/images/08032025/15/12/image_08032025_15_12_56_10042.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/15/13/image_08032025_15_13_45_10039.jpg', '/home/nano/Desktop/images/08032025/15/13/image_08032025_15_13_35_10042.jpg', '/home/nano/Desktop/images/08032025/15/13/image_08032025_15_13_25_10038.jpg', '/home/nano/Desktop/images/08032025/15/13/image_08032025_15_13_15_9032.jpg', '/home/nano/Desktop/images/08032025/15/12/image_08032025_15_13_06_10076.jpg', '/home/nano/Desktop/images/08032025/15/12/image_08032025_15_12_56_10042.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/15/13/image_08032025_15_13_45_10039.jpg
/home/nano/Desktop/images/08032025/15/13/image_08032025_15_13_35_10042.jpg
/home/nano/Desktop/images/08032025/15/13/image_08032025_15_13_25_10038.jpg
/home/nano/Desktop/images/08032025/15/13/image_08032025_15_13_15_9032.jpg
/home/nano/Desktop/images/08032025/15/12/image_08032025_15_13_06_10076.jpg
/home/nano/Desktop/images/08032025/15/12/image_08032025_15_12_56_10042.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341899253","1341899195","1341899168","1341899276","1341899228","1341899224"],"photo_ids_order":["1341899168","1341899195","1341899224","1341899228","1341899253","1341899276"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/394d1cd28eef43460c4f2eb1bfb0cff9.jpg","text":"TemporaryFile(/tmp/multipartBody755798707530173331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741443303151,"filename":"image_08032025_15_13_06_10076.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/8012c7deb679c88c76d8aa41663f2b07.jpg","text":"TemporaryFile(/tmp/multipartBody8898723308035628498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741443303151,"filename":"image_08032025_15_13_35_10042.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/53bb80127e34aa35704bb9cd22cf9c3c.jpg","text":"TemporaryFile(/tmp/multipartBody3456165952112523848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741443303151,"filename":"image_08032025_15_13_45_10039.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/e28023d89a10b07a026a9511555900f8.jpg","text":"TemporaryFile(/tmp/multipartBody4330051005556387313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741443303151,"filename":"image_08032025_15_12_56_10042.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/5b0551098be4f8b48ab75fc71e66f494.jpg","text":"TemporaryFile(/tmp/multipartBody5884313757569310299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741443303151,"filename":"image_08032025_15_13_15_9032.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/5e1e7fece632640b1000c028cecd7ad0.jpg","text":"TemporaryFile(/tmp/multipartBody304319278924161300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741443303151,"filename":"image_08032025_15_13_25_10038.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341899224","file1":"1341899195","file0":"1341899168","file4":"1341899253","file5":"1341899276","file3":"1341899228"},"map_files_photo_id_array":[{"photo_id":"1341899276","filename":"file5"},{"photo_id":"1341899224","filename":"file2"},{"photo_id":"1341899253","filename":"file4"},{"photo_id":"1341899195","filename":"file1"},{"photo_id":"1341899168","filename":"file0"},{"photo_id":"1341899228","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341899253":["hashtag1","hashtag2"]},{"1341899195":["hashtag1","hashtag2"]},{"1341899168":["hashtag1","hashtag2"]},{"1341899276":["hashtag1","hashtag2"]},{"1341899228":["hashtag1","hashtag2"]},{"1341899224":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341899253, 1341899195, 1341899168, 1341899276, 1341899228, 1341899224)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.879772663116455 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 15:15:02.607357
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/15/14/image_08032025_15_14_45_10029.jpg', 2), ('/home/nano/Desktop/images/08032025/15/14/image_08032025_15_14_35_10032.jpg', 2), ('/home/nano/Desktop/images/08032025/15/14/image_08032025_15_14_25_10032.jpg', 2), ('/home/nano/Desktop/images/08032025/15/14/image_08032025_15_14_15_10033.jpg', 2), ('/home/nano/Desktop/images/08032025/15/13/image_08032025_15_14_05_10043.jpg', 2), ('/home/nano/Desktop/images/08032025/15/13/image_08032025_15_13_55_10023.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/15/14/image_08032025_15_14_45_10029.jpg', '/home/nano/Desktop/images/08032025/15/14/image_08032025_15_14_35_10032.jpg', '/home/nano/Desktop/images/08032025/15/14/image_08032025_15_14_25_10032.jpg', '/home/nano/Desktop/images/08032025/15/14/image_08032025_15_14_15_10033.jpg', '/home/nano/Desktop/images/08032025/15/13/image_08032025_15_14_05_10043.jpg', '/home/nano/Desktop/images/08032025/15/13/image_08032025_15_13_55_10023.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/15/14/image_08032025_15_14_45_10029.jpg
/home/nano/Desktop/images/08032025/15/14/image_08032025_15_14_35_10032.jpg
/home/nano/Desktop/images/08032025/15/14/image_08032025_15_14_25_10032.jpg
/home/nano/Desktop/images/08032025/15/14/image_08032025_15_14_15_10033.jpg
/home/nano/Desktop/images/08032025/15/13/image_08032025_15_14_05_10043.jpg
/home/nano/Desktop/images/08032025/15/13/image_08032025_15_13_55_10023.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341899375","1341899362","1341899452","1341899446","1341899388","1341899382"],"photo_ids_order":["1341899362","1341899375","1341899382","1341899388","1341899446","1341899452"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/03a6291dab656ad4409be849a32cdf9a.jpg","text":"TemporaryFile(/tmp/multipartBody3218688529391107097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741443363068,"filename":"image_08032025_15_14_35_10032.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/4c98ff6e71b29ec3b281e587e8f78f39.jpg","text":"TemporaryFile(/tmp/multipartBody1141372480509745647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741443363068,"filename":"image_08032025_15_14_45_10029.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/cc3f82acbf85694f372bf2bc92a6d298.jpg","text":"TemporaryFile(/tmp/multipartBody4024701806768760399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741443363068,"filename":"image_08032025_15_13_55_10023.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/530b4b4620d28dd1abe118ac1fae677c.jpg","text":"TemporaryFile(/tmp/multipartBody5549488674388072350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741443363068,"filename":"image_08032025_15_14_05_10043.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/c8c257d850822b0cb3af4710f4435daf.jpg","text":"TemporaryFile(/tmp/multipartBody19280552128974247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741443363068,"filename":"image_08032025_15_14_15_10033.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/6c8b4f5be35f4032151721fd1445c6a9.jpg","text":"TemporaryFile(/tmp/multipartBody1645209433355950655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741443363068,"filename":"image_08032025_15_14_25_10032.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341899382","file1":"1341899375","file0":"1341899362","file4":"1341899446","file5":"1341899452","file3":"1341899388"},"map_files_photo_id_array":[{"photo_id":"1341899452","filename":"file5"},{"photo_id":"1341899382","filename":"file2"},{"photo_id":"1341899446","filename":"file4"},{"photo_id":"1341899375","filename":"file1"},{"photo_id":"1341899362","filename":"file0"},{"photo_id":"1341899388","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341899375":["hashtag1","hashtag2"]},{"1341899362":["hashtag1","hashtag2"]},{"1341899452":["hashtag1","hashtag2"]},{"1341899446":["hashtag1","hashtag2"]},{"1341899388":["hashtag1","hashtag2"]},{"1341899382":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341899375, 1341899362, 1341899452, 1341899446, 1341899388, 1341899382)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.288262605667114 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 15:16:02.679422
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/15/15/image_08032025_15_15_45_10034.jpg', 2), ('/home/nano/Desktop/images/08032025/15/15/image_08032025_15_15_35_10036.jpg', 2), ('/home/nano/Desktop/images/08032025/15/15/image_08032025_15_15_25_10057.jpg', 2), ('/home/nano/Desktop/images/08032025/15/15/image_08032025_15_15_15_10035.jpg', 2), ('/home/nano/Desktop/images/08032025/15/14/image_08032025_15_15_05_10041.jpg', 2), ('/home/nano/Desktop/images/08032025/15/14/image_08032025_15_14_55_10036.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/15/15/image_08032025_15_15_45_10034.jpg', '/home/nano/Desktop/images/08032025/15/15/image_08032025_15_15_35_10036.jpg', '/home/nano/Desktop/images/08032025/15/15/image_08032025_15_15_25_10057.jpg', '/home/nano/Desktop/images/08032025/15/15/image_08032025_15_15_15_10035.jpg', '/home/nano/Desktop/images/08032025/15/14/image_08032025_15_15_05_10041.jpg', '/home/nano/Desktop/images/08032025/15/14/image_08032025_15_14_55_10036.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/15/15/image_08032025_15_15_45_10034.jpg
/home/nano/Desktop/images/08032025/15/15/image_08032025_15_15_35_10036.jpg
/home/nano/Desktop/images/08032025/15/15/image_08032025_15_15_25_10057.jpg
/home/nano/Desktop/images/08032025/15/15/image_08032025_15_15_15_10035.jpg
/home/nano/Desktop/images/08032025/15/14/image_08032025_15_15_05_10041.jpg
/home/nano/Desktop/images/08032025/15/14/image_08032025_15_14_55_10036.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.515650749206543 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 marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 15:16:32.100515
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/15/16/image_08032025_15_16_45_10038.jpg', 2), ('/home/nano/Desktop/images/08032025/15/16/image_08032025_15_16_35_10037.jpg', 2), ('/home/nano/Desktop/images/08032025/15/16/image_08032025_15_16_25_10030.jpg', 2), ('/home/nano/Desktop/images/08032025/15/16/image_08032025_15_16_15_10037.jpg', 2), ('/home/nano/Desktop/images/08032025/15/15/image_08032025_15_16_05_10049.jpg', 2), ('/home/nano/Desktop/images/08032025/15/15/image_08032025_15_15_55_10042.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/15/16/image_08032025_15_16_45_10038.jpg', '/home/nano/Desktop/images/08032025/15/16/image_08032025_15_16_35_10037.jpg', '/home/nano/Desktop/images/08032025/15/16/image_08032025_15_16_25_10030.jpg', '/home/nano/Desktop/images/08032025/15/16/image_08032025_15_16_15_10037.jpg', '/home/nano/Desktop/images/08032025/15/15/image_08032025_15_16_05_10049.jpg', '/home/nano/Desktop/images/08032025/15/15/image_08032025_15_15_55_10042.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/15/16/image_08032025_15_16_45_10038.jpg
/home/nano/Desktop/images/08032025/15/16/image_08032025_15_16_35_10037.jpg
/home/nano/Desktop/images/08032025/15/16/image_08032025_15_16_25_10030.jpg
/home/nano/Desktop/images/08032025/15/16/image_08032025_15_16_15_10037.jpg
/home/nano/Desktop/images/08032025/15/15/image_08032025_15_16_05_10049.jpg
/home/nano/Desktop/images/08032025/15/15/image_08032025_15_15_55_10042.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341899579","1341899567","1341899583","1341899571","1341899574","1341899577"],"photo_ids_order":["1341899567","1341899571","1341899574","1341899577","1341899579","1341899583"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/4d3a892caf30961002119b353dfb1d6c.jpg","text":"TemporaryFile(/tmp/multipartBody4805188754512256153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741443452527,"filename":"image_08032025_15_16_05_10049.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/06a61cfd2130ebee9cef03a25a50942a.jpg","text":"TemporaryFile(/tmp/multipartBody2610944951396796475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741443452527,"filename":"image_08032025_15_16_45_10038.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/fc8ae8b9d4937ca55a2ed45aa49dd421.jpg","text":"TemporaryFile(/tmp/multipartBody1246874201261693844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741443452527,"filename":"image_08032025_15_15_55_10042.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/f0c7ee39f9f7417dd055946cb928155a.jpg","text":"TemporaryFile(/tmp/multipartBody1694217737278948019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741443452527,"filename":"image_08032025_15_16_35_10037.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/c723cfe964c41635c7c88e18ac88dea6.jpg","text":"TemporaryFile(/tmp/multipartBody7409354556610717401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741443452527,"filename":"image_08032025_15_16_25_10030.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/6fcc98b6fd7d6273f52f4341b567e39e.jpg","text":"TemporaryFile(/tmp/multipartBody5765005651519784397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741443452527,"filename":"image_08032025_15_16_15_10037.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341899574","file1":"1341899571","file0":"1341899567","file4":"1341899579","file5":"1341899583","file3":"1341899577"},"map_files_photo_id_array":[{"photo_id":"1341899583","filename":"file5"},{"photo_id":"1341899574","filename":"file2"},{"photo_id":"1341899579","filename":"file4"},{"photo_id":"1341899571","filename":"file1"},{"photo_id":"1341899567","filename":"file0"},{"photo_id":"1341899577","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341899579":["hashtag1","hashtag2"]},{"1341899567":["hashtag1","hashtag2"]},{"1341899583":["hashtag1","hashtag2"]},{"1341899571":["hashtag1","hashtag2"]},{"1341899574":["hashtag1","hashtag2"]},{"1341899577":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341899579, 1341899567, 1341899583, 1341899571, 1341899574, 1341899577)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.2192325592041 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 15:17:32.212968
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/15/17/image_08032025_15_17_45_10037.jpg', 2), ('/home/nano/Desktop/images/08032025/15/17/image_08032025_15_17_35_10034.jpg', 2), ('/home/nano/Desktop/images/08032025/15/17/image_08032025_15_17_25_9053.jpg', 2), ('/home/nano/Desktop/images/08032025/15/17/image_08032025_15_17_16_10030.jpg', 2), ('/home/nano/Desktop/images/08032025/15/16/image_08032025_15_17_06_10074.jpg', 2), ('/home/nano/Desktop/images/08032025/15/16/image_08032025_15_16_55_10037.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/15/17/image_08032025_15_17_45_10037.jpg', '/home/nano/Desktop/images/08032025/15/17/image_08032025_15_17_35_10034.jpg', '/home/nano/Desktop/images/08032025/15/17/image_08032025_15_17_25_9053.jpg', '/home/nano/Desktop/images/08032025/15/17/image_08032025_15_17_16_10030.jpg', '/home/nano/Desktop/images/08032025/15/16/image_08032025_15_17_06_10074.jpg', '/home/nano/Desktop/images/08032025/15/16/image_08032025_15_16_55_10037.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/15/17/image_08032025_15_17_45_10037.jpg
/home/nano/Desktop/images/08032025/15/17/image_08032025_15_17_35_10034.jpg
/home/nano/Desktop/images/08032025/15/17/image_08032025_15_17_25_9053.jpg
/home/nano/Desktop/images/08032025/15/17/image_08032025_15_17_16_10030.jpg
/home/nano/Desktop/images/08032025/15/16/image_08032025_15_17_06_10074.jpg
/home/nano/Desktop/images/08032025/15/16/image_08032025_15_16_55_10037.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341899616","1341899625","1341899604","1341899612","1341899600","1341899608"],"photo_ids_order":["1341899600","1341899604","1341899608","1341899612","1341899616","1341899625"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/7a2e7714d9a87a9c36e4951b80945ea5.jpg","text":"TemporaryFile(/tmp/multipartBody9173341251743868566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741443512652,"filename":"image_08032025_15_17_06_10074.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/0502582258efca48c5e9cd8ab2f6a1be.jpg","text":"TemporaryFile(/tmp/multipartBody3850706874377657035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741443512652,"filename":"image_08032025_15_16_55_10037.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/f17593e2fdd60d4880d3c5dc4c7029a8.jpg","text":"TemporaryFile(/tmp/multipartBody6854782642667325858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741443512652,"filename":"image_08032025_15_17_35_10034.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/aa84e1bc78a28cd86dc2b0f8efca5fe7.jpg","text":"TemporaryFile(/tmp/multipartBody5075027118682521348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741443512652,"filename":"image_08032025_15_17_16_10030.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/d7997ddeea9d085df46e11bb62323645.jpg","text":"TemporaryFile(/tmp/multipartBody4366425967053138298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741443512652,"filename":"image_08032025_15_17_45_10037.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/e8d693f9a43217a254dfb1eb124d622b.jpg","text":"TemporaryFile(/tmp/multipartBody6069837603657182541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741443512652,"filename":"image_08032025_15_17_25_9053.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341899608","file1":"1341899604","file0":"1341899600","file4":"1341899616","file5":"1341899625","file3":"1341899612"},"map_files_photo_id_array":[{"photo_id":"1341899625","filename":"file5"},{"photo_id":"1341899608","filename":"file2"},{"photo_id":"1341899616","filename":"file4"},{"photo_id":"1341899604","filename":"file1"},{"photo_id":"1341899600","filename":"file0"},{"photo_id":"1341899612","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341899616":["hashtag1","hashtag2"]},{"1341899625":["hashtag1","hashtag2"]},{"1341899604":["hashtag1","hashtag2"]},{"1341899612":["hashtag1","hashtag2"]},{"1341899600":["hashtag1","hashtag2"]},{"1341899608":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341899616, 1341899625, 1341899604, 1341899612, 1341899600, 1341899608)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.15642809867859 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 15:18:32.306235
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/15/18/image_08032025_15_18_45_10035.jpg', 2), ('/home/nano/Desktop/images/08032025/15/18/image_08032025_15_18_35_10031.jpg', 2), ('/home/nano/Desktop/images/08032025/15/18/image_08032025_15_18_25_10036.jpg', 2), ('/home/nano/Desktop/images/08032025/15/18/image_08032025_15_18_15_10031.jpg', 2), ('/home/nano/Desktop/images/08032025/15/17/image_08032025_15_18_05_10045.jpg', 2), ('/home/nano/Desktop/images/08032025/15/17/image_08032025_15_17_55_10036.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/15/18/image_08032025_15_18_45_10035.jpg', '/home/nano/Desktop/images/08032025/15/18/image_08032025_15_18_35_10031.jpg', '/home/nano/Desktop/images/08032025/15/18/image_08032025_15_18_25_10036.jpg', '/home/nano/Desktop/images/08032025/15/18/image_08032025_15_18_15_10031.jpg', '/home/nano/Desktop/images/08032025/15/17/image_08032025_15_18_05_10045.jpg', '/home/nano/Desktop/images/08032025/15/17/image_08032025_15_17_55_10036.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/15/18/image_08032025_15_18_45_10035.jpg
/home/nano/Desktop/images/08032025/15/18/image_08032025_15_18_35_10031.jpg
/home/nano/Desktop/images/08032025/15/18/image_08032025_15_18_25_10036.jpg
/home/nano/Desktop/images/08032025/15/18/image_08032025_15_18_15_10031.jpg
/home/nano/Desktop/images/08032025/15/17/image_08032025_15_18_05_10045.jpg
/home/nano/Desktop/images/08032025/15/17/image_08032025_15_17_55_10036.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341899966","1341900037","1341900034","1341899705","1341899782","1341899853"],"photo_ids_order":["1341899705","1341899782","1341899853","1341899966","1341900034","1341900037"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/f908cbfdd4cc119a32d39a3638a945c2.jpg","text":"TemporaryFile(/tmp/multipartBody2578356674685794034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741443572750,"filename":"image_08032025_15_18_15_10031.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/fe3fe497fbcb166664142c05f94079d2.jpg","text":"TemporaryFile(/tmp/multipartBody4294546208983591882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741443572750,"filename":"image_08032025_15_17_55_10036.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/18062408f7e4ed898693ea84a8d15d51.jpg","text":"TemporaryFile(/tmp/multipartBody1464214762553132331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741443572750,"filename":"image_08032025_15_18_05_10045.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/1450fab1f1888323f24b6feea9618bf9.jpg","text":"TemporaryFile(/tmp/multipartBody7348731097041025565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741443572750,"filename":"image_08032025_15_18_45_10035.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/94e98f23959a02bbc9adf56972cf9ad4.jpg","text":"TemporaryFile(/tmp/multipartBody1462047065954952188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741443572750,"filename":"image_08032025_15_18_35_10031.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/9e045ec36e95156dd4d301a64768dfb5.jpg","text":"TemporaryFile(/tmp/multipartBody8403073229124637019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741443572750,"filename":"image_08032025_15_18_25_10036.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341899853","file1":"1341899782","file0":"1341899705","file4":"1341900034","file5":"1341900037","file3":"1341899966"},"map_files_photo_id_array":[{"photo_id":"1341900037","filename":"file5"},{"photo_id":"1341899853","filename":"file2"},{"photo_id":"1341900034","filename":"file4"},{"photo_id":"1341899782","filename":"file1"},{"photo_id":"1341899705","filename":"file0"},{"photo_id":"1341899966","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341899966":["hashtag1","hashtag2"]},{"1341900037":["hashtag1","hashtag2"]},{"1341900034":["hashtag1","hashtag2"]},{"1341899705":["hashtag1","hashtag2"]},{"1341899782":["hashtag1","hashtag2"]},{"1341899853":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341899966, 1341900037, 1341900034, 1341899705, 1341899782, 1341899853)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.29875612258911 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 15:19:32.414739
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/15/19/image_08032025_15_19_45_10033.jpg', 2), ('/home/nano/Desktop/images/08032025/15/19/image_08032025_15_19_35_10032.jpg', 2), ('/home/nano/Desktop/images/08032025/15/19/image_08032025_15_19_25_10045.jpg', 2), ('/home/nano/Desktop/images/08032025/15/19/image_08032025_15_19_15_10036.jpg', 2), ('/home/nano/Desktop/images/08032025/15/18/image_08032025_15_19_05_10042.jpg', 2), ('/home/nano/Desktop/images/08032025/15/18/image_08032025_15_18_55_10029.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/15/19/image_08032025_15_19_45_10033.jpg', '/home/nano/Desktop/images/08032025/15/19/image_08032025_15_19_35_10032.jpg', '/home/nano/Desktop/images/08032025/15/19/image_08032025_15_19_25_10045.jpg', '/home/nano/Desktop/images/08032025/15/19/image_08032025_15_19_15_10036.jpg', '/home/nano/Desktop/images/08032025/15/18/image_08032025_15_19_05_10042.jpg', '/home/nano/Desktop/images/08032025/15/18/image_08032025_15_18_55_10029.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/15/19/image_08032025_15_19_45_10033.jpg
/home/nano/Desktop/images/08032025/15/19/image_08032025_15_19_35_10032.jpg
/home/nano/Desktop/images/08032025/15/19/image_08032025_15_19_25_10045.jpg
/home/nano/Desktop/images/08032025/15/19/image_08032025_15_19_15_10036.jpg
/home/nano/Desktop/images/08032025/15/18/image_08032025_15_19_05_10042.jpg
/home/nano/Desktop/images/08032025/15/18/image_08032025_15_18_55_10029.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341900302","1341900253","1341900396","1341900372","1341900312","1341900296"],"photo_ids_order":["1341900253","1341900296","1341900302","1341900312","1341900372","1341900396"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/0e0026612f4e2485d4e474f562a23ed8.jpg","text":"TemporaryFile(/tmp/multipartBody5661090190292608347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741443632858,"filename":"image_08032025_15_19_25_10045.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/f09ab2e23c7d184a6ac73fecca27cbd9.jpg","text":"TemporaryFile(/tmp/multipartBody1094320432128381531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741443632858,"filename":"image_08032025_15_19_45_10033.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/27303dd1de90068da23cfd51e214e714.jpg","text":"TemporaryFile(/tmp/multipartBody7782926532805822722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741443632858,"filename":"image_08032025_15_18_55_10029.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/10aad41137a5fef266f3d223dbc63fce.jpg","text":"TemporaryFile(/tmp/multipartBody8904038136192576462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741443632858,"filename":"image_08032025_15_19_05_10042.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/9c103df03c02b427bed545b7d130a5a4.jpg","text":"TemporaryFile(/tmp/multipartBody7941193474112430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741443632858,"filename":"image_08032025_15_19_15_10036.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/b989bd0d9da1b6268c57546e8ce13bf1.jpg","text":"TemporaryFile(/tmp/multipartBody8433002939066222133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741443632858,"filename":"image_08032025_15_19_35_10032.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341900302","file1":"1341900296","file0":"1341900253","file4":"1341900372","file5":"1341900396","file3":"1341900312"},"map_files_photo_id_array":[{"photo_id":"1341900396","filename":"file5"},{"photo_id":"1341900302","filename":"file2"},{"photo_id":"1341900372","filename":"file4"},{"photo_id":"1341900296","filename":"file1"},{"photo_id":"1341900253","filename":"file0"},{"photo_id":"1341900312","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341900302":["hashtag1","hashtag2"]},{"1341900253":["hashtag1","hashtag2"]},{"1341900396":["hashtag1","hashtag2"]},{"1341900372":["hashtag1","hashtag2"]},{"1341900312":["hashtag1","hashtag2"]},{"1341900296":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341900302, 1341900253, 1341900396, 1341900372, 1341900312, 1341900296)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.67709469795227 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 15:20:32.588211
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/15/20/image_08032025_15_20_45_10030.jpg', 2), ('/home/nano/Desktop/images/08032025/15/20/image_08032025_15_20_35_10040.jpg', 2), ('/home/nano/Desktop/images/08032025/15/20/image_08032025_15_20_25_10038.jpg', 2), ('/home/nano/Desktop/images/08032025/15/20/image_08032025_15_20_15_10060.jpg', 2), ('/home/nano/Desktop/images/08032025/15/19/image_08032025_15_20_05_10044.jpg', 2), ('/home/nano/Desktop/images/08032025/15/19/image_08032025_15_19_55_10036.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/15/20/image_08032025_15_20_45_10030.jpg', '/home/nano/Desktop/images/08032025/15/20/image_08032025_15_20_35_10040.jpg', '/home/nano/Desktop/images/08032025/15/20/image_08032025_15_20_25_10038.jpg', '/home/nano/Desktop/images/08032025/15/20/image_08032025_15_20_15_10060.jpg', '/home/nano/Desktop/images/08032025/15/19/image_08032025_15_20_05_10044.jpg', '/home/nano/Desktop/images/08032025/15/19/image_08032025_15_19_55_10036.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/15/20/image_08032025_15_20_45_10030.jpg
/home/nano/Desktop/images/08032025/15/20/image_08032025_15_20_35_10040.jpg
/home/nano/Desktop/images/08032025/15/20/image_08032025_15_20_25_10038.jpg
/home/nano/Desktop/images/08032025/15/20/image_08032025_15_20_15_10060.jpg
/home/nano/Desktop/images/08032025/15/19/image_08032025_15_20_05_10044.jpg
/home/nano/Desktop/images/08032025/15/19/image_08032025_15_19_55_10036.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341900713","1341900643","1341900690","1341900616","1341900672","1341900746"],"photo_ids_order":["1341900616","1341900643","1341900672","1341900690","1341900713","1341900746"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/8afa0a09be5448cc090469723e395a6d.jpg","text":"TemporaryFile(/tmp/multipartBody7225435319664209782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741443693038,"filename":"image_08032025_15_20_05_10044.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/a8b57a869b2a287d32694d2d727bcdfe.jpg","text":"TemporaryFile(/tmp/multipartBody6861541012416095725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741443693038,"filename":"image_08032025_15_20_35_10040.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/c506350d86fd583b719d92a6af3affe0.jpg","text":"TemporaryFile(/tmp/multipartBody8972126071406205779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741443693038,"filename":"image_08032025_15_20_15_10060.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/192ca97396d51826d80f14f68a49d9ce.jpg","text":"TemporaryFile(/tmp/multipartBody3549521320840699638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741443693038,"filename":"image_08032025_15_20_45_10030.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/0d2b5f0a1ceeb097a03300bc9e38118a.jpg","text":"TemporaryFile(/tmp/multipartBody7578820080835998023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741443693038,"filename":"image_08032025_15_20_25_10038.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/95da59488bfae183f9ff6806154979cf.jpg","text":"TemporaryFile(/tmp/multipartBody2374019137860679424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741443693038,"filename":"image_08032025_15_19_55_10036.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341900672","file1":"1341900643","file0":"1341900616","file4":"1341900713","file5":"1341900746","file3":"1341900690"},"map_files_photo_id_array":[{"photo_id":"1341900746","filename":"file5"},{"photo_id":"1341900672","filename":"file2"},{"photo_id":"1341900713","filename":"file4"},{"photo_id":"1341900643","filename":"file1"},{"photo_id":"1341900616","filename":"file0"},{"photo_id":"1341900690","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341900713":["hashtag1","hashtag2"]},{"1341900643":["hashtag1","hashtag2"]},{"1341900690":["hashtag1","hashtag2"]},{"1341900616":["hashtag1","hashtag2"]},{"1341900672":["hashtag1","hashtag2"]},{"1341900746":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341900713, 1341900643, 1341900690, 1341900616, 1341900672, 1341900746)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.203747510910034 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 15:21:32.673408
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/15/21/image_08032025_15_21_45_9027.jpg', 2), ('/home/nano/Desktop/images/08032025/15/21/image_08032025_15_21_36_10038.jpg', 2), ('/home/nano/Desktop/images/08032025/15/21/image_08032025_15_21_26_10037.jpg', 2), ('/home/nano/Desktop/images/08032025/15/21/image_08032025_15_21_16_10032.jpg', 2), ('/home/nano/Desktop/images/08032025/15/20/image_08032025_15_21_05_10073.jpg', 2), ('/home/nano/Desktop/images/08032025/15/20/image_08032025_15_20_55_10033.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/15/21/image_08032025_15_21_45_9027.jpg', '/home/nano/Desktop/images/08032025/15/21/image_08032025_15_21_36_10038.jpg', '/home/nano/Desktop/images/08032025/15/21/image_08032025_15_21_26_10037.jpg', '/home/nano/Desktop/images/08032025/15/21/image_08032025_15_21_16_10032.jpg', '/home/nano/Desktop/images/08032025/15/20/image_08032025_15_21_05_10073.jpg', '/home/nano/Desktop/images/08032025/15/20/image_08032025_15_20_55_10033.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/15/21/image_08032025_15_21_45_9027.jpg
/home/nano/Desktop/images/08032025/15/21/image_08032025_15_21_36_10038.jpg
/home/nano/Desktop/images/08032025/15/21/image_08032025_15_21_26_10037.jpg
/home/nano/Desktop/images/08032025/15/21/image_08032025_15_21_16_10032.jpg
/home/nano/Desktop/images/08032025/15/20/image_08032025_15_21_05_10073.jpg
/home/nano/Desktop/images/08032025/15/20/image_08032025_15_20_55_10033.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341900862","1341900865","1341901009","1341900870","1341900855","1341900939"],"photo_ids_order":["1341900855","1341900862","1341900865","1341900870","1341900939","1341901009"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/3ce5aba68234a3026f6b41a49a41d953.jpg","text":"TemporaryFile(/tmp/multipartBody8772808277124648039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741443753118,"filename":"image_08032025_15_21_36_10038.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/0931ed4cdb198514acd16202955c7e85.jpg","text":"TemporaryFile(/tmp/multipartBody3286575983039213028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741443753118,"filename":"image_08032025_15_21_26_10037.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/505927baed7cb6397d7214d5d7156a42.jpg","text":"TemporaryFile(/tmp/multipartBody2559518212696649817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741443753118,"filename":"image_08032025_15_20_55_10033.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/b84c72516cb9525f15d443faad843273.jpg","text":"TemporaryFile(/tmp/multipartBody7541869100048396008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741443753118,"filename":"image_08032025_15_21_16_10032.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/8c675455e096f32058e219d084496130.jpg","text":"TemporaryFile(/tmp/multipartBody7488586219422615969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741443753118,"filename":"image_08032025_15_21_45_9027.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/08053bb81a4390c522cd3962c14d54c7.jpg","text":"TemporaryFile(/tmp/multipartBody5775881879426654115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741443753118,"filename":"image_08032025_15_21_05_10073.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341900865","file1":"1341900862","file0":"1341900855","file4":"1341900939","file5":"1341901009","file3":"1341900870"},"map_files_photo_id_array":[{"photo_id":"1341901009","filename":"file5"},{"photo_id":"1341900865","filename":"file2"},{"photo_id":"1341900939","filename":"file4"},{"photo_id":"1341900862","filename":"file1"},{"photo_id":"1341900855","filename":"file0"},{"photo_id":"1341900870","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341900862":["hashtag1","hashtag2"]},{"1341900865":["hashtag1","hashtag2"]},{"1341901009":["hashtag1","hashtag2"]},{"1341900870":["hashtag1","hashtag2"]},{"1341900855":["hashtag1","hashtag2"]},{"1341900939":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341900862, 1341900865, 1341901009, 1341900870, 1341900855, 1341900939)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.127455711364746 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 15:22:31.789939
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/15/22/image_08032025_15_22_45_10042.jpg', 2), ('/home/nano/Desktop/images/08032025/15/22/image_08032025_15_22_35_10032.jpg', 2), ('/home/nano/Desktop/images/08032025/15/22/image_08032025_15_22_25_10035.jpg', 2), ('/home/nano/Desktop/images/08032025/15/22/image_08032025_15_22_15_10045.jpg', 2), ('/home/nano/Desktop/images/08032025/15/21/image_08032025_15_22_05_10057.jpg', 2), ('/home/nano/Desktop/images/08032025/15/21/image_08032025_15_21_55_10033.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/15/22/image_08032025_15_22_45_10042.jpg', '/home/nano/Desktop/images/08032025/15/22/image_08032025_15_22_35_10032.jpg', '/home/nano/Desktop/images/08032025/15/22/image_08032025_15_22_25_10035.jpg', '/home/nano/Desktop/images/08032025/15/22/image_08032025_15_22_15_10045.jpg', '/home/nano/Desktop/images/08032025/15/21/image_08032025_15_22_05_10057.jpg', '/home/nano/Desktop/images/08032025/15/21/image_08032025_15_21_55_10033.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/15/22/image_08032025_15_22_45_10042.jpg
/home/nano/Desktop/images/08032025/15/22/image_08032025_15_22_35_10032.jpg
/home/nano/Desktop/images/08032025/15/22/image_08032025_15_22_25_10035.jpg
/home/nano/Desktop/images/08032025/15/22/image_08032025_15_22_15_10045.jpg
/home/nano/Desktop/images/08032025/15/21/image_08032025_15_22_05_10057.jpg
/home/nano/Desktop/images/08032025/15/21/image_08032025_15_21_55_10033.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341901197","1341901272","1341901254","1341901268","1341901178","1341901265"],"photo_ids_order":["1341901178","1341901197","1341901254","1341901265","1341901268","1341901272"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/7a5ded98db87da9d05be393679a86511.jpg","text":"TemporaryFile(/tmp/multipartBody2294674402444927753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741443812233,"filename":"image_08032025_15_22_35_10032.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/6f5fd7ce2b26b8c3e6c1e0bbd6379142.jpg","text":"TemporaryFile(/tmp/multipartBody1558685318507482863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741443812233,"filename":"image_08032025_15_21_55_10033.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/dca06ae3409a87a6d33723eca1a9c18b.jpg","text":"TemporaryFile(/tmp/multipartBody3784696157327128904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741443812233,"filename":"image_08032025_15_22_25_10035.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/aef3d2c37c222ffdb981823e1d89bf38.jpg","text":"TemporaryFile(/tmp/multipartBody8670775325430723531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741443812233,"filename":"image_08032025_15_22_05_10057.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/6a7c52ae44288be458a005d15fc87faf.jpg","text":"TemporaryFile(/tmp/multipartBody1547599815199377226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741443812233,"filename":"image_08032025_15_22_45_10042.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/5fe2c2b0fcdb03b86756ac69797b1c41.jpg","text":"TemporaryFile(/tmp/multipartBody7067690201866493060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741443812233,"filename":"image_08032025_15_22_15_10045.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341901254","file1":"1341901197","file0":"1341901178","file4":"1341901268","file5":"1341901272","file3":"1341901265"},"map_files_photo_id_array":[{"photo_id":"1341901272","filename":"file5"},{"photo_id":"1341901254","filename":"file2"},{"photo_id":"1341901268","filename":"file4"},{"photo_id":"1341901197","filename":"file1"},{"photo_id":"1341901178","filename":"file0"},{"photo_id":"1341901265","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341901197":["hashtag1","hashtag2"]},{"1341901272":["hashtag1","hashtag2"]},{"1341901254":["hashtag1","hashtag2"]},{"1341901268":["hashtag1","hashtag2"]},{"1341901178":["hashtag1","hashtag2"]},{"1341901265":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341901197, 1341901272, 1341901254, 1341901268, 1341901178, 1341901265)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.282044649124146 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 15:23:31.914979
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/15/23/image_08032025_15_23_45_10040.jpg', 2), ('/home/nano/Desktop/images/08032025/15/23/image_08032025_15_23_35_10034.jpg', 2), ('/home/nano/Desktop/images/08032025/15/23/image_08032025_15_23_25_10035.jpg', 2), ('/home/nano/Desktop/images/08032025/15/23/image_08032025_15_23_15_10043.jpg', 2), ('/home/nano/Desktop/images/08032025/15/22/image_08032025_15_23_05_10052.jpg', 2), ('/home/nano/Desktop/images/08032025/15/22/image_08032025_15_22_55_10035.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/15/23/image_08032025_15_23_45_10040.jpg', '/home/nano/Desktop/images/08032025/15/23/image_08032025_15_23_35_10034.jpg', '/home/nano/Desktop/images/08032025/15/23/image_08032025_15_23_25_10035.jpg', '/home/nano/Desktop/images/08032025/15/23/image_08032025_15_23_15_10043.jpg', '/home/nano/Desktop/images/08032025/15/22/image_08032025_15_23_05_10052.jpg', '/home/nano/Desktop/images/08032025/15/22/image_08032025_15_22_55_10035.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/15/23/image_08032025_15_23_45_10040.jpg
/home/nano/Desktop/images/08032025/15/23/image_08032025_15_23_35_10034.jpg
/home/nano/Desktop/images/08032025/15/23/image_08032025_15_23_25_10035.jpg
/home/nano/Desktop/images/08032025/15/23/image_08032025_15_23_15_10043.jpg
/home/nano/Desktop/images/08032025/15/22/image_08032025_15_23_05_10052.jpg
/home/nano/Desktop/images/08032025/15/22/image_08032025_15_22_55_10035.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341901348","1341901423","1341901356","1341901431","1341901427","1341901418"],"photo_ids_order":["1341901348","1341901356","1341901418","1341901423","1341901427","1341901431"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/93ea7502b1956d707bccc1841b0ad9b7.jpg","text":"TemporaryFile(/tmp/multipartBody134304991082868532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741443872364,"filename":"image_08032025_15_23_45_10040.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/0464d1cbc70b3eea921b1f02b51d5403.jpg","text":"TemporaryFile(/tmp/multipartBody7359196428115650038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741443872364,"filename":"image_08032025_15_23_15_10043.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/cf3a44bbf9b97725bf009447aa3303a2.jpg","text":"TemporaryFile(/tmp/multipartBody5274357208097951012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741443872364,"filename":"image_08032025_15_23_35_10034.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/c5136c9cabf56d044849d63130d8af3a.jpg","text":"TemporaryFile(/tmp/multipartBody3624101263981790390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741443872364,"filename":"image_08032025_15_22_55_10035.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/8e01497e375ce9663ffdaeaadd36ed3e.jpg","text":"TemporaryFile(/tmp/multipartBody4426466389231818396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741443872364,"filename":"image_08032025_15_23_05_10052.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/2eeec025a6162a236b3731d1dc278711.jpg","text":"TemporaryFile(/tmp/multipartBody8081954401261429524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741443872364,"filename":"image_08032025_15_23_25_10035.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341901418","file1":"1341901356","file0":"1341901348","file4":"1341901427","file5":"1341901431","file3":"1341901423"},"map_files_photo_id_array":[{"photo_id":"1341901431","filename":"file5"},{"photo_id":"1341901418","filename":"file2"},{"photo_id":"1341901427","filename":"file4"},{"photo_id":"1341901356","filename":"file1"},{"photo_id":"1341901348","filename":"file0"},{"photo_id":"1341901423","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341901348":["hashtag1","hashtag2"]},{"1341901423":["hashtag1","hashtag2"]},{"1341901356":["hashtag1","hashtag2"]},{"1341901431":["hashtag1","hashtag2"]},{"1341901427":["hashtag1","hashtag2"]},{"1341901418":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341901348, 1341901423, 1341901356, 1341901431, 1341901427, 1341901418)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.656776428222656 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 15:24:32.022813
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/15/24/image_08032025_15_24_45_10056.jpg', 2), ('/home/nano/Desktop/images/08032025/15/24/image_08032025_15_24_35_10033.jpg', 2), ('/home/nano/Desktop/images/08032025/15/24/image_08032025_15_24_25_10038.jpg', 2), ('/home/nano/Desktop/images/08032025/15/24/image_08032025_15_24_15_10044.jpg', 2), ('/home/nano/Desktop/images/08032025/15/23/image_08032025_15_24_05_10048.jpg', 2), ('/home/nano/Desktop/images/08032025/15/23/image_08032025_15_23_55_10032.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/15/24/image_08032025_15_24_45_10056.jpg', '/home/nano/Desktop/images/08032025/15/24/image_08032025_15_24_35_10033.jpg', '/home/nano/Desktop/images/08032025/15/24/image_08032025_15_24_25_10038.jpg', '/home/nano/Desktop/images/08032025/15/24/image_08032025_15_24_15_10044.jpg', '/home/nano/Desktop/images/08032025/15/23/image_08032025_15_24_05_10048.jpg', '/home/nano/Desktop/images/08032025/15/23/image_08032025_15_23_55_10032.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/15/24/image_08032025_15_24_45_10056.jpg
/home/nano/Desktop/images/08032025/15/24/image_08032025_15_24_35_10033.jpg
/home/nano/Desktop/images/08032025/15/24/image_08032025_15_24_25_10038.jpg
/home/nano/Desktop/images/08032025/15/24/image_08032025_15_24_15_10044.jpg
/home/nano/Desktop/images/08032025/15/23/image_08032025_15_24_05_10048.jpg
/home/nano/Desktop/images/08032025/15/23/image_08032025_15_23_55_10032.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341901459","1341901455","1341901446","1341901463","1341901466","1341901451"],"photo_ids_order":["1341901446","1341901451","1341901455","1341901459","1341901463","1341901466"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/e75fd17d1af8a611213d110a381b5cf8.jpg","text":"TemporaryFile(/tmp/multipartBody6451330845349118126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741443932464,"filename":"image_08032025_15_24_15_10044.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/ffc9ef31981457da91de7e5a94dfdc38.jpg","text":"TemporaryFile(/tmp/multipartBody4539751279425281567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741443932464,"filename":"image_08032025_15_24_25_10038.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/0be644552a6b029240f2a01a990a30a4.jpg","text":"TemporaryFile(/tmp/multipartBody4394703830246372220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741443932464,"filename":"image_08032025_15_24_45_10056.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/67ac1b4e168b1905b1dc01e5396b1e3d.jpg","text":"TemporaryFile(/tmp/multipartBody3666852209423685967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741443932464,"filename":"image_08032025_15_24_05_10048.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/be149019463b8afc42e5807aa2465288.jpg","text":"TemporaryFile(/tmp/multipartBody1074276340076268567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741443932464,"filename":"image_08032025_15_23_55_10032.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/7b5d0666dcc458f7b834a1b26ddac0dd.jpg","text":"TemporaryFile(/tmp/multipartBody1171995025184805329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741443932464,"filename":"image_08032025_15_24_35_10033.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341901455","file1":"1341901451","file0":"1341901446","file4":"1341901463","file5":"1341901466","file3":"1341901459"},"map_files_photo_id_array":[{"photo_id":"1341901466","filename":"file5"},{"photo_id":"1341901455","filename":"file2"},{"photo_id":"1341901463","filename":"file4"},{"photo_id":"1341901451","filename":"file1"},{"photo_id":"1341901446","filename":"file0"},{"photo_id":"1341901459","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341901459":["hashtag1","hashtag2"]},{"1341901455":["hashtag1","hashtag2"]},{"1341901446":["hashtag1","hashtag2"]},{"1341901463":["hashtag1","hashtag2"]},{"1341901466":["hashtag1","hashtag2"]},{"1341901451":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341901459, 1341901455, 1341901446, 1341901463, 1341901466, 1341901451)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.751237869262695 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 15:25:32.118532
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/15/25/image_08032025_15_25_45_9024.jpg', 2), ('/home/nano/Desktop/images/08032025/15/25/image_08032025_15_25_36_10039.jpg', 2), ('/home/nano/Desktop/images/08032025/15/25/image_08032025_15_25_26_10057.jpg', 2), ('/home/nano/Desktop/images/08032025/15/25/image_08032025_15_25_15_10039.jpg', 2), ('/home/nano/Desktop/images/08032025/15/24/image_08032025_15_25_05_10045.jpg', 2), ('/home/nano/Desktop/images/08032025/15/24/image_08032025_15_24_55_10040.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/15/25/image_08032025_15_25_45_9024.jpg', '/home/nano/Desktop/images/08032025/15/25/image_08032025_15_25_36_10039.jpg', '/home/nano/Desktop/images/08032025/15/25/image_08032025_15_25_26_10057.jpg', '/home/nano/Desktop/images/08032025/15/25/image_08032025_15_25_15_10039.jpg', '/home/nano/Desktop/images/08032025/15/24/image_08032025_15_25_05_10045.jpg', '/home/nano/Desktop/images/08032025/15/24/image_08032025_15_24_55_10040.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/15/25/image_08032025_15_25_45_9024.jpg
/home/nano/Desktop/images/08032025/15/25/image_08032025_15_25_36_10039.jpg
/home/nano/Desktop/images/08032025/15/25/image_08032025_15_25_26_10057.jpg
/home/nano/Desktop/images/08032025/15/25/image_08032025_15_25_15_10039.jpg
/home/nano/Desktop/images/08032025/15/24/image_08032025_15_25_05_10045.jpg
/home/nano/Desktop/images/08032025/15/24/image_08032025_15_24_55_10040.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341901511","1341901525","1341901479","1341901484","1341901529","1341901520"],"photo_ids_order":["1341901479","1341901484","1341901511","1341901520","1341901525","1341901529"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/6bd46ce222bc3dc9d65c2d594a579085.jpg","text":"TemporaryFile(/tmp/multipartBody7138094626103298288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741443992735,"filename":"image_08032025_15_25_26_10057.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/4338c1e8ed8caac84d4ca1b10309d1c6.jpg","text":"TemporaryFile(/tmp/multipartBody1990402307002318542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741443992735,"filename":"image_08032025_15_25_05_10045.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/244d88752071b36777ab2e906d60c297.jpg","text":"TemporaryFile(/tmp/multipartBody1215306532632406658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741443992735,"filename":"image_08032025_15_25_45_9024.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/ec585794b00d247fa7ff56f2f0fb42ec.jpg","text":"TemporaryFile(/tmp/multipartBody5035124855189341088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741443992735,"filename":"image_08032025_15_25_36_10039.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/f4fcd1e65a1d98bed51d6d03b5985e95.jpg","text":"TemporaryFile(/tmp/multipartBody112259761797973258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741443992735,"filename":"image_08032025_15_24_55_10040.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/f5ed32e893367e2be03c0dc93933b48e.jpg","text":"TemporaryFile(/tmp/multipartBody9053214014374170199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741443992735,"filename":"image_08032025_15_25_15_10039.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341901511","file1":"1341901484","file0":"1341901479","file4":"1341901525","file5":"1341901529","file3":"1341901520"},"map_files_photo_id_array":[{"photo_id":"1341901529","filename":"file5"},{"photo_id":"1341901511","filename":"file2"},{"photo_id":"1341901525","filename":"file4"},{"photo_id":"1341901484","filename":"file1"},{"photo_id":"1341901479","filename":"file0"},{"photo_id":"1341901520","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341901511":["hashtag1","hashtag2"]},{"1341901525":["hashtag1","hashtag2"]},{"1341901479":["hashtag1","hashtag2"]},{"1341901484":["hashtag1","hashtag2"]},{"1341901529":["hashtag1","hashtag2"]},{"1341901520":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341901511, 1341901525, 1341901479, 1341901484, 1341901529, 1341901520)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.20248532295227 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 15:26:32.234586
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/15/26/image_08032025_15_26_45_10029.jpg', 2), ('/home/nano/Desktop/images/08032025/15/26/image_08032025_15_26_35_10033.jpg', 2), ('/home/nano/Desktop/images/08032025/15/26/image_08032025_15_26_25_10028.jpg', 2), ('/home/nano/Desktop/images/08032025/15/26/image_08032025_15_26_15_10035.jpg', 2), ('/home/nano/Desktop/images/08032025/15/25/image_08032025_15_26_05_10040.jpg', 2), ('/home/nano/Desktop/images/08032025/15/25/image_08032025_15_25_55_10049.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/15/26/image_08032025_15_26_45_10029.jpg', '/home/nano/Desktop/images/08032025/15/26/image_08032025_15_26_35_10033.jpg', '/home/nano/Desktop/images/08032025/15/26/image_08032025_15_26_25_10028.jpg', '/home/nano/Desktop/images/08032025/15/26/image_08032025_15_26_15_10035.jpg', '/home/nano/Desktop/images/08032025/15/25/image_08032025_15_26_05_10040.jpg', '/home/nano/Desktop/images/08032025/15/25/image_08032025_15_25_55_10049.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/15/26/image_08032025_15_26_45_10029.jpg
/home/nano/Desktop/images/08032025/15/26/image_08032025_15_26_35_10033.jpg
/home/nano/Desktop/images/08032025/15/26/image_08032025_15_26_25_10028.jpg
/home/nano/Desktop/images/08032025/15/26/image_08032025_15_26_15_10035.jpg
/home/nano/Desktop/images/08032025/15/25/image_08032025_15_26_05_10040.jpg
/home/nano/Desktop/images/08032025/15/25/image_08032025_15_25_55_10049.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341901765","1341901725","1341901719","1341901739","1341901754","1341901706"],"photo_ids_order":["1341901706","1341901719","1341901725","1341901739","1341901754","1341901765"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/19423a39eb2fd50d03f208e6619613ca.jpg","text":"TemporaryFile(/tmp/multipartBody6869748236321898677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741444052666,"filename":"image_08032025_15_25_55_10049.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/afdd00aeeae089f86e4230523bf17c96.jpg","text":"TemporaryFile(/tmp/multipartBody5583951241472809114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741444052666,"filename":"image_08032025_15_26_25_10028.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/e7dc0631f2345753e89d67672d395bec.jpg","text":"TemporaryFile(/tmp/multipartBody8081601152200080860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741444052666,"filename":"image_08032025_15_26_35_10033.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/9f242482630a742a3ed0613d5b741fe2.jpg","text":"TemporaryFile(/tmp/multipartBody8862830718066363942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741444052666,"filename":"image_08032025_15_26_15_10035.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/880645d365b159e4244192e15042c229.jpg","text":"TemporaryFile(/tmp/multipartBody1344017730666721780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741444052666,"filename":"image_08032025_15_26_05_10040.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/54d0616ad05ac6ca888efe4f9a8cfd23.jpg","text":"TemporaryFile(/tmp/multipartBody3251329488558926307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741444052666,"filename":"image_08032025_15_26_45_10029.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341901725","file1":"1341901719","file0":"1341901706","file4":"1341901754","file5":"1341901765","file3":"1341901739"},"map_files_photo_id_array":[{"photo_id":"1341901765","filename":"file5"},{"photo_id":"1341901725","filename":"file2"},{"photo_id":"1341901754","filename":"file4"},{"photo_id":"1341901719","filename":"file1"},{"photo_id":"1341901706","filename":"file0"},{"photo_id":"1341901739","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341901765":["hashtag1","hashtag2"]},{"1341901725":["hashtag1","hashtag2"]},{"1341901719":["hashtag1","hashtag2"]},{"1341901739":["hashtag1","hashtag2"]},{"1341901754":["hashtag1","hashtag2"]},{"1341901706":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341901765, 1341901725, 1341901719, 1341901739, 1341901754, 1341901706)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.22496843338013 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 15:27:32.393281
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/15/27/image_08032025_15_27_45_10034.jpg', 2), ('/home/nano/Desktop/images/08032025/15/27/image_08032025_15_27_35_10037.jpg', 2), ('/home/nano/Desktop/images/08032025/15/27/image_08032025_15_27_25_10033.jpg', 2), ('/home/nano/Desktop/images/08032025/15/27/image_08032025_15_27_15_10056.jpg', 2), ('/home/nano/Desktop/images/08032025/15/26/image_08032025_15_27_05_10048.jpg', 2), ('/home/nano/Desktop/images/08032025/15/26/image_08032025_15_26_55_10030.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/15/27/image_08032025_15_27_45_10034.jpg', '/home/nano/Desktop/images/08032025/15/27/image_08032025_15_27_35_10037.jpg', '/home/nano/Desktop/images/08032025/15/27/image_08032025_15_27_25_10033.jpg', '/home/nano/Desktop/images/08032025/15/27/image_08032025_15_27_15_10056.jpg', '/home/nano/Desktop/images/08032025/15/26/image_08032025_15_27_05_10048.jpg', '/home/nano/Desktop/images/08032025/15/26/image_08032025_15_26_55_10030.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/15/27/image_08032025_15_27_45_10034.jpg
/home/nano/Desktop/images/08032025/15/27/image_08032025_15_27_35_10037.jpg
/home/nano/Desktop/images/08032025/15/27/image_08032025_15_27_25_10033.jpg
/home/nano/Desktop/images/08032025/15/27/image_08032025_15_27_15_10056.jpg
/home/nano/Desktop/images/08032025/15/26/image_08032025_15_27_05_10048.jpg
/home/nano/Desktop/images/08032025/15/26/image_08032025_15_26_55_10030.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341902100","1341902072","1341901991","1341901905","1341902098","1341902086"],"photo_ids_order":["1341901905","1341901991","1341902072","1341902086","1341902098","1341902100"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/d0f530197da7bc89257c474da50f793d.jpg","text":"TemporaryFile(/tmp/multipartBody3028716010999390717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741444112838,"filename":"image_08032025_15_26_55_10030.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/de3b8375e79e09bbf546f2f8a9eebbec.jpg","text":"TemporaryFile(/tmp/multipartBody7577735130923206370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741444112838,"filename":"image_08032025_15_27_25_10033.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/0745fc5bc8c739cddfe2faa38228b359.jpg","text":"TemporaryFile(/tmp/multipartBody350362297343877434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741444112838,"filename":"image_08032025_15_27_35_10037.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/b5b56489e84c8a78da6200f2308bb203.jpg","text":"TemporaryFile(/tmp/multipartBody4921350501484743925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741444112838,"filename":"image_08032025_15_27_45_10034.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/088bf1d80cfc6a663d814bad94ae94f3.jpg","text":"TemporaryFile(/tmp/multipartBody3358076710262871177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741444112838,"filename":"image_08032025_15_27_05_10048.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/bb1365f7bc133e253d0587f1be3b88b2.jpg","text":"TemporaryFile(/tmp/multipartBody257998187636484531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741444112838,"filename":"image_08032025_15_27_15_10056.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341902072","file1":"1341901991","file0":"1341901905","file4":"1341902098","file5":"1341902100","file3":"1341902086"},"map_files_photo_id_array":[{"photo_id":"1341902100","filename":"file5"},{"photo_id":"1341902072","filename":"file2"},{"photo_id":"1341902098","filename":"file4"},{"photo_id":"1341901991","filename":"file1"},{"photo_id":"1341901905","filename":"file0"},{"photo_id":"1341902086","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341902100":["hashtag1","hashtag2"]},{"1341902072":["hashtag1","hashtag2"]},{"1341901991":["hashtag1","hashtag2"]},{"1341901905":["hashtag1","hashtag2"]},{"1341902098":["hashtag1","hashtag2"]},{"1341902086":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341902100, 1341902072, 1341901991, 1341901905, 1341902098, 1341902086)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.5238983631134 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 15:28:32.480341
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/15/28/image_08032025_15_28_45_10030.jpg', 2), ('/home/nano/Desktop/images/08032025/15/28/image_08032025_15_28_35_10061.jpg', 2), ('/home/nano/Desktop/images/08032025/15/28/image_08032025_15_28_25_10060.jpg', 2), ('/home/nano/Desktop/images/08032025/15/28/image_08032025_15_28_15_10033.jpg', 2), ('/home/nano/Desktop/images/08032025/15/27/image_08032025_15_28_05_10051.jpg', 2), ('/home/nano/Desktop/images/08032025/15/27/image_08032025_15_27_55_10033.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/15/28/image_08032025_15_28_45_10030.jpg', '/home/nano/Desktop/images/08032025/15/28/image_08032025_15_28_35_10061.jpg', '/home/nano/Desktop/images/08032025/15/28/image_08032025_15_28_25_10060.jpg', '/home/nano/Desktop/images/08032025/15/28/image_08032025_15_28_15_10033.jpg', '/home/nano/Desktop/images/08032025/15/27/image_08032025_15_28_05_10051.jpg', '/home/nano/Desktop/images/08032025/15/27/image_08032025_15_27_55_10033.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/15/28/image_08032025_15_28_45_10030.jpg
/home/nano/Desktop/images/08032025/15/28/image_08032025_15_28_35_10061.jpg
/home/nano/Desktop/images/08032025/15/28/image_08032025_15_28_25_10060.jpg
/home/nano/Desktop/images/08032025/15/28/image_08032025_15_28_15_10033.jpg
/home/nano/Desktop/images/08032025/15/27/image_08032025_15_28_05_10051.jpg
/home/nano/Desktop/images/08032025/15/27/image_08032025_15_27_55_10033.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.36008286476135254 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 marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 15:29:03.457476
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/15/29/image_08032025_15_29_26_10034.jpg', 2), ('/home/nano/Desktop/images/08032025/15/28/image_08032025_15_28_45_10030.jpg', 2), ('/home/nano/Desktop/images/08032025/15/28/image_08032025_15_28_35_10061.jpg', 2), ('/home/nano/Desktop/images/08032025/15/28/image_08032025_15_28_25_10060.jpg', 2), ('/home/nano/Desktop/images/08032025/15/28/image_08032025_15_28_15_10033.jpg', 2), ('/home/nano/Desktop/images/08032025/15/27/image_08032025_15_28_05_10051.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/15/29/image_08032025_15_29_26_10034.jpg', '/home/nano/Desktop/images/08032025/15/28/image_08032025_15_28_45_10030.jpg', '/home/nano/Desktop/images/08032025/15/28/image_08032025_15_28_35_10061.jpg', '/home/nano/Desktop/images/08032025/15/28/image_08032025_15_28_25_10060.jpg', '/home/nano/Desktop/images/08032025/15/28/image_08032025_15_28_15_10033.jpg', '/home/nano/Desktop/images/08032025/15/27/image_08032025_15_28_05_10051.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/15/29/image_08032025_15_29_26_10034.jpg
/home/nano/Desktop/images/08032025/15/28/image_08032025_15_28_45_10030.jpg
/home/nano/Desktop/images/08032025/15/28/image_08032025_15_28_35_10061.jpg
/home/nano/Desktop/images/08032025/15/28/image_08032025_15_28_25_10060.jpg
/home/nano/Desktop/images/08032025/15/28/image_08032025_15_28_15_10033.jpg
/home/nano/Desktop/images/08032025/15/27/image_08032025_15_28_05_10051.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341902563","1341902722","1341902539","1341902670","1341902759","1341902615"],"photo_ids_order":["1341902539","1341902563","1341902615","1341902670","1341902722","1341902759"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/2a7996b9b4634945d2b8d95edd9c3dd8.jpg","text":"TemporaryFile(/tmp/multipartBody7524393426004717757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741444203924,"filename":"image_08032025_15_28_45_10030.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/79785e3ba8fa6cbce2fec6d9253d09e7.jpg","text":"TemporaryFile(/tmp/multipartBody6345425239846395665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741444203924,"filename":"image_08032025_15_28_15_10033.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/308f7073e99030b084b306c38866271b.jpg","text":"TemporaryFile(/tmp/multipartBody6925354394113144648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741444203924,"filename":"image_08032025_15_29_26_10034.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/ba030465c7d6a8a88395b4673533cb77.jpg","text":"TemporaryFile(/tmp/multipartBody2796382604283135696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741444203924,"filename":"image_08032025_15_28_25_10060.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/4808df081a2c785954c7b231ba0de0dc.jpg","text":"TemporaryFile(/tmp/multipartBody1933282368678028382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741444203924,"filename":"image_08032025_15_28_05_10051.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/350d2491557761464beebe0206fddd61.jpg","text":"TemporaryFile(/tmp/multipartBody173321529429280305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741444203924,"filename":"image_08032025_15_28_35_10061.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341902615","file1":"1341902563","file0":"1341902539","file4":"1341902722","file5":"1341902759","file3":"1341902670"},"map_files_photo_id_array":[{"photo_id":"1341902759","filename":"file5"},{"photo_id":"1341902615","filename":"file2"},{"photo_id":"1341902722","filename":"file4"},{"photo_id":"1341902563","filename":"file1"},{"photo_id":"1341902539","filename":"file0"},{"photo_id":"1341902670","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341902563":["hashtag1","hashtag2"]},{"1341902722":["hashtag1","hashtag2"]},{"1341902539":["hashtag1","hashtag2"]},{"1341902670":["hashtag1","hashtag2"]},{"1341902759":["hashtag1","hashtag2"]},{"1341902615":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341902563, 1341902722, 1341902539, 1341902670, 1341902759, 1341902615)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.5478789806366 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 15:30:03.288319
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/15/29/image_08032025_15_29_46_10035.jpg', 2), ('/home/nano/Desktop/images/08032025/15/29/image_08032025_15_29_36_10036.jpg', 2), ('/home/nano/Desktop/images/08032025/15/29/image_08032025_15_29_15_10037.jpg', 2), ('/home/nano/Desktop/images/08032025/15/28/image_08032025_15_29_05_10068.jpg', 2), ('/home/nano/Desktop/images/08032025/15/28/image_08032025_15_28_55_10047.jpg', 2), ('/home/nano/Desktop/images/08032025/15/27/image_08032025_15_27_55_10033.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/15/29/image_08032025_15_29_46_10035.jpg', '/home/nano/Desktop/images/08032025/15/29/image_08032025_15_29_36_10036.jpg', '/home/nano/Desktop/images/08032025/15/29/image_08032025_15_29_15_10037.jpg', '/home/nano/Desktop/images/08032025/15/28/image_08032025_15_29_05_10068.jpg', '/home/nano/Desktop/images/08032025/15/28/image_08032025_15_28_55_10047.jpg', '/home/nano/Desktop/images/08032025/15/27/image_08032025_15_27_55_10033.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/15/29/image_08032025_15_29_46_10035.jpg
/home/nano/Desktop/images/08032025/15/29/image_08032025_15_29_36_10036.jpg
/home/nano/Desktop/images/08032025/15/29/image_08032025_15_29_15_10037.jpg
/home/nano/Desktop/images/08032025/15/28/image_08032025_15_29_05_10068.jpg
/home/nano/Desktop/images/08032025/15/28/image_08032025_15_28_55_10047.jpg
/home/nano/Desktop/images/08032025/15/27/image_08032025_15_27_55_10033.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341903171","1341903176","1341903108","1341903062","1341903086","1341903091"],"photo_ids_order":["1341903062","1341903086","1341903091","1341903108","1341903171","1341903176"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/f86ed1dc95ec90ac6e36028512d34bf4.jpg","text":"TemporaryFile(/tmp/multipartBody4002973692373914244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741444263797,"filename":"image_08032025_15_28_55_10047.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/b143f8741e5ad7de4e54043a267f8fbb.jpg","text":"TemporaryFile(/tmp/multipartBody6803609998612032923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741444263797,"filename":"image_08032025_15_27_55_10033.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/6772b9826217e365ae5fc74420891cff.jpg","text":"TemporaryFile(/tmp/multipartBody7944099201741822257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741444263797,"filename":"image_08032025_15_29_05_10068.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/6771f67746ad154580a347e5561f8cb7.jpg","text":"TemporaryFile(/tmp/multipartBody3972684744284340944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741444263797,"filename":"image_08032025_15_29_46_10035.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/eb79cd6c3f4bca5293fb5b620cbbd915.jpg","text":"TemporaryFile(/tmp/multipartBody3001642997218146020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741444263797,"filename":"image_08032025_15_29_36_10036.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/c4831193ac445cd179fb32a306d161af.jpg","text":"TemporaryFile(/tmp/multipartBody4411609644856413182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741444263797,"filename":"image_08032025_15_29_15_10037.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341903091","file1":"1341903086","file0":"1341903062","file4":"1341903171","file5":"1341903176","file3":"1341903108"},"map_files_photo_id_array":[{"photo_id":"1341903176","filename":"file5"},{"photo_id":"1341903091","filename":"file2"},{"photo_id":"1341903171","filename":"file4"},{"photo_id":"1341903086","filename":"file1"},{"photo_id":"1341903062","filename":"file0"},{"photo_id":"1341903108","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341903171":["hashtag1","hashtag2"]},{"1341903176":["hashtag1","hashtag2"]},{"1341903108":["hashtag1","hashtag2"]},{"1341903062":["hashtag1","hashtag2"]},{"1341903086":["hashtag1","hashtag2"]},{"1341903091":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341903171, 1341903176, 1341903108, 1341903062, 1341903086, 1341903091)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.254526138305664 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 15:31:02.334128
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/15/30/image_08032025_15_30_45_10037.jpg', 2), ('/home/nano/Desktop/images/08032025/15/30/image_08032025_15_30_35_10035.jpg', 2), ('/home/nano/Desktop/images/08032025/15/30/image_08032025_15_30_25_10044.jpg', 2), ('/home/nano/Desktop/images/08032025/15/30/image_08032025_15_30_15_10041.jpg', 2), ('/home/nano/Desktop/images/08032025/15/29/image_08032025_15_30_05_10037.jpg', 2), ('/home/nano/Desktop/images/08032025/15/29/image_08032025_15_29_55_9028.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/15/30/image_08032025_15_30_45_10037.jpg', '/home/nano/Desktop/images/08032025/15/30/image_08032025_15_30_35_10035.jpg', '/home/nano/Desktop/images/08032025/15/30/image_08032025_15_30_25_10044.jpg', '/home/nano/Desktop/images/08032025/15/30/image_08032025_15_30_15_10041.jpg', '/home/nano/Desktop/images/08032025/15/29/image_08032025_15_30_05_10037.jpg', '/home/nano/Desktop/images/08032025/15/29/image_08032025_15_29_55_9028.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/15/30/image_08032025_15_30_45_10037.jpg
/home/nano/Desktop/images/08032025/15/30/image_08032025_15_30_35_10035.jpg
/home/nano/Desktop/images/08032025/15/30/image_08032025_15_30_25_10044.jpg
/home/nano/Desktop/images/08032025/15/30/image_08032025_15_30_15_10041.jpg
/home/nano/Desktop/images/08032025/15/29/image_08032025_15_30_05_10037.jpg
/home/nano/Desktop/images/08032025/15/29/image_08032025_15_29_55_9028.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341903546","1341903540","1341903534","1341903408","1341903485","1341903443"],"photo_ids_order":["1341903408","1341903443","1341903485","1341903534","1341903540","1341903546"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/360aed3b0cd7801f51396d62e8533a6a.jpg","text":"TemporaryFile(/tmp/multipartBody9146911253837668291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741444322950,"filename":"image_08032025_15_29_55_9028.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/d4361edc3e5404cf7df413861afd85c5.jpg","text":"TemporaryFile(/tmp/multipartBody5148571236575575584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741444322950,"filename":"image_08032025_15_30_05_10037.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/8c78ad01f22fc82b48693427ba701dd6.jpg","text":"TemporaryFile(/tmp/multipartBody3295843168601718183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741444322950,"filename":"image_08032025_15_30_15_10041.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/90b24c81796422157ab4bc37dfa30a5f.jpg","text":"TemporaryFile(/tmp/multipartBody4894028026212198116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741444322950,"filename":"image_08032025_15_30_45_10037.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/4fb20943e4b95d2ac97598a934237f3e.jpg","text":"TemporaryFile(/tmp/multipartBody4625962699665717890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741444322950,"filename":"image_08032025_15_30_25_10044.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/b4c9528851de5a386c39ff47cf6691e9.jpg","text":"TemporaryFile(/tmp/multipartBody6687086067884756092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741444322950,"filename":"image_08032025_15_30_35_10035.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341903485","file1":"1341903443","file0":"1341903408","file4":"1341903540","file5":"1341903546","file3":"1341903534"},"map_files_photo_id_array":[{"photo_id":"1341903546","filename":"file5"},{"photo_id":"1341903485","filename":"file2"},{"photo_id":"1341903540","filename":"file4"},{"photo_id":"1341903443","filename":"file1"},{"photo_id":"1341903408","filename":"file0"},{"photo_id":"1341903534","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341903546":["hashtag1","hashtag2"]},{"1341903540":["hashtag1","hashtag2"]},{"1341903534":["hashtag1","hashtag2"]},{"1341903408":["hashtag1","hashtag2"]},{"1341903485":["hashtag1","hashtag2"]},{"1341903443":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341903546, 1341903540, 1341903534, 1341903408, 1341903485, 1341903443)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.1342658996582 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 15:32:02.548300
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/15/31/image_08032025_15_31_45_10042.jpg', 2), ('/home/nano/Desktop/images/08032025/15/31/image_08032025_15_31_35_10037.jpg', 2), ('/home/nano/Desktop/images/08032025/15/31/image_08032025_15_31_25_10036.jpg', 2), ('/home/nano/Desktop/images/08032025/15/31/image_08032025_15_31_15_10034.jpg', 2), ('/home/nano/Desktop/images/08032025/15/30/image_08032025_15_31_05_10055.jpg', 2), ('/home/nano/Desktop/images/08032025/15/30/image_08032025_15_30_55_10038.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/15/31/image_08032025_15_31_45_10042.jpg', '/home/nano/Desktop/images/08032025/15/31/image_08032025_15_31_35_10037.jpg', '/home/nano/Desktop/images/08032025/15/31/image_08032025_15_31_25_10036.jpg', '/home/nano/Desktop/images/08032025/15/31/image_08032025_15_31_15_10034.jpg', '/home/nano/Desktop/images/08032025/15/30/image_08032025_15_31_05_10055.jpg', '/home/nano/Desktop/images/08032025/15/30/image_08032025_15_30_55_10038.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/15/31/image_08032025_15_31_45_10042.jpg
/home/nano/Desktop/images/08032025/15/31/image_08032025_15_31_35_10037.jpg
/home/nano/Desktop/images/08032025/15/31/image_08032025_15_31_25_10036.jpg
/home/nano/Desktop/images/08032025/15/31/image_08032025_15_31_15_10034.jpg
/home/nano/Desktop/images/08032025/15/30/image_08032025_15_31_05_10055.jpg
/home/nano/Desktop/images/08032025/15/30/image_08032025_15_30_55_10038.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341903674","1341903722","1341903602","1341903626","1341903697","1341903649"],"photo_ids_order":["1341903602","1341903626","1341903649","1341903674","1341903697","1341903722"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/0068f05b9af23f5be25425b21c633705.jpg","text":"TemporaryFile(/tmp/multipartBody4840043819000542979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741444383361,"filename":"image_08032025_15_31_15_10034.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/7315b64a0059073ce1d0650839c4ef91.jpg","text":"TemporaryFile(/tmp/multipartBody5393943523103473165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741444383361,"filename":"image_08032025_15_30_55_10038.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/bc01f248648fc0b76eca52203fb311bf.jpg","text":"TemporaryFile(/tmp/multipartBody4228506113935176743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741444383361,"filename":"image_08032025_15_31_45_10042.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/7a7c20a697a5b91d4d0d95cdbd696f2e.jpg","text":"TemporaryFile(/tmp/multipartBody4077050771550793949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741444383361,"filename":"image_08032025_15_31_35_10037.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/2353dd9b7c257651b7a430fc08c774de.jpg","text":"TemporaryFile(/tmp/multipartBody4679816314438327585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741444383361,"filename":"image_08032025_15_31_05_10055.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/07368e798960063b4179b6f7154e5ad2.jpg","text":"TemporaryFile(/tmp/multipartBody3391292320959175571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741444383361,"filename":"image_08032025_15_31_25_10036.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341903649","file1":"1341903626","file0":"1341903602","file4":"1341903697","file5":"1341903722","file3":"1341903674"},"map_files_photo_id_array":[{"photo_id":"1341903722","filename":"file5"},{"photo_id":"1341903649","filename":"file2"},{"photo_id":"1341903697","filename":"file4"},{"photo_id":"1341903626","filename":"file1"},{"photo_id":"1341903602","filename":"file0"},{"photo_id":"1341903674","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341903674":["hashtag1","hashtag2"]},{"1341903722":["hashtag1","hashtag2"]},{"1341903602":["hashtag1","hashtag2"]},{"1341903626":["hashtag1","hashtag2"]},{"1341903697":["hashtag1","hashtag2"]},{"1341903649":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341903674, 1341903722, 1341903602, 1341903626, 1341903697, 1341903649)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.02886700630188 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 15:33:02.667751
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/15/32/image_08032025_15_32_45_10050.jpg', 2), ('/home/nano/Desktop/images/08032025/15/32/image_08032025_15_32_35_10043.jpg', 2), ('/home/nano/Desktop/images/08032025/15/32/image_08032025_15_32_25_10063.jpg', 2), ('/home/nano/Desktop/images/08032025/15/32/image_08032025_15_32_15_10045.jpg', 2), ('/home/nano/Desktop/images/08032025/15/31/image_08032025_15_32_05_10075.jpg', 2), ('/home/nano/Desktop/images/08032025/15/31/image_08032025_15_31_55_10045.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/15/32/image_08032025_15_32_45_10050.jpg', '/home/nano/Desktop/images/08032025/15/32/image_08032025_15_32_35_10043.jpg', '/home/nano/Desktop/images/08032025/15/32/image_08032025_15_32_25_10063.jpg', '/home/nano/Desktop/images/08032025/15/32/image_08032025_15_32_15_10045.jpg', '/home/nano/Desktop/images/08032025/15/31/image_08032025_15_32_05_10075.jpg', '/home/nano/Desktop/images/08032025/15/31/image_08032025_15_31_55_10045.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/15/32/image_08032025_15_32_45_10050.jpg
/home/nano/Desktop/images/08032025/15/32/image_08032025_15_32_35_10043.jpg
/home/nano/Desktop/images/08032025/15/32/image_08032025_15_32_25_10063.jpg
/home/nano/Desktop/images/08032025/15/32/image_08032025_15_32_15_10045.jpg
/home/nano/Desktop/images/08032025/15/31/image_08032025_15_32_05_10075.jpg
/home/nano/Desktop/images/08032025/15/31/image_08032025_15_31_55_10045.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341903912","1341903971","1341903938","1341904027","1341903850","1341904000"],"photo_ids_order":["1341903850","1341903912","1341903938","1341903971","1341904000","1341904027"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/65a3acd4033fb1c07b527ee9844c4874.jpg","text":"TemporaryFile(/tmp/multipartBody3993830411969222509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741444443182,"filename":"image_08032025_15_32_35_10043.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/821e5e7a3bebee4c811a52cc974c79c4.jpg","text":"TemporaryFile(/tmp/multipartBody2859328835940712069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741444443182,"filename":"image_08032025_15_32_15_10045.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/25bb484c96b1b9f868d99c42c28a5bad.jpg","text":"TemporaryFile(/tmp/multipartBody4624860297049981851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741444443182,"filename":"image_08032025_15_32_25_10063.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/e7db8ca1846c3834ddc7831de43a78d8.jpg","text":"TemporaryFile(/tmp/multipartBody7279313261950311926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741444443182,"filename":"image_08032025_15_31_55_10045.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/e8dd8e5d1c968af86af6207d1f4bb168.jpg","text":"TemporaryFile(/tmp/multipartBody5705905905754972952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741444443182,"filename":"image_08032025_15_32_45_10050.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/1a3d83fdc9ac20170ba0aca6b2a5c1bf.jpg","text":"TemporaryFile(/tmp/multipartBody1216307205234211077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741444443182,"filename":"image_08032025_15_32_05_10075.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341903938","file1":"1341903912","file0":"1341903850","file4":"1341904000","file5":"1341904027","file3":"1341903971"},"map_files_photo_id_array":[{"photo_id":"1341904027","filename":"file5"},{"photo_id":"1341903938","filename":"file2"},{"photo_id":"1341904000","filename":"file4"},{"photo_id":"1341903912","filename":"file1"},{"photo_id":"1341903850","filename":"file0"},{"photo_id":"1341903971","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341903912":["hashtag1","hashtag2"]},{"1341903971":["hashtag1","hashtag2"]},{"1341903938":["hashtag1","hashtag2"]},{"1341904027":["hashtag1","hashtag2"]},{"1341903850":["hashtag1","hashtag2"]},{"1341904000":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341903912, 1341903971, 1341903938, 1341904027, 1341903850, 1341904000)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.04992318153381 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 15:34:02.884819
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/15/33/image_08032025_15_33_45_10048.jpg', 2), ('/home/nano/Desktop/images/08032025/15/33/image_08032025_15_33_35_9032.jpg', 2), ('/home/nano/Desktop/images/08032025/15/33/image_08032025_15_33_26_10044.jpg', 2), ('/home/nano/Desktop/images/08032025/15/33/image_08032025_15_33_16_10048.jpg', 2), ('/home/nano/Desktop/images/08032025/15/32/image_08032025_15_33_05_10052.jpg', 2), ('/home/nano/Desktop/images/08032025/15/32/image_08032025_15_32_55_10045.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/15/33/image_08032025_15_33_45_10048.jpg', '/home/nano/Desktop/images/08032025/15/33/image_08032025_15_33_35_9032.jpg', '/home/nano/Desktop/images/08032025/15/33/image_08032025_15_33_26_10044.jpg', '/home/nano/Desktop/images/08032025/15/33/image_08032025_15_33_16_10048.jpg', '/home/nano/Desktop/images/08032025/15/32/image_08032025_15_33_05_10052.jpg', '/home/nano/Desktop/images/08032025/15/32/image_08032025_15_32_55_10045.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/15/33/image_08032025_15_33_45_10048.jpg
/home/nano/Desktop/images/08032025/15/33/image_08032025_15_33_35_9032.jpg
/home/nano/Desktop/images/08032025/15/33/image_08032025_15_33_26_10044.jpg
/home/nano/Desktop/images/08032025/15/33/image_08032025_15_33_16_10048.jpg
/home/nano/Desktop/images/08032025/15/32/image_08032025_15_33_05_10052.jpg
/home/nano/Desktop/images/08032025/15/32/image_08032025_15_32_55_10045.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341904536","1341904358","1341904502","1341904474","1341904450","1341904312"],"photo_ids_order":["1341904312","1341904358","1341904450","1341904474","1341904502","1341904536"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/db502571f61b4f2ae060b4293caa70fa.jpg","text":"TemporaryFile(/tmp/multipartBody2538170900557371801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741444503449,"filename":"image_08032025_15_32_55_10045.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/a503c365fc5497f307719f41d3f86fb3.jpg","text":"TemporaryFile(/tmp/multipartBody7935143573144933180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741444503449,"filename":"image_08032025_15_33_35_9032.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/0d7ad0fb4b4a5285ca111fab06e5acc5.jpg","text":"TemporaryFile(/tmp/multipartBody2767034782579824197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741444503449,"filename":"image_08032025_15_33_05_10052.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/fcbf4409b68801aa540f1e882cd4ef11.jpg","text":"TemporaryFile(/tmp/multipartBody4191706322970426990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741444503449,"filename":"image_08032025_15_33_16_10048.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/6b224d2124695bf2ea6f8281cdae1cda.jpg","text":"TemporaryFile(/tmp/multipartBody2505009930043897446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741444503449,"filename":"image_08032025_15_33_26_10044.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/3b0090cfcfaa2f64dddaa402a20958d7.jpg","text":"TemporaryFile(/tmp/multipartBody4133249484547369576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741444503449,"filename":"image_08032025_15_33_45_10048.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341904450","file1":"1341904358","file0":"1341904312","file4":"1341904502","file5":"1341904536","file3":"1341904474"},"map_files_photo_id_array":[{"photo_id":"1341904536","filename":"file5"},{"photo_id":"1341904450","filename":"file2"},{"photo_id":"1341904502","filename":"file4"},{"photo_id":"1341904358","filename":"file1"},{"photo_id":"1341904312","filename":"file0"},{"photo_id":"1341904474","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341904536":["hashtag1","hashtag2"]},{"1341904358":["hashtag1","hashtag2"]},{"1341904502":["hashtag1","hashtag2"]},{"1341904474":["hashtag1","hashtag2"]},{"1341904450":["hashtag1","hashtag2"]},{"1341904312":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341904536, 1341904358, 1341904502, 1341904474, 1341904450, 1341904312)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.3593270778656 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 15:35:02.783715
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/15/34/image_08032025_15_34_45_10039.jpg', 2), ('/home/nano/Desktop/images/08032025/15/34/image_08032025_15_34_35_10040.jpg', 2), ('/home/nano/Desktop/images/08032025/15/34/image_08032025_15_34_25_10043.jpg', 2), ('/home/nano/Desktop/images/08032025/15/34/image_08032025_15_34_15_10038.jpg', 2), ('/home/nano/Desktop/images/08032025/15/33/image_08032025_15_34_05_10044.jpg', 2), ('/home/nano/Desktop/images/08032025/15/33/image_08032025_15_33_55_10065.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/15/34/image_08032025_15_34_45_10039.jpg', '/home/nano/Desktop/images/08032025/15/34/image_08032025_15_34_35_10040.jpg', '/home/nano/Desktop/images/08032025/15/34/image_08032025_15_34_25_10043.jpg', '/home/nano/Desktop/images/08032025/15/34/image_08032025_15_34_15_10038.jpg', '/home/nano/Desktop/images/08032025/15/33/image_08032025_15_34_05_10044.jpg', '/home/nano/Desktop/images/08032025/15/33/image_08032025_15_33_55_10065.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/15/34/image_08032025_15_34_45_10039.jpg
/home/nano/Desktop/images/08032025/15/34/image_08032025_15_34_35_10040.jpg
/home/nano/Desktop/images/08032025/15/34/image_08032025_15_34_25_10043.jpg
/home/nano/Desktop/images/08032025/15/34/image_08032025_15_34_15_10038.jpg
/home/nano/Desktop/images/08032025/15/33/image_08032025_15_34_05_10044.jpg
/home/nano/Desktop/images/08032025/15/33/image_08032025_15_33_55_10065.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341904737","1341905213","1341904988","1341904781","1341905111","1341904890"],"photo_ids_order":["1341904737","1341904781","1341904890","1341904988","1341905111","1341905213"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/3af9cebd68b654a11f1ffc2a93506f3b.jpg","text":"TemporaryFile(/tmp/multipartBody2039225018379078418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741444563380,"filename":"image_08032025_15_34_45_10039.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/8d9dbbb88ea244ab77f16bc1482568d1.jpg","text":"TemporaryFile(/tmp/multipartBody6997312535015590022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741444563380,"filename":"image_08032025_15_33_55_10065.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/9b41f99b7c8bc95ec72196bd181b3a05.jpg","text":"TemporaryFile(/tmp/multipartBody2948474748890490174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741444563380,"filename":"image_08032025_15_34_15_10038.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/43571e18be0f4b20c28eec7d46e87bb7.jpg","text":"TemporaryFile(/tmp/multipartBody8561654285346485142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741444563380,"filename":"image_08032025_15_34_35_10040.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/5dd2ec7d603673a6644e2d788394d669.jpg","text":"TemporaryFile(/tmp/multipartBody6606740893712446392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741444563380,"filename":"image_08032025_15_34_05_10044.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/c7129a1f22dfb8e33857b3005d445101.jpg","text":"TemporaryFile(/tmp/multipartBody3526958598954867719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741444563380,"filename":"image_08032025_15_34_25_10043.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341904890","file1":"1341904781","file0":"1341904737","file4":"1341905111","file5":"1341905213","file3":"1341904988"},"map_files_photo_id_array":[{"photo_id":"1341905213","filename":"file5"},{"photo_id":"1341904890","filename":"file2"},{"photo_id":"1341905111","filename":"file4"},{"photo_id":"1341904781","filename":"file1"},{"photo_id":"1341904737","filename":"file0"},{"photo_id":"1341904988","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341904737":["hashtag1","hashtag2"]},{"1341905213":["hashtag1","hashtag2"]},{"1341904988":["hashtag1","hashtag2"]},{"1341904781":["hashtag1","hashtag2"]},{"1341905111":["hashtag1","hashtag2"]},{"1341904890":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341904737, 1341905213, 1341904988, 1341904781, 1341905111, 1341904890)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.57992744445801 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 15:36:02.962384
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/15/35/image_08032025_15_35_45_10034.jpg', 2), ('/home/nano/Desktop/images/08032025/15/35/image_08032025_15_35_35_10026.jpg', 2), ('/home/nano/Desktop/images/08032025/15/35/image_08032025_15_35_25_10039.jpg', 2), ('/home/nano/Desktop/images/08032025/15/35/image_08032025_15_35_15_10024.jpg', 2), ('/home/nano/Desktop/images/08032025/15/34/image_08032025_15_35_05_10054.jpg', 2), ('/home/nano/Desktop/images/08032025/15/34/image_08032025_15_34_55_10040.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/15/35/image_08032025_15_35_45_10034.jpg', '/home/nano/Desktop/images/08032025/15/35/image_08032025_15_35_35_10026.jpg', '/home/nano/Desktop/images/08032025/15/35/image_08032025_15_35_25_10039.jpg', '/home/nano/Desktop/images/08032025/15/35/image_08032025_15_35_15_10024.jpg', '/home/nano/Desktop/images/08032025/15/34/image_08032025_15_35_05_10054.jpg', '/home/nano/Desktop/images/08032025/15/34/image_08032025_15_34_55_10040.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/15/35/image_08032025_15_35_45_10034.jpg
/home/nano/Desktop/images/08032025/15/35/image_08032025_15_35_35_10026.jpg
/home/nano/Desktop/images/08032025/15/35/image_08032025_15_35_25_10039.jpg
/home/nano/Desktop/images/08032025/15/35/image_08032025_15_35_15_10024.jpg
/home/nano/Desktop/images/08032025/15/34/image_08032025_15_35_05_10054.jpg
/home/nano/Desktop/images/08032025/15/34/image_08032025_15_34_55_10040.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341905951","1341906172","1341905881","1341906319","1341906115","1341906024"],"photo_ids_order":["1341905881","1341905951","1341906024","1341906115","1341906172","1341906319"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/1b0c2821fc4ccbfb6d2c0af7f789fe45.jpg","text":"TemporaryFile(/tmp/multipartBody1377796902371438549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741444623565,"filename":"image_08032025_15_35_35_10026.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/81616c31895cce3ca2b7fa643a52e61c.jpg","text":"TemporaryFile(/tmp/multipartBody5220869738182046946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741444623565,"filename":"image_08032025_15_35_05_10054.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/33465af75166040126204e72373bf4c7.jpg","text":"TemporaryFile(/tmp/multipartBody5176063489210943677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741444623565,"filename":"image_08032025_15_35_45_10034.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/b7f72405ace13255352a18ed6b75f68f.jpg","text":"TemporaryFile(/tmp/multipartBody7481172397265393694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741444623565,"filename":"image_08032025_15_34_55_10040.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/4c0f708a3e2f780869086f3f38515c52.jpg","text":"TemporaryFile(/tmp/multipartBody2696870054630720309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741444623565,"filename":"image_08032025_15_35_15_10024.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/e62dc9e547bc4b50317112d500567629.jpg","text":"TemporaryFile(/tmp/multipartBody8052606837505289070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741444623565,"filename":"image_08032025_15_35_25_10039.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341906024","file1":"1341905951","file0":"1341905881","file4":"1341906172","file5":"1341906319","file3":"1341906115"},"map_files_photo_id_array":[{"photo_id":"1341906319","filename":"file5"},{"photo_id":"1341906024","filename":"file2"},{"photo_id":"1341906172","filename":"file4"},{"photo_id":"1341905951","filename":"file1"},{"photo_id":"1341905881","filename":"file0"},{"photo_id":"1341906115","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341905951":["hashtag1","hashtag2"]},{"1341906172":["hashtag1","hashtag2"]},{"1341905881":["hashtag1","hashtag2"]},{"1341906319":["hashtag1","hashtag2"]},{"1341906115":["hashtag1","hashtag2"]},{"1341906024":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341905951, 1341906172, 1341905881, 1341906319, 1341906115, 1341906024)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.70980906486511 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 15:37:03.031099
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/15/36/image_08032025_15_36_45_10035.jpg', 2), ('/home/nano/Desktop/images/08032025/15/36/image_08032025_15_36_35_10045.jpg', 2), ('/home/nano/Desktop/images/08032025/15/36/image_08032025_15_36_25_10030.jpg', 2), ('/home/nano/Desktop/images/08032025/15/36/image_08032025_15_36_15_10030.jpg', 2), ('/home/nano/Desktop/images/08032025/15/35/image_08032025_15_36_05_10052.jpg', 2), ('/home/nano/Desktop/images/08032025/15/35/image_08032025_15_35_55_10057.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/15/36/image_08032025_15_36_45_10035.jpg', '/home/nano/Desktop/images/08032025/15/36/image_08032025_15_36_35_10045.jpg', '/home/nano/Desktop/images/08032025/15/36/image_08032025_15_36_25_10030.jpg', '/home/nano/Desktop/images/08032025/15/36/image_08032025_15_36_15_10030.jpg', '/home/nano/Desktop/images/08032025/15/35/image_08032025_15_36_05_10052.jpg', '/home/nano/Desktop/images/08032025/15/35/image_08032025_15_35_55_10057.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/15/36/image_08032025_15_36_45_10035.jpg
/home/nano/Desktop/images/08032025/15/36/image_08032025_15_36_35_10045.jpg
/home/nano/Desktop/images/08032025/15/36/image_08032025_15_36_25_10030.jpg
/home/nano/Desktop/images/08032025/15/36/image_08032025_15_36_15_10030.jpg
/home/nano/Desktop/images/08032025/15/35/image_08032025_15_36_05_10052.jpg
/home/nano/Desktop/images/08032025/15/35/image_08032025_15_35_55_10057.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341906557","1341906716","1341906697","1341906573","1341906600","1341906665"],"photo_ids_order":["1341906557","1341906573","1341906600","1341906665","1341906697","1341906716"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/4c66a65da595a92031aea6e620d0ba2d.jpg","text":"TemporaryFile(/tmp/multipartBody2393530468269689883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741444683643,"filename":"image_08032025_15_36_45_10035.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/42ae320b041f8063a3d48a97f11864c4.jpg","text":"TemporaryFile(/tmp/multipartBody1958533859211793298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741444683643,"filename":"image_08032025_15_35_55_10057.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/df55cb41c3a357e33eaf5cbc6da35de2.jpg","text":"TemporaryFile(/tmp/multipartBody3795407925344151919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741444683643,"filename":"image_08032025_15_36_05_10052.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/8c28330d9ddf5fd1216c11d2dbe4a216.jpg","text":"TemporaryFile(/tmp/multipartBody1535603214478928111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741444683643,"filename":"image_08032025_15_36_35_10045.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/d7796a97116b883572f3fb4fdebf4df2.jpg","text":"TemporaryFile(/tmp/multipartBody8353946758651895898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741444683643,"filename":"image_08032025_15_36_25_10030.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/629204c4ac1156ed73ff72c6d9b40c7e.jpg","text":"TemporaryFile(/tmp/multipartBody6494371887031282331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741444683643,"filename":"image_08032025_15_36_15_10030.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341906600","file1":"1341906573","file0":"1341906557","file4":"1341906697","file5":"1341906716","file3":"1341906665"},"map_files_photo_id_array":[{"photo_id":"1341906716","filename":"file5"},{"photo_id":"1341906600","filename":"file2"},{"photo_id":"1341906697","filename":"file4"},{"photo_id":"1341906573","filename":"file1"},{"photo_id":"1341906557","filename":"file0"},{"photo_id":"1341906665","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341906557":["hashtag1","hashtag2"]},{"1341906716":["hashtag1","hashtag2"]},{"1341906697":["hashtag1","hashtag2"]},{"1341906573":["hashtag1","hashtag2"]},{"1341906600":["hashtag1","hashtag2"]},{"1341906665":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341906557, 1341906716, 1341906697, 1341906573, 1341906600, 1341906665)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.841949462890625 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 15:38:03.132611
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/15/38/image_08032025_15_38_35_10036.jpg', 2), ('/home/nano/Desktop/images/08032025/15/37/image_08032025_15_37_46_10031.jpg', 2), ('/home/nano/Desktop/images/08032025/15/37/image_08032025_15_37_26_10033.jpg', 2), ('/home/nano/Desktop/images/08032025/15/37/image_08032025_15_37_15_10025.jpg', 2), ('/home/nano/Desktop/images/08032025/15/36/image_08032025_15_37_05_10034.jpg', 2), ('/home/nano/Desktop/images/08032025/15/36/image_08032025_15_36_55_10027.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/15/38/image_08032025_15_38_35_10036.jpg', '/home/nano/Desktop/images/08032025/15/37/image_08032025_15_37_46_10031.jpg', '/home/nano/Desktop/images/08032025/15/37/image_08032025_15_37_26_10033.jpg', '/home/nano/Desktop/images/08032025/15/37/image_08032025_15_37_15_10025.jpg', '/home/nano/Desktop/images/08032025/15/36/image_08032025_15_37_05_10034.jpg', '/home/nano/Desktop/images/08032025/15/36/image_08032025_15_36_55_10027.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/15/38/image_08032025_15_38_35_10036.jpg
/home/nano/Desktop/images/08032025/15/37/image_08032025_15_37_46_10031.jpg
/home/nano/Desktop/images/08032025/15/37/image_08032025_15_37_26_10033.jpg
/home/nano/Desktop/images/08032025/15/37/image_08032025_15_37_15_10025.jpg
/home/nano/Desktop/images/08032025/15/36/image_08032025_15_37_05_10034.jpg
/home/nano/Desktop/images/08032025/15/36/image_08032025_15_36_55_10027.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341906911","1341906920","1341906914","1341906916","1341906906","1341906881"],"photo_ids_order":["1341906881","1341906906","1341906911","1341906914","1341906916","1341906920"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/f4886d62bc386feebd769b0191aa5452.jpg","text":"TemporaryFile(/tmp/multipartBody4741904746997176961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741444743572,"filename":"image_08032025_15_37_26_10033.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/d89722833186efe4c0da2f2864031fcf.jpg","text":"TemporaryFile(/tmp/multipartBody6268030424392087628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741444743572,"filename":"image_08032025_15_36_55_10027.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/a93f3f33911d825c51f37a3d694e5186.jpg","text":"TemporaryFile(/tmp/multipartBody5452667646226252516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741444743572,"filename":"image_08032025_15_37_15_10025.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/b42cac6baeda5cbe925620bcc0686640.jpg","text":"TemporaryFile(/tmp/multipartBody5004095061946512210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741444743572,"filename":"image_08032025_15_37_05_10034.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/7d8f767645784e764dcccf9992410db2.jpg","text":"TemporaryFile(/tmp/multipartBody4122625401369798270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741444743572,"filename":"image_08032025_15_37_46_10031.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/a6ec7fd39fb76041c802923cb03d9e7c.jpg","text":"TemporaryFile(/tmp/multipartBody5088339686080151122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741444743572,"filename":"image_08032025_15_38_35_10036.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341906911","file1":"1341906906","file0":"1341906881","file4":"1341906916","file5":"1341906920","file3":"1341906914"},"map_files_photo_id_array":[{"photo_id":"1341906920","filename":"file5"},{"photo_id":"1341906911","filename":"file2"},{"photo_id":"1341906916","filename":"file4"},{"photo_id":"1341906906","filename":"file1"},{"photo_id":"1341906881","filename":"file0"},{"photo_id":"1341906914","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341906911":["hashtag1","hashtag2"]},{"1341906920":["hashtag1","hashtag2"]},{"1341906914":["hashtag1","hashtag2"]},{"1341906916":["hashtag1","hashtag2"]},{"1341906906":["hashtag1","hashtag2"]},{"1341906881":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341906911, 1341906920, 1341906914, 1341906916, 1341906906, 1341906881)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.20025897026062 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 15:39:03.151849
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/15/38/image_08032025_15_38_45_10029.jpg', 2), ('/home/nano/Desktop/images/08032025/15/38/image_08032025_15_38_25_10031.jpg', 2), ('/home/nano/Desktop/images/08032025/15/38/image_08032025_15_38_15_10041.jpg', 2), ('/home/nano/Desktop/images/08032025/15/37/image_08032025_15_38_05_10060.jpg', 2), ('/home/nano/Desktop/images/08032025/15/37/image_08032025_15_37_55_9036.jpg', 2), ('/home/nano/Desktop/images/08032025/15/15/image_08032025_15_15_45_10034.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/15/38/image_08032025_15_38_45_10029.jpg', '/home/nano/Desktop/images/08032025/15/38/image_08032025_15_38_25_10031.jpg', '/home/nano/Desktop/images/08032025/15/38/image_08032025_15_38_15_10041.jpg', '/home/nano/Desktop/images/08032025/15/37/image_08032025_15_38_05_10060.jpg', '/home/nano/Desktop/images/08032025/15/37/image_08032025_15_37_55_9036.jpg', '/home/nano/Desktop/images/08032025/15/15/image_08032025_15_15_45_10034.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/15/38/image_08032025_15_38_45_10029.jpg
/home/nano/Desktop/images/08032025/15/38/image_08032025_15_38_25_10031.jpg
/home/nano/Desktop/images/08032025/15/38/image_08032025_15_38_15_10041.jpg
/home/nano/Desktop/images/08032025/15/37/image_08032025_15_38_05_10060.jpg
/home/nano/Desktop/images/08032025/15/37/image_08032025_15_37_55_9036.jpg
/home/nano/Desktop/images/08032025/15/15/image_08032025_15_15_45_10034.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341906976","1341906963","1341906966","1341906969","1341906971","1341906959"],"photo_ids_order":["1341906959","1341906963","1341906966","1341906969","1341906971","1341906976"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/996714be0f1ff6ad1fa3febdcd4d8478.jpg","text":"TemporaryFile(/tmp/multipartBody4948435204145438503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741444803635,"filename":"image_08032025_15_15_45_10034.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/437508f683700edc546306a78b19c38c.jpg","text":"TemporaryFile(/tmp/multipartBody4279776617704930917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741444803635,"filename":"image_08032025_15_38_25_10031.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/8cae36eefa969de9eadc7e1235d7aae3.jpg","text":"TemporaryFile(/tmp/multipartBody2310399899365516102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741444803635,"filename":"image_08032025_15_38_15_10041.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/b5484d0a0eef008b74044db66de8b6ff.jpg","text":"TemporaryFile(/tmp/multipartBody3415588358040589437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741444803635,"filename":"image_08032025_15_38_05_10060.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/0d18e0529cd5c7d2754fe722af23f9a9.jpg","text":"TemporaryFile(/tmp/multipartBody4927232590756100468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741444803635,"filename":"image_08032025_15_37_55_9036.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/3a63fb6338c32113c8c2ea215e8e6b2c.jpg","text":"TemporaryFile(/tmp/multipartBody1122718363559657718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741444803635,"filename":"image_08032025_15_38_45_10029.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341906966","file1":"1341906963","file0":"1341906959","file4":"1341906971","file5":"1341906976","file3":"1341906969"},"map_files_photo_id_array":[{"photo_id":"1341906976","filename":"file5"},{"photo_id":"1341906966","filename":"file2"},{"photo_id":"1341906971","filename":"file4"},{"photo_id":"1341906963","filename":"file1"},{"photo_id":"1341906959","filename":"file0"},{"photo_id":"1341906969","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341906976":["hashtag1","hashtag2"]},{"1341906963":["hashtag1","hashtag2"]},{"1341906966":["hashtag1","hashtag2"]},{"1341906969":["hashtag1","hashtag2"]},{"1341906971":["hashtag1","hashtag2"]},{"1341906959":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341906976, 1341906963, 1341906966, 1341906969, 1341906971, 1341906959)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.615768909454346 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 15:40:02.207443
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/15/39/image_08032025_15_39_45_10045.jpg', 2), ('/home/nano/Desktop/images/08032025/15/39/image_08032025_15_39_35_10025.jpg', 2), ('/home/nano/Desktop/images/08032025/15/39/image_08032025_15_39_25_10025.jpg', 2), ('/home/nano/Desktop/images/08032025/15/39/image_08032025_15_39_15_10031.jpg', 2), ('/home/nano/Desktop/images/08032025/15/38/image_08032025_15_39_05_10036.jpg', 2), ('/home/nano/Desktop/images/08032025/15/38/image_08032025_15_38_55_10029.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/15/39/image_08032025_15_39_45_10045.jpg', '/home/nano/Desktop/images/08032025/15/39/image_08032025_15_39_35_10025.jpg', '/home/nano/Desktop/images/08032025/15/39/image_08032025_15_39_25_10025.jpg', '/home/nano/Desktop/images/08032025/15/39/image_08032025_15_39_15_10031.jpg', '/home/nano/Desktop/images/08032025/15/38/image_08032025_15_39_05_10036.jpg', '/home/nano/Desktop/images/08032025/15/38/image_08032025_15_38_55_10029.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/15/39/image_08032025_15_39_45_10045.jpg
/home/nano/Desktop/images/08032025/15/39/image_08032025_15_39_35_10025.jpg
/home/nano/Desktop/images/08032025/15/39/image_08032025_15_39_25_10025.jpg
/home/nano/Desktop/images/08032025/15/39/image_08032025_15_39_15_10031.jpg
/home/nano/Desktop/images/08032025/15/38/image_08032025_15_39_05_10036.jpg
/home/nano/Desktop/images/08032025/15/38/image_08032025_15_38_55_10029.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341907021","1341907009","1341907030","1341907011","1341907005","1341907007"],"photo_ids_order":["1341907005","1341907007","1341907009","1341907011","1341907021","1341907030"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/f1c353a0e06bdae303592670bddb6361.jpg","text":"TemporaryFile(/tmp/multipartBody588039886285848656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741444862754,"filename":"image_08032025_15_39_05_10036.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/7082ae81b934e25a78621c64781db82a.jpg","text":"TemporaryFile(/tmp/multipartBody1797971661109322687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741444862754,"filename":"image_08032025_15_39_25_10025.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/9f69041087149fdf8845f67ca37948c4.jpg","text":"TemporaryFile(/tmp/multipartBody7544190045753170111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741444862754,"filename":"image_08032025_15_38_55_10029.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/bc084c8949efcfe301cdab1316d6e7ec.jpg","text":"TemporaryFile(/tmp/multipartBody2857036924535586840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741444862754,"filename":"image_08032025_15_39_15_10031.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/75ecbcb7b6bc4a70e2027a386ad4e2dc.jpg","text":"TemporaryFile(/tmp/multipartBody3978958327446733800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741444862754,"filename":"image_08032025_15_39_45_10045.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/3416997ef47d40eaeab24b96d275c366.jpg","text":"TemporaryFile(/tmp/multipartBody3378539526334985691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741444862754,"filename":"image_08032025_15_39_35_10025.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341907009","file1":"1341907007","file0":"1341907005","file4":"1341907021","file5":"1341907030","file3":"1341907011"},"map_files_photo_id_array":[{"photo_id":"1341907030","filename":"file5"},{"photo_id":"1341907009","filename":"file2"},{"photo_id":"1341907021","filename":"file4"},{"photo_id":"1341907007","filename":"file1"},{"photo_id":"1341907005","filename":"file0"},{"photo_id":"1341907011","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341907021":["hashtag1","hashtag2"]},{"1341907009":["hashtag1","hashtag2"]},{"1341907030":["hashtag1","hashtag2"]},{"1341907011":["hashtag1","hashtag2"]},{"1341907005":["hashtag1","hashtag2"]},{"1341907007":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341907021, 1341907009, 1341907030, 1341907011, 1341907005, 1341907007)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.81723093986511 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 15:41:02.403098
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/15/40/image_08032025_15_40_45_10031.jpg', 2), ('/home/nano/Desktop/images/08032025/15/40/image_08032025_15_40_35_10026.jpg', 2), ('/home/nano/Desktop/images/08032025/15/40/image_08032025_15_40_25_10042.jpg', 2), ('/home/nano/Desktop/images/08032025/15/40/image_08032025_15_40_15_10038.jpg', 2), ('/home/nano/Desktop/images/08032025/15/39/image_08032025_15_40_05_10040.jpg', 2), ('/home/nano/Desktop/images/08032025/15/39/image_08032025_15_39_55_10029.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/15/40/image_08032025_15_40_45_10031.jpg', '/home/nano/Desktop/images/08032025/15/40/image_08032025_15_40_35_10026.jpg', '/home/nano/Desktop/images/08032025/15/40/image_08032025_15_40_25_10042.jpg', '/home/nano/Desktop/images/08032025/15/40/image_08032025_15_40_15_10038.jpg', '/home/nano/Desktop/images/08032025/15/39/image_08032025_15_40_05_10040.jpg', '/home/nano/Desktop/images/08032025/15/39/image_08032025_15_39_55_10029.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/15/40/image_08032025_15_40_45_10031.jpg
/home/nano/Desktop/images/08032025/15/40/image_08032025_15_40_35_10026.jpg
/home/nano/Desktop/images/08032025/15/40/image_08032025_15_40_25_10042.jpg
/home/nano/Desktop/images/08032025/15/40/image_08032025_15_40_15_10038.jpg
/home/nano/Desktop/images/08032025/15/39/image_08032025_15_40_05_10040.jpg
/home/nano/Desktop/images/08032025/15/39/image_08032025_15_39_55_10029.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341907159","1341907126","1341907128","1341907094","1341907157","1341907096"],"photo_ids_order":["1341907094","1341907096","1341907126","1341907128","1341907157","1341907159"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/ca9e4fff6bf46c9a2cad6931366068ce.jpg","text":"TemporaryFile(/tmp/multipartBody601225459071064605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741444922851,"filename":"image_08032025_15_39_55_10029.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/9fbae3fc787a778115ffb84ae1d0dbbb.jpg","text":"TemporaryFile(/tmp/multipartBody309150592950154382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741444922851,"filename":"image_08032025_15_40_25_10042.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/be0a90de9f74a74243af8fb5b55c4094.jpg","text":"TemporaryFile(/tmp/multipartBody417914225949842823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741444922851,"filename":"image_08032025_15_40_15_10038.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/d1d79c0dc37866733780db485854bbc6.jpg","text":"TemporaryFile(/tmp/multipartBody2017846188083457634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741444922851,"filename":"image_08032025_15_40_45_10031.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/2f4c05c04df00009b85475f3771cf913.jpg","text":"TemporaryFile(/tmp/multipartBody1659736689734387742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741444922851,"filename":"image_08032025_15_40_05_10040.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/68e004bf84fdac2c44bfc0416503fc40.jpg","text":"TemporaryFile(/tmp/multipartBody4919020090663696275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741444922851,"filename":"image_08032025_15_40_35_10026.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341907126","file1":"1341907096","file0":"1341907094","file4":"1341907157","file5":"1341907159","file3":"1341907128"},"map_files_photo_id_array":[{"photo_id":"1341907159","filename":"file5"},{"photo_id":"1341907126","filename":"file2"},{"photo_id":"1341907157","filename":"file4"},{"photo_id":"1341907096","filename":"file1"},{"photo_id":"1341907094","filename":"file0"},{"photo_id":"1341907128","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341907159":["hashtag1","hashtag2"]},{"1341907126":["hashtag1","hashtag2"]},{"1341907128":["hashtag1","hashtag2"]},{"1341907094":["hashtag1","hashtag2"]},{"1341907157":["hashtag1","hashtag2"]},{"1341907096":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341907159, 1341907126, 1341907128, 1341907094, 1341907157, 1341907096)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.116124153137207 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 15:42:02.596224
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/15/41/image_08032025_15_41_45_10056.jpg', 2), ('/home/nano/Desktop/images/08032025/15/41/image_08032025_15_41_35_10033.jpg', 2), ('/home/nano/Desktop/images/08032025/15/41/image_08032025_15_41_25_10027.jpg', 2), ('/home/nano/Desktop/images/08032025/15/41/image_08032025_15_41_15_10032.jpg', 2), ('/home/nano/Desktop/images/08032025/15/40/image_08032025_15_41_05_10051.jpg', 2), ('/home/nano/Desktop/images/08032025/15/40/image_08032025_15_40_55_10033.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/15/41/image_08032025_15_41_45_10056.jpg', '/home/nano/Desktop/images/08032025/15/41/image_08032025_15_41_35_10033.jpg', '/home/nano/Desktop/images/08032025/15/41/image_08032025_15_41_25_10027.jpg', '/home/nano/Desktop/images/08032025/15/41/image_08032025_15_41_15_10032.jpg', '/home/nano/Desktop/images/08032025/15/40/image_08032025_15_41_05_10051.jpg', '/home/nano/Desktop/images/08032025/15/40/image_08032025_15_40_55_10033.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/15/41/image_08032025_15_41_45_10056.jpg
/home/nano/Desktop/images/08032025/15/41/image_08032025_15_41_35_10033.jpg
/home/nano/Desktop/images/08032025/15/41/image_08032025_15_41_25_10027.jpg
/home/nano/Desktop/images/08032025/15/41/image_08032025_15_41_15_10032.jpg
/home/nano/Desktop/images/08032025/15/40/image_08032025_15_41_05_10051.jpg
/home/nano/Desktop/images/08032025/15/40/image_08032025_15_40_55_10033.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341907276","1341907222","1341907218","1341907280","1341907220","1341907223"],"photo_ids_order":["1341907218","1341907220","1341907222","1341907223","1341907276","1341907280"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/dfd21fc1f5296f3fd3bfe99256963cbd.jpg","text":"TemporaryFile(/tmp/multipartBody4810621437844888302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741444983025,"filename":"image_08032025_15_41_05_10051.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/27ac7e320eb6fce30da9ad5b02d1e1df.jpg","text":"TemporaryFile(/tmp/multipartBody6426595003249980001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741444983025,"filename":"image_08032025_15_41_25_10027.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/698c4ae553ebd0a98e789809581485df.jpg","text":"TemporaryFile(/tmp/multipartBody6063433945308220578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741444983025,"filename":"image_08032025_15_41_45_10056.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/7623525653d9c17da123f8cf9d3afa19.jpg","text":"TemporaryFile(/tmp/multipartBody5534664667549023835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741444983025,"filename":"image_08032025_15_40_55_10033.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/691fea4820d59be6950c8bd0a7f42f2a.jpg","text":"TemporaryFile(/tmp/multipartBody6239417406649067359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741444983025,"filename":"image_08032025_15_41_35_10033.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/c75c4eb56a21ad33f95d66eb28b0ade5.jpg","text":"TemporaryFile(/tmp/multipartBody8588151530656692401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741444983025,"filename":"image_08032025_15_41_15_10032.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341907222","file1":"1341907220","file0":"1341907218","file4":"1341907276","file5":"1341907280","file3":"1341907223"},"map_files_photo_id_array":[{"photo_id":"1341907280","filename":"file5"},{"photo_id":"1341907222","filename":"file2"},{"photo_id":"1341907276","filename":"file4"},{"photo_id":"1341907220","filename":"file1"},{"photo_id":"1341907218","filename":"file0"},{"photo_id":"1341907223","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341907276":["hashtag1","hashtag2"]},{"1341907222":["hashtag1","hashtag2"]},{"1341907218":["hashtag1","hashtag2"]},{"1341907280":["hashtag1","hashtag2"]},{"1341907220":["hashtag1","hashtag2"]},{"1341907223":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341907276, 1341907222, 1341907218, 1341907280, 1341907220, 1341907223)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.720136642456055 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 15:43:02.487706
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/15/42/image_08032025_15_42_45_10036.jpg', 2), ('/home/nano/Desktop/images/08032025/15/42/image_08032025_15_42_35_9019.jpg', 2), ('/home/nano/Desktop/images/08032025/15/42/image_08032025_15_42_26_10027.jpg', 2), ('/home/nano/Desktop/images/08032025/15/42/image_08032025_15_42_16_10030.jpg', 2), ('/home/nano/Desktop/images/08032025/15/41/image_08032025_15_42_06_10040.jpg', 2), ('/home/nano/Desktop/images/08032025/15/41/image_08032025_15_41_55_10024.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/15/42/image_08032025_15_42_45_10036.jpg', '/home/nano/Desktop/images/08032025/15/42/image_08032025_15_42_35_9019.jpg', '/home/nano/Desktop/images/08032025/15/42/image_08032025_15_42_26_10027.jpg', '/home/nano/Desktop/images/08032025/15/42/image_08032025_15_42_16_10030.jpg', '/home/nano/Desktop/images/08032025/15/41/image_08032025_15_42_06_10040.jpg', '/home/nano/Desktop/images/08032025/15/41/image_08032025_15_41_55_10024.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/15/42/image_08032025_15_42_45_10036.jpg
/home/nano/Desktop/images/08032025/15/42/image_08032025_15_42_35_9019.jpg
/home/nano/Desktop/images/08032025/15/42/image_08032025_15_42_26_10027.jpg
/home/nano/Desktop/images/08032025/15/42/image_08032025_15_42_16_10030.jpg
/home/nano/Desktop/images/08032025/15/41/image_08032025_15_42_06_10040.jpg
/home/nano/Desktop/images/08032025/15/41/image_08032025_15_41_55_10024.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341907438","1341907411","1341907413","1341907430","1341907436","1341907421"],"photo_ids_order":["1341907411","1341907413","1341907421","1341907430","1341907436","1341907438"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/abd40277b65677777abe7a5f77e4483b.jpg","text":"TemporaryFile(/tmp/multipartBody3682358875188243236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741445042946,"filename":"image_08032025_15_41_55_10024.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/b71233cc52b871f225dee0a5a1dde9e1.jpg","text":"TemporaryFile(/tmp/multipartBody3794975371908957158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741445042946,"filename":"image_08032025_15_42_45_10036.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/b318b91173f5cd72f2c7098eeb2a522a.jpg","text":"TemporaryFile(/tmp/multipartBody7683661220226197122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741445042946,"filename":"image_08032025_15_42_35_9019.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/e116804bf0928394e759e586d549b7c3.jpg","text":"TemporaryFile(/tmp/multipartBody8236151948075005043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741445042946,"filename":"image_08032025_15_42_16_10030.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/1de7a1a97ab1fe9ae06dcf399bb83260.jpg","text":"TemporaryFile(/tmp/multipartBody6758762514123180579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741445042946,"filename":"image_08032025_15_42_06_10040.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/f5ef09a013d4fe8bf0843f21dc82e7d4.jpg","text":"TemporaryFile(/tmp/multipartBody3028626241757261361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741445042946,"filename":"image_08032025_15_42_26_10027.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341907421","file1":"1341907413","file0":"1341907411","file4":"1341907436","file5":"1341907438","file3":"1341907430"},"map_files_photo_id_array":[{"photo_id":"1341907438","filename":"file5"},{"photo_id":"1341907421","filename":"file2"},{"photo_id":"1341907436","filename":"file4"},{"photo_id":"1341907413","filename":"file1"},{"photo_id":"1341907411","filename":"file0"},{"photo_id":"1341907430","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341907438":["hashtag1","hashtag2"]},{"1341907411":["hashtag1","hashtag2"]},{"1341907413":["hashtag1","hashtag2"]},{"1341907430":["hashtag1","hashtag2"]},{"1341907436":["hashtag1","hashtag2"]},{"1341907421":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341907438, 1341907411, 1341907413, 1341907430, 1341907436, 1341907421)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.906214237213135 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 15:44:02.921930
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/15/43/image_08032025_15_43_45_10025.jpg', 2), ('/home/nano/Desktop/images/08032025/15/43/image_08032025_15_43_35_10025.jpg', 2), ('/home/nano/Desktop/images/08032025/15/43/image_08032025_15_43_25_10025.jpg', 2), ('/home/nano/Desktop/images/08032025/15/43/image_08032025_15_43_15_10030.jpg', 2), ('/home/nano/Desktop/images/08032025/15/42/image_08032025_15_43_05_10049.jpg', 2), ('/home/nano/Desktop/images/08032025/15/42/image_08032025_15_42_55_10032.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/15/43/image_08032025_15_43_45_10025.jpg', '/home/nano/Desktop/images/08032025/15/43/image_08032025_15_43_35_10025.jpg', '/home/nano/Desktop/images/08032025/15/43/image_08032025_15_43_25_10025.jpg', '/home/nano/Desktop/images/08032025/15/43/image_08032025_15_43_15_10030.jpg', '/home/nano/Desktop/images/08032025/15/42/image_08032025_15_43_05_10049.jpg', '/home/nano/Desktop/images/08032025/15/42/image_08032025_15_42_55_10032.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/15/43/image_08032025_15_43_45_10025.jpg
/home/nano/Desktop/images/08032025/15/43/image_08032025_15_43_35_10025.jpg
/home/nano/Desktop/images/08032025/15/43/image_08032025_15_43_25_10025.jpg
/home/nano/Desktop/images/08032025/15/43/image_08032025_15_43_15_10030.jpg
/home/nano/Desktop/images/08032025/15/42/image_08032025_15_43_05_10049.jpg
/home/nano/Desktop/images/08032025/15/42/image_08032025_15_42_55_10032.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341907615","1341907618","1341907606","1341907620","1341907611","1341907622"],"photo_ids_order":["1341907606","1341907611","1341907615","1341907618","1341907620","1341907622"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/1183cbab271ac70509818ef0be12c407.jpg","text":"TemporaryFile(/tmp/multipartBody8115773026704399672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741445103374,"filename":"image_08032025_15_43_25_10025.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/e97095c0e51932a0c320e32d59809e52.jpg","text":"TemporaryFile(/tmp/multipartBody8648214276435991518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741445103374,"filename":"image_08032025_15_43_15_10030.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/cd5a5039f675ae06bb7a02a5885677ee.jpg","text":"TemporaryFile(/tmp/multipartBody7010209647602207202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741445103374,"filename":"image_08032025_15_43_45_10025.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/88ec5c3031d3289facc0be57189c78ff.jpg","text":"TemporaryFile(/tmp/multipartBody4864631399079576003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741445103374,"filename":"image_08032025_15_43_05_10049.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/3afd80f84ec30fb88f18738c31aa7999.jpg","text":"TemporaryFile(/tmp/multipartBody2814392692885487658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741445103374,"filename":"image_08032025_15_43_35_10025.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/cdb756b06e768d72c53f32a7138979de.jpg","text":"TemporaryFile(/tmp/multipartBody7444742328388954999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741445103374,"filename":"image_08032025_15_42_55_10032.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341907615","file1":"1341907611","file0":"1341907606","file4":"1341907620","file5":"1341907622","file3":"1341907618"},"map_files_photo_id_array":[{"photo_id":"1341907622","filename":"file5"},{"photo_id":"1341907615","filename":"file2"},{"photo_id":"1341907620","filename":"file4"},{"photo_id":"1341907611","filename":"file1"},{"photo_id":"1341907606","filename":"file0"},{"photo_id":"1341907618","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341907615":["hashtag1","hashtag2"]},{"1341907618":["hashtag1","hashtag2"]},{"1341907606":["hashtag1","hashtag2"]},{"1341907620":["hashtag1","hashtag2"]},{"1341907611":["hashtag1","hashtag2"]},{"1341907622":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341907615, 1341907618, 1341907606, 1341907620, 1341907611, 1341907622)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.66332769393921 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 15:45:02.828509
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/15/44/image_08032025_15_44_45_10027.jpg', 2), ('/home/nano/Desktop/images/08032025/15/44/image_08032025_15_44_35_10028.jpg', 2), ('/home/nano/Desktop/images/08032025/15/44/image_08032025_15_44_25_10021.jpg', 2), ('/home/nano/Desktop/images/08032025/15/44/image_08032025_15_44_15_10027.jpg', 2), ('/home/nano/Desktop/images/08032025/15/43/image_08032025_15_44_05_10029.jpg', 2), ('/home/nano/Desktop/images/08032025/15/43/image_08032025_15_43_55_10029.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/15/44/image_08032025_15_44_45_10027.jpg', '/home/nano/Desktop/images/08032025/15/44/image_08032025_15_44_35_10028.jpg', '/home/nano/Desktop/images/08032025/15/44/image_08032025_15_44_25_10021.jpg', '/home/nano/Desktop/images/08032025/15/44/image_08032025_15_44_15_10027.jpg', '/home/nano/Desktop/images/08032025/15/43/image_08032025_15_44_05_10029.jpg', '/home/nano/Desktop/images/08032025/15/43/image_08032025_15_43_55_10029.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/15/44/image_08032025_15_44_45_10027.jpg
/home/nano/Desktop/images/08032025/15/44/image_08032025_15_44_35_10028.jpg
/home/nano/Desktop/images/08032025/15/44/image_08032025_15_44_25_10021.jpg
/home/nano/Desktop/images/08032025/15/44/image_08032025_15_44_15_10027.jpg
/home/nano/Desktop/images/08032025/15/43/image_08032025_15_44_05_10029.jpg
/home/nano/Desktop/images/08032025/15/43/image_08032025_15_43_55_10029.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341907750","1341907732","1341907755","1341907766","1341907710","1341907696"],"photo_ids_order":["1341907696","1341907710","1341907732","1341907750","1341907755","1341907766"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/1da32f2f0be62c691655c678c5d69731.jpg","text":"TemporaryFile(/tmp/multipartBody3348904502974308479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741445163273,"filename":"image_08032025_15_44_15_10027.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/477a852e1d6e85ba92dbaa12629f2655.jpg","text":"TemporaryFile(/tmp/multipartBody9168417552613757327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741445163273,"filename":"image_08032025_15_44_25_10021.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/d58949a6426064ee76169fddb5ed7c29.jpg","text":"TemporaryFile(/tmp/multipartBody5442917494338842708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741445163273,"filename":"image_08032025_15_44_05_10029.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/61b5d34667b597f25a021425560e33ab.jpg","text":"TemporaryFile(/tmp/multipartBody4005976475589062372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741445163273,"filename":"image_08032025_15_43_55_10029.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/d80a62fce4b0c49d9ef21f2a5f597fce.jpg","text":"TemporaryFile(/tmp/multipartBody6843465057448168564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741445163273,"filename":"image_08032025_15_44_35_10028.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/abeb2c0888132696a0f06518026c9fb5.jpg","text":"TemporaryFile(/tmp/multipartBody7363256644441090889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741445163273,"filename":"image_08032025_15_44_45_10027.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341907732","file1":"1341907710","file0":"1341907696","file4":"1341907755","file5":"1341907766","file3":"1341907750"},"map_files_photo_id_array":[{"photo_id":"1341907766","filename":"file5"},{"photo_id":"1341907732","filename":"file2"},{"photo_id":"1341907755","filename":"file4"},{"photo_id":"1341907710","filename":"file1"},{"photo_id":"1341907696","filename":"file0"},{"photo_id":"1341907750","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341907750":["hashtag1","hashtag2"]},{"1341907732":["hashtag1","hashtag2"]},{"1341907755":["hashtag1","hashtag2"]},{"1341907766":["hashtag1","hashtag2"]},{"1341907710":["hashtag1","hashtag2"]},{"1341907696":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341907750, 1341907732, 1341907755, 1341907766, 1341907710, 1341907696)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.08933925628662 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 15:46:03.025912
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/15/45/image_08032025_15_45_45_10028.jpg', 2), ('/home/nano/Desktop/images/08032025/15/45/image_08032025_15_45_35_10034.jpg', 2), ('/home/nano/Desktop/images/08032025/15/45/image_08032025_15_45_25_10032.jpg', 2), ('/home/nano/Desktop/images/08032025/15/45/image_08032025_15_45_15_10054.jpg', 2), ('/home/nano/Desktop/images/08032025/15/44/image_08032025_15_45_05_10050.jpg', 2), ('/home/nano/Desktop/images/08032025/15/44/image_08032025_15_44_55_10022.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/15/45/image_08032025_15_45_45_10028.jpg', '/home/nano/Desktop/images/08032025/15/45/image_08032025_15_45_35_10034.jpg', '/home/nano/Desktop/images/08032025/15/45/image_08032025_15_45_25_10032.jpg', '/home/nano/Desktop/images/08032025/15/45/image_08032025_15_45_15_10054.jpg', '/home/nano/Desktop/images/08032025/15/44/image_08032025_15_45_05_10050.jpg', '/home/nano/Desktop/images/08032025/15/44/image_08032025_15_44_55_10022.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/15/45/image_08032025_15_45_45_10028.jpg
/home/nano/Desktop/images/08032025/15/45/image_08032025_15_45_35_10034.jpg
/home/nano/Desktop/images/08032025/15/45/image_08032025_15_45_25_10032.jpg
/home/nano/Desktop/images/08032025/15/45/image_08032025_15_45_15_10054.jpg
/home/nano/Desktop/images/08032025/15/44/image_08032025_15_45_05_10050.jpg
/home/nano/Desktop/images/08032025/15/44/image_08032025_15_44_55_10022.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341908019","1341908192","1341907967","1341908182","1341908077","1341908263"],"photo_ids_order":["1341907967","1341908019","1341908077","1341908182","1341908192","1341908263"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/8812738bc77906a2f4629ed8ab4b89a5.jpg","text":"TemporaryFile(/tmp/multipartBody3288391177949079258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741445223460,"filename":"image_08032025_15_45_35_10034.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/ce64490f869f14f420ebee0c9d22a630.jpg","text":"TemporaryFile(/tmp/multipartBody3478248243377667054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741445223460,"filename":"image_08032025_15_45_05_10050.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/17dccc60a3c58577ea84d2f1aecae04d.jpg","text":"TemporaryFile(/tmp/multipartBody1404390818996067876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741445223460,"filename":"image_08032025_15_45_45_10028.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/54c509a3e81ac418d771678a5b3b7c57.jpg","text":"TemporaryFile(/tmp/multipartBody1466624439436361477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741445223460,"filename":"image_08032025_15_45_15_10054.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/576989276cc9cea0d87ee08877107619.jpg","text":"TemporaryFile(/tmp/multipartBody305474658441773666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741445223460,"filename":"image_08032025_15_45_25_10032.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/4e44697aa4313c2cd489db2bd33545d4.jpg","text":"TemporaryFile(/tmp/multipartBody2159031133349271324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741445223460,"filename":"image_08032025_15_44_55_10022.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341908077","file1":"1341908019","file0":"1341907967","file4":"1341908192","file5":"1341908263","file3":"1341908182"},"map_files_photo_id_array":[{"photo_id":"1341908263","filename":"file5"},{"photo_id":"1341908077","filename":"file2"},{"photo_id":"1341908192","filename":"file4"},{"photo_id":"1341908019","filename":"file1"},{"photo_id":"1341907967","filename":"file0"},{"photo_id":"1341908182","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341908019":["hashtag1","hashtag2"]},{"1341908192":["hashtag1","hashtag2"]},{"1341907967":["hashtag1","hashtag2"]},{"1341908182":["hashtag1","hashtag2"]},{"1341908077":["hashtag1","hashtag2"]},{"1341908263":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341908019, 1341908192, 1341907967, 1341908182, 1341908077, 1341908263)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.52558255195618 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 15:47:03.165778
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/15/47/image_08032025_15_47_45_10032.jpg', 2), ('/home/nano/Desktop/images/08032025/15/46/image_08032025_15_46_45_10033.jpg', 2), ('/home/nano/Desktop/images/08032025/15/46/image_08032025_15_46_35_10042.jpg', 2), ('/home/nano/Desktop/images/08032025/15/46/image_08032025_15_46_25_10031.jpg', 2), ('/home/nano/Desktop/images/08032025/15/46/image_08032025_15_46_15_10028.jpg', 2), ('/home/nano/Desktop/images/08032025/15/45/image_08032025_15_46_05_10068.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/15/47/image_08032025_15_47_45_10032.jpg', '/home/nano/Desktop/images/08032025/15/46/image_08032025_15_46_45_10033.jpg', '/home/nano/Desktop/images/08032025/15/46/image_08032025_15_46_35_10042.jpg', '/home/nano/Desktop/images/08032025/15/46/image_08032025_15_46_25_10031.jpg', '/home/nano/Desktop/images/08032025/15/46/image_08032025_15_46_15_10028.jpg', '/home/nano/Desktop/images/08032025/15/45/image_08032025_15_46_05_10068.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/15/47/image_08032025_15_47_45_10032.jpg
/home/nano/Desktop/images/08032025/15/46/image_08032025_15_46_45_10033.jpg
/home/nano/Desktop/images/08032025/15/46/image_08032025_15_46_35_10042.jpg
/home/nano/Desktop/images/08032025/15/46/image_08032025_15_46_25_10031.jpg
/home/nano/Desktop/images/08032025/15/46/image_08032025_15_46_15_10028.jpg
/home/nano/Desktop/images/08032025/15/45/image_08032025_15_46_05_10068.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341908608","1341908580","1341908588","1341908552","1341908702","1341908566"],"photo_ids_order":["1341908552","1341908566","1341908580","1341908588","1341908608","1341908702"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/1ececabd4f6f7d676912628d4509bdf3.jpg","text":"TemporaryFile(/tmp/multipartBody4872712403454166706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741445283596,"filename":"image_08032025_15_46_15_10028.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/34e91bc07f200a7d1a53ffab58b75d3b.jpg","text":"TemporaryFile(/tmp/multipartBody2182719825096203589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741445283596,"filename":"image_08032025_15_46_35_10042.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/fb0db8fc79d827b127ab7ff33fd1df12.jpg","text":"TemporaryFile(/tmp/multipartBody256508454311487447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741445283596,"filename":"image_08032025_15_46_25_10031.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/8d9608f91b019c78361842947855328d.jpg","text":"TemporaryFile(/tmp/multipartBody6516605027847957493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741445283596,"filename":"image_08032025_15_47_45_10032.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/dc143b250427925db72f35e92645fe7e.jpg","text":"TemporaryFile(/tmp/multipartBody4035744481180437914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741445283596,"filename":"image_08032025_15_46_05_10068.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/abd8057278bbfe4c139c2ca02a2868a0.jpg","text":"TemporaryFile(/tmp/multipartBody7960544321389414425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741445283596,"filename":"image_08032025_15_46_45_10033.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341908580","file1":"1341908566","file0":"1341908552","file4":"1341908608","file5":"1341908702","file3":"1341908588"},"map_files_photo_id_array":[{"photo_id":"1341908702","filename":"file5"},{"photo_id":"1341908580","filename":"file2"},{"photo_id":"1341908608","filename":"file4"},{"photo_id":"1341908566","filename":"file1"},{"photo_id":"1341908552","filename":"file0"},{"photo_id":"1341908588","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341908608":["hashtag1","hashtag2"]},{"1341908580":["hashtag1","hashtag2"]},{"1341908588":["hashtag1","hashtag2"]},{"1341908552":["hashtag1","hashtag2"]},{"1341908702":["hashtag1","hashtag2"]},{"1341908566":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341908608, 1341908580, 1341908588, 1341908552, 1341908702, 1341908566)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.27082133293152 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 15:48:03.269965
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/15/47/image_08032025_15_47_35_10030.jpg', 2), ('/home/nano/Desktop/images/08032025/15/47/image_08032025_15_47_25_9021.jpg', 2), ('/home/nano/Desktop/images/08032025/15/47/image_08032025_15_47_16_10032.jpg', 2), ('/home/nano/Desktop/images/08032025/15/46/image_08032025_15_47_06_10069.jpg', 2), ('/home/nano/Desktop/images/08032025/15/46/image_08032025_15_46_55_10034.jpg', 2), ('/home/nano/Desktop/images/08032025/15/45/image_08032025_15_45_55_10027.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/15/47/image_08032025_15_47_35_10030.jpg', '/home/nano/Desktop/images/08032025/15/47/image_08032025_15_47_25_9021.jpg', '/home/nano/Desktop/images/08032025/15/47/image_08032025_15_47_16_10032.jpg', '/home/nano/Desktop/images/08032025/15/46/image_08032025_15_47_06_10069.jpg', '/home/nano/Desktop/images/08032025/15/46/image_08032025_15_46_55_10034.jpg', '/home/nano/Desktop/images/08032025/15/45/image_08032025_15_45_55_10027.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/15/47/image_08032025_15_47_35_10030.jpg
/home/nano/Desktop/images/08032025/15/47/image_08032025_15_47_25_9021.jpg
/home/nano/Desktop/images/08032025/15/47/image_08032025_15_47_16_10032.jpg
/home/nano/Desktop/images/08032025/15/46/image_08032025_15_47_06_10069.jpg
/home/nano/Desktop/images/08032025/15/46/image_08032025_15_46_55_10034.jpg
/home/nano/Desktop/images/08032025/15/45/image_08032025_15_45_55_10027.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.3739140033721924 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 marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 15:48:32.604653
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/15/48/image_08032025_15_48_45_10032.jpg', 2), ('/home/nano/Desktop/images/08032025/15/48/image_08032025_15_48_35_10055.jpg', 2), ('/home/nano/Desktop/images/08032025/15/48/image_08032025_15_48_25_10039.jpg', 2), ('/home/nano/Desktop/images/08032025/15/48/image_08032025_15_48_15_10035.jpg', 2), ('/home/nano/Desktop/images/08032025/15/47/image_08032025_15_48_05_10042.jpg', 2), ('/home/nano/Desktop/images/08032025/15/47/image_08032025_15_47_55_10030.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/15/48/image_08032025_15_48_45_10032.jpg', '/home/nano/Desktop/images/08032025/15/48/image_08032025_15_48_35_10055.jpg', '/home/nano/Desktop/images/08032025/15/48/image_08032025_15_48_25_10039.jpg', '/home/nano/Desktop/images/08032025/15/48/image_08032025_15_48_15_10035.jpg', '/home/nano/Desktop/images/08032025/15/47/image_08032025_15_48_05_10042.jpg', '/home/nano/Desktop/images/08032025/15/47/image_08032025_15_47_55_10030.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/15/48/image_08032025_15_48_45_10032.jpg
/home/nano/Desktop/images/08032025/15/48/image_08032025_15_48_35_10055.jpg
/home/nano/Desktop/images/08032025/15/48/image_08032025_15_48_25_10039.jpg
/home/nano/Desktop/images/08032025/15/48/image_08032025_15_48_15_10035.jpg
/home/nano/Desktop/images/08032025/15/47/image_08032025_15_48_05_10042.jpg
/home/nano/Desktop/images/08032025/15/47/image_08032025_15_47_55_10030.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341909363","1341909392","1341909407","1341909370","1341909430","1341909367"],"photo_ids_order":["1341909363","1341909367","1341909370","1341909392","1341909407","1341909430"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/346f9b5b2184ee701578a3daa1e32b97.jpg","text":"TemporaryFile(/tmp/multipartBody8299666489376773754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741445373041,"filename":"image_08032025_15_48_45_10032.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/4df0ba2f555bd3d414c8d2b66bf6f4b6.jpg","text":"TemporaryFile(/tmp/multipartBody9208799249106793831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741445373041,"filename":"image_08032025_15_48_15_10035.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/0b984c3a7c24a6ab2cdf8af145165b87.jpg","text":"TemporaryFile(/tmp/multipartBody210177537388007567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741445373041,"filename":"image_08032025_15_48_05_10042.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/9a8c1fb43dde228db94ce505ecb0ba48.jpg","text":"TemporaryFile(/tmp/multipartBody604290314614495684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741445373041,"filename":"image_08032025_15_48_25_10039.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/43cc2e70d57e58ddf5a69a3108a234a1.jpg","text":"TemporaryFile(/tmp/multipartBody5223099061597272950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741445373041,"filename":"image_08032025_15_47_55_10030.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/952356a9ac69424c440cca0827bc5173.jpg","text":"TemporaryFile(/tmp/multipartBody2992040746373583333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741445373041,"filename":"image_08032025_15_48_35_10055.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341909370","file1":"1341909367","file0":"1341909363","file4":"1341909407","file5":"1341909430","file3":"1341909392"},"map_files_photo_id_array":[{"photo_id":"1341909430","filename":"file5"},{"photo_id":"1341909370","filename":"file2"},{"photo_id":"1341909407","filename":"file4"},{"photo_id":"1341909367","filename":"file1"},{"photo_id":"1341909363","filename":"file0"},{"photo_id":"1341909392","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341909363":["hashtag1","hashtag2"]},{"1341909392":["hashtag1","hashtag2"]},{"1341909407":["hashtag1","hashtag2"]},{"1341909370":["hashtag1","hashtag2"]},{"1341909430":["hashtag1","hashtag2"]},{"1341909367":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341909363, 1341909392, 1341909407, 1341909370, 1341909430, 1341909367)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.3795120716095 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 15:49:32.806831
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/15/49/image_08032025_15_49_45_10048.jpg', 2), ('/home/nano/Desktop/images/08032025/15/49/image_08032025_15_49_35_10048.jpg', 2), ('/home/nano/Desktop/images/08032025/15/49/image_08032025_15_49_25_10064.jpg', 2), ('/home/nano/Desktop/images/08032025/15/49/image_08032025_15_49_15_10048.jpg', 2), ('/home/nano/Desktop/images/08032025/15/48/image_08032025_15_49_05_10053.jpg', 2), ('/home/nano/Desktop/images/08032025/15/48/image_08032025_15_48_55_10031.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/15/49/image_08032025_15_49_45_10048.jpg', '/home/nano/Desktop/images/08032025/15/49/image_08032025_15_49_35_10048.jpg', '/home/nano/Desktop/images/08032025/15/49/image_08032025_15_49_25_10064.jpg', '/home/nano/Desktop/images/08032025/15/49/image_08032025_15_49_15_10048.jpg', '/home/nano/Desktop/images/08032025/15/48/image_08032025_15_49_05_10053.jpg', '/home/nano/Desktop/images/08032025/15/48/image_08032025_15_48_55_10031.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/15/49/image_08032025_15_49_45_10048.jpg
/home/nano/Desktop/images/08032025/15/49/image_08032025_15_49_35_10048.jpg
/home/nano/Desktop/images/08032025/15/49/image_08032025_15_49_25_10064.jpg
/home/nano/Desktop/images/08032025/15/49/image_08032025_15_49_15_10048.jpg
/home/nano/Desktop/images/08032025/15/48/image_08032025_15_49_05_10053.jpg
/home/nano/Desktop/images/08032025/15/48/image_08032025_15_48_55_10031.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341909555","1341909534","1341909524","1341909518","1341909550","1341909553"],"photo_ids_order":["1341909518","1341909524","1341909534","1341909550","1341909553","1341909555"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/72a80682fa643eb6d894a9fb830c574e.jpg","text":"TemporaryFile(/tmp/multipartBody7886913609839868056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741445433244,"filename":"image_08032025_15_48_55_10031.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/cac8b0255b5d3e1b371211b6172a4a30.jpg","text":"TemporaryFile(/tmp/multipartBody3173784606517031710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741445433244,"filename":"image_08032025_15_49_25_10064.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/a67790324df49adbee268d5ab59fa88d.jpg","text":"TemporaryFile(/tmp/multipartBody8357722637757655138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741445433244,"filename":"image_08032025_15_49_35_10048.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/6d22b097bbca1eb0969341777eb42abe.jpg","text":"TemporaryFile(/tmp/multipartBody5169504142849157243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741445433244,"filename":"image_08032025_15_49_45_10048.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/84796b0153945df94cfbe3e9d049dc2f.jpg","text":"TemporaryFile(/tmp/multipartBody6187850746972633629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741445433244,"filename":"image_08032025_15_49_15_10048.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/b55c250ce9d98a70e00150118ed8511f.jpg","text":"TemporaryFile(/tmp/multipartBody7149719810732545723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741445433244,"filename":"image_08032025_15_49_05_10053.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341909534","file1":"1341909524","file0":"1341909518","file4":"1341909553","file5":"1341909555","file3":"1341909550"},"map_files_photo_id_array":[{"photo_id":"1341909555","filename":"file5"},{"photo_id":"1341909534","filename":"file2"},{"photo_id":"1341909553","filename":"file4"},{"photo_id":"1341909524","filename":"file1"},{"photo_id":"1341909518","filename":"file0"},{"photo_id":"1341909550","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341909555":["hashtag1","hashtag2"]},{"1341909534":["hashtag1","hashtag2"]},{"1341909524":["hashtag1","hashtag2"]},{"1341909518":["hashtag1","hashtag2"]},{"1341909550":["hashtag1","hashtag2"]},{"1341909553":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341909555, 1341909534, 1341909524, 1341909518, 1341909550, 1341909553)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.39933753013611 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 15:50:31.919954
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/15/50/image_08032025_15_50_45_10059.jpg', 2), ('/home/nano/Desktop/images/08032025/15/50/image_08032025_15_50_35_10037.jpg', 2), ('/home/nano/Desktop/images/08032025/15/50/image_08032025_15_50_25_10035.jpg', 2), ('/home/nano/Desktop/images/08032025/15/50/image_08032025_15_50_15_10043.jpg', 2), ('/home/nano/Desktop/images/08032025/15/49/image_08032025_15_50_05_10036.jpg', 2), ('/home/nano/Desktop/images/08032025/15/49/image_08032025_15_49_55_10035.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/15/50/image_08032025_15_50_45_10059.jpg', '/home/nano/Desktop/images/08032025/15/50/image_08032025_15_50_35_10037.jpg', '/home/nano/Desktop/images/08032025/15/50/image_08032025_15_50_25_10035.jpg', '/home/nano/Desktop/images/08032025/15/50/image_08032025_15_50_15_10043.jpg', '/home/nano/Desktop/images/08032025/15/49/image_08032025_15_50_05_10036.jpg', '/home/nano/Desktop/images/08032025/15/49/image_08032025_15_49_55_10035.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/15/50/image_08032025_15_50_45_10059.jpg
/home/nano/Desktop/images/08032025/15/50/image_08032025_15_50_35_10037.jpg
/home/nano/Desktop/images/08032025/15/50/image_08032025_15_50_25_10035.jpg
/home/nano/Desktop/images/08032025/15/50/image_08032025_15_50_15_10043.jpg
/home/nano/Desktop/images/08032025/15/49/image_08032025_15_50_05_10036.jpg
/home/nano/Desktop/images/08032025/15/49/image_08032025_15_49_55_10035.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341909660","1341909738","1341909683","1341909752","1341909803","1341909710"],"photo_ids_order":["1341909660","1341909683","1341909710","1341909738","1341909752","1341909803"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/83e6cbfe0aec9d3874d0573cc5d643be.jpg","text":"TemporaryFile(/tmp/multipartBody4736362498864047564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741445492373,"filename":"image_08032025_15_50_45_10059.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/87c09e5b5760feb0117e12b91205464d.jpg","text":"TemporaryFile(/tmp/multipartBody2503864380005382101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741445492373,"filename":"image_08032025_15_50_15_10043.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/a727717e7b7f7702fd521f34b7bd18af.jpg","text":"TemporaryFile(/tmp/multipartBody3677121362108581756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741445492373,"filename":"image_08032025_15_50_35_10037.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/fa5b11754d1f54177810d9475e678163.jpg","text":"TemporaryFile(/tmp/multipartBody7307256377537225541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741445492373,"filename":"image_08032025_15_50_05_10036.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/00a6a662a24d6ae3444f2facac27f361.jpg","text":"TemporaryFile(/tmp/multipartBody3732942500035081610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741445492373,"filename":"image_08032025_15_49_55_10035.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/6e924f2005976b27f5bb5c5164b3e935.jpg","text":"TemporaryFile(/tmp/multipartBody7449598889066259803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741445492373,"filename":"image_08032025_15_50_25_10035.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341909710","file1":"1341909683","file0":"1341909660","file4":"1341909752","file5":"1341909803","file3":"1341909738"},"map_files_photo_id_array":[{"photo_id":"1341909803","filename":"file5"},{"photo_id":"1341909710","filename":"file2"},{"photo_id":"1341909752","filename":"file4"},{"photo_id":"1341909683","filename":"file1"},{"photo_id":"1341909660","filename":"file0"},{"photo_id":"1341909738","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341909660":["hashtag1","hashtag2"]},{"1341909738":["hashtag1","hashtag2"]},{"1341909683":["hashtag1","hashtag2"]},{"1341909752":["hashtag1","hashtag2"]},{"1341909803":["hashtag1","hashtag2"]},{"1341909710":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341909660, 1341909738, 1341909683, 1341909752, 1341909803, 1341909710)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.079416275024414 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 15:51:32.004919
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/15/51/image_08032025_15_51_45_10049.jpg', 2), ('/home/nano/Desktop/images/08032025/15/51/image_08032025_15_51_35_10048.jpg', 2), ('/home/nano/Desktop/images/08032025/15/51/image_08032025_15_51_25_9047.jpg', 2), ('/home/nano/Desktop/images/08032025/15/51/image_08032025_15_51_16_10044.jpg', 2), ('/home/nano/Desktop/images/08032025/15/50/image_08032025_15_51_06_10050.jpg', 2), ('/home/nano/Desktop/images/08032025/15/50/image_08032025_15_50_55_10041.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/15/51/image_08032025_15_51_45_10049.jpg', '/home/nano/Desktop/images/08032025/15/51/image_08032025_15_51_35_10048.jpg', '/home/nano/Desktop/images/08032025/15/51/image_08032025_15_51_25_9047.jpg', '/home/nano/Desktop/images/08032025/15/51/image_08032025_15_51_16_10044.jpg', '/home/nano/Desktop/images/08032025/15/50/image_08032025_15_51_06_10050.jpg', '/home/nano/Desktop/images/08032025/15/50/image_08032025_15_50_55_10041.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/15/51/image_08032025_15_51_45_10049.jpg
/home/nano/Desktop/images/08032025/15/51/image_08032025_15_51_35_10048.jpg
/home/nano/Desktop/images/08032025/15/51/image_08032025_15_51_25_9047.jpg
/home/nano/Desktop/images/08032025/15/51/image_08032025_15_51_16_10044.jpg
/home/nano/Desktop/images/08032025/15/50/image_08032025_15_51_06_10050.jpg
/home/nano/Desktop/images/08032025/15/50/image_08032025_15_50_55_10041.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341910210","1341910257","1341910185","1341910283","1341910235","1341910159"],"photo_ids_order":["1341910159","1341910185","1341910210","1341910235","1341910257","1341910283"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/454290752027458b599ebfae0c65067d.jpg","text":"TemporaryFile(/tmp/multipartBody8787230375879433030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741445552453,"filename":"image_08032025_15_51_25_9047.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/be79f118cbcfbcf3e35ff5f841a6bbf1.jpg","text":"TemporaryFile(/tmp/multipartBody912161227088806710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741445552453,"filename":"image_08032025_15_51_06_10050.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/7fa78a34e1931dbe63e7422774431e20.jpg","text":"TemporaryFile(/tmp/multipartBody7338886216643948371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741445552453,"filename":"image_08032025_15_51_35_10048.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/4e560cbbbe6f060d7084580063a03738.jpg","text":"TemporaryFile(/tmp/multipartBody8285577220363347627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741445552453,"filename":"image_08032025_15_50_55_10041.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/270d62ad59e9e56940fe364463127e67.jpg","text":"TemporaryFile(/tmp/multipartBody5982419272353712980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741445552453,"filename":"image_08032025_15_51_16_10044.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/73f370edceb2a10d726be6a55fc739da.jpg","text":"TemporaryFile(/tmp/multipartBody7374809824883849076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741445552453,"filename":"image_08032025_15_51_45_10049.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341910210","file1":"1341910185","file0":"1341910159","file4":"1341910257","file5":"1341910283","file3":"1341910235"},"map_files_photo_id_array":[{"photo_id":"1341910283","filename":"file5"},{"photo_id":"1341910210","filename":"file2"},{"photo_id":"1341910257","filename":"file4"},{"photo_id":"1341910185","filename":"file1"},{"photo_id":"1341910159","filename":"file0"},{"photo_id":"1341910235","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341910210":["hashtag1","hashtag2"]},{"1341910257":["hashtag1","hashtag2"]},{"1341910185":["hashtag1","hashtag2"]},{"1341910283":["hashtag1","hashtag2"]},{"1341910235":["hashtag1","hashtag2"]},{"1341910159":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341910210, 1341910257, 1341910185, 1341910283, 1341910235, 1341910159)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.78558683395386 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 15:52:32.124626
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/15/52/image_08032025_15_52_45_10047.jpg', 2), ('/home/nano/Desktop/images/08032025/15/52/image_08032025_15_52_35_10069.jpg', 2), ('/home/nano/Desktop/images/08032025/15/52/image_08032025_15_52_25_10051.jpg', 2), ('/home/nano/Desktop/images/08032025/15/52/image_08032025_15_52_15_10053.jpg', 2), ('/home/nano/Desktop/images/08032025/15/51/image_08032025_15_52_05_10069.jpg', 2), ('/home/nano/Desktop/images/08032025/15/51/image_08032025_15_51_55_10046.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/15/52/image_08032025_15_52_45_10047.jpg', '/home/nano/Desktop/images/08032025/15/52/image_08032025_15_52_35_10069.jpg', '/home/nano/Desktop/images/08032025/15/52/image_08032025_15_52_25_10051.jpg', '/home/nano/Desktop/images/08032025/15/52/image_08032025_15_52_15_10053.jpg', '/home/nano/Desktop/images/08032025/15/51/image_08032025_15_52_05_10069.jpg', '/home/nano/Desktop/images/08032025/15/51/image_08032025_15_51_55_10046.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/15/52/image_08032025_15_52_45_10047.jpg
/home/nano/Desktop/images/08032025/15/52/image_08032025_15_52_35_10069.jpg
/home/nano/Desktop/images/08032025/15/52/image_08032025_15_52_25_10051.jpg
/home/nano/Desktop/images/08032025/15/52/image_08032025_15_52_15_10053.jpg
/home/nano/Desktop/images/08032025/15/51/image_08032025_15_52_05_10069.jpg
/home/nano/Desktop/images/08032025/15/51/image_08032025_15_51_55_10046.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341910327","1341910312","1341910322","1341910316","1341910301","1341910297"],"photo_ids_order":["1341910297","1341910301","1341910312","1341910316","1341910322","1341910327"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/8b3374f02c0467b4b6f8438577edb9b4.jpg","text":"TemporaryFile(/tmp/multipartBody851914069094807771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741445612562,"filename":"image_08032025_15_51_55_10046.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/d756eb3edbe4b52ac9bd9082dc0849f4.jpg","text":"TemporaryFile(/tmp/multipartBody2646055560134886301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741445612562,"filename":"image_08032025_15_52_25_10051.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/946b9058622bb700811a87ccb4e46a77.jpg","text":"TemporaryFile(/tmp/multipartBody6100308815526198719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741445612562,"filename":"image_08032025_15_52_05_10069.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/9d75a495611e47eb76db061da2fb781d.jpg","text":"TemporaryFile(/tmp/multipartBody7741393615190068689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741445612562,"filename":"image_08032025_15_52_15_10053.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/e723812e28a51275a7d526e8886d3608.jpg","text":"TemporaryFile(/tmp/multipartBody3617823650305875617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741445612562,"filename":"image_08032025_15_52_35_10069.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/0fe9ce9f0e49af911945974cacf10637.jpg","text":"TemporaryFile(/tmp/multipartBody2273569742047272751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741445612562,"filename":"image_08032025_15_52_45_10047.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341910312","file1":"1341910301","file0":"1341910297","file4":"1341910322","file5":"1341910327","file3":"1341910316"},"map_files_photo_id_array":[{"photo_id":"1341910327","filename":"file5"},{"photo_id":"1341910312","filename":"file2"},{"photo_id":"1341910322","filename":"file4"},{"photo_id":"1341910301","filename":"file1"},{"photo_id":"1341910297","filename":"file0"},{"photo_id":"1341910316","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341910327":["hashtag1","hashtag2"]},{"1341910312":["hashtag1","hashtag2"]},{"1341910322":["hashtag1","hashtag2"]},{"1341910316":["hashtag1","hashtag2"]},{"1341910301":["hashtag1","hashtag2"]},{"1341910297":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341910327, 1341910312, 1341910322, 1341910316, 1341910301, 1341910297)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.679173231124878 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 15:53:32.237334
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/15/53/image_08032025_15_53_45_10020.jpg', 2), ('/home/nano/Desktop/images/08032025/15/53/image_08032025_15_53_35_10049.jpg', 2), ('/home/nano/Desktop/images/08032025/15/53/image_08032025_15_53_25_10054.jpg', 2), ('/home/nano/Desktop/images/08032025/15/53/image_08032025_15_53_15_10052.jpg', 2), ('/home/nano/Desktop/images/08032025/15/52/image_08032025_15_53_05_10074.jpg', 2), ('/home/nano/Desktop/images/08032025/15/52/image_08032025_15_52_55_10049.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/15/53/image_08032025_15_53_45_10020.jpg', '/home/nano/Desktop/images/08032025/15/53/image_08032025_15_53_35_10049.jpg', '/home/nano/Desktop/images/08032025/15/53/image_08032025_15_53_25_10054.jpg', '/home/nano/Desktop/images/08032025/15/53/image_08032025_15_53_15_10052.jpg', '/home/nano/Desktop/images/08032025/15/52/image_08032025_15_53_05_10074.jpg', '/home/nano/Desktop/images/08032025/15/52/image_08032025_15_52_55_10049.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/15/53/image_08032025_15_53_45_10020.jpg
/home/nano/Desktop/images/08032025/15/53/image_08032025_15_53_35_10049.jpg
/home/nano/Desktop/images/08032025/15/53/image_08032025_15_53_25_10054.jpg
/home/nano/Desktop/images/08032025/15/53/image_08032025_15_53_15_10052.jpg
/home/nano/Desktop/images/08032025/15/52/image_08032025_15_53_05_10074.jpg
/home/nano/Desktop/images/08032025/15/52/image_08032025_15_52_55_10049.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341910428","1341910377","1341910422","1341910425","1341910419","1341910382"],"photo_ids_order":["1341910377","1341910382","1341910419","1341910422","1341910425","1341910428"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/b135861e64bc084da1e3f7a93017289e.jpg","text":"TemporaryFile(/tmp/multipartBody7547394876591279958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741445672678,"filename":"image_08032025_15_52_55_10049.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/10366f8359b9d1de6b77a17c6b4f5e1a.jpg","text":"TemporaryFile(/tmp/multipartBody530117152876557471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741445672678,"filename":"image_08032025_15_53_45_10020.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/1f0b25681e7c0df0cb5e76bdc776855d.jpg","text":"TemporaryFile(/tmp/multipartBody2973752538332384791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741445672678,"filename":"image_08032025_15_53_15_10052.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/9178032939c0eeb1ecfa5e9a190255d1.jpg","text":"TemporaryFile(/tmp/multipartBody5075765007055888984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741445672678,"filename":"image_08032025_15_53_05_10074.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/999aebef7ddd0212c5a70a821c8e06a9.jpg","text":"TemporaryFile(/tmp/multipartBody2294160356993604497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741445672678,"filename":"image_08032025_15_53_25_10054.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/e79702dcfac3b4c61d806dbbfb4c9f7b.jpg","text":"TemporaryFile(/tmp/multipartBody3527303660564109340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741445672678,"filename":"image_08032025_15_53_35_10049.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341910419","file1":"1341910382","file0":"1341910377","file4":"1341910425","file5":"1341910428","file3":"1341910422"},"map_files_photo_id_array":[{"photo_id":"1341910428","filename":"file5"},{"photo_id":"1341910419","filename":"file2"},{"photo_id":"1341910425","filename":"file4"},{"photo_id":"1341910382","filename":"file1"},{"photo_id":"1341910377","filename":"file0"},{"photo_id":"1341910422","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341910428":["hashtag1","hashtag2"]},{"1341910377":["hashtag1","hashtag2"]},{"1341910422":["hashtag1","hashtag2"]},{"1341910425":["hashtag1","hashtag2"]},{"1341910419":["hashtag1","hashtag2"]},{"1341910382":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341910428, 1341910377, 1341910422, 1341910425, 1341910419, 1341910382)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.136186599731445 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 15:54:32.311801
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/15/54/image_08032025_15_54_46_10021.jpg', 2), ('/home/nano/Desktop/images/08032025/15/54/image_08032025_15_54_35_10023.jpg', 2), ('/home/nano/Desktop/images/08032025/15/54/image_08032025_15_54_25_10022.jpg', 2), ('/home/nano/Desktop/images/08032025/15/54/image_08032025_15_54_15_10019.jpg', 2), ('/home/nano/Desktop/images/08032025/15/53/image_08032025_15_54_05_10041.jpg', 2), ('/home/nano/Desktop/images/08032025/15/53/image_08032025_15_53_55_10012.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/15/54/image_08032025_15_54_46_10021.jpg', '/home/nano/Desktop/images/08032025/15/54/image_08032025_15_54_35_10023.jpg', '/home/nano/Desktop/images/08032025/15/54/image_08032025_15_54_25_10022.jpg', '/home/nano/Desktop/images/08032025/15/54/image_08032025_15_54_15_10019.jpg', '/home/nano/Desktop/images/08032025/15/53/image_08032025_15_54_05_10041.jpg', '/home/nano/Desktop/images/08032025/15/53/image_08032025_15_53_55_10012.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/15/54/image_08032025_15_54_46_10021.jpg
/home/nano/Desktop/images/08032025/15/54/image_08032025_15_54_35_10023.jpg
/home/nano/Desktop/images/08032025/15/54/image_08032025_15_54_25_10022.jpg
/home/nano/Desktop/images/08032025/15/54/image_08032025_15_54_15_10019.jpg
/home/nano/Desktop/images/08032025/15/53/image_08032025_15_54_05_10041.jpg
/home/nano/Desktop/images/08032025/15/53/image_08032025_15_53_55_10012.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341910758","1341910644","1341910830","1341910707","1341910629","1341910663"],"photo_ids_order":["1341910629","1341910644","1341910663","1341910707","1341910758","1341910830"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/a3c9130a66cc7fdfbc5dc87fe3699dd8.jpg","text":"TemporaryFile(/tmp/multipartBody2028383054585296665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741445732752,"filename":"image_08032025_15_54_05_10041.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/a9b4e04edf506b41dd82965f008fcb1c.jpg","text":"TemporaryFile(/tmp/multipartBody377571403374064835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741445732752,"filename":"image_08032025_15_54_35_10023.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/1db72b00a8012c95d969233c7c8041a8.jpg","text":"TemporaryFile(/tmp/multipartBody3022243636234506824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741445732752,"filename":"image_08032025_15_53_55_10012.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/a708273f7fe49e6538df111b7eb43495.jpg","text":"TemporaryFile(/tmp/multipartBody3571852062628291753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741445732752,"filename":"image_08032025_15_54_15_10019.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/c473544877288b14988ae92c0885f889.jpg","text":"TemporaryFile(/tmp/multipartBody9211616302898957142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741445732752,"filename":"image_08032025_15_54_46_10021.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/bb238f6af1b620634854e966f5e002fc.jpg","text":"TemporaryFile(/tmp/multipartBody1879546570706786854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741445732752,"filename":"image_08032025_15_54_25_10022.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341910663","file1":"1341910644","file0":"1341910629","file4":"1341910758","file5":"1341910830","file3":"1341910707"},"map_files_photo_id_array":[{"photo_id":"1341910830","filename":"file5"},{"photo_id":"1341910663","filename":"file2"},{"photo_id":"1341910758","filename":"file4"},{"photo_id":"1341910644","filename":"file1"},{"photo_id":"1341910629","filename":"file0"},{"photo_id":"1341910707","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341910758":["hashtag1","hashtag2"]},{"1341910644":["hashtag1","hashtag2"]},{"1341910830":["hashtag1","hashtag2"]},{"1341910707":["hashtag1","hashtag2"]},{"1341910629":["hashtag1","hashtag2"]},{"1341910663":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341910758, 1341910644, 1341910830, 1341910707, 1341910629, 1341910663)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.77444672584534 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 15:55:32.430309
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/15/55/image_08032025_15_55_45_10054.jpg', 2), ('/home/nano/Desktop/images/08032025/15/55/image_08032025_15_55_35_10027.jpg', 2), ('/home/nano/Desktop/images/08032025/15/55/image_08032025_15_55_25_9016.jpg', 2), ('/home/nano/Desktop/images/08032025/15/55/image_08032025_15_55_16_10029.jpg', 2), ('/home/nano/Desktop/images/08032025/15/54/image_08032025_15_55_06_10027.jpg', 2), ('/home/nano/Desktop/images/08032025/15/54/image_08032025_15_54_56_10026.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/15/55/image_08032025_15_55_45_10054.jpg', '/home/nano/Desktop/images/08032025/15/55/image_08032025_15_55_35_10027.jpg', '/home/nano/Desktop/images/08032025/15/55/image_08032025_15_55_25_9016.jpg', '/home/nano/Desktop/images/08032025/15/55/image_08032025_15_55_16_10029.jpg', '/home/nano/Desktop/images/08032025/15/54/image_08032025_15_55_06_10027.jpg', '/home/nano/Desktop/images/08032025/15/54/image_08032025_15_54_56_10026.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/15/55/image_08032025_15_55_45_10054.jpg
/home/nano/Desktop/images/08032025/15/55/image_08032025_15_55_35_10027.jpg
/home/nano/Desktop/images/08032025/15/55/image_08032025_15_55_25_9016.jpg
/home/nano/Desktop/images/08032025/15/55/image_08032025_15_55_16_10029.jpg
/home/nano/Desktop/images/08032025/15/54/image_08032025_15_55_06_10027.jpg
/home/nano/Desktop/images/08032025/15/54/image_08032025_15_54_56_10026.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341911067","1341910989","1341910997","1341910985","1341911050","1341911029"],"photo_ids_order":["1341910985","1341910989","1341910997","1341911029","1341911050","1341911067"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/07212e48a1ee1642ef262d0151a7380e.jpg","text":"TemporaryFile(/tmp/multipartBody8558679658697461887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741445792878,"filename":"image_08032025_15_54_56_10026.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/586a6c96dd47d33ab36d2bf9dac4cf1b.jpg","text":"TemporaryFile(/tmp/multipartBody2458457852648814148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741445792878,"filename":"image_08032025_15_55_35_10027.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/d32930941f86c5ccc6479650fa70876b.jpg","text":"TemporaryFile(/tmp/multipartBody1268106345549075424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741445792878,"filename":"image_08032025_15_55_25_9016.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/72ab8f7d0ddff6348a7586587cfe5171.jpg","text":"TemporaryFile(/tmp/multipartBody258405463174012873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741445792878,"filename":"image_08032025_15_55_45_10054.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/cc5de176f52591582c33702d875abfb6.jpg","text":"TemporaryFile(/tmp/multipartBody4174050225345344900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741445792878,"filename":"image_08032025_15_55_06_10027.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/fce5d9e849ec1c021d112f64986128df.jpg","text":"TemporaryFile(/tmp/multipartBody6463533758438916882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741445792878,"filename":"image_08032025_15_55_16_10029.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341910997","file1":"1341910989","file0":"1341910985","file4":"1341911050","file5":"1341911067","file3":"1341911029"},"map_files_photo_id_array":[{"photo_id":"1341911067","filename":"file5"},{"photo_id":"1341910997","filename":"file2"},{"photo_id":"1341911050","filename":"file4"},{"photo_id":"1341910989","filename":"file1"},{"photo_id":"1341910985","filename":"file0"},{"photo_id":"1341911029","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341911067":["hashtag1","hashtag2"]},{"1341910989":["hashtag1","hashtag2"]},{"1341910997":["hashtag1","hashtag2"]},{"1341910985":["hashtag1","hashtag2"]},{"1341911050":["hashtag1","hashtag2"]},{"1341911029":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341911067, 1341910989, 1341910997, 1341910985, 1341911050, 1341911029)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 50.155251026153564 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 15:56:32.539568
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/15/56/image_08032025_15_56_55_10031.jpg', 2), ('/home/nano/Desktop/images/08032025/15/56/image_08032025_15_56_35_10048.jpg', 2), ('/home/nano/Desktop/images/08032025/15/56/image_08032025_15_56_25_10043.jpg', 2), ('/home/nano/Desktop/images/08032025/15/56/image_08032025_15_56_15_10034.jpg', 2), ('/home/nano/Desktop/images/08032025/15/55/image_08032025_15_56_05_10028.jpg', 2), ('/home/nano/Desktop/images/08032025/15/55/image_08032025_15_55_55_10034.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/15/56/image_08032025_15_56_55_10031.jpg', '/home/nano/Desktop/images/08032025/15/56/image_08032025_15_56_35_10048.jpg', '/home/nano/Desktop/images/08032025/15/56/image_08032025_15_56_25_10043.jpg', '/home/nano/Desktop/images/08032025/15/56/image_08032025_15_56_15_10034.jpg', '/home/nano/Desktop/images/08032025/15/55/image_08032025_15_56_05_10028.jpg', '/home/nano/Desktop/images/08032025/15/55/image_08032025_15_55_55_10034.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/15/56/image_08032025_15_56_55_10031.jpg
/home/nano/Desktop/images/08032025/15/56/image_08032025_15_56_35_10048.jpg
/home/nano/Desktop/images/08032025/15/56/image_08032025_15_56_25_10043.jpg
/home/nano/Desktop/images/08032025/15/56/image_08032025_15_56_15_10034.jpg
/home/nano/Desktop/images/08032025/15/55/image_08032025_15_56_05_10028.jpg
/home/nano/Desktop/images/08032025/15/55/image_08032025_15_55_55_10034.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341911214","1341911198","1341911176","1341911224","1341911218","1341911221"],"photo_ids_order":["1341911176","1341911198","1341911214","1341911218","1341911221","1341911224"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/4ced7807374c6bd6a0e2ecf6c1523561.jpg","text":"TemporaryFile(/tmp/multipartBody1826056654704012722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741445852974,"filename":"image_08032025_15_56_25_10043.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/e2c58380f72ee23a1ab4ea2de812a64f.jpg","text":"TemporaryFile(/tmp/multipartBody8399226770569637634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741445852974,"filename":"image_08032025_15_56_35_10048.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/f7e8aa99d42871bf6c2b442a9664182b.jpg","text":"TemporaryFile(/tmp/multipartBody2512292619002642650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741445852974,"filename":"image_08032025_15_56_55_10031.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/9b8c62518a019ccc9ec008fe281532dd.jpg","text":"TemporaryFile(/tmp/multipartBody8466024551733752230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741445852974,"filename":"image_08032025_15_55_55_10034.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/91e892380abfc04125c11b211e71169b.jpg","text":"TemporaryFile(/tmp/multipartBody7212676378247855635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741445852974,"filename":"image_08032025_15_56_15_10034.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/1a10a7ae780a8cf675ff5b3f28c6b76c.jpg","text":"TemporaryFile(/tmp/multipartBody7525872087192363624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741445852974,"filename":"image_08032025_15_56_05_10028.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341911214","file1":"1341911198","file0":"1341911176","file4":"1341911221","file5":"1341911224","file3":"1341911218"},"map_files_photo_id_array":[{"photo_id":"1341911224","filename":"file5"},{"photo_id":"1341911214","filename":"file2"},{"photo_id":"1341911221","filename":"file4"},{"photo_id":"1341911198","filename":"file1"},{"photo_id":"1341911176","filename":"file0"},{"photo_id":"1341911218","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341911214":["hashtag1","hashtag2"]},{"1341911198":["hashtag1","hashtag2"]},{"1341911176":["hashtag1","hashtag2"]},{"1341911224":["hashtag1","hashtag2"]},{"1341911218":["hashtag1","hashtag2"]},{"1341911221":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341911214, 1341911198, 1341911176, 1341911224, 1341911218, 1341911221)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.060325384140015 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 15:57:32.646350
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/15/57/image_08032025_15_57_45_10059.jpg', 2), ('/home/nano/Desktop/images/08032025/15/57/image_08032025_15_57_35_10032.jpg', 2), ('/home/nano/Desktop/images/08032025/15/57/image_08032025_15_57_25_10032.jpg', 2), ('/home/nano/Desktop/images/08032025/15/57/image_08032025_15_57_15_10033.jpg', 2), ('/home/nano/Desktop/images/08032025/15/56/image_08032025_15_57_05_10054.jpg', 2), ('/home/nano/Desktop/images/08032025/15/56/image_08032025_15_56_45_10050.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/15/57/image_08032025_15_57_45_10059.jpg', '/home/nano/Desktop/images/08032025/15/57/image_08032025_15_57_35_10032.jpg', '/home/nano/Desktop/images/08032025/15/57/image_08032025_15_57_25_10032.jpg', '/home/nano/Desktop/images/08032025/15/57/image_08032025_15_57_15_10033.jpg', '/home/nano/Desktop/images/08032025/15/56/image_08032025_15_57_05_10054.jpg', '/home/nano/Desktop/images/08032025/15/56/image_08032025_15_56_45_10050.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/15/57/image_08032025_15_57_45_10059.jpg
/home/nano/Desktop/images/08032025/15/57/image_08032025_15_57_35_10032.jpg
/home/nano/Desktop/images/08032025/15/57/image_08032025_15_57_25_10032.jpg
/home/nano/Desktop/images/08032025/15/57/image_08032025_15_57_15_10033.jpg
/home/nano/Desktop/images/08032025/15/56/image_08032025_15_57_05_10054.jpg
/home/nano/Desktop/images/08032025/15/56/image_08032025_15_56_45_10050.jpg
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 15:59:03.326887
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/15/58/image_08032025_15_58_45_10030.jpg', 2), ('/home/nano/Desktop/images/08032025/15/58/image_08032025_15_58_35_10041.jpg', 2), ('/home/nano/Desktop/images/08032025/15/58/image_08032025_15_58_25_10040.jpg', 2), ('/home/nano/Desktop/images/08032025/15/58/image_08032025_15_58_15_10044.jpg', 2), ('/home/nano/Desktop/images/08032025/15/57/image_08032025_15_58_05_10044.jpg', 2), ('/home/nano/Desktop/images/08032025/15/57/image_08032025_15_57_55_10037.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/15/58/image_08032025_15_58_45_10030.jpg', '/home/nano/Desktop/images/08032025/15/58/image_08032025_15_58_35_10041.jpg', '/home/nano/Desktop/images/08032025/15/58/image_08032025_15_58_25_10040.jpg', '/home/nano/Desktop/images/08032025/15/58/image_08032025_15_58_15_10044.jpg', '/home/nano/Desktop/images/08032025/15/57/image_08032025_15_58_05_10044.jpg', '/home/nano/Desktop/images/08032025/15/57/image_08032025_15_57_55_10037.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/15/58/image_08032025_15_58_45_10030.jpg
/home/nano/Desktop/images/08032025/15/58/image_08032025_15_58_35_10041.jpg
/home/nano/Desktop/images/08032025/15/58/image_08032025_15_58_25_10040.jpg
/home/nano/Desktop/images/08032025/15/58/image_08032025_15_58_15_10044.jpg
/home/nano/Desktop/images/08032025/15/57/image_08032025_15_58_05_10044.jpg
/home/nano/Desktop/images/08032025/15/57/image_08032025_15_57_55_10037.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341912539","1341912394","1341912766","1341912640","1341912337","1341912435"],"photo_ids_order":["1341912337","1341912394","1341912435","1341912539","1341912640","1341912766"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/54cac6142e082fb8aee6fd62bf76997c.jpg","text":"TemporaryFile(/tmp/multipartBody5446207026444121003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741446003785,"filename":"image_08032025_15_58_15_10044.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/c2b766ac5e3aee34f72e97fcb2d079e9.jpg","text":"TemporaryFile(/tmp/multipartBody6898897663461230294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741446003785,"filename":"image_08032025_15_58_35_10041.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/7ffe7c23d7ad9f3409081dafa2c6f515.jpg","text":"TemporaryFile(/tmp/multipartBody1397645138755198826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741446003785,"filename":"image_08032025_15_57_55_10037.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/d0d3f5a2877c73900db01a032d5b9472.jpg","text":"TemporaryFile(/tmp/multipartBody1536618182870244795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741446003785,"filename":"image_08032025_15_58_05_10044.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/6b076e05e9c9b34f6394ad0fb1448d95.jpg","text":"TemporaryFile(/tmp/multipartBody4319888025278671958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741446003785,"filename":"image_08032025_15_58_45_10030.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/56338d8e7ab8880692ba4461fcd75025.jpg","text":"TemporaryFile(/tmp/multipartBody4485531006485585009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741446003785,"filename":"image_08032025_15_58_25_10040.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341912435","file1":"1341912394","file0":"1341912337","file4":"1341912640","file5":"1341912766","file3":"1341912539"},"map_files_photo_id_array":[{"photo_id":"1341912766","filename":"file5"},{"photo_id":"1341912435","filename":"file2"},{"photo_id":"1341912640","filename":"file4"},{"photo_id":"1341912394","filename":"file1"},{"photo_id":"1341912337","filename":"file0"},{"photo_id":"1341912539","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341912539":["hashtag1","hashtag2"]},{"1341912394":["hashtag1","hashtag2"]},{"1341912766":["hashtag1","hashtag2"]},{"1341912640":["hashtag1","hashtag2"]},{"1341912337":["hashtag1","hashtag2"]},{"1341912435":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341912539, 1341912394, 1341912766, 1341912640, 1341912337, 1341912435)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.61078143119812 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 16:00:03.246897
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/15/59/image_08032025_15_59_45_10036.jpg', 2), ('/home/nano/Desktop/images/08032025/15/59/image_08032025_15_59_35_9028.jpg', 2), ('/home/nano/Desktop/images/08032025/15/59/image_08032025_15_59_26_10038.jpg', 2), ('/home/nano/Desktop/images/08032025/15/59/image_08032025_15_59_16_10034.jpg', 2), ('/home/nano/Desktop/images/08032025/15/58/image_08032025_15_59_05_10041.jpg', 2), ('/home/nano/Desktop/images/08032025/15/58/image_08032025_15_58_55_10036.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/15/59/image_08032025_15_59_45_10036.jpg', '/home/nano/Desktop/images/08032025/15/59/image_08032025_15_59_35_9028.jpg', '/home/nano/Desktop/images/08032025/15/59/image_08032025_15_59_26_10038.jpg', '/home/nano/Desktop/images/08032025/15/59/image_08032025_15_59_16_10034.jpg', '/home/nano/Desktop/images/08032025/15/58/image_08032025_15_59_05_10041.jpg', '/home/nano/Desktop/images/08032025/15/58/image_08032025_15_58_55_10036.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/15/59/image_08032025_15_59_45_10036.jpg
/home/nano/Desktop/images/08032025/15/59/image_08032025_15_59_35_9028.jpg
/home/nano/Desktop/images/08032025/15/59/image_08032025_15_59_26_10038.jpg
/home/nano/Desktop/images/08032025/15/59/image_08032025_15_59_16_10034.jpg
/home/nano/Desktop/images/08032025/15/58/image_08032025_15_59_05_10041.jpg
/home/nano/Desktop/images/08032025/15/58/image_08032025_15_58_55_10036.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341913466","1341913244","1341913171","1341913309","1341913392","1341913493"],"photo_ids_order":["1341913171","1341913244","1341913309","1341913392","1341913466","1341913493"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/1c47297223f0f0972ea3a6ebdaaef98d.jpg","text":"TemporaryFile(/tmp/multipartBody7551290840350851851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741446063697,"filename":"image_08032025_15_59_05_10041.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/2b15cd892f5f78a0282194a8e3694250.jpg","text":"TemporaryFile(/tmp/multipartBody2562879712919473173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741446063697,"filename":"image_08032025_15_59_35_9028.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/57f34ca707b97fb328d3cf23cb5bee30.jpg","text":"TemporaryFile(/tmp/multipartBody4840259525073199767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741446063697,"filename":"image_08032025_15_59_45_10036.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/bf8aab6c10e18ba99382810d8b5fd249.jpg","text":"TemporaryFile(/tmp/multipartBody4520646415687173757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741446063697,"filename":"image_08032025_15_59_26_10038.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/2531f64430ce6e726bea433b19eacb0c.jpg","text":"TemporaryFile(/tmp/multipartBody7473433207287893665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741446063697,"filename":"image_08032025_15_59_16_10034.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/d94b98cc184c80d2600aa728ce39d04b.jpg","text":"TemporaryFile(/tmp/multipartBody2430099497061223593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741446063697,"filename":"image_08032025_15_58_55_10036.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341913309","file1":"1341913244","file0":"1341913171","file4":"1341913466","file5":"1341913493","file3":"1341913392"},"map_files_photo_id_array":[{"photo_id":"1341913493","filename":"file5"},{"photo_id":"1341913309","filename":"file2"},{"photo_id":"1341913466","filename":"file4"},{"photo_id":"1341913244","filename":"file1"},{"photo_id":"1341913171","filename":"file0"},{"photo_id":"1341913392","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341913466":["hashtag1","hashtag2"]},{"1341913244":["hashtag1","hashtag2"]},{"1341913171":["hashtag1","hashtag2"]},{"1341913309":["hashtag1","hashtag2"]},{"1341913392":["hashtag1","hashtag2"]},{"1341913493":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341913466, 1341913244, 1341913171, 1341913309, 1341913392, 1341913493)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.752309799194336 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 16:01:03.279594
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/16/00/image_08032025_16_00_45_9998.jpg', 2), ('/home/nano/Desktop/images/08032025/16/00/image_08032025_16_00_35_9997.jpg', 2), ('/home/nano/Desktop/images/08032025/16/00/image_08032025_16_00_25_10017.jpg', 2), ('/home/nano/Desktop/images/08032025/16/00/image_08032025_16_00_15_10011.jpg', 2), ('/home/nano/Desktop/images/08032025/15/59/image_08032025_16_00_05_10044.jpg', 2), ('/home/nano/Desktop/images/08032025/15/59/image_08032025_15_59_55_10036.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/16/00/image_08032025_16_00_45_9998.jpg', '/home/nano/Desktop/images/08032025/16/00/image_08032025_16_00_35_9997.jpg', '/home/nano/Desktop/images/08032025/16/00/image_08032025_16_00_25_10017.jpg', '/home/nano/Desktop/images/08032025/16/00/image_08032025_16_00_15_10011.jpg', '/home/nano/Desktop/images/08032025/15/59/image_08032025_16_00_05_10044.jpg', '/home/nano/Desktop/images/08032025/15/59/image_08032025_15_59_55_10036.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/16/00/image_08032025_16_00_45_9998.jpg
/home/nano/Desktop/images/08032025/16/00/image_08032025_16_00_35_9997.jpg
/home/nano/Desktop/images/08032025/16/00/image_08032025_16_00_25_10017.jpg
/home/nano/Desktop/images/08032025/16/00/image_08032025_16_00_15_10011.jpg
/home/nano/Desktop/images/08032025/15/59/image_08032025_16_00_05_10044.jpg
/home/nano/Desktop/images/08032025/15/59/image_08032025_15_59_55_10036.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341914036","1341913990","1341913966","1341913761","1341913836","1341913902"],"photo_ids_order":["1341913761","1341913836","1341913902","1341913966","1341913990","1341914036"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/ef6a77bc1a12fc593f8d4ac221220a4d.jpg","text":"TemporaryFile(/tmp/multipartBody7466334421506428197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741446123726,"filename":"image_08032025_15_59_55_10036.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/f7ee5d08c53df60210a789c896b4ef3d.jpg","text":"TemporaryFile(/tmp/multipartBody7759449867861791111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741446123726,"filename":"image_08032025_16_00_05_10044.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/f3fc0f4d05593d01e630c39dbbe49027.jpg","text":"TemporaryFile(/tmp/multipartBody9186419526877947885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741446123726,"filename":"image_08032025_16_00_15_10011.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/3b3acf9be18faf7f4971c57ded6651a6.jpg","text":"TemporaryFile(/tmp/multipartBody7273762161814283184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741446123726,"filename":"image_08032025_16_00_45_9998.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/7fe2652699653fc8d2c59eaee7978171.jpg","text":"TemporaryFile(/tmp/multipartBody4739354212876665631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741446123726,"filename":"image_08032025_16_00_35_9997.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/e197b6ffca9f64ee9fabacc7498b97c8.jpg","text":"TemporaryFile(/tmp/multipartBody9150747109266381378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741446123726,"filename":"image_08032025_16_00_25_10017.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341913902","file1":"1341913836","file0":"1341913761","file4":"1341913990","file5":"1341914036","file3":"1341913966"},"map_files_photo_id_array":[{"photo_id":"1341914036","filename":"file5"},{"photo_id":"1341913902","filename":"file2"},{"photo_id":"1341913990","filename":"file4"},{"photo_id":"1341913836","filename":"file1"},{"photo_id":"1341913761","filename":"file0"},{"photo_id":"1341913966","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341914036":["hashtag1","hashtag2"]},{"1341913990":["hashtag1","hashtag2"]},{"1341913966":["hashtag1","hashtag2"]},{"1341913761":["hashtag1","hashtag2"]},{"1341913836":["hashtag1","hashtag2"]},{"1341913902":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341914036, 1341913990, 1341913966, 1341913761, 1341913836, 1341913902)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.298497915267944 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 16:02:02.370008
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/16/01/image_08032025_16_01_45_10010.jpg', 2), ('/home/nano/Desktop/images/08032025/16/01/image_08032025_16_01_35_9997.jpg', 2), ('/home/nano/Desktop/images/08032025/16/01/image_08032025_16_01_25_10003.jpg', 2), ('/home/nano/Desktop/images/08032025/16/01/image_08032025_16_01_15_10005.jpg', 2), ('/home/nano/Desktop/images/08032025/16/00/image_08032025_16_01_05_10009.jpg', 2), ('/home/nano/Desktop/images/08032025/16/00/image_08032025_16_00_55_10001.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/16/01/image_08032025_16_01_45_10010.jpg', '/home/nano/Desktop/images/08032025/16/01/image_08032025_16_01_35_9997.jpg', '/home/nano/Desktop/images/08032025/16/01/image_08032025_16_01_25_10003.jpg', '/home/nano/Desktop/images/08032025/16/01/image_08032025_16_01_15_10005.jpg', '/home/nano/Desktop/images/08032025/16/00/image_08032025_16_01_05_10009.jpg', '/home/nano/Desktop/images/08032025/16/00/image_08032025_16_00_55_10001.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/16/01/image_08032025_16_01_45_10010.jpg
/home/nano/Desktop/images/08032025/16/01/image_08032025_16_01_35_9997.jpg
/home/nano/Desktop/images/08032025/16/01/image_08032025_16_01_25_10003.jpg
/home/nano/Desktop/images/08032025/16/01/image_08032025_16_01_15_10005.jpg
/home/nano/Desktop/images/08032025/16/00/image_08032025_16_01_05_10009.jpg
/home/nano/Desktop/images/08032025/16/00/image_08032025_16_00_55_10001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341914368","1341914388","1341914499","1341914328","1341914471","1341914417"],"photo_ids_order":["1341914328","1341914368","1341914388","1341914417","1341914471","1341914499"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/8a72bc2e88b498c8857f8b2d832aed1a.jpg","text":"TemporaryFile(/tmp/multipartBody4675422024152266313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741446182859,"filename":"image_08032025_16_01_35_9997.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/32aaf8224873236513d5ea3a96b06938.jpg","text":"TemporaryFile(/tmp/multipartBody971733889486538842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741446182859,"filename":"image_08032025_16_01_25_10003.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/98c8c6e03b2c21c89e07cc3add1da3e1.jpg","text":"TemporaryFile(/tmp/multipartBody8942094753183668516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741446182859,"filename":"image_08032025_16_00_55_10001.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/1422e4dd3da496d6e10fa24fde26fa52.jpg","text":"TemporaryFile(/tmp/multipartBody2050808162008563408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741446182859,"filename":"image_08032025_16_01_45_10010.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/09ab260bcf2a189eab65aefa27f6757b.jpg","text":"TemporaryFile(/tmp/multipartBody4573091610613811052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741446182859,"filename":"image_08032025_16_01_05_10009.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/c08022510b865753996bd96bd1a9176f.jpg","text":"TemporaryFile(/tmp/multipartBody9045499285142347899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741446182859,"filename":"image_08032025_16_01_15_10005.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341914388","file1":"1341914368","file0":"1341914328","file4":"1341914471","file5":"1341914499","file3":"1341914417"},"map_files_photo_id_array":[{"photo_id":"1341914499","filename":"file5"},{"photo_id":"1341914388","filename":"file2"},{"photo_id":"1341914471","filename":"file4"},{"photo_id":"1341914368","filename":"file1"},{"photo_id":"1341914328","filename":"file0"},{"photo_id":"1341914417","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341914368":["hashtag1","hashtag2"]},{"1341914388":["hashtag1","hashtag2"]},{"1341914499":["hashtag1","hashtag2"]},{"1341914328":["hashtag1","hashtag2"]},{"1341914471":["hashtag1","hashtag2"]},{"1341914417":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341914368, 1341914388, 1341914499, 1341914328, 1341914471, 1341914417)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.375242948532104 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 16:03:02.509854
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/16/02/image_08032025_16_02_45_10015.jpg', 2), ('/home/nano/Desktop/images/08032025/16/02/image_08032025_16_02_35_10034.jpg', 2), ('/home/nano/Desktop/images/08032025/16/02/image_08032025_16_02_25_10009.jpg', 2), ('/home/nano/Desktop/images/08032025/16/02/image_08032025_16_02_15_10012.jpg', 2), ('/home/nano/Desktop/images/08032025/16/01/image_08032025_16_02_05_10021.jpg', 2), ('/home/nano/Desktop/images/08032025/16/01/image_08032025_16_01_55_10005.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/16/02/image_08032025_16_02_45_10015.jpg', '/home/nano/Desktop/images/08032025/16/02/image_08032025_16_02_35_10034.jpg', '/home/nano/Desktop/images/08032025/16/02/image_08032025_16_02_25_10009.jpg', '/home/nano/Desktop/images/08032025/16/02/image_08032025_16_02_15_10012.jpg', '/home/nano/Desktop/images/08032025/16/01/image_08032025_16_02_05_10021.jpg', '/home/nano/Desktop/images/08032025/16/01/image_08032025_16_01_55_10005.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/16/02/image_08032025_16_02_45_10015.jpg
/home/nano/Desktop/images/08032025/16/02/image_08032025_16_02_35_10034.jpg
/home/nano/Desktop/images/08032025/16/02/image_08032025_16_02_25_10009.jpg
/home/nano/Desktop/images/08032025/16/02/image_08032025_16_02_15_10012.jpg
/home/nano/Desktop/images/08032025/16/01/image_08032025_16_02_05_10021.jpg
/home/nano/Desktop/images/08032025/16/01/image_08032025_16_01_55_10005.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341914804","1341914842","1341914866","1341914889","1341914781","1341914762"],"photo_ids_order":["1341914762","1341914781","1341914804","1341914842","1341914866","1341914889"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/5a13af96ca3da1739224fffbc0ad191b.jpg","text":"TemporaryFile(/tmp/multipartBody639175792629523310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741446242946,"filename":"image_08032025_16_02_25_10009.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/6c704f8c0d7d15dbbbd6113107a65ba7.jpg","text":"TemporaryFile(/tmp/multipartBody1669423351203836506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741446242946,"filename":"image_08032025_16_02_15_10012.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/d3a421c61d0ed5e68ed4aabe3bfb8cf6.jpg","text":"TemporaryFile(/tmp/multipartBody1777234029593179116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741446242946,"filename":"image_08032025_16_02_05_10021.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/f3f4591bed8a03e27b0e217fbe793004.jpg","text":"TemporaryFile(/tmp/multipartBody1219610916374472473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741446242946,"filename":"image_08032025_16_01_55_10005.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/0b88c3805915defef66c801cb42750e1.jpg","text":"TemporaryFile(/tmp/multipartBody1200001093194711502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741446242946,"filename":"image_08032025_16_02_35_10034.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/733fb7b9e47f3c6ffcd6448cddef8db8.jpg","text":"TemporaryFile(/tmp/multipartBody5732068622572136213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741446242946,"filename":"image_08032025_16_02_45_10015.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341914804","file1":"1341914781","file0":"1341914762","file4":"1341914866","file5":"1341914889","file3":"1341914842"},"map_files_photo_id_array":[{"photo_id":"1341914889","filename":"file5"},{"photo_id":"1341914804","filename":"file2"},{"photo_id":"1341914866","filename":"file4"},{"photo_id":"1341914781","filename":"file1"},{"photo_id":"1341914762","filename":"file0"},{"photo_id":"1341914842","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341914804":["hashtag1","hashtag2"]},{"1341914842":["hashtag1","hashtag2"]},{"1341914866":["hashtag1","hashtag2"]},{"1341914889":["hashtag1","hashtag2"]},{"1341914781":["hashtag1","hashtag2"]},{"1341914762":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341914804, 1341914842, 1341914866, 1341914889, 1341914781, 1341914762)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.76449370384216 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 16:04:02.902611
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/16/03/image_08032025_16_03_45_10015.jpg', 2), ('/home/nano/Desktop/images/08032025/16/03/image_08032025_16_03_35_10016.jpg', 2), ('/home/nano/Desktop/images/08032025/16/03/image_08032025_16_03_25_10020.jpg', 2), ('/home/nano/Desktop/images/08032025/16/03/image_08032025_16_03_15_10019.jpg', 2), ('/home/nano/Desktop/images/08032025/16/02/image_08032025_16_03_05_10068.jpg', 2), ('/home/nano/Desktop/images/08032025/16/02/image_08032025_16_02_55_10014.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/16/03/image_08032025_16_03_45_10015.jpg', '/home/nano/Desktop/images/08032025/16/03/image_08032025_16_03_35_10016.jpg', '/home/nano/Desktop/images/08032025/16/03/image_08032025_16_03_25_10020.jpg', '/home/nano/Desktop/images/08032025/16/03/image_08032025_16_03_15_10019.jpg', '/home/nano/Desktop/images/08032025/16/02/image_08032025_16_03_05_10068.jpg', '/home/nano/Desktop/images/08032025/16/02/image_08032025_16_02_55_10014.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/16/03/image_08032025_16_03_45_10015.jpg
/home/nano/Desktop/images/08032025/16/03/image_08032025_16_03_35_10016.jpg
/home/nano/Desktop/images/08032025/16/03/image_08032025_16_03_25_10020.jpg
/home/nano/Desktop/images/08032025/16/03/image_08032025_16_03_15_10019.jpg
/home/nano/Desktop/images/08032025/16/02/image_08032025_16_03_05_10068.jpg
/home/nano/Desktop/images/08032025/16/02/image_08032025_16_02_55_10014.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341915094","1341915121","1341915058","1341915106","1341915091","1341915085"],"photo_ids_order":["1341915058","1341915085","1341915091","1341915094","1341915106","1341915121"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/90444967ddc107be8f9eb3d31202138c.jpg","text":"TemporaryFile(/tmp/multipartBody5194712199638335419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741446303333,"filename":"image_08032025_16_03_15_10019.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/a1f5b4c31c11c23d9c280682834b412c.jpg","text":"TemporaryFile(/tmp/multipartBody6989950980652520060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741446303333,"filename":"image_08032025_16_02_55_10014.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/3f80c794e78b260aab666efa50353c78.jpg","text":"TemporaryFile(/tmp/multipartBody4117495166421011150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741446303333,"filename":"image_08032025_16_03_45_10015.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/5d4f0abece66a40682a084b81d0aae05.jpg","text":"TemporaryFile(/tmp/multipartBody3669175823845174689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741446303333,"filename":"image_08032025_16_03_05_10068.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/22dfd1e8ce0e65d984aa97f4afbd6067.jpg","text":"TemporaryFile(/tmp/multipartBody480736346914681679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741446303333,"filename":"image_08032025_16_03_25_10020.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/b4014f854598575eac2a1b2cd9ce0add.jpg","text":"TemporaryFile(/tmp/multipartBody1220244461697730357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741446303333,"filename":"image_08032025_16_03_35_10016.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341915091","file1":"1341915085","file0":"1341915058","file4":"1341915106","file5":"1341915121","file3":"1341915094"},"map_files_photo_id_array":[{"photo_id":"1341915121","filename":"file5"},{"photo_id":"1341915091","filename":"file2"},{"photo_id":"1341915106","filename":"file4"},{"photo_id":"1341915085","filename":"file1"},{"photo_id":"1341915058","filename":"file0"},{"photo_id":"1341915094","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341915094":["hashtag1","hashtag2"]},{"1341915121":["hashtag1","hashtag2"]},{"1341915058":["hashtag1","hashtag2"]},{"1341915106":["hashtag1","hashtag2"]},{"1341915091":["hashtag1","hashtag2"]},{"1341915085":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341915094, 1341915121, 1341915058, 1341915106, 1341915091, 1341915085)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.23396015167236 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 16:05:02.831155
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/16/04/image_08032025_16_04_45_9993.jpg', 2), ('/home/nano/Desktop/images/08032025/16/04/image_08032025_16_04_35_10010.jpg', 2), ('/home/nano/Desktop/images/08032025/16/04/image_08032025_16_04_25_10025.jpg', 2), ('/home/nano/Desktop/images/08032025/16/04/image_08032025_16_04_15_9983.jpg', 2), ('/home/nano/Desktop/images/08032025/16/03/image_08032025_16_04_05_9992.jpg', 2), ('/home/nano/Desktop/images/08032025/16/03/image_08032025_16_03_55_9984.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/16/04/image_08032025_16_04_45_9993.jpg', '/home/nano/Desktop/images/08032025/16/04/image_08032025_16_04_35_10010.jpg', '/home/nano/Desktop/images/08032025/16/04/image_08032025_16_04_25_10025.jpg', '/home/nano/Desktop/images/08032025/16/04/image_08032025_16_04_15_9983.jpg', '/home/nano/Desktop/images/08032025/16/03/image_08032025_16_04_05_9992.jpg', '/home/nano/Desktop/images/08032025/16/03/image_08032025_16_03_55_9984.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/16/04/image_08032025_16_04_45_9993.jpg
/home/nano/Desktop/images/08032025/16/04/image_08032025_16_04_35_10010.jpg
/home/nano/Desktop/images/08032025/16/04/image_08032025_16_04_25_10025.jpg
/home/nano/Desktop/images/08032025/16/04/image_08032025_16_04_15_9983.jpg
/home/nano/Desktop/images/08032025/16/03/image_08032025_16_04_05_9992.jpg
/home/nano/Desktop/images/08032025/16/03/image_08032025_16_03_55_9984.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341915553","1341915427","1341915497","1341915389","1341915248","1341915308"],"photo_ids_order":["1341915248","1341915308","1341915389","1341915427","1341915497","1341915553"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/4f7c9954b108ed8c86b4862f72679739.jpg","text":"TemporaryFile(/tmp/multipartBody638783123312650974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741446363259,"filename":"image_08032025_16_03_55_9984.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/cc9a4881ec0d53d8728d8d4b709a44a6.jpg","text":"TemporaryFile(/tmp/multipartBody7530163868123884642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741446363259,"filename":"image_08032025_16_04_15_9983.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/4012b399d312a21cf3f2fb88d52372b3.jpg","text":"TemporaryFile(/tmp/multipartBody6599715264792736596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741446363259,"filename":"image_08032025_16_04_05_9992.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/8aac444aa75c5cb35e1fcf9f2ee52929.jpg","text":"TemporaryFile(/tmp/multipartBody5149766812792977366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741446363259,"filename":"image_08032025_16_04_25_10025.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/6ddd2dc95df71e907588d254e3446065.jpg","text":"TemporaryFile(/tmp/multipartBody7322934372750733002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741446363259,"filename":"image_08032025_16_04_45_9993.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/d5db8c0f57dd034051101a8896ae96da.jpg","text":"TemporaryFile(/tmp/multipartBody1064877879136758854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741446363259,"filename":"image_08032025_16_04_35_10010.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341915389","file1":"1341915308","file0":"1341915248","file4":"1341915497","file5":"1341915553","file3":"1341915427"},"map_files_photo_id_array":[{"photo_id":"1341915553","filename":"file5"},{"photo_id":"1341915389","filename":"file2"},{"photo_id":"1341915497","filename":"file4"},{"photo_id":"1341915308","filename":"file1"},{"photo_id":"1341915248","filename":"file0"},{"photo_id":"1341915427","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341915553":["hashtag1","hashtag2"]},{"1341915427":["hashtag1","hashtag2"]},{"1341915497":["hashtag1","hashtag2"]},{"1341915389":["hashtag1","hashtag2"]},{"1341915248":["hashtag1","hashtag2"]},{"1341915308":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341915553, 1341915427, 1341915497, 1341915389, 1341915248, 1341915308)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.75548601150513 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 16:06:02.876437
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/16/05/image_08032025_16_05_45_9995.jpg', 2), ('/home/nano/Desktop/images/08032025/16/05/image_08032025_16_05_35_9991.jpg', 2), ('/home/nano/Desktop/images/08032025/16/05/image_08032025_16_05_25_9994.jpg', 2), ('/home/nano/Desktop/images/08032025/16/05/image_08032025_16_05_15_9996.jpg', 2), ('/home/nano/Desktop/images/08032025/16/04/image_08032025_16_05_05_10027.jpg', 2), ('/home/nano/Desktop/images/08032025/16/04/image_08032025_16_04_55_9994.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/16/05/image_08032025_16_05_45_9995.jpg', '/home/nano/Desktop/images/08032025/16/05/image_08032025_16_05_35_9991.jpg', '/home/nano/Desktop/images/08032025/16/05/image_08032025_16_05_25_9994.jpg', '/home/nano/Desktop/images/08032025/16/05/image_08032025_16_05_15_9996.jpg', '/home/nano/Desktop/images/08032025/16/04/image_08032025_16_05_05_10027.jpg', '/home/nano/Desktop/images/08032025/16/04/image_08032025_16_04_55_9994.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/16/05/image_08032025_16_05_45_9995.jpg
/home/nano/Desktop/images/08032025/16/05/image_08032025_16_05_35_9991.jpg
/home/nano/Desktop/images/08032025/16/05/image_08032025_16_05_25_9994.jpg
/home/nano/Desktop/images/08032025/16/05/image_08032025_16_05_15_9996.jpg
/home/nano/Desktop/images/08032025/16/04/image_08032025_16_05_05_10027.jpg
/home/nano/Desktop/images/08032025/16/04/image_08032025_16_04_55_9994.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341915838","1341915925","1341915888","1341915870","1341915899","1341915794"],"photo_ids_order":["1341915794","1341915838","1341915870","1341915888","1341915899","1341915925"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/04c27157ba23f1783c69404460ffb36f.jpg","text":"TemporaryFile(/tmp/multipartBody7470025938040933273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741446423315,"filename":"image_08032025_16_05_35_9991.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/9b07807e9fd289ff2667026673d377b1.jpg","text":"TemporaryFile(/tmp/multipartBody3438287939653081926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741446423315,"filename":"image_08032025_16_04_55_9994.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/18218acdf2104f9954da363ba8f96f37.jpg","text":"TemporaryFile(/tmp/multipartBody6642813289249435040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741446423315,"filename":"image_08032025_16_05_15_9996.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/1d592a41aef45a8baccef3a324c32c23.jpg","text":"TemporaryFile(/tmp/multipartBody495578986133630944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741446423315,"filename":"image_08032025_16_05_25_9994.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/8218a893b97e6c181980e6e7f21f1864.jpg","text":"TemporaryFile(/tmp/multipartBody5621072499452402468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741446423315,"filename":"image_08032025_16_05_05_10027.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/2a6c8a20a2e9f89908530497ee433216.jpg","text":"TemporaryFile(/tmp/multipartBody6927901215482036707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741446423315,"filename":"image_08032025_16_05_45_9995.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341915870","file1":"1341915838","file0":"1341915794","file4":"1341915899","file5":"1341915925","file3":"1341915888"},"map_files_photo_id_array":[{"photo_id":"1341915925","filename":"file5"},{"photo_id":"1341915870","filename":"file2"},{"photo_id":"1341915899","filename":"file4"},{"photo_id":"1341915838","filename":"file1"},{"photo_id":"1341915794","filename":"file0"},{"photo_id":"1341915888","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341915838":["hashtag1","hashtag2"]},{"1341915925":["hashtag1","hashtag2"]},{"1341915888":["hashtag1","hashtag2"]},{"1341915870":["hashtag1","hashtag2"]},{"1341915899":["hashtag1","hashtag2"]},{"1341915794":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341915838, 1341915925, 1341915888, 1341915870, 1341915899, 1341915794)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.98385310173035 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 16:07:03.174105
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/16/06/image_08032025_16_06_45_9970.jpg', 2), ('/home/nano/Desktop/images/08032025/16/06/image_08032025_16_06_35_9966.jpg', 2), ('/home/nano/Desktop/images/08032025/16/06/image_08032025_16_06_25_9963.jpg', 2), ('/home/nano/Desktop/images/08032025/16/06/image_08032025_16_06_15_9995.jpg', 2), ('/home/nano/Desktop/images/08032025/16/05/image_08032025_16_06_05_10028.jpg', 2), ('/home/nano/Desktop/images/08032025/16/05/image_08032025_16_05_55_10015.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/16/06/image_08032025_16_06_45_9970.jpg', '/home/nano/Desktop/images/08032025/16/06/image_08032025_16_06_35_9966.jpg', '/home/nano/Desktop/images/08032025/16/06/image_08032025_16_06_25_9963.jpg', '/home/nano/Desktop/images/08032025/16/06/image_08032025_16_06_15_9995.jpg', '/home/nano/Desktop/images/08032025/16/05/image_08032025_16_06_05_10028.jpg', '/home/nano/Desktop/images/08032025/16/05/image_08032025_16_05_55_10015.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/16/06/image_08032025_16_06_45_9970.jpg
/home/nano/Desktop/images/08032025/16/06/image_08032025_16_06_35_9966.jpg
/home/nano/Desktop/images/08032025/16/06/image_08032025_16_06_25_9963.jpg
/home/nano/Desktop/images/08032025/16/06/image_08032025_16_06_15_9995.jpg
/home/nano/Desktop/images/08032025/16/05/image_08032025_16_06_05_10028.jpg
/home/nano/Desktop/images/08032025/16/05/image_08032025_16_05_55_10015.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341916341","1341916419","1341916367","1341916399","1341916384","1341916322"],"photo_ids_order":["1341916322","1341916341","1341916367","1341916384","1341916399","1341916419"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/413c4a96342c691c26c6eae2b7a1f26c.jpg","text":"TemporaryFile(/tmp/multipartBody6059910477805018725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741446483617,"filename":"image_08032025_16_06_35_9966.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/2ea75fb2ae5381fe6a84ab30962ea990.jpg","text":"TemporaryFile(/tmp/multipartBody7725332483342884175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741446483617,"filename":"image_08032025_16_05_55_10015.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/a93013889cd00fbef14749af416d7836.jpg","text":"TemporaryFile(/tmp/multipartBody1042655451851424029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741446483617,"filename":"image_08032025_16_06_25_9963.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/8df0723e7132e1d00de53e6de2419448.jpg","text":"TemporaryFile(/tmp/multipartBody4040692003163534545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741446483617,"filename":"image_08032025_16_06_05_10028.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/c8d179c3aaecd0c6bd5599a2e09861e3.jpg","text":"TemporaryFile(/tmp/multipartBody6999051841339086908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741446483617,"filename":"image_08032025_16_06_15_9995.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/f0492dee7ae8619acd1b6a11d427c599.jpg","text":"TemporaryFile(/tmp/multipartBody6825501677319365784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741446483617,"filename":"image_08032025_16_06_45_9970.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341916367","file1":"1341916341","file0":"1341916322","file4":"1341916399","file5":"1341916419","file3":"1341916384"},"map_files_photo_id_array":[{"photo_id":"1341916419","filename":"file5"},{"photo_id":"1341916367","filename":"file2"},{"photo_id":"1341916399","filename":"file4"},{"photo_id":"1341916341","filename":"file1"},{"photo_id":"1341916322","filename":"file0"},{"photo_id":"1341916384","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341916341":["hashtag1","hashtag2"]},{"1341916419":["hashtag1","hashtag2"]},{"1341916367":["hashtag1","hashtag2"]},{"1341916399":["hashtag1","hashtag2"]},{"1341916384":["hashtag1","hashtag2"]},{"1341916322":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341916341, 1341916419, 1341916367, 1341916399, 1341916384, 1341916322)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.652602434158325 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 16:08:02.962805
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/16/07/image_08032025_16_07_45_9973.jpg', 2), ('/home/nano/Desktop/images/08032025/16/07/image_08032025_16_07_35_9967.jpg', 2), ('/home/nano/Desktop/images/08032025/16/07/image_08032025_16_07_25_9967.jpg', 2), ('/home/nano/Desktop/images/08032025/16/07/image_08032025_16_07_15_9972.jpg', 2), ('/home/nano/Desktop/images/08032025/16/06/image_08032025_16_07_05_9983.jpg', 2), ('/home/nano/Desktop/images/08032025/16/06/image_08032025_16_06_55_9966.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/16/07/image_08032025_16_07_45_9973.jpg', '/home/nano/Desktop/images/08032025/16/07/image_08032025_16_07_35_9967.jpg', '/home/nano/Desktop/images/08032025/16/07/image_08032025_16_07_25_9967.jpg', '/home/nano/Desktop/images/08032025/16/07/image_08032025_16_07_15_9972.jpg', '/home/nano/Desktop/images/08032025/16/06/image_08032025_16_07_05_9983.jpg', '/home/nano/Desktop/images/08032025/16/06/image_08032025_16_06_55_9966.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/16/07/image_08032025_16_07_45_9973.jpg
/home/nano/Desktop/images/08032025/16/07/image_08032025_16_07_35_9967.jpg
/home/nano/Desktop/images/08032025/16/07/image_08032025_16_07_25_9967.jpg
/home/nano/Desktop/images/08032025/16/07/image_08032025_16_07_15_9972.jpg
/home/nano/Desktop/images/08032025/16/06/image_08032025_16_07_05_9983.jpg
/home/nano/Desktop/images/08032025/16/06/image_08032025_16_06_55_9966.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341916581","1341916513","1341916602","1341916571","1341916538","1341916591"],"photo_ids_order":["1341916513","1341916538","1341916571","1341916581","1341916591","1341916602"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/a9c8787a8b9069c226d1044c8fd0e354.jpg","text":"TemporaryFile(/tmp/multipartBody3061715865844357725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741446543434,"filename":"image_08032025_16_07_15_9972.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/50c58dd768a945fc356f730f91890330.jpg","text":"TemporaryFile(/tmp/multipartBody3725902303912117904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741446543434,"filename":"image_08032025_16_07_45_9973.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/6078b9e5e2628886e2bf3afffad7b60b.jpg","text":"TemporaryFile(/tmp/multipartBody9111103793983509161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741446543434,"filename":"image_08032025_16_06_55_9966.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/02b7ac8cbce6e9ad42cb1e9551864531.jpg","text":"TemporaryFile(/tmp/multipartBody6580171046965737624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741446543434,"filename":"image_08032025_16_07_25_9967.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/7d97d6d264232bbbdf23ddbd44cd604b.jpg","text":"TemporaryFile(/tmp/multipartBody6258015294209172595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741446543434,"filename":"image_08032025_16_07_35_9967.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/c9673b3ac22a543763d4fe2fb6bd0294.jpg","text":"TemporaryFile(/tmp/multipartBody808260885183934958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741446543434,"filename":"image_08032025_16_07_05_9983.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341916571","file1":"1341916538","file0":"1341916513","file4":"1341916591","file5":"1341916602","file3":"1341916581"},"map_files_photo_id_array":[{"photo_id":"1341916602","filename":"file5"},{"photo_id":"1341916571","filename":"file2"},{"photo_id":"1341916591","filename":"file4"},{"photo_id":"1341916538","filename":"file1"},{"photo_id":"1341916513","filename":"file0"},{"photo_id":"1341916581","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341916581":["hashtag1","hashtag2"]},{"1341916513":["hashtag1","hashtag2"]},{"1341916602":["hashtag1","hashtag2"]},{"1341916571":["hashtag1","hashtag2"]},{"1341916538":["hashtag1","hashtag2"]},{"1341916591":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341916581, 1341916513, 1341916602, 1341916571, 1341916538, 1341916591)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.36733436584473 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 16:09:03.428091
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/16/08/image_08032025_16_08_45_9988.jpg', 2), ('/home/nano/Desktop/images/08032025/16/08/image_08032025_16_08_35_9983.jpg', 2), ('/home/nano/Desktop/images/08032025/16/08/image_08032025_16_08_25_9978.jpg', 2), ('/home/nano/Desktop/images/08032025/16/08/image_08032025_16_08_15_9975.jpg', 2), ('/home/nano/Desktop/images/08032025/16/07/image_08032025_16_08_05_9981.jpg', 2), ('/home/nano/Desktop/images/08032025/16/07/image_08032025_16_07_55_9981.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/16/08/image_08032025_16_08_45_9988.jpg', '/home/nano/Desktop/images/08032025/16/08/image_08032025_16_08_35_9983.jpg', '/home/nano/Desktop/images/08032025/16/08/image_08032025_16_08_25_9978.jpg', '/home/nano/Desktop/images/08032025/16/08/image_08032025_16_08_15_9975.jpg', '/home/nano/Desktop/images/08032025/16/07/image_08032025_16_08_05_9981.jpg', '/home/nano/Desktop/images/08032025/16/07/image_08032025_16_07_55_9981.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/16/08/image_08032025_16_08_45_9988.jpg
/home/nano/Desktop/images/08032025/16/08/image_08032025_16_08_35_9983.jpg
/home/nano/Desktop/images/08032025/16/08/image_08032025_16_08_25_9978.jpg
/home/nano/Desktop/images/08032025/16/08/image_08032025_16_08_15_9975.jpg
/home/nano/Desktop/images/08032025/16/07/image_08032025_16_08_05_9981.jpg
/home/nano/Desktop/images/08032025/16/07/image_08032025_16_07_55_9981.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341917316","1341917183","1341917225","1341917572","1341917422","1341917623"],"photo_ids_order":["1341917183","1341917225","1341917316","1341917422","1341917572","1341917623"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/12fb4ef53fe4fa777f17beb2b10bb567.jpg","text":"TemporaryFile(/tmp/multipartBody2086481806557026822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741446603858,"filename":"image_08032025_16_08_25_9978.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/8556bbb1ba6c77e5b9fc40b605d673c6.jpg","text":"TemporaryFile(/tmp/multipartBody7310199908616439289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741446603858,"filename":"image_08032025_16_08_45_9988.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/e57128aa66be4ee03cd2f54582fa5a1f.jpg","text":"TemporaryFile(/tmp/multipartBody3769729200433793884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741446603858,"filename":"image_08032025_16_08_35_9983.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/46c7ba6cf595de8f75c0b2f49d9924d7.jpg","text":"TemporaryFile(/tmp/multipartBody453278620688923313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741446603858,"filename":"image_08032025_16_08_05_9981.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/cf986aa48eed02528282f90a269a336a.jpg","text":"TemporaryFile(/tmp/multipartBody2093177126896749531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741446603858,"filename":"image_08032025_16_08_15_9975.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/b9cb9dc3588cf415458ceabae06619a7.jpg","text":"TemporaryFile(/tmp/multipartBody6685501918127610279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741446603858,"filename":"image_08032025_16_07_55_9981.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341917316","file1":"1341917225","file0":"1341917183","file4":"1341917572","file5":"1341917623","file3":"1341917422"},"map_files_photo_id_array":[{"photo_id":"1341917623","filename":"file5"},{"photo_id":"1341917316","filename":"file2"},{"photo_id":"1341917572","filename":"file4"},{"photo_id":"1341917225","filename":"file1"},{"photo_id":"1341917183","filename":"file0"},{"photo_id":"1341917422","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341917316":["hashtag1","hashtag2"]},{"1341917183":["hashtag1","hashtag2"]},{"1341917225":["hashtag1","hashtag2"]},{"1341917572":["hashtag1","hashtag2"]},{"1341917422":["hashtag1","hashtag2"]},{"1341917623":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341917316, 1341917183, 1341917225, 1341917572, 1341917422, 1341917623)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.29363393783569 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 16:10:03.390338
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/16/09/image_08032025_16_09_45_9990.jpg', 2), ('/home/nano/Desktop/images/08032025/16/09/image_08032025_16_09_35_10007.jpg', 2), ('/home/nano/Desktop/images/08032025/16/09/image_08032025_16_09_25_9986.jpg', 2), ('/home/nano/Desktop/images/08032025/16/09/image_08032025_16_09_15_9997.jpg', 2), ('/home/nano/Desktop/images/08032025/16/08/image_08032025_16_09_05_10000.jpg', 2), ('/home/nano/Desktop/images/08032025/16/08/image_08032025_16_08_55_9984.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/16/09/image_08032025_16_09_45_9990.jpg', '/home/nano/Desktop/images/08032025/16/09/image_08032025_16_09_35_10007.jpg', '/home/nano/Desktop/images/08032025/16/09/image_08032025_16_09_25_9986.jpg', '/home/nano/Desktop/images/08032025/16/09/image_08032025_16_09_15_9997.jpg', '/home/nano/Desktop/images/08032025/16/08/image_08032025_16_09_05_10000.jpg', '/home/nano/Desktop/images/08032025/16/08/image_08032025_16_08_55_9984.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/16/09/image_08032025_16_09_45_9990.jpg
/home/nano/Desktop/images/08032025/16/09/image_08032025_16_09_35_10007.jpg
/home/nano/Desktop/images/08032025/16/09/image_08032025_16_09_25_9986.jpg
/home/nano/Desktop/images/08032025/16/09/image_08032025_16_09_15_9997.jpg
/home/nano/Desktop/images/08032025/16/08/image_08032025_16_09_05_10000.jpg
/home/nano/Desktop/images/08032025/16/08/image_08032025_16_08_55_9984.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341917805","1341917714","1341917677","1341917704","1341917898","1341917673"],"photo_ids_order":["1341917673","1341917677","1341917704","1341917714","1341917805","1341917898"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/c5a62f4d4257aabbc153fc24b1560cde.jpg","text":"TemporaryFile(/tmp/multipartBody2733298760400034218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741446663808,"filename":"image_08032025_16_09_05_10000.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/d144dbd370523b4112901e6c71219a1c.jpg","text":"TemporaryFile(/tmp/multipartBody4085037869117743491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741446663808,"filename":"image_08032025_16_09_15_9997.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/c5727e3d591f856dec04d3a440f59c27.jpg","text":"TemporaryFile(/tmp/multipartBody1781296480965679193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741446663808,"filename":"image_08032025_16_09_35_10007.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/d782bf3acfcaa922b4cfd5985cc846c4.jpg","text":"TemporaryFile(/tmp/multipartBody1785535250730752455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741446663808,"filename":"image_08032025_16_09_25_9986.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/d795f9f0817d2ba356e12ac82f75e581.jpg","text":"TemporaryFile(/tmp/multipartBody6098700829417106698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741446663808,"filename":"image_08032025_16_08_55_9984.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/5f88f9ec7271fbe1b8c18f8b7dea809b.jpg","text":"TemporaryFile(/tmp/multipartBody7921499020374865116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741446663808,"filename":"image_08032025_16_09_45_9990.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341917704","file1":"1341917677","file0":"1341917673","file4":"1341917805","file5":"1341917898","file3":"1341917714"},"map_files_photo_id_array":[{"photo_id":"1341917898","filename":"file5"},{"photo_id":"1341917704","filename":"file2"},{"photo_id":"1341917805","filename":"file4"},{"photo_id":"1341917677","filename":"file1"},{"photo_id":"1341917673","filename":"file0"},{"photo_id":"1341917714","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341917805":["hashtag1","hashtag2"]},{"1341917714":["hashtag1","hashtag2"]},{"1341917677":["hashtag1","hashtag2"]},{"1341917704":["hashtag1","hashtag2"]},{"1341917898":["hashtag1","hashtag2"]},{"1341917673":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341917805, 1341917714, 1341917677, 1341917704, 1341917898, 1341917673)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.107441902160645 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 16:11:02.399578
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/16/10/image_08032025_16_10_45_9981.jpg', 2), ('/home/nano/Desktop/images/08032025/16/10/image_08032025_16_10_35_9987.jpg', 2), ('/home/nano/Desktop/images/08032025/16/10/image_08032025_16_10_25_9993.jpg', 2), ('/home/nano/Desktop/images/08032025/16/10/image_08032025_16_10_15_9990.jpg', 2), ('/home/nano/Desktop/images/08032025/16/09/image_08032025_16_10_05_10030.jpg', 2), ('/home/nano/Desktop/images/08032025/16/09/image_08032025_16_09_55_9984.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/16/10/image_08032025_16_10_45_9981.jpg', '/home/nano/Desktop/images/08032025/16/10/image_08032025_16_10_35_9987.jpg', '/home/nano/Desktop/images/08032025/16/10/image_08032025_16_10_25_9993.jpg', '/home/nano/Desktop/images/08032025/16/10/image_08032025_16_10_15_9990.jpg', '/home/nano/Desktop/images/08032025/16/09/image_08032025_16_10_05_10030.jpg', '/home/nano/Desktop/images/08032025/16/09/image_08032025_16_09_55_9984.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/16/10/image_08032025_16_10_45_9981.jpg
/home/nano/Desktop/images/08032025/16/10/image_08032025_16_10_35_9987.jpg
/home/nano/Desktop/images/08032025/16/10/image_08032025_16_10_25_9993.jpg
/home/nano/Desktop/images/08032025/16/10/image_08032025_16_10_15_9990.jpg
/home/nano/Desktop/images/08032025/16/09/image_08032025_16_10_05_10030.jpg
/home/nano/Desktop/images/08032025/16/09/image_08032025_16_09_55_9984.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341918426","1341918114","1341918209","1341918250","1341918622","1341918291"],"photo_ids_order":["1341918114","1341918209","1341918250","1341918291","1341918426","1341918622"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/94e31843099cbd70dad7c7fcfcab8785.jpg","text":"TemporaryFile(/tmp/multipartBody1616561324649718736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741446722840,"filename":"image_08032025_16_10_05_10030.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/e60f30b963515608799dc7ec07138eaf.jpg","text":"TemporaryFile(/tmp/multipartBody6674919235453141663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741446722840,"filename":"image_08032025_16_10_45_9981.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/2deae2db55733ee139d926b4e68f6497.jpg","text":"TemporaryFile(/tmp/multipartBody8648925156141817854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741446722840,"filename":"image_08032025_16_10_35_9987.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/605f8f81afe5ace4f7e7b5539c0ac095.jpg","text":"TemporaryFile(/tmp/multipartBody1346871485155826837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741446722840,"filename":"image_08032025_16_10_25_9993.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/3cd24bcb54ef66a6b8a39da5e49ab8d2.jpg","text":"TemporaryFile(/tmp/multipartBody2995377077916960895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741446722840,"filename":"image_08032025_16_09_55_9984.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/2f73149134a610a1cad0bc5f509da22c.jpg","text":"TemporaryFile(/tmp/multipartBody318931736175308398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741446722840,"filename":"image_08032025_16_10_15_9990.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341918250","file1":"1341918209","file0":"1341918114","file4":"1341918426","file5":"1341918622","file3":"1341918291"},"map_files_photo_id_array":[{"photo_id":"1341918622","filename":"file5"},{"photo_id":"1341918250","filename":"file2"},{"photo_id":"1341918426","filename":"file4"},{"photo_id":"1341918209","filename":"file1"},{"photo_id":"1341918114","filename":"file0"},{"photo_id":"1341918291","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341918426":["hashtag1","hashtag2"]},{"1341918114":["hashtag1","hashtag2"]},{"1341918209":["hashtag1","hashtag2"]},{"1341918250":["hashtag1","hashtag2"]},{"1341918622":["hashtag1","hashtag2"]},{"1341918291":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341918426, 1341918114, 1341918209, 1341918250, 1341918622, 1341918291)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.78594398498535 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 16:12:02.599222
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/16/11/image_08032025_16_11_46_11007.jpg', 2), ('/home/nano/Desktop/images/08032025/16/11/image_08032025_16_11_35_9982.jpg', 2), ('/home/nano/Desktop/images/08032025/16/11/image_08032025_16_11_25_9993.jpg', 2), ('/home/nano/Desktop/images/08032025/16/11/image_08032025_16_11_15_10017.jpg', 2), ('/home/nano/Desktop/images/08032025/16/10/image_08032025_16_11_05_10004.jpg', 2), ('/home/nano/Desktop/images/08032025/16/10/image_08032025_16_10_55_9985.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/16/11/image_08032025_16_11_46_11007.jpg', '/home/nano/Desktop/images/08032025/16/11/image_08032025_16_11_35_9982.jpg', '/home/nano/Desktop/images/08032025/16/11/image_08032025_16_11_25_9993.jpg', '/home/nano/Desktop/images/08032025/16/11/image_08032025_16_11_15_10017.jpg', '/home/nano/Desktop/images/08032025/16/10/image_08032025_16_11_05_10004.jpg', '/home/nano/Desktop/images/08032025/16/10/image_08032025_16_10_55_9985.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/16/11/image_08032025_16_11_46_11007.jpg
/home/nano/Desktop/images/08032025/16/11/image_08032025_16_11_35_9982.jpg
/home/nano/Desktop/images/08032025/16/11/image_08032025_16_11_25_9993.jpg
/home/nano/Desktop/images/08032025/16/11/image_08032025_16_11_15_10017.jpg
/home/nano/Desktop/images/08032025/16/10/image_08032025_16_11_05_10004.jpg
/home/nano/Desktop/images/08032025/16/10/image_08032025_16_10_55_9985.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341918947","1341919150","1341918985","1341919102","1341919068","1341919026"],"photo_ids_order":["1341918947","1341918985","1341919026","1341919068","1341919102","1341919150"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/fcde77ea05244a37617e6b7ccbc9b523.jpg","text":"TemporaryFile(/tmp/multipartBody4846868774346253640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741446783027,"filename":"image_08032025_16_11_46_11007.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/97a1f15ca4e1bc046682c86809fc5126.jpg","text":"TemporaryFile(/tmp/multipartBody966361796427789020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741446783027,"filename":"image_08032025_16_10_55_9985.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/1eae7459657f299769c5df69f69ffae2.jpg","text":"TemporaryFile(/tmp/multipartBody3362701248905561355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741446783027,"filename":"image_08032025_16_11_35_9982.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/00007412e2e588a6f67772f9bec44af3.jpg","text":"TemporaryFile(/tmp/multipartBody4499787502716587852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741446783027,"filename":"image_08032025_16_11_05_10004.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/c22c1d466775cd18a485c9bc9710afa1.jpg","text":"TemporaryFile(/tmp/multipartBody2090334406307097992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741446783027,"filename":"image_08032025_16_11_15_10017.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/5fa90427c0e77537ac99a6f008f95f61.jpg","text":"TemporaryFile(/tmp/multipartBody1203420376185839345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741446783027,"filename":"image_08032025_16_11_25_9993.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341919026","file1":"1341918985","file0":"1341918947","file4":"1341919102","file5":"1341919150","file3":"1341919068"},"map_files_photo_id_array":[{"photo_id":"1341919150","filename":"file5"},{"photo_id":"1341919026","filename":"file2"},{"photo_id":"1341919102","filename":"file4"},{"photo_id":"1341918985","filename":"file1"},{"photo_id":"1341918947","filename":"file0"},{"photo_id":"1341919068","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341918947":["hashtag1","hashtag2"]},{"1341919150":["hashtag1","hashtag2"]},{"1341918985":["hashtag1","hashtag2"]},{"1341919102":["hashtag1","hashtag2"]},{"1341919068":["hashtag1","hashtag2"]},{"1341919026":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341918947, 1341919150, 1341918985, 1341919102, 1341919068, 1341919026)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.52214288711548 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 16:13:02.454540
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/16/12/image_08032025_16_12_46_9986.jpg', 2), ('/home/nano/Desktop/images/08032025/16/12/image_08032025_16_12_36_10011.jpg', 2), ('/home/nano/Desktop/images/08032025/16/12/image_08032025_16_12_26_9974.jpg', 2), ('/home/nano/Desktop/images/08032025/16/12/image_08032025_16_12_16_9975.jpg', 2), ('/home/nano/Desktop/images/08032025/16/11/image_08032025_16_12_06_10017.jpg', 2), ('/home/nano/Desktop/images/08032025/16/11/image_08032025_16_11_56_9977.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/16/12/image_08032025_16_12_46_9986.jpg', '/home/nano/Desktop/images/08032025/16/12/image_08032025_16_12_36_10011.jpg', '/home/nano/Desktop/images/08032025/16/12/image_08032025_16_12_26_9974.jpg', '/home/nano/Desktop/images/08032025/16/12/image_08032025_16_12_16_9975.jpg', '/home/nano/Desktop/images/08032025/16/11/image_08032025_16_12_06_10017.jpg', '/home/nano/Desktop/images/08032025/16/11/image_08032025_16_11_56_9977.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/16/12/image_08032025_16_12_46_9986.jpg
/home/nano/Desktop/images/08032025/16/12/image_08032025_16_12_36_10011.jpg
/home/nano/Desktop/images/08032025/16/12/image_08032025_16_12_26_9974.jpg
/home/nano/Desktop/images/08032025/16/12/image_08032025_16_12_16_9975.jpg
/home/nano/Desktop/images/08032025/16/11/image_08032025_16_12_06_10017.jpg
/home/nano/Desktop/images/08032025/16/11/image_08032025_16_11_56_9977.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341919690","1341919797","1341919735","1341919615","1341919764","1341919833"],"photo_ids_order":["1341919615","1341919690","1341919735","1341919764","1341919797","1341919833"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/9bc59d916d2b032bc0a37797177eb421.jpg","text":"TemporaryFile(/tmp/multipartBody5151249229973403204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741446842899,"filename":"image_08032025_16_12_36_10011.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/07812b0bf929b796492f2e924aa2ee78.jpg","text":"TemporaryFile(/tmp/multipartBody3051719529515155528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741446842899,"filename":"image_08032025_16_12_06_10017.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/1bc86df95ade312be187d674a15f1ccb.jpg","text":"TemporaryFile(/tmp/multipartBody5812156390255599087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741446842899,"filename":"image_08032025_16_12_26_9974.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/6188bff0300219914c222e10258ff85d.jpg","text":"TemporaryFile(/tmp/multipartBody1184517652124518142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741446842899,"filename":"image_08032025_16_12_46_9986.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/bcf041977cc945e2ffcd601dadb376dd.jpg","text":"TemporaryFile(/tmp/multipartBody8087035674644681663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741446842899,"filename":"image_08032025_16_12_16_9975.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/ab7e3e9d54c0ccabf370755aaf160f6f.jpg","text":"TemporaryFile(/tmp/multipartBody5805377940950166339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741446842899,"filename":"image_08032025_16_11_56_9977.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341919735","file1":"1341919690","file0":"1341919615","file4":"1341919797","file5":"1341919833","file3":"1341919764"},"map_files_photo_id_array":[{"photo_id":"1341919833","filename":"file5"},{"photo_id":"1341919735","filename":"file2"},{"photo_id":"1341919797","filename":"file4"},{"photo_id":"1341919690","filename":"file1"},{"photo_id":"1341919615","filename":"file0"},{"photo_id":"1341919764","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341919690":["hashtag1","hashtag2"]},{"1341919797":["hashtag1","hashtag2"]},{"1341919735":["hashtag1","hashtag2"]},{"1341919615":["hashtag1","hashtag2"]},{"1341919764":["hashtag1","hashtag2"]},{"1341919833":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341919690, 1341919797, 1341919735, 1341919615, 1341919764, 1341919833)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.18718075752258 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 16:14:02.759566
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/16/13/image_08032025_16_13_45_9980.jpg', 2), ('/home/nano/Desktop/images/08032025/16/13/image_08032025_16_13_35_9981.jpg', 2), ('/home/nano/Desktop/images/08032025/16/13/image_08032025_16_13_25_9983.jpg', 2), ('/home/nano/Desktop/images/08032025/16/13/image_08032025_16_13_15_9983.jpg', 2), ('/home/nano/Desktop/images/08032025/16/12/image_08032025_16_13_06_9994.jpg', 2), ('/home/nano/Desktop/images/08032025/16/12/image_08032025_16_12_56_9979.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/16/13/image_08032025_16_13_45_9980.jpg', '/home/nano/Desktop/images/08032025/16/13/image_08032025_16_13_35_9981.jpg', '/home/nano/Desktop/images/08032025/16/13/image_08032025_16_13_25_9983.jpg', '/home/nano/Desktop/images/08032025/16/13/image_08032025_16_13_15_9983.jpg', '/home/nano/Desktop/images/08032025/16/12/image_08032025_16_13_06_9994.jpg', '/home/nano/Desktop/images/08032025/16/12/image_08032025_16_12_56_9979.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/16/13/image_08032025_16_13_45_9980.jpg
/home/nano/Desktop/images/08032025/16/13/image_08032025_16_13_35_9981.jpg
/home/nano/Desktop/images/08032025/16/13/image_08032025_16_13_25_9983.jpg
/home/nano/Desktop/images/08032025/16/13/image_08032025_16_13_15_9983.jpg
/home/nano/Desktop/images/08032025/16/12/image_08032025_16_13_06_9994.jpg
/home/nano/Desktop/images/08032025/16/12/image_08032025_16_12_56_9979.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341920504","1341920432","1341920470","1341920392","1341920326","1341920532"],"photo_ids_order":["1341920326","1341920392","1341920432","1341920470","1341920504","1341920532"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/93caa414f67f0e3d1bbae6b205dda5ec.jpg","text":"TemporaryFile(/tmp/multipartBody7969568484502518816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741446903217,"filename":"image_08032025_16_13_06_9994.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/cca5bb53a6674c262b4bb6e129023a2f.jpg","text":"TemporaryFile(/tmp/multipartBody1011912619810664015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741446903217,"filename":"image_08032025_16_13_25_9983.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/2d7f63b5d6bf6f366fad6a47612f0cbd.jpg","text":"TemporaryFile(/tmp/multipartBody9157646296377582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741446903217,"filename":"image_08032025_16_13_15_9983.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/1674d67eaa4484b6f28538038c75b638.jpg","text":"TemporaryFile(/tmp/multipartBody9097375154839887523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741446903217,"filename":"image_08032025_16_13_35_9981.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/b3c883bc3c6a8496464bdea908141776.jpg","text":"TemporaryFile(/tmp/multipartBody3624621457250306933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741446903217,"filename":"image_08032025_16_13_45_9980.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/53ff3f8697b7d39cb73b21551526457e.jpg","text":"TemporaryFile(/tmp/multipartBody7933630450261388131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741446903217,"filename":"image_08032025_16_12_56_9979.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341920432","file1":"1341920392","file0":"1341920326","file4":"1341920504","file5":"1341920532","file3":"1341920470"},"map_files_photo_id_array":[{"photo_id":"1341920532","filename":"file5"},{"photo_id":"1341920432","filename":"file2"},{"photo_id":"1341920504","filename":"file4"},{"photo_id":"1341920392","filename":"file1"},{"photo_id":"1341920326","filename":"file0"},{"photo_id":"1341920470","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341920504":["hashtag1","hashtag2"]},{"1341920432":["hashtag1","hashtag2"]},{"1341920470":["hashtag1","hashtag2"]},{"1341920392":["hashtag1","hashtag2"]},{"1341920326":["hashtag1","hashtag2"]},{"1341920532":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341920504, 1341920432, 1341920470, 1341920392, 1341920326, 1341920532)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.82115626335144 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 16:15:02.909312
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/16/14/image_08032025_16_14_45_9989.jpg', 2), ('/home/nano/Desktop/images/08032025/16/14/image_08032025_16_14_35_9982.jpg', 2), ('/home/nano/Desktop/images/08032025/16/14/image_08032025_16_14_25_9999.jpg', 2), ('/home/nano/Desktop/images/08032025/16/14/image_08032025_16_14_15_9992.jpg', 2), ('/home/nano/Desktop/images/08032025/16/13/image_08032025_16_14_05_9994.jpg', 2), ('/home/nano/Desktop/images/08032025/16/13/image_08032025_16_13_55_9980.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/16/14/image_08032025_16_14_45_9989.jpg', '/home/nano/Desktop/images/08032025/16/14/image_08032025_16_14_35_9982.jpg', '/home/nano/Desktop/images/08032025/16/14/image_08032025_16_14_25_9999.jpg', '/home/nano/Desktop/images/08032025/16/14/image_08032025_16_14_15_9992.jpg', '/home/nano/Desktop/images/08032025/16/13/image_08032025_16_14_05_9994.jpg', '/home/nano/Desktop/images/08032025/16/13/image_08032025_16_13_55_9980.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/16/14/image_08032025_16_14_45_9989.jpg
/home/nano/Desktop/images/08032025/16/14/image_08032025_16_14_35_9982.jpg
/home/nano/Desktop/images/08032025/16/14/image_08032025_16_14_25_9999.jpg
/home/nano/Desktop/images/08032025/16/14/image_08032025_16_14_15_9992.jpg
/home/nano/Desktop/images/08032025/16/13/image_08032025_16_14_05_9994.jpg
/home/nano/Desktop/images/08032025/16/13/image_08032025_16_13_55_9980.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341920702","1341920612","1341920611","1341920670","1341920623","1341920610"],"photo_ids_order":["1341920610","1341920611","1341920612","1341920623","1341920670","1341920702"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/f8d4f774e6e1ebec4729c0b3f87b1a36.jpg","text":"TemporaryFile(/tmp/multipartBody8307892945404062053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741446963326,"filename":"image_08032025_16_13_55_9980.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/7b2a39ebddd14de77745265e10802efc.jpg","text":"TemporaryFile(/tmp/multipartBody3548838501904056614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741446963326,"filename":"image_08032025_16_14_25_9999.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/ef113f6c97a03e78c1468d7c8c60cebf.jpg","text":"TemporaryFile(/tmp/multipartBody346779591648018876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741446963326,"filename":"image_08032025_16_14_35_9982.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/dcce09152957414477a7424b75e9fbea.jpg","text":"TemporaryFile(/tmp/multipartBody3365647607149971137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741446963326,"filename":"image_08032025_16_14_05_9994.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/bcac8ab91b55592f16d5da587a38efc1.jpg","text":"TemporaryFile(/tmp/multipartBody1875422946007390886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741446963326,"filename":"image_08032025_16_14_15_9992.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/daac8fe9723787fb228f4e7f482cd863.jpg","text":"TemporaryFile(/tmp/multipartBody1477036931823873232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741446963326,"filename":"image_08032025_16_14_45_9989.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341920612","file1":"1341920611","file0":"1341920610","file4":"1341920670","file5":"1341920702","file3":"1341920623"},"map_files_photo_id_array":[{"photo_id":"1341920702","filename":"file5"},{"photo_id":"1341920612","filename":"file2"},{"photo_id":"1341920670","filename":"file4"},{"photo_id":"1341920611","filename":"file1"},{"photo_id":"1341920610","filename":"file0"},{"photo_id":"1341920623","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341920702":["hashtag1","hashtag2"]},{"1341920612":["hashtag1","hashtag2"]},{"1341920611":["hashtag1","hashtag2"]},{"1341920670":["hashtag1","hashtag2"]},{"1341920623":["hashtag1","hashtag2"]},{"1341920610":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341920702, 1341920612, 1341920611, 1341920670, 1341920623, 1341920610)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.652590036392212 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 16:16:02.861168
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/16/15/image_08032025_16_15_45_9980.jpg', 2), ('/home/nano/Desktop/images/08032025/16/15/image_08032025_16_15_35_9983.jpg', 2), ('/home/nano/Desktop/images/08032025/16/15/image_08032025_16_15_25_9985.jpg', 2), ('/home/nano/Desktop/images/08032025/16/15/image_08032025_16_15_15_9983.jpg', 2), ('/home/nano/Desktop/images/08032025/16/14/image_08032025_16_15_05_9997.jpg', 2), ('/home/nano/Desktop/images/08032025/16/14/image_08032025_16_14_55_9984.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/16/15/image_08032025_16_15_45_9980.jpg', '/home/nano/Desktop/images/08032025/16/15/image_08032025_16_15_35_9983.jpg', '/home/nano/Desktop/images/08032025/16/15/image_08032025_16_15_25_9985.jpg', '/home/nano/Desktop/images/08032025/16/15/image_08032025_16_15_15_9983.jpg', '/home/nano/Desktop/images/08032025/16/14/image_08032025_16_15_05_9997.jpg', '/home/nano/Desktop/images/08032025/16/14/image_08032025_16_14_55_9984.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/16/15/image_08032025_16_15_45_9980.jpg
/home/nano/Desktop/images/08032025/16/15/image_08032025_16_15_35_9983.jpg
/home/nano/Desktop/images/08032025/16/15/image_08032025_16_15_25_9985.jpg
/home/nano/Desktop/images/08032025/16/15/image_08032025_16_15_15_9983.jpg
/home/nano/Desktop/images/08032025/16/14/image_08032025_16_15_05_9997.jpg
/home/nano/Desktop/images/08032025/16/14/image_08032025_16_14_55_9984.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341921056","1341921101","1341921100","1341921112","1341921102","1341921080"],"photo_ids_order":["1341921056","1341921080","1341921100","1341921101","1341921102","1341921112"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/640c44448eee9234af932705145d8bab.jpg","text":"TemporaryFile(/tmp/multipartBody3307379869764469468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741447023281,"filename":"image_08032025_16_15_45_9980.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/624e15f184d058bdf5e9224f9112ed60.jpg","text":"TemporaryFile(/tmp/multipartBody8316600094856098459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741447023281,"filename":"image_08032025_16_15_15_9983.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/59f862d3d58d06b46636cef7dcd39935.jpg","text":"TemporaryFile(/tmp/multipartBody5813924995942725768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741447023281,"filename":"image_08032025_16_15_25_9985.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/714bf12eb1e9650e43e073668ddb21d2.jpg","text":"TemporaryFile(/tmp/multipartBody7906439036449451691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741447023281,"filename":"image_08032025_16_14_55_9984.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/f3384808342fc5c79a0c73a459f3928a.jpg","text":"TemporaryFile(/tmp/multipartBody6626590037468718591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741447023281,"filename":"image_08032025_16_15_05_9997.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/16d8b66b3db9d2a752531575edfaff8e.jpg","text":"TemporaryFile(/tmp/multipartBody88117946045733360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741447023281,"filename":"image_08032025_16_15_35_9983.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341921100","file1":"1341921080","file0":"1341921056","file4":"1341921102","file5":"1341921112","file3":"1341921101"},"map_files_photo_id_array":[{"photo_id":"1341921112","filename":"file5"},{"photo_id":"1341921100","filename":"file2"},{"photo_id":"1341921102","filename":"file4"},{"photo_id":"1341921080","filename":"file1"},{"photo_id":"1341921056","filename":"file0"},{"photo_id":"1341921101","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341921056":["hashtag1","hashtag2"]},{"1341921101":["hashtag1","hashtag2"]},{"1341921100":["hashtag1","hashtag2"]},{"1341921112":["hashtag1","hashtag2"]},{"1341921102":["hashtag1","hashtag2"]},{"1341921080":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341921056, 1341921101, 1341921100, 1341921112, 1341921102, 1341921080)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.34489583969116 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 16:17:03.158748
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/16/16/image_08032025_16_16_45_9979.jpg', 2), ('/home/nano/Desktop/images/08032025/16/16/image_08032025_16_16_35_9972.jpg', 2), ('/home/nano/Desktop/images/08032025/16/16/image_08032025_16_16_25_9970.jpg', 2), ('/home/nano/Desktop/images/08032025/16/16/image_08032025_16_16_15_9968.jpg', 2), ('/home/nano/Desktop/images/08032025/16/15/image_08032025_16_16_05_9974.jpg', 2), ('/home/nano/Desktop/images/08032025/16/15/image_08032025_16_15_55_9970.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/16/16/image_08032025_16_16_45_9979.jpg', '/home/nano/Desktop/images/08032025/16/16/image_08032025_16_16_35_9972.jpg', '/home/nano/Desktop/images/08032025/16/16/image_08032025_16_16_25_9970.jpg', '/home/nano/Desktop/images/08032025/16/16/image_08032025_16_16_15_9968.jpg', '/home/nano/Desktop/images/08032025/16/15/image_08032025_16_16_05_9974.jpg', '/home/nano/Desktop/images/08032025/16/15/image_08032025_16_15_55_9970.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/16/16/image_08032025_16_16_45_9979.jpg
/home/nano/Desktop/images/08032025/16/16/image_08032025_16_16_35_9972.jpg
/home/nano/Desktop/images/08032025/16/16/image_08032025_16_16_25_9970.jpg
/home/nano/Desktop/images/08032025/16/16/image_08032025_16_16_15_9968.jpg
/home/nano/Desktop/images/08032025/16/15/image_08032025_16_16_05_9974.jpg
/home/nano/Desktop/images/08032025/16/15/image_08032025_16_15_55_9970.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341921353","1341921257","1341921277","1341921604","1341921282","1341921488"],"photo_ids_order":["1341921257","1341921277","1341921282","1341921353","1341921488","1341921604"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/0fd76c787c62b5748ea7c59590a91b38.jpg","text":"TemporaryFile(/tmp/multipartBody8896074245688191003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741447083581,"filename":"image_08032025_16_16_15_9968.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/53c4f1ad26b938573952e0dfd100e1ba.jpg","text":"TemporaryFile(/tmp/multipartBody7297539900939558035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741447083581,"filename":"image_08032025_16_16_45_9979.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/b731ccf80ad5c89984d41acbcedeef19.jpg","text":"TemporaryFile(/tmp/multipartBody4675033719575110233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741447083581,"filename":"image_08032025_16_16_35_9972.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/92dba1fc0a80cacaad73660feaebbb11.jpg","text":"TemporaryFile(/tmp/multipartBody9170355373673923446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741447083581,"filename":"image_08032025_16_15_55_9970.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/83d7cab5be3732f951d7337b95cb8d82.jpg","text":"TemporaryFile(/tmp/multipartBody126439943414294131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741447083581,"filename":"image_08032025_16_16_25_9970.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/344c0294086f2623deabe0acab77093c.jpg","text":"TemporaryFile(/tmp/multipartBody8939460178480133313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741447083581,"filename":"image_08032025_16_16_05_9974.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341921282","file1":"1341921277","file0":"1341921257","file4":"1341921488","file5":"1341921604","file3":"1341921353"},"map_files_photo_id_array":[{"photo_id":"1341921604","filename":"file5"},{"photo_id":"1341921282","filename":"file2"},{"photo_id":"1341921488","filename":"file4"},{"photo_id":"1341921277","filename":"file1"},{"photo_id":"1341921257","filename":"file0"},{"photo_id":"1341921353","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341921353":["hashtag1","hashtag2"]},{"1341921257":["hashtag1","hashtag2"]},{"1341921277":["hashtag1","hashtag2"]},{"1341921604":["hashtag1","hashtag2"]},{"1341921282":["hashtag1","hashtag2"]},{"1341921488":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341921353, 1341921257, 1341921277, 1341921604, 1341921282, 1341921488)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.34366059303284 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 16:18:03.276399
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/16/17/image_08032025_16_17_45_9960.jpg', 2), ('/home/nano/Desktop/images/08032025/16/17/image_08032025_16_17_35_9966.jpg', 2), ('/home/nano/Desktop/images/08032025/16/17/image_08032025_16_17_25_9956.jpg', 2), ('/home/nano/Desktop/images/08032025/16/17/image_08032025_16_17_15_9962.jpg', 2), ('/home/nano/Desktop/images/08032025/16/16/image_08032025_16_17_05_9975.jpg', 2), ('/home/nano/Desktop/images/08032025/16/16/image_08032025_16_16_55_9962.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/16/17/image_08032025_16_17_45_9960.jpg', '/home/nano/Desktop/images/08032025/16/17/image_08032025_16_17_35_9966.jpg', '/home/nano/Desktop/images/08032025/16/17/image_08032025_16_17_25_9956.jpg', '/home/nano/Desktop/images/08032025/16/17/image_08032025_16_17_15_9962.jpg', '/home/nano/Desktop/images/08032025/16/16/image_08032025_16_17_05_9975.jpg', '/home/nano/Desktop/images/08032025/16/16/image_08032025_16_16_55_9962.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/16/17/image_08032025_16_17_45_9960.jpg
/home/nano/Desktop/images/08032025/16/17/image_08032025_16_17_35_9966.jpg
/home/nano/Desktop/images/08032025/16/17/image_08032025_16_17_25_9956.jpg
/home/nano/Desktop/images/08032025/16/17/image_08032025_16_17_15_9962.jpg
/home/nano/Desktop/images/08032025/16/16/image_08032025_16_17_05_9975.jpg
/home/nano/Desktop/images/08032025/16/16/image_08032025_16_16_55_9962.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341922019","1341921863","1341922048","1341921973","1341921808","1341921831"],"photo_ids_order":["1341921808","1341921831","1341921863","1341921973","1341922019","1341922048"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/8567d82ef2f48fcd7b0dddef75feb558.jpg","text":"TemporaryFile(/tmp/multipartBody8131845365673449930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741447143706,"filename":"image_08032025_16_17_05_9975.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/4a32317fc30b9966ccdf0597977a2dfc.jpg","text":"TemporaryFile(/tmp/multipartBody2410373253263973793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741447143706,"filename":"image_08032025_16_17_25_9956.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/883849fe57ad3f5e8db2992737898c40.jpg","text":"TemporaryFile(/tmp/multipartBody5717521322728628243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741447143706,"filename":"image_08032025_16_16_55_9962.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/3645559f7a57d441182a5b38d946edfe.jpg","text":"TemporaryFile(/tmp/multipartBody1572001943509799177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741447143706,"filename":"image_08032025_16_17_15_9962.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/025842caf95ffa798e37ebb8e781532d.jpg","text":"TemporaryFile(/tmp/multipartBody4108449263778912675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741447143706,"filename":"image_08032025_16_17_45_9960.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/200182842b080676f39e5125a4a34984.jpg","text":"TemporaryFile(/tmp/multipartBody7113935257503799127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741447143706,"filename":"image_08032025_16_17_35_9966.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341921863","file1":"1341921831","file0":"1341921808","file4":"1341922019","file5":"1341922048","file3":"1341921973"},"map_files_photo_id_array":[{"photo_id":"1341922048","filename":"file5"},{"photo_id":"1341921863","filename":"file2"},{"photo_id":"1341922019","filename":"file4"},{"photo_id":"1341921831","filename":"file1"},{"photo_id":"1341921808","filename":"file0"},{"photo_id":"1341921973","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341922019":["hashtag1","hashtag2"]},{"1341921863":["hashtag1","hashtag2"]},{"1341922048":["hashtag1","hashtag2"]},{"1341921973":["hashtag1","hashtag2"]},{"1341921808":["hashtag1","hashtag2"]},{"1341921831":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341922019, 1341921863, 1341922048, 1341921973, 1341921808, 1341921831)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.248998403549194 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 16:19:02.591911
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/16/18/image_08032025_16_18_45_9962.jpg', 2), ('/home/nano/Desktop/images/08032025/16/18/image_08032025_16_18_35_9967.jpg', 2), ('/home/nano/Desktop/images/08032025/16/18/image_08032025_16_18_25_9973.jpg', 2), ('/home/nano/Desktop/images/08032025/16/18/image_08032025_16_18_15_9974.jpg', 2), ('/home/nano/Desktop/images/08032025/16/17/image_08032025_16_18_05_9971.jpg', 2), ('/home/nano/Desktop/images/08032025/16/17/image_08032025_16_17_55_9952.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/16/18/image_08032025_16_18_45_9962.jpg', '/home/nano/Desktop/images/08032025/16/18/image_08032025_16_18_35_9967.jpg', '/home/nano/Desktop/images/08032025/16/18/image_08032025_16_18_25_9973.jpg', '/home/nano/Desktop/images/08032025/16/18/image_08032025_16_18_15_9974.jpg', '/home/nano/Desktop/images/08032025/16/17/image_08032025_16_18_05_9971.jpg', '/home/nano/Desktop/images/08032025/16/17/image_08032025_16_17_55_9952.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/16/18/image_08032025_16_18_45_9962.jpg
/home/nano/Desktop/images/08032025/16/18/image_08032025_16_18_35_9967.jpg
/home/nano/Desktop/images/08032025/16/18/image_08032025_16_18_25_9973.jpg
/home/nano/Desktop/images/08032025/16/18/image_08032025_16_18_15_9974.jpg
/home/nano/Desktop/images/08032025/16/17/image_08032025_16_18_05_9971.jpg
/home/nano/Desktop/images/08032025/16/17/image_08032025_16_17_55_9952.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341922183","1341922260","1341922248","1341922236","1341922203","1341922227"],"photo_ids_order":["1341922183","1341922203","1341922227","1341922236","1341922248","1341922260"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/28fce7b96346b36cdfcb8ad097b64537.jpg","text":"TemporaryFile(/tmp/multipartBody119198251795464375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741447203031,"filename":"image_08032025_16_18_45_9962.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/b1d1a77f91d6bdc77d0863e2d1bcb96e.jpg","text":"TemporaryFile(/tmp/multipartBody1246463226576618327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741447203031,"filename":"image_08032025_16_17_55_9952.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/66cf0c6251dc56c7b843ff5e322b4041.jpg","text":"TemporaryFile(/tmp/multipartBody5736580529995309726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741447203031,"filename":"image_08032025_16_18_05_9971.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/8f347f4e72bc72052e94f4bf11f3f9ed.jpg","text":"TemporaryFile(/tmp/multipartBody7209081651471776191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741447203031,"filename":"image_08032025_16_18_15_9974.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/0403b581deed2de554e22db9d61fc1b0.jpg","text":"TemporaryFile(/tmp/multipartBody6461488854132049037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741447203031,"filename":"image_08032025_16_18_35_9967.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/c49e0a9324c5a2954538a697614409c3.jpg","text":"TemporaryFile(/tmp/multipartBody5064681093319096154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741447203031,"filename":"image_08032025_16_18_25_9973.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341922227","file1":"1341922203","file0":"1341922183","file4":"1341922248","file5":"1341922260","file3":"1341922236"},"map_files_photo_id_array":[{"photo_id":"1341922260","filename":"file5"},{"photo_id":"1341922227","filename":"file2"},{"photo_id":"1341922248","filename":"file4"},{"photo_id":"1341922203","filename":"file1"},{"photo_id":"1341922183","filename":"file0"},{"photo_id":"1341922236","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341922183":["hashtag1","hashtag2"]},{"1341922260":["hashtag1","hashtag2"]},{"1341922248":["hashtag1","hashtag2"]},{"1341922236":["hashtag1","hashtag2"]},{"1341922203":["hashtag1","hashtag2"]},{"1341922227":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341922183, 1341922260, 1341922248, 1341922236, 1341922203, 1341922227)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.71033048629761 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 16:20:02.545254
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/16/19/image_08032025_16_19_46_9950.jpg', 2), ('/home/nano/Desktop/images/08032025/16/19/image_08032025_16_19_36_10974.jpg', 2), ('/home/nano/Desktop/images/08032025/16/19/image_08032025_16_19_25_9964.jpg', 2), ('/home/nano/Desktop/images/08032025/16/19/image_08032025_16_19_15_9959.jpg', 2), ('/home/nano/Desktop/images/08032025/16/18/image_08032025_16_19_05_9986.jpg', 2), ('/home/nano/Desktop/images/08032025/16/18/image_08032025_16_18_55_9965.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/16/19/image_08032025_16_19_46_9950.jpg', '/home/nano/Desktop/images/08032025/16/19/image_08032025_16_19_36_10974.jpg', '/home/nano/Desktop/images/08032025/16/19/image_08032025_16_19_25_9964.jpg', '/home/nano/Desktop/images/08032025/16/19/image_08032025_16_19_15_9959.jpg', '/home/nano/Desktop/images/08032025/16/18/image_08032025_16_19_05_9986.jpg', '/home/nano/Desktop/images/08032025/16/18/image_08032025_16_18_55_9965.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/16/19/image_08032025_16_19_46_9950.jpg
/home/nano/Desktop/images/08032025/16/19/image_08032025_16_19_36_10974.jpg
/home/nano/Desktop/images/08032025/16/19/image_08032025_16_19_25_9964.jpg
/home/nano/Desktop/images/08032025/16/19/image_08032025_16_19_15_9959.jpg
/home/nano/Desktop/images/08032025/16/18/image_08032025_16_19_05_9986.jpg
/home/nano/Desktop/images/08032025/16/18/image_08032025_16_18_55_9965.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341922318","1341922296","1341922299","1341922290","1341922293","1341922328"],"photo_ids_order":["1341922290","1341922293","1341922296","1341922299","1341922318","1341922328"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/15520eea2aad7719d9c1f76f7c929035.jpg","text":"TemporaryFile(/tmp/multipartBody1405275180680271328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741447263032,"filename":"image_08032025_16_19_05_9986.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/ddd85e2c6825ffe7f21bb9e27165866a.jpg","text":"TemporaryFile(/tmp/multipartBody6107831477931862403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741447263032,"filename":"image_08032025_16_19_25_9964.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/c781d4ef0046b8bfcb5e7c2a6d32202d.jpg","text":"TemporaryFile(/tmp/multipartBody5841476149047938460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741447263032,"filename":"image_08032025_16_19_15_9959.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/1c155c47bad0e468f4efc50550b49a45.jpg","text":"TemporaryFile(/tmp/multipartBody7252513991043151012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741447263032,"filename":"image_08032025_16_19_46_9950.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/7b7c0b80fdb1c86fad12ba336a773a0e.jpg","text":"TemporaryFile(/tmp/multipartBody5851336055163468314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741447263032,"filename":"image_08032025_16_19_36_10974.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/3228ae71e1ac90f185f8695aaf0d6e0f.jpg","text":"TemporaryFile(/tmp/multipartBody4172422497998648494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741447263032,"filename":"image_08032025_16_18_55_9965.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341922296","file1":"1341922293","file0":"1341922290","file4":"1341922318","file5":"1341922328","file3":"1341922299"},"map_files_photo_id_array":[{"photo_id":"1341922328","filename":"file5"},{"photo_id":"1341922296","filename":"file2"},{"photo_id":"1341922318","filename":"file4"},{"photo_id":"1341922293","filename":"file1"},{"photo_id":"1341922290","filename":"file0"},{"photo_id":"1341922299","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341922318":["hashtag1","hashtag2"]},{"1341922296":["hashtag1","hashtag2"]},{"1341922299":["hashtag1","hashtag2"]},{"1341922290":["hashtag1","hashtag2"]},{"1341922293":["hashtag1","hashtag2"]},{"1341922328":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341922318, 1341922296, 1341922299, 1341922290, 1341922293, 1341922328)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.72371315956116 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 16:21:02.609310
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/16/20/image_08032025_16_20_45_9951.jpg', 2), ('/home/nano/Desktop/images/08032025/16/20/image_08032025_16_20_35_9950.jpg', 2), ('/home/nano/Desktop/images/08032025/16/20/image_08032025_16_20_25_9953.jpg', 2), ('/home/nano/Desktop/images/08032025/16/20/image_08032025_16_20_15_9960.jpg', 2), ('/home/nano/Desktop/images/08032025/16/19/image_08032025_16_20_05_9963.jpg', 2), ('/home/nano/Desktop/images/08032025/16/19/image_08032025_16_19_55_9959.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/16/20/image_08032025_16_20_45_9951.jpg', '/home/nano/Desktop/images/08032025/16/20/image_08032025_16_20_35_9950.jpg', '/home/nano/Desktop/images/08032025/16/20/image_08032025_16_20_25_9953.jpg', '/home/nano/Desktop/images/08032025/16/20/image_08032025_16_20_15_9960.jpg', '/home/nano/Desktop/images/08032025/16/19/image_08032025_16_20_05_9963.jpg', '/home/nano/Desktop/images/08032025/16/19/image_08032025_16_19_55_9959.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/16/20/image_08032025_16_20_45_9951.jpg
/home/nano/Desktop/images/08032025/16/20/image_08032025_16_20_35_9950.jpg
/home/nano/Desktop/images/08032025/16/20/image_08032025_16_20_25_9953.jpg
/home/nano/Desktop/images/08032025/16/20/image_08032025_16_20_15_9960.jpg
/home/nano/Desktop/images/08032025/16/19/image_08032025_16_20_05_9963.jpg
/home/nano/Desktop/images/08032025/16/19/image_08032025_16_19_55_9959.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341922520","1341922524","1341922527","1341922521","1341922532","1341922526"],"photo_ids_order":["1341922520","1341922521","1341922524","1341922526","1341922527","1341922532"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/de3c4fd0b2842c883e93474b953922f3.jpg","text":"TemporaryFile(/tmp/multipartBody1874343155415311085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741447323045,"filename":"image_08032025_16_20_45_9951.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/049f0a6ddf36484d9db9f5c25b51973d.jpg","text":"TemporaryFile(/tmp/multipartBody6335731809091373209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741447323045,"filename":"image_08032025_16_20_25_9953.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/f47d5ed94c94fe017955d9ccff5c1fc4.jpg","text":"TemporaryFile(/tmp/multipartBody788090689616588321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741447323045,"filename":"image_08032025_16_20_05_9963.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/003d3a508494469fd1901aa57088275f.jpg","text":"TemporaryFile(/tmp/multipartBody2072470717688090143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741447323045,"filename":"image_08032025_16_20_35_9950.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/e6f5bd8f520c76a09b90377b130523bc.jpg","text":"TemporaryFile(/tmp/multipartBody5438532557314328529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741447323045,"filename":"image_08032025_16_19_55_9959.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/bf0427b310e1767e51022e906ddd0738.jpg","text":"TemporaryFile(/tmp/multipartBody2057386500513874145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741447323045,"filename":"image_08032025_16_20_15_9960.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341922524","file1":"1341922521","file0":"1341922520","file4":"1341922527","file5":"1341922532","file3":"1341922526"},"map_files_photo_id_array":[{"photo_id":"1341922532","filename":"file5"},{"photo_id":"1341922524","filename":"file2"},{"photo_id":"1341922527","filename":"file4"},{"photo_id":"1341922521","filename":"file1"},{"photo_id":"1341922520","filename":"file0"},{"photo_id":"1341922526","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341922520":["hashtag1","hashtag2"]},{"1341922524":["hashtag1","hashtag2"]},{"1341922527":["hashtag1","hashtag2"]},{"1341922521":["hashtag1","hashtag2"]},{"1341922532":["hashtag1","hashtag2"]},{"1341922526":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341922520, 1341922524, 1341922527, 1341922521, 1341922532, 1341922526)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.57154893875122 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 16:22:02.484806
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/16/21/image_08032025_16_21_45_9939.jpg', 2), ('/home/nano/Desktop/images/08032025/16/21/image_08032025_16_21_35_9933.jpg', 2), ('/home/nano/Desktop/images/08032025/16/21/image_08032025_16_21_25_9937.jpg', 2), ('/home/nano/Desktop/images/08032025/16/21/image_08032025_16_21_15_9942.jpg', 2), ('/home/nano/Desktop/images/08032025/16/20/image_08032025_16_21_05_9971.jpg', 2), ('/home/nano/Desktop/images/08032025/16/20/image_08032025_16_20_55_9951.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/16/21/image_08032025_16_21_45_9939.jpg', '/home/nano/Desktop/images/08032025/16/21/image_08032025_16_21_35_9933.jpg', '/home/nano/Desktop/images/08032025/16/21/image_08032025_16_21_25_9937.jpg', '/home/nano/Desktop/images/08032025/16/21/image_08032025_16_21_15_9942.jpg', '/home/nano/Desktop/images/08032025/16/20/image_08032025_16_21_05_9971.jpg', '/home/nano/Desktop/images/08032025/16/20/image_08032025_16_20_55_9951.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/16/21/image_08032025_16_21_45_9939.jpg
/home/nano/Desktop/images/08032025/16/21/image_08032025_16_21_35_9933.jpg
/home/nano/Desktop/images/08032025/16/21/image_08032025_16_21_25_9937.jpg
/home/nano/Desktop/images/08032025/16/21/image_08032025_16_21_15_9942.jpg
/home/nano/Desktop/images/08032025/16/20/image_08032025_16_21_05_9971.jpg
/home/nano/Desktop/images/08032025/16/20/image_08032025_16_20_55_9951.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341922576","1341922588","1341922581","1341922584","1341922578","1341922580"],"photo_ids_order":["1341922576","1341922578","1341922580","1341922581","1341922584","1341922588"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/305154baf6e8af78c9ef5cd35393a441.jpg","text":"TemporaryFile(/tmp/multipartBody5412393168890910528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741447382903,"filename":"image_08032025_16_21_45_9939.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/c16b1c5ceeac42af009fe9a29a3b763b.jpg","text":"TemporaryFile(/tmp/multipartBody2751087191270633191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741447382903,"filename":"image_08032025_16_20_55_9951.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/84ebe93b7346d220ab3cc43836d1e670.jpg","text":"TemporaryFile(/tmp/multipartBody4760470960901551339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741447382903,"filename":"image_08032025_16_21_15_9942.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/6b8516d3c74dfe193867e6020de31a90.jpg","text":"TemporaryFile(/tmp/multipartBody8653567334323233279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741447382903,"filename":"image_08032025_16_21_05_9971.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/d0b3c5cec1d81557b9230d4e77fef539.jpg","text":"TemporaryFile(/tmp/multipartBody8403096868546481306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741447382903,"filename":"image_08032025_16_21_35_9933.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/749d6565e3a96e73da9a80bf0e73bb02.jpg","text":"TemporaryFile(/tmp/multipartBody7878830863791899965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741447382903,"filename":"image_08032025_16_21_25_9937.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341922580","file1":"1341922578","file0":"1341922576","file4":"1341922584","file5":"1341922588","file3":"1341922581"},"map_files_photo_id_array":[{"photo_id":"1341922588","filename":"file5"},{"photo_id":"1341922580","filename":"file2"},{"photo_id":"1341922584","filename":"file4"},{"photo_id":"1341922578","filename":"file1"},{"photo_id":"1341922576","filename":"file0"},{"photo_id":"1341922581","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341922576":["hashtag1","hashtag2"]},{"1341922588":["hashtag1","hashtag2"]},{"1341922581":["hashtag1","hashtag2"]},{"1341922584":["hashtag1","hashtag2"]},{"1341922578":["hashtag1","hashtag2"]},{"1341922580":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341922576, 1341922588, 1341922581, 1341922584, 1341922578, 1341922580)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.47292375564575 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 16:23:02.807971
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/16/22/image_08032025_16_22_45_9954.jpg', 2), ('/home/nano/Desktop/images/08032025/16/22/image_08032025_16_22_35_9956.jpg', 2), ('/home/nano/Desktop/images/08032025/16/22/image_08032025_16_22_25_9965.jpg', 2), ('/home/nano/Desktop/images/08032025/16/22/image_08032025_16_22_15_9960.jpg', 2), ('/home/nano/Desktop/images/08032025/16/21/image_08032025_16_22_05_9986.jpg', 2), ('/home/nano/Desktop/images/08032025/16/21/image_08032025_16_21_55_9961.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/16/22/image_08032025_16_22_45_9954.jpg', '/home/nano/Desktop/images/08032025/16/22/image_08032025_16_22_35_9956.jpg', '/home/nano/Desktop/images/08032025/16/22/image_08032025_16_22_25_9965.jpg', '/home/nano/Desktop/images/08032025/16/22/image_08032025_16_22_15_9960.jpg', '/home/nano/Desktop/images/08032025/16/21/image_08032025_16_22_05_9986.jpg', '/home/nano/Desktop/images/08032025/16/21/image_08032025_16_21_55_9961.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/16/22/image_08032025_16_22_45_9954.jpg
/home/nano/Desktop/images/08032025/16/22/image_08032025_16_22_35_9956.jpg
/home/nano/Desktop/images/08032025/16/22/image_08032025_16_22_25_9965.jpg
/home/nano/Desktop/images/08032025/16/22/image_08032025_16_22_15_9960.jpg
/home/nano/Desktop/images/08032025/16/21/image_08032025_16_22_05_9986.jpg
/home/nano/Desktop/images/08032025/16/21/image_08032025_16_21_55_9961.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341922681","1341922698","1341922679","1341922688","1341922724","1341922718"],"photo_ids_order":["1341922679","1341922681","1341922688","1341922698","1341922718","1341922724"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/871f4716c9a58158505f19983061c2b4.jpg","text":"TemporaryFile(/tmp/multipartBody2926934660555948967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741447443219,"filename":"image_08032025_16_22_35_9956.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/e7c91b77d24722ade2a2b472767256c3.jpg","text":"TemporaryFile(/tmp/multipartBody4706858170608136477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741447443219,"filename":"image_08032025_16_22_15_9960.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/c463e3bd66fb4c99f3eb56c550676045.jpg","text":"TemporaryFile(/tmp/multipartBody4803418655572991190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741447443219,"filename":"image_08032025_16_22_45_9954.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/e4426db3061144e5cd1ffce9109e756c.jpg","text":"TemporaryFile(/tmp/multipartBody5867328783377495297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741447443219,"filename":"image_08032025_16_22_25_9965.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/4d047150da1f63f0a72df2e584b543ef.jpg","text":"TemporaryFile(/tmp/multipartBody9099930763838106094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741447443219,"filename":"image_08032025_16_21_55_9961.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/76867b29f20b6b536e381fab13c43fbc.jpg","text":"TemporaryFile(/tmp/multipartBody2924020355513069396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741447443219,"filename":"image_08032025_16_22_05_9986.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341922688","file1":"1341922681","file0":"1341922679","file4":"1341922718","file5":"1341922724","file3":"1341922698"},"map_files_photo_id_array":[{"photo_id":"1341922724","filename":"file5"},{"photo_id":"1341922688","filename":"file2"},{"photo_id":"1341922718","filename":"file4"},{"photo_id":"1341922681","filename":"file1"},{"photo_id":"1341922679","filename":"file0"},{"photo_id":"1341922698","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341922681":["hashtag1","hashtag2"]},{"1341922698":["hashtag1","hashtag2"]},{"1341922679":["hashtag1","hashtag2"]},{"1341922688":["hashtag1","hashtag2"]},{"1341922724":["hashtag1","hashtag2"]},{"1341922718":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341922681, 1341922698, 1341922679, 1341922688, 1341922724, 1341922718)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.372699737548828 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 16:24:03.158530
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/16/23/image_08032025_16_23_46_9975.jpg', 2), ('/home/nano/Desktop/images/08032025/16/23/image_08032025_16_23_36_9955.jpg', 2), ('/home/nano/Desktop/images/08032025/16/23/image_08032025_16_23_26_10968.jpg', 2), ('/home/nano/Desktop/images/08032025/16/23/image_08032025_16_23_15_9963.jpg', 2), ('/home/nano/Desktop/images/08032025/16/22/image_08032025_16_23_05_9991.jpg', 2), ('/home/nano/Desktop/images/08032025/16/22/image_08032025_16_22_55_9955.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/16/23/image_08032025_16_23_46_9975.jpg', '/home/nano/Desktop/images/08032025/16/23/image_08032025_16_23_36_9955.jpg', '/home/nano/Desktop/images/08032025/16/23/image_08032025_16_23_26_10968.jpg', '/home/nano/Desktop/images/08032025/16/23/image_08032025_16_23_15_9963.jpg', '/home/nano/Desktop/images/08032025/16/22/image_08032025_16_23_05_9991.jpg', '/home/nano/Desktop/images/08032025/16/22/image_08032025_16_22_55_9955.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/16/23/image_08032025_16_23_46_9975.jpg
/home/nano/Desktop/images/08032025/16/23/image_08032025_16_23_36_9955.jpg
/home/nano/Desktop/images/08032025/16/23/image_08032025_16_23_26_10968.jpg
/home/nano/Desktop/images/08032025/16/23/image_08032025_16_23_15_9963.jpg
/home/nano/Desktop/images/08032025/16/22/image_08032025_16_23_05_9991.jpg
/home/nano/Desktop/images/08032025/16/22/image_08032025_16_22_55_9955.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.3502984046936035 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 marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 16:24:32.364349
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/16/24/image_08032025_16_24_45_9971.jpg', 2), ('/home/nano/Desktop/images/08032025/16/24/image_08032025_16_24_35_9974.jpg', 2), ('/home/nano/Desktop/images/08032025/16/24/image_08032025_16_24_25_9977.jpg', 2), ('/home/nano/Desktop/images/08032025/16/24/image_08032025_16_24_15_9998.jpg', 2), ('/home/nano/Desktop/images/08032025/16/23/image_08032025_16_24_05_10009.jpg', 2), ('/home/nano/Desktop/images/08032025/16/23/image_08032025_16_23_55_9956.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/16/24/image_08032025_16_24_45_9971.jpg', '/home/nano/Desktop/images/08032025/16/24/image_08032025_16_24_35_9974.jpg', '/home/nano/Desktop/images/08032025/16/24/image_08032025_16_24_25_9977.jpg', '/home/nano/Desktop/images/08032025/16/24/image_08032025_16_24_15_9998.jpg', '/home/nano/Desktop/images/08032025/16/23/image_08032025_16_24_05_10009.jpg', '/home/nano/Desktop/images/08032025/16/23/image_08032025_16_23_55_9956.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/16/24/image_08032025_16_24_45_9971.jpg
/home/nano/Desktop/images/08032025/16/24/image_08032025_16_24_35_9974.jpg
/home/nano/Desktop/images/08032025/16/24/image_08032025_16_24_25_9977.jpg
/home/nano/Desktop/images/08032025/16/24/image_08032025_16_24_15_9998.jpg
/home/nano/Desktop/images/08032025/16/23/image_08032025_16_24_05_10009.jpg
/home/nano/Desktop/images/08032025/16/23/image_08032025_16_23_55_9956.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341922861","1341922858","1341922869","1341922892","1341922913","1341922937"],"photo_ids_order":["1341922858","1341922861","1341922869","1341922892","1341922913","1341922937"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/b176ada1cd766ef36725d8ba19b76d83.jpg","text":"TemporaryFile(/tmp/multipartBody5433093773873029045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741447532802,"filename":"image_08032025_16_24_35_9974.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/0c2e2a675454e2fd2424da981c252cec.jpg","text":"TemporaryFile(/tmp/multipartBody9222250220757852266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741447532802,"filename":"image_08032025_16_24_45_9971.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/4eebf544ca4e6b11863bfe6291698598.jpg","text":"TemporaryFile(/tmp/multipartBody6203926887800628363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741447532802,"filename":"image_08032025_16_24_25_9977.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/ac56cfb02b78da257efc1d1a37698745.jpg","text":"TemporaryFile(/tmp/multipartBody5711748657426336204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741447532802,"filename":"image_08032025_16_24_15_9998.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/843ce1600d7bf2b5eb466e8fe696ede6.jpg","text":"TemporaryFile(/tmp/multipartBody9113970045864158155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741447532802,"filename":"image_08032025_16_24_05_10009.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/43d7e1caebab5146c04f60ce50114a37.jpg","text":"TemporaryFile(/tmp/multipartBody2498557044722267916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741447532802,"filename":"image_08032025_16_23_55_9956.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341922869","file1":"1341922861","file0":"1341922858","file4":"1341922913","file5":"1341922937","file3":"1341922892"},"map_files_photo_id_array":[{"photo_id":"1341922937","filename":"file5"},{"photo_id":"1341922869","filename":"file2"},{"photo_id":"1341922913","filename":"file4"},{"photo_id":"1341922861","filename":"file1"},{"photo_id":"1341922858","filename":"file0"},{"photo_id":"1341922892","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341922861":["hashtag1","hashtag2"]},{"1341922858":["hashtag1","hashtag2"]},{"1341922869":["hashtag1","hashtag2"]},{"1341922892":["hashtag1","hashtag2"]},{"1341922913":["hashtag1","hashtag2"]},{"1341922937":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341922861, 1341922858, 1341922869, 1341922892, 1341922913, 1341922937)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.63255453109741 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 16:25:32.452255
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/16/25/image_08032025_16_25_45_9989.jpg', 2), ('/home/nano/Desktop/images/08032025/16/25/image_08032025_16_25_35_9961.jpg', 2), ('/home/nano/Desktop/images/08032025/16/25/image_08032025_16_25_25_9965.jpg', 2), ('/home/nano/Desktop/images/08032025/16/25/image_08032025_16_25_15_9964.jpg', 2), ('/home/nano/Desktop/images/08032025/16/24/image_08032025_16_25_05_9991.jpg', 2), ('/home/nano/Desktop/images/08032025/16/24/image_08032025_16_24_55_9995.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/16/25/image_08032025_16_25_45_9989.jpg', '/home/nano/Desktop/images/08032025/16/25/image_08032025_16_25_35_9961.jpg', '/home/nano/Desktop/images/08032025/16/25/image_08032025_16_25_25_9965.jpg', '/home/nano/Desktop/images/08032025/16/25/image_08032025_16_25_15_9964.jpg', '/home/nano/Desktop/images/08032025/16/24/image_08032025_16_25_05_9991.jpg', '/home/nano/Desktop/images/08032025/16/24/image_08032025_16_24_55_9995.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/16/25/image_08032025_16_25_45_9989.jpg
/home/nano/Desktop/images/08032025/16/25/image_08032025_16_25_35_9961.jpg
/home/nano/Desktop/images/08032025/16/25/image_08032025_16_25_25_9965.jpg
/home/nano/Desktop/images/08032025/16/25/image_08032025_16_25_15_9964.jpg
/home/nano/Desktop/images/08032025/16/24/image_08032025_16_25_05_9991.jpg
/home/nano/Desktop/images/08032025/16/24/image_08032025_16_24_55_9995.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341923140","1341923132","1341923126","1341923105","1341923135","1341923092"],"photo_ids_order":["1341923092","1341923105","1341923126","1341923132","1341923135","1341923140"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/49e633f40557e1e6a175a256ed13d842.jpg","text":"TemporaryFile(/tmp/multipartBody5699454530184664839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741447592865,"filename":"image_08032025_16_24_55_9995.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/34ce1114bbc0da2df4a54d65b63522df.jpg","text":"TemporaryFile(/tmp/multipartBody8712818194591656389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741447592865,"filename":"image_08032025_16_25_15_9964.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/648cb956b0bae06ac2c8cd74508d2f61.jpg","text":"TemporaryFile(/tmp/multipartBody6639464046920119120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741447592865,"filename":"image_08032025_16_25_25_9965.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/f9ad675d10a973b4212e202291bdba6a.jpg","text":"TemporaryFile(/tmp/multipartBody2322210345516619057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741447592865,"filename":"image_08032025_16_25_35_9961.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/39b7ec32e9913bc385196334e3099532.jpg","text":"TemporaryFile(/tmp/multipartBody6136825800696007559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741447592865,"filename":"image_08032025_16_25_05_9991.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/608c27770f75c05cc95bd1ec3cca989e.jpg","text":"TemporaryFile(/tmp/multipartBody7047522504531415389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741447592865,"filename":"image_08032025_16_25_45_9989.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341923126","file1":"1341923105","file0":"1341923092","file4":"1341923135","file5":"1341923140","file3":"1341923132"},"map_files_photo_id_array":[{"photo_id":"1341923140","filename":"file5"},{"photo_id":"1341923126","filename":"file2"},{"photo_id":"1341923135","filename":"file4"},{"photo_id":"1341923105","filename":"file1"},{"photo_id":"1341923092","filename":"file0"},{"photo_id":"1341923132","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341923140":["hashtag1","hashtag2"]},{"1341923132":["hashtag1","hashtag2"]},{"1341923126":["hashtag1","hashtag2"]},{"1341923105":["hashtag1","hashtag2"]},{"1341923135":["hashtag1","hashtag2"]},{"1341923092":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341923140, 1341923132, 1341923126, 1341923105, 1341923135, 1341923092)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.099644899368286 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 16:26:32.572201
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/16/26/image_08032025_16_26_45_9977.jpg', 2), ('/home/nano/Desktop/images/08032025/16/26/image_08032025_16_26_35_9979.jpg', 2), ('/home/nano/Desktop/images/08032025/16/26/image_08032025_16_26_25_9978.jpg', 2), ('/home/nano/Desktop/images/08032025/16/26/image_08032025_16_26_15_9980.jpg', 2), ('/home/nano/Desktop/images/08032025/16/25/image_08032025_16_26_05_10000.jpg', 2), ('/home/nano/Desktop/images/08032025/16/25/image_08032025_16_25_55_10002.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/16/26/image_08032025_16_26_45_9977.jpg', '/home/nano/Desktop/images/08032025/16/26/image_08032025_16_26_35_9979.jpg', '/home/nano/Desktop/images/08032025/16/26/image_08032025_16_26_25_9978.jpg', '/home/nano/Desktop/images/08032025/16/26/image_08032025_16_26_15_9980.jpg', '/home/nano/Desktop/images/08032025/16/25/image_08032025_16_26_05_10000.jpg', '/home/nano/Desktop/images/08032025/16/25/image_08032025_16_25_55_10002.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/16/26/image_08032025_16_26_45_9977.jpg
/home/nano/Desktop/images/08032025/16/26/image_08032025_16_26_35_9979.jpg
/home/nano/Desktop/images/08032025/16/26/image_08032025_16_26_25_9978.jpg
/home/nano/Desktop/images/08032025/16/26/image_08032025_16_26_15_9980.jpg
/home/nano/Desktop/images/08032025/16/25/image_08032025_16_26_05_10000.jpg
/home/nano/Desktop/images/08032025/16/25/image_08032025_16_25_55_10002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341923189","1341923174","1341923183","1341923177","1341923179","1341923170"],"photo_ids_order":["1341923170","1341923174","1341923177","1341923179","1341923183","1341923189"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/9526eb951eff5f94b6d2114a5718b8cf.jpg","text":"TemporaryFile(/tmp/multipartBody2125750887972199795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741447653029,"filename":"image_08032025_16_25_55_10002.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/da03614c8b98e656f61e0a5a1bd3501f.jpg","text":"TemporaryFile(/tmp/multipartBody2403413357979829909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741447653029,"filename":"image_08032025_16_26_35_9979.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/7568d77b361ef580bd3fc9d2d775da5b.jpg","text":"TemporaryFile(/tmp/multipartBody4212311836627601953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741447653029,"filename":"image_08032025_16_26_05_10000.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/b5a1c3d16b8aa0840fd88f0cc9b13e2c.jpg","text":"TemporaryFile(/tmp/multipartBody7335115168786442954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741447653029,"filename":"image_08032025_16_26_25_9978.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/5d7e0fe0e9458395fea67211ddd387b8.jpg","text":"TemporaryFile(/tmp/multipartBody4987826669725827407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741447653029,"filename":"image_08032025_16_26_15_9980.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/dc35ef4079aa7335479a41a2f7608c7c.jpg","text":"TemporaryFile(/tmp/multipartBody4570398318694672564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741447653029,"filename":"image_08032025_16_26_45_9977.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341923177","file1":"1341923174","file0":"1341923170","file4":"1341923183","file5":"1341923189","file3":"1341923179"},"map_files_photo_id_array":[{"photo_id":"1341923189","filename":"file5"},{"photo_id":"1341923177","filename":"file2"},{"photo_id":"1341923183","filename":"file4"},{"photo_id":"1341923174","filename":"file1"},{"photo_id":"1341923170","filename":"file0"},{"photo_id":"1341923179","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341923189":["hashtag1","hashtag2"]},{"1341923174":["hashtag1","hashtag2"]},{"1341923183":["hashtag1","hashtag2"]},{"1341923177":["hashtag1","hashtag2"]},{"1341923179":["hashtag1","hashtag2"]},{"1341923170":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341923189, 1341923174, 1341923183, 1341923177, 1341923179, 1341923170)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.10203742980957 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 16:27:32.702713
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/16/27/image_08032025_16_27_45_9974.jpg', 2), ('/home/nano/Desktop/images/08032025/16/27/image_08032025_16_27_35_9975.jpg', 2), ('/home/nano/Desktop/images/08032025/16/27/image_08032025_16_27_25_9972.jpg', 2), ('/home/nano/Desktop/images/08032025/16/27/image_08032025_16_27_15_9975.jpg', 2), ('/home/nano/Desktop/images/08032025/16/26/image_08032025_16_27_05_9990.jpg', 2), ('/home/nano/Desktop/images/08032025/16/26/image_08032025_16_26_55_9976.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/16/27/image_08032025_16_27_45_9974.jpg', '/home/nano/Desktop/images/08032025/16/27/image_08032025_16_27_35_9975.jpg', '/home/nano/Desktop/images/08032025/16/27/image_08032025_16_27_25_9972.jpg', '/home/nano/Desktop/images/08032025/16/27/image_08032025_16_27_15_9975.jpg', '/home/nano/Desktop/images/08032025/16/26/image_08032025_16_27_05_9990.jpg', '/home/nano/Desktop/images/08032025/16/26/image_08032025_16_26_55_9976.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/16/27/image_08032025_16_27_45_9974.jpg
/home/nano/Desktop/images/08032025/16/27/image_08032025_16_27_35_9975.jpg
/home/nano/Desktop/images/08032025/16/27/image_08032025_16_27_25_9972.jpg
/home/nano/Desktop/images/08032025/16/27/image_08032025_16_27_15_9975.jpg
/home/nano/Desktop/images/08032025/16/26/image_08032025_16_27_05_9990.jpg
/home/nano/Desktop/images/08032025/16/26/image_08032025_16_26_55_9976.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341923311","1341923271","1341923325","1341923268","1341923328","1341923330"],"photo_ids_order":["1341923268","1341923271","1341923311","1341923325","1341923328","1341923330"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/606cbf638cbb1da0a158ca957cad04af.jpg","text":"TemporaryFile(/tmp/multipartBody6753244389511718008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741447713138,"filename":"image_08032025_16_27_25_9972.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/7fb9537811aa3eee573997101812b577.jpg","text":"TemporaryFile(/tmp/multipartBody5620840917213326667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741447713138,"filename":"image_08032025_16_27_35_9975.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/5092d7e889c2bc96ac3a6f2b991f57d2.jpg","text":"TemporaryFile(/tmp/multipartBody6704853897160611503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741447713138,"filename":"image_08032025_16_27_15_9975.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/12968c47dfa2e2ecc8de8723cf9166d1.jpg","text":"TemporaryFile(/tmp/multipartBody7373433708936580094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741447713138,"filename":"image_08032025_16_27_45_9974.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/1b621e674b96988a21aa104e22589ead.jpg","text":"TemporaryFile(/tmp/multipartBody1497438178832879284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741447713138,"filename":"image_08032025_16_27_05_9990.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/a9c2f8b6d0e67895de3872bbb5a0cfb2.jpg","text":"TemporaryFile(/tmp/multipartBody7948319354821441615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741447713138,"filename":"image_08032025_16_26_55_9976.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341923311","file1":"1341923271","file0":"1341923268","file4":"1341923328","file5":"1341923330","file3":"1341923325"},"map_files_photo_id_array":[{"photo_id":"1341923330","filename":"file5"},{"photo_id":"1341923311","filename":"file2"},{"photo_id":"1341923328","filename":"file4"},{"photo_id":"1341923271","filename":"file1"},{"photo_id":"1341923268","filename":"file0"},{"photo_id":"1341923325","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341923311":["hashtag1","hashtag2"]},{"1341923271":["hashtag1","hashtag2"]},{"1341923325":["hashtag1","hashtag2"]},{"1341923268":["hashtag1","hashtag2"]},{"1341923328":["hashtag1","hashtag2"]},{"1341923330":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341923311, 1341923271, 1341923325, 1341923268, 1341923328, 1341923330)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.89719319343567 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 16:28:31.798783
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/16/28/image_08032025_16_28_45_9973.jpg', 2), ('/home/nano/Desktop/images/08032025/16/28/image_08032025_16_28_35_9972.jpg', 2), ('/home/nano/Desktop/images/08032025/16/28/image_08032025_16_28_25_9980.jpg', 2), ('/home/nano/Desktop/images/08032025/16/28/image_08032025_16_28_15_9973.jpg', 2), ('/home/nano/Desktop/images/08032025/16/27/image_08032025_16_28_05_9983.jpg', 2), ('/home/nano/Desktop/images/08032025/16/27/image_08032025_16_27_55_9966.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/16/28/image_08032025_16_28_45_9973.jpg', '/home/nano/Desktop/images/08032025/16/28/image_08032025_16_28_35_9972.jpg', '/home/nano/Desktop/images/08032025/16/28/image_08032025_16_28_25_9980.jpg', '/home/nano/Desktop/images/08032025/16/28/image_08032025_16_28_15_9973.jpg', '/home/nano/Desktop/images/08032025/16/27/image_08032025_16_28_05_9983.jpg', '/home/nano/Desktop/images/08032025/16/27/image_08032025_16_27_55_9966.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/16/28/image_08032025_16_28_45_9973.jpg
/home/nano/Desktop/images/08032025/16/28/image_08032025_16_28_35_9972.jpg
/home/nano/Desktop/images/08032025/16/28/image_08032025_16_28_25_9980.jpg
/home/nano/Desktop/images/08032025/16/28/image_08032025_16_28_15_9973.jpg
/home/nano/Desktop/images/08032025/16/27/image_08032025_16_28_05_9983.jpg
/home/nano/Desktop/images/08032025/16/27/image_08032025_16_27_55_9966.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341923396","1341923340","1341923369","1341923351","1341923345","1341923386"],"photo_ids_order":["1341923340","1341923345","1341923351","1341923369","1341923386","1341923396"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/827158a90f8a41aba68d015a4d607415.jpg","text":"TemporaryFile(/tmp/multipartBody7976500499369451922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741447772228,"filename":"image_08032025_16_27_55_9966.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/86b9a2cc2547bc5f8292c864a5d43a5c.jpg","text":"TemporaryFile(/tmp/multipartBody5478513446117612415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741447772228,"filename":"image_08032025_16_28_45_9973.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/540aafb84b4a74ad67f0967ce4a206a8.jpg","text":"TemporaryFile(/tmp/multipartBody3317850365884562236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741447772228,"filename":"image_08032025_16_28_15_9973.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/394c14573e7a73c16bf98f67c6d7ef60.jpg","text":"TemporaryFile(/tmp/multipartBody5718534704375101755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741447772228,"filename":"image_08032025_16_28_25_9980.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/08f3ceaeb7cd59c7469f4f69f122b194.jpg","text":"TemporaryFile(/tmp/multipartBody503066413358406561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741447772228,"filename":"image_08032025_16_28_35_9972.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/75de33eac269a973972944e30108382c.jpg","text":"TemporaryFile(/tmp/multipartBody4719674885269223137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741447772228,"filename":"image_08032025_16_28_05_9983.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341923351","file1":"1341923345","file0":"1341923340","file4":"1341923386","file5":"1341923396","file3":"1341923369"},"map_files_photo_id_array":[{"photo_id":"1341923396","filename":"file5"},{"photo_id":"1341923351","filename":"file2"},{"photo_id":"1341923386","filename":"file4"},{"photo_id":"1341923345","filename":"file1"},{"photo_id":"1341923340","filename":"file0"},{"photo_id":"1341923369","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341923396":["hashtag1","hashtag2"]},{"1341923340":["hashtag1","hashtag2"]},{"1341923369":["hashtag1","hashtag2"]},{"1341923351":["hashtag1","hashtag2"]},{"1341923345":["hashtag1","hashtag2"]},{"1341923386":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341923396, 1341923340, 1341923369, 1341923351, 1341923345, 1341923386)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.41203427314758 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 16:29:31.932584
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/16/29/image_08032025_16_29_45_9968.jpg', 2), ('/home/nano/Desktop/images/08032025/16/29/image_08032025_16_29_35_9969.jpg', 2), ('/home/nano/Desktop/images/08032025/16/29/image_08032025_16_29_25_9990.jpg', 2), ('/home/nano/Desktop/images/08032025/16/29/image_08032025_16_29_15_9962.jpg', 2), ('/home/nano/Desktop/images/08032025/16/28/image_08032025_16_29_05_9990.jpg', 2), ('/home/nano/Desktop/images/08032025/16/28/image_08032025_16_28_55_9976.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/16/29/image_08032025_16_29_45_9968.jpg', '/home/nano/Desktop/images/08032025/16/29/image_08032025_16_29_35_9969.jpg', '/home/nano/Desktop/images/08032025/16/29/image_08032025_16_29_25_9990.jpg', '/home/nano/Desktop/images/08032025/16/29/image_08032025_16_29_15_9962.jpg', '/home/nano/Desktop/images/08032025/16/28/image_08032025_16_29_05_9990.jpg', '/home/nano/Desktop/images/08032025/16/28/image_08032025_16_28_55_9976.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/16/29/image_08032025_16_29_45_9968.jpg
/home/nano/Desktop/images/08032025/16/29/image_08032025_16_29_35_9969.jpg
/home/nano/Desktop/images/08032025/16/29/image_08032025_16_29_25_9990.jpg
/home/nano/Desktop/images/08032025/16/29/image_08032025_16_29_15_9962.jpg
/home/nano/Desktop/images/08032025/16/28/image_08032025_16_29_05_9990.jpg
/home/nano/Desktop/images/08032025/16/28/image_08032025_16_28_55_9976.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341923473","1341923467","1341923460","1341923476","1341923470","1341923464"],"photo_ids_order":["1341923460","1341923464","1341923467","1341923470","1341923473","1341923476"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/34af095fd85eaf3611d3aa1b0c35c604.jpg","text":"TemporaryFile(/tmp/multipartBody2536634382322846988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741447832362,"filename":"image_08032025_16_29_05_9990.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/5bdbf0a639c7f44a0e20805fd4fd569d.jpg","text":"TemporaryFile(/tmp/multipartBody656839963380809064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741447832362,"filename":"image_08032025_16_29_25_9990.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/9ac8be6187d4a515b7006ed579d32b16.jpg","text":"TemporaryFile(/tmp/multipartBody1175717598652263018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741447832362,"filename":"image_08032025_16_29_45_9968.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/16255727da9e424ae41a5eb8877e7b1b.jpg","text":"TemporaryFile(/tmp/multipartBody2397338228012609140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741447832362,"filename":"image_08032025_16_28_55_9976.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/56b27f81d959fa2ef53984a7c09fc708.jpg","text":"TemporaryFile(/tmp/multipartBody5625193277650996801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741447832362,"filename":"image_08032025_16_29_15_9962.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/cadf8e7a6da139fa5c70e046496d1063.jpg","text":"TemporaryFile(/tmp/multipartBody4938413204252590243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741447832362,"filename":"image_08032025_16_29_35_9969.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341923467","file1":"1341923464","file0":"1341923460","file4":"1341923473","file5":"1341923476","file3":"1341923470"},"map_files_photo_id_array":[{"photo_id":"1341923476","filename":"file5"},{"photo_id":"1341923467","filename":"file2"},{"photo_id":"1341923473","filename":"file4"},{"photo_id":"1341923464","filename":"file1"},{"photo_id":"1341923460","filename":"file0"},{"photo_id":"1341923470","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341923473":["hashtag1","hashtag2"]},{"1341923467":["hashtag1","hashtag2"]},{"1341923460":["hashtag1","hashtag2"]},{"1341923476":["hashtag1","hashtag2"]},{"1341923470":["hashtag1","hashtag2"]},{"1341923464":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341923473, 1341923467, 1341923460, 1341923476, 1341923470, 1341923464)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.61803412437439 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 16:30:32.042724
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/16/30/image_08032025_16_30_45_9978.jpg', 2), ('/home/nano/Desktop/images/08032025/16/30/image_08032025_16_30_35_9969.jpg', 2), ('/home/nano/Desktop/images/08032025/16/30/image_08032025_16_30_25_9965.jpg', 2), ('/home/nano/Desktop/images/08032025/16/30/image_08032025_16_30_15_9974.jpg', 2), ('/home/nano/Desktop/images/08032025/16/29/image_08032025_16_30_05_9984.jpg', 2), ('/home/nano/Desktop/images/08032025/16/29/image_08032025_16_29_55_9965.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/16/30/image_08032025_16_30_45_9978.jpg', '/home/nano/Desktop/images/08032025/16/30/image_08032025_16_30_35_9969.jpg', '/home/nano/Desktop/images/08032025/16/30/image_08032025_16_30_25_9965.jpg', '/home/nano/Desktop/images/08032025/16/30/image_08032025_16_30_15_9974.jpg', '/home/nano/Desktop/images/08032025/16/29/image_08032025_16_30_05_9984.jpg', '/home/nano/Desktop/images/08032025/16/29/image_08032025_16_29_55_9965.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/16/30/image_08032025_16_30_45_9978.jpg
/home/nano/Desktop/images/08032025/16/30/image_08032025_16_30_35_9969.jpg
/home/nano/Desktop/images/08032025/16/30/image_08032025_16_30_25_9965.jpg
/home/nano/Desktop/images/08032025/16/30/image_08032025_16_30_15_9974.jpg
/home/nano/Desktop/images/08032025/16/29/image_08032025_16_30_05_9984.jpg
/home/nano/Desktop/images/08032025/16/29/image_08032025_16_29_55_9965.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341923572","1341923533","1341923608","1341923580","1341923631","1341923507"],"photo_ids_order":["1341923507","1341923533","1341923572","1341923580","1341923608","1341923631"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/956ed9d76e260004387dd22b55a1a39b.jpg","text":"TemporaryFile(/tmp/multipartBody4125111997698652199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741447892479,"filename":"image_08032025_16_30_25_9965.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/5f7ced76751e1429c0c67509a70d2246.jpg","text":"TemporaryFile(/tmp/multipartBody7881624719085476134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741447892479,"filename":"image_08032025_16_30_35_9969.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/0b949c72eef235d91b6c3b986c2ed90d.jpg","text":"TemporaryFile(/tmp/multipartBody368896866501050179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741447892479,"filename":"image_08032025_16_30_05_9984.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/c1f566f33478d604e4a16b58db0fd64f.jpg","text":"TemporaryFile(/tmp/multipartBody7885522385037343100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741447892479,"filename":"image_08032025_16_30_15_9974.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/6f26af78099ff9d9c2b6a4e0f695228e.jpg","text":"TemporaryFile(/tmp/multipartBody1989351023061987001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741447892479,"filename":"image_08032025_16_29_55_9965.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/8b28cf9d48a6e12cc39a8cfcfe5fc034.jpg","text":"TemporaryFile(/tmp/multipartBody5970664727403842934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741447892479,"filename":"image_08032025_16_30_45_9978.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341923572","file1":"1341923533","file0":"1341923507","file4":"1341923608","file5":"1341923631","file3":"1341923580"},"map_files_photo_id_array":[{"photo_id":"1341923631","filename":"file5"},{"photo_id":"1341923572","filename":"file2"},{"photo_id":"1341923608","filename":"file4"},{"photo_id":"1341923533","filename":"file1"},{"photo_id":"1341923507","filename":"file0"},{"photo_id":"1341923580","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341923572":["hashtag1","hashtag2"]},{"1341923533":["hashtag1","hashtag2"]},{"1341923608":["hashtag1","hashtag2"]},{"1341923580":["hashtag1","hashtag2"]},{"1341923631":["hashtag1","hashtag2"]},{"1341923507":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341923572, 1341923533, 1341923608, 1341923580, 1341923631, 1341923507)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.34486508369446 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 16:31:32.131235
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/16/31/image_08032025_16_31_46_9980.jpg', 2), ('/home/nano/Desktop/images/08032025/16/31/image_08032025_16_31_36_9979.jpg', 2), ('/home/nano/Desktop/images/08032025/16/31/image_08032025_16_31_26_9997.jpg', 2), ('/home/nano/Desktop/images/08032025/16/31/image_08032025_16_31_16_9973.jpg', 2), ('/home/nano/Desktop/images/08032025/16/30/image_08032025_16_31_06_9978.jpg', 2), ('/home/nano/Desktop/images/08032025/16/30/image_08032025_16_30_56_10984.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/16/31/image_08032025_16_31_46_9980.jpg', '/home/nano/Desktop/images/08032025/16/31/image_08032025_16_31_36_9979.jpg', '/home/nano/Desktop/images/08032025/16/31/image_08032025_16_31_26_9997.jpg', '/home/nano/Desktop/images/08032025/16/31/image_08032025_16_31_16_9973.jpg', '/home/nano/Desktop/images/08032025/16/30/image_08032025_16_31_06_9978.jpg', '/home/nano/Desktop/images/08032025/16/30/image_08032025_16_30_56_10984.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/16/31/image_08032025_16_31_46_9980.jpg
/home/nano/Desktop/images/08032025/16/31/image_08032025_16_31_36_9979.jpg
/home/nano/Desktop/images/08032025/16/31/image_08032025_16_31_26_9997.jpg
/home/nano/Desktop/images/08032025/16/31/image_08032025_16_31_16_9973.jpg
/home/nano/Desktop/images/08032025/16/30/image_08032025_16_31_06_9978.jpg
/home/nano/Desktop/images/08032025/16/30/image_08032025_16_30_56_10984.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341923962","1341923917","1341924033","1341923978","1341923942","1341924043"],"photo_ids_order":["1341923917","1341923942","1341923962","1341923978","1341924033","1341924043"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/9e61573fe2dbee8503e64d9fdd30bef6.jpg","text":"TemporaryFile(/tmp/multipartBody8486674770047285669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741447952566,"filename":"image_08032025_16_31_26_9997.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/b9ef203e0bfb3ce875844b8a1e070e59.jpg","text":"TemporaryFile(/tmp/multipartBody1715384160066297692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741447952566,"filename":"image_08032025_16_31_46_9980.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/291b98870e3a3d56c0a6da7da50f37c0.jpg","text":"TemporaryFile(/tmp/multipartBody5514880109807831992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741447952566,"filename":"image_08032025_16_31_06_9978.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/a0bc648df92e794b57a9addf663a19da.jpg","text":"TemporaryFile(/tmp/multipartBody8494940484944268956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741447952566,"filename":"image_08032025_16_31_16_9973.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/73575f6f628db9e4dc2877629c336182.jpg","text":"TemporaryFile(/tmp/multipartBody2193003414742991538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741447952566,"filename":"image_08032025_16_31_36_9979.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/4d247f2b61ecb2c4b103daeffbd65ab2.jpg","text":"TemporaryFile(/tmp/multipartBody3314958583145648642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741447952566,"filename":"image_08032025_16_30_56_10984.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341923962","file1":"1341923942","file0":"1341923917","file4":"1341924033","file5":"1341924043","file3":"1341923978"},"map_files_photo_id_array":[{"photo_id":"1341924043","filename":"file5"},{"photo_id":"1341923962","filename":"file2"},{"photo_id":"1341924033","filename":"file4"},{"photo_id":"1341923942","filename":"file1"},{"photo_id":"1341923917","filename":"file0"},{"photo_id":"1341923978","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341923962":["hashtag1","hashtag2"]},{"1341923917":["hashtag1","hashtag2"]},{"1341924033":["hashtag1","hashtag2"]},{"1341923978":["hashtag1","hashtag2"]},{"1341923942":["hashtag1","hashtag2"]},{"1341924043":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341923962, 1341923917, 1341924033, 1341923978, 1341923942, 1341924043)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.933170795440674 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 16:32:32.249161
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/16/32/image_08032025_16_32_45_9989.jpg', 2), ('/home/nano/Desktop/images/08032025/16/32/image_08032025_16_32_35_9982.jpg', 2), ('/home/nano/Desktop/images/08032025/16/32/image_08032025_16_32_25_9988.jpg', 2), ('/home/nano/Desktop/images/08032025/16/32/image_08032025_16_32_15_9982.jpg', 2), ('/home/nano/Desktop/images/08032025/16/31/image_08032025_16_32_05_9987.jpg', 2), ('/home/nano/Desktop/images/08032025/16/31/image_08032025_16_31_55_9980.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/16/32/image_08032025_16_32_45_9989.jpg', '/home/nano/Desktop/images/08032025/16/32/image_08032025_16_32_35_9982.jpg', '/home/nano/Desktop/images/08032025/16/32/image_08032025_16_32_25_9988.jpg', '/home/nano/Desktop/images/08032025/16/32/image_08032025_16_32_15_9982.jpg', '/home/nano/Desktop/images/08032025/16/31/image_08032025_16_32_05_9987.jpg', '/home/nano/Desktop/images/08032025/16/31/image_08032025_16_31_55_9980.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/16/32/image_08032025_16_32_45_9989.jpg
/home/nano/Desktop/images/08032025/16/32/image_08032025_16_32_35_9982.jpg
/home/nano/Desktop/images/08032025/16/32/image_08032025_16_32_25_9988.jpg
/home/nano/Desktop/images/08032025/16/32/image_08032025_16_32_15_9982.jpg
/home/nano/Desktop/images/08032025/16/31/image_08032025_16_32_05_9987.jpg
/home/nano/Desktop/images/08032025/16/31/image_08032025_16_31_55_9980.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.39516329765319824 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 marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 16:33:02.960280
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/16/32/image_08032025_16_32_45_9989.jpg', 2), ('/home/nano/Desktop/images/08032025/16/32/image_08032025_16_32_35_9982.jpg', 2), ('/home/nano/Desktop/images/08032025/16/32/image_08032025_16_32_25_9988.jpg', 2), ('/home/nano/Desktop/images/08032025/16/32/image_08032025_16_32_15_9982.jpg', 2), ('/home/nano/Desktop/images/08032025/16/31/image_08032025_16_32_05_9987.jpg', 2), ('/home/nano/Desktop/images/08032025/16/31/image_08032025_16_31_55_9980.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/16/32/image_08032025_16_32_45_9989.jpg', '/home/nano/Desktop/images/08032025/16/32/image_08032025_16_32_35_9982.jpg', '/home/nano/Desktop/images/08032025/16/32/image_08032025_16_32_25_9988.jpg', '/home/nano/Desktop/images/08032025/16/32/image_08032025_16_32_15_9982.jpg', '/home/nano/Desktop/images/08032025/16/31/image_08032025_16_32_05_9987.jpg', '/home/nano/Desktop/images/08032025/16/31/image_08032025_16_31_55_9980.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/16/32/image_08032025_16_32_45_9989.jpg
/home/nano/Desktop/images/08032025/16/32/image_08032025_16_32_35_9982.jpg
/home/nano/Desktop/images/08032025/16/32/image_08032025_16_32_25_9988.jpg
/home/nano/Desktop/images/08032025/16/32/image_08032025_16_32_15_9982.jpg
/home/nano/Desktop/images/08032025/16/31/image_08032025_16_32_05_9987.jpg
/home/nano/Desktop/images/08032025/16/31/image_08032025_16_31_55_9980.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341924399","1341924450","1341924488","1341924557","1341924374","1341924526"],"photo_ids_order":["1341924374","1341924399","1341924450","1341924488","1341924526","1341924557"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/9ce49d70e87d362f2efe6afdaaa16133.jpg","text":"TemporaryFile(/tmp/multipartBody7910088892768688531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741448043400,"filename":"image_08032025_16_32_35_9982.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/03af132dde299d1bed5eb3e67dd6dfd1.jpg","text":"TemporaryFile(/tmp/multipartBody6474590890623361641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741448043400,"filename":"image_08032025_16_32_25_9988.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/14488982423169d73e10541b390d92a1.jpg","text":"TemporaryFile(/tmp/multipartBody1008744778131951873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741448043400,"filename":"image_08032025_16_32_15_9982.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/a87f5de8e0f09e5488c532bb5606fd5e.jpg","text":"TemporaryFile(/tmp/multipartBody7879618110197967361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741448043400,"filename":"image_08032025_16_31_55_9980.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/b06dfa1e6c08e96fe6d002f2fc827b9d.jpg","text":"TemporaryFile(/tmp/multipartBody9137993663953079664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741448043400,"filename":"image_08032025_16_32_45_9989.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/ab264ef6ca51a5db1ec1cf5a6638988b.jpg","text":"TemporaryFile(/tmp/multipartBody1140190557415178717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741448043400,"filename":"image_08032025_16_32_05_9987.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341924450","file1":"1341924399","file0":"1341924374","file4":"1341924526","file5":"1341924557","file3":"1341924488"},"map_files_photo_id_array":[{"photo_id":"1341924557","filename":"file5"},{"photo_id":"1341924450","filename":"file2"},{"photo_id":"1341924526","filename":"file4"},{"photo_id":"1341924399","filename":"file1"},{"photo_id":"1341924374","filename":"file0"},{"photo_id":"1341924488","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341924399":["hashtag1","hashtag2"]},{"1341924450":["hashtag1","hashtag2"]},{"1341924488":["hashtag1","hashtag2"]},{"1341924557":["hashtag1","hashtag2"]},{"1341924374":["hashtag1","hashtag2"]},{"1341924526":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341924399, 1341924450, 1341924488, 1341924557, 1341924374, 1341924526)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.98532700538635 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 16:34:03.363354
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/16/33/image_08032025_16_33_45_9993.jpg', 2), ('/home/nano/Desktop/images/08032025/16/33/image_08032025_16_33_35_9997.jpg', 2), ('/home/nano/Desktop/images/08032025/16/33/image_08032025_16_33_25_9997.jpg', 2), ('/home/nano/Desktop/images/08032025/16/33/image_08032025_16_33_15_9997.jpg', 2), ('/home/nano/Desktop/images/08032025/16/32/image_08032025_16_33_05_10009.jpg', 2), ('/home/nano/Desktop/images/08032025/16/32/image_08032025_16_32_55_9992.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/16/33/image_08032025_16_33_45_9993.jpg', '/home/nano/Desktop/images/08032025/16/33/image_08032025_16_33_35_9997.jpg', '/home/nano/Desktop/images/08032025/16/33/image_08032025_16_33_25_9997.jpg', '/home/nano/Desktop/images/08032025/16/33/image_08032025_16_33_15_9997.jpg', '/home/nano/Desktop/images/08032025/16/32/image_08032025_16_33_05_10009.jpg', '/home/nano/Desktop/images/08032025/16/32/image_08032025_16_32_55_9992.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/16/33/image_08032025_16_33_45_9993.jpg
/home/nano/Desktop/images/08032025/16/33/image_08032025_16_33_35_9997.jpg
/home/nano/Desktop/images/08032025/16/33/image_08032025_16_33_25_9997.jpg
/home/nano/Desktop/images/08032025/16/33/image_08032025_16_33_15_9997.jpg
/home/nano/Desktop/images/08032025/16/32/image_08032025_16_33_05_10009.jpg
/home/nano/Desktop/images/08032025/16/32/image_08032025_16_32_55_9992.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341924881","1341924776","1341924719","1341924827","1341924850","1341924694"],"photo_ids_order":["1341924694","1341924719","1341924776","1341924827","1341924850","1341924881"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/a9976f9a7ea6a27b5898e99d10ad5bfc.jpg","text":"TemporaryFile(/tmp/multipartBody8652426632220559714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741448103799,"filename":"image_08032025_16_32_55_9992.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/542eb9d9335595da35012b590148cc15.jpg","text":"TemporaryFile(/tmp/multipartBody3080245710509178925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741448103799,"filename":"image_08032025_16_33_25_9997.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/9b2ed832cd7209610344d095f8ad1dbd.jpg","text":"TemporaryFile(/tmp/multipartBody4540107619086294742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741448103799,"filename":"image_08032025_16_33_35_9997.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/869da26974487c2943a66c65c1b901b6.jpg","text":"TemporaryFile(/tmp/multipartBody5383179183844204071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741448103799,"filename":"image_08032025_16_33_15_9997.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/bf116d2f4e55f0dd1b78c3813e7d402f.jpg","text":"TemporaryFile(/tmp/multipartBody6643461136850179734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741448103799,"filename":"image_08032025_16_33_05_10009.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/4aaf247a16e75a73875498c28f303689.jpg","text":"TemporaryFile(/tmp/multipartBody6884727220058425046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741448103799,"filename":"image_08032025_16_33_45_9993.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341924776","file1":"1341924719","file0":"1341924694","file4":"1341924850","file5":"1341924881","file3":"1341924827"},"map_files_photo_id_array":[{"photo_id":"1341924881","filename":"file5"},{"photo_id":"1341924776","filename":"file2"},{"photo_id":"1341924850","filename":"file4"},{"photo_id":"1341924719","filename":"file1"},{"photo_id":"1341924694","filename":"file0"},{"photo_id":"1341924827","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341924881":["hashtag1","hashtag2"]},{"1341924776":["hashtag1","hashtag2"]},{"1341924719":["hashtag1","hashtag2"]},{"1341924827":["hashtag1","hashtag2"]},{"1341924850":["hashtag1","hashtag2"]},{"1341924694":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341924881, 1341924776, 1341924719, 1341924827, 1341924850, 1341924694)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.06343412399292 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 16:35:03.189792
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/16/34/image_08032025_16_34_45_9991.jpg', 2), ('/home/nano/Desktop/images/08032025/16/34/image_08032025_16_34_35_9996.jpg', 2), ('/home/nano/Desktop/images/08032025/16/34/image_08032025_16_34_25_9990.jpg', 2), ('/home/nano/Desktop/images/08032025/16/34/image_08032025_16_34_15_9995.jpg', 2), ('/home/nano/Desktop/images/08032025/16/33/image_08032025_16_34_05_10011.jpg', 2), ('/home/nano/Desktop/images/08032025/16/33/image_08032025_16_33_55_9983.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/16/34/image_08032025_16_34_45_9991.jpg', '/home/nano/Desktop/images/08032025/16/34/image_08032025_16_34_35_9996.jpg', '/home/nano/Desktop/images/08032025/16/34/image_08032025_16_34_25_9990.jpg', '/home/nano/Desktop/images/08032025/16/34/image_08032025_16_34_15_9995.jpg', '/home/nano/Desktop/images/08032025/16/33/image_08032025_16_34_05_10011.jpg', '/home/nano/Desktop/images/08032025/16/33/image_08032025_16_33_55_9983.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/16/34/image_08032025_16_34_45_9991.jpg
/home/nano/Desktop/images/08032025/16/34/image_08032025_16_34_35_9996.jpg
/home/nano/Desktop/images/08032025/16/34/image_08032025_16_34_25_9990.jpg
/home/nano/Desktop/images/08032025/16/34/image_08032025_16_34_15_9995.jpg
/home/nano/Desktop/images/08032025/16/33/image_08032025_16_34_05_10011.jpg
/home/nano/Desktop/images/08032025/16/33/image_08032025_16_33_55_9983.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341925467","1341925605","1341925355","1341925375","1341925360","1341925528"],"photo_ids_order":["1341925355","1341925360","1341925375","1341925467","1341925528","1341925605"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/adea194ac12e6039bb6e8b24304b08cc.jpg","text":"TemporaryFile(/tmp/multipartBody9032495151782178646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741448163616,"filename":"image_08032025_16_34_15_9995.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/f42a93b3cea8437a55d19e02247cc735.jpg","text":"TemporaryFile(/tmp/multipartBody1444038955688349941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741448163616,"filename":"image_08032025_16_33_55_9983.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/e97b14d0fca65418fc583ea5dd890c25.jpg","text":"TemporaryFile(/tmp/multipartBody7878567644786323157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741448163616,"filename":"image_08032025_16_34_45_9991.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/db6e51757cc395c6baacc967feac0db8.jpg","text":"TemporaryFile(/tmp/multipartBody7718590172127009768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741448163616,"filename":"image_08032025_16_34_25_9990.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/924eaf86ae16950e7518da329c1c04b4.jpg","text":"TemporaryFile(/tmp/multipartBody2109685631591504352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741448163616,"filename":"image_08032025_16_34_35_9996.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/37b821fd507e2529c1448e2e911acc5f.jpg","text":"TemporaryFile(/tmp/multipartBody5795426775119624188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741448163616,"filename":"image_08032025_16_34_05_10011.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341925375","file1":"1341925360","file0":"1341925355","file4":"1341925528","file5":"1341925605","file3":"1341925467"},"map_files_photo_id_array":[{"photo_id":"1341925605","filename":"file5"},{"photo_id":"1341925375","filename":"file2"},{"photo_id":"1341925528","filename":"file4"},{"photo_id":"1341925360","filename":"file1"},{"photo_id":"1341925355","filename":"file0"},{"photo_id":"1341925467","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341925467":["hashtag1","hashtag2"]},{"1341925605":["hashtag1","hashtag2"]},{"1341925355":["hashtag1","hashtag2"]},{"1341925375":["hashtag1","hashtag2"]},{"1341925360":["hashtag1","hashtag2"]},{"1341925528":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341925467, 1341925605, 1341925355, 1341925375, 1341925360, 1341925528)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.53647541999817 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 16:36:03.082755
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/16/35/image_08032025_16_35_45_9978.jpg', 2), ('/home/nano/Desktop/images/08032025/16/35/image_08032025_16_35_35_9976.jpg', 2), ('/home/nano/Desktop/images/08032025/16/35/image_08032025_16_35_25_9982.jpg', 2), ('/home/nano/Desktop/images/08032025/16/35/image_08032025_16_35_15_10000.jpg', 2), ('/home/nano/Desktop/images/08032025/16/34/image_08032025_16_35_05_10016.jpg', 2), ('/home/nano/Desktop/images/08032025/16/34/image_08032025_16_34_55_9997.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/16/35/image_08032025_16_35_45_9978.jpg', '/home/nano/Desktop/images/08032025/16/35/image_08032025_16_35_35_9976.jpg', '/home/nano/Desktop/images/08032025/16/35/image_08032025_16_35_25_9982.jpg', '/home/nano/Desktop/images/08032025/16/35/image_08032025_16_35_15_10000.jpg', '/home/nano/Desktop/images/08032025/16/34/image_08032025_16_35_05_10016.jpg', '/home/nano/Desktop/images/08032025/16/34/image_08032025_16_34_55_9997.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/16/35/image_08032025_16_35_45_9978.jpg
/home/nano/Desktop/images/08032025/16/35/image_08032025_16_35_35_9976.jpg
/home/nano/Desktop/images/08032025/16/35/image_08032025_16_35_25_9982.jpg
/home/nano/Desktop/images/08032025/16/35/image_08032025_16_35_15_10000.jpg
/home/nano/Desktop/images/08032025/16/34/image_08032025_16_35_05_10016.jpg
/home/nano/Desktop/images/08032025/16/34/image_08032025_16_34_55_9997.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341925962","1341926015","1341925928","1341925910","1341926044","1341925992"],"photo_ids_order":["1341925910","1341925928","1341925962","1341925992","1341926015","1341926044"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/44d196451c32f5578a916f042827e947.jpg","text":"TemporaryFile(/tmp/multipartBody6824476470920367662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741448223525,"filename":"image_08032025_16_35_25_9982.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/1cfbc8e49e7d777f92d75566619e5e1a.jpg","text":"TemporaryFile(/tmp/multipartBody6605204233809282217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741448223525,"filename":"image_08032025_16_35_05_10016.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/6dc53af154513030f6e58b2babcfe9e0.jpg","text":"TemporaryFile(/tmp/multipartBody6860041902247551917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741448223525,"filename":"image_08032025_16_35_35_9976.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/45bed5a4602c6232d3f59a26c48b0de8.jpg","text":"TemporaryFile(/tmp/multipartBody8997356035668439078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741448223525,"filename":"image_08032025_16_35_45_9978.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/7f8844ba29707054b9c75ee8f7a860ae.jpg","text":"TemporaryFile(/tmp/multipartBody3024407439133317030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741448223525,"filename":"image_08032025_16_34_55_9997.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/ad3aa886f985c980656a4e604c40c07b.jpg","text":"TemporaryFile(/tmp/multipartBody7033135538363220992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741448223525,"filename":"image_08032025_16_35_15_10000.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341925962","file1":"1341925928","file0":"1341925910","file4":"1341926015","file5":"1341926044","file3":"1341925992"},"map_files_photo_id_array":[{"photo_id":"1341926044","filename":"file5"},{"photo_id":"1341925962","filename":"file2"},{"photo_id":"1341926015","filename":"file4"},{"photo_id":"1341925928","filename":"file1"},{"photo_id":"1341925910","filename":"file0"},{"photo_id":"1341925992","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341925962":["hashtag1","hashtag2"]},{"1341926015":["hashtag1","hashtag2"]},{"1341925928":["hashtag1","hashtag2"]},{"1341925910":["hashtag1","hashtag2"]},{"1341926044":["hashtag1","hashtag2"]},{"1341925992":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341925962, 1341926015, 1341925928, 1341925910, 1341926044, 1341925992)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.21685338020325 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 16:37:02.307699
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/16/36/image_08032025_16_36_45_9985.jpg', 2), ('/home/nano/Desktop/images/08032025/16/36/image_08032025_16_36_35_9978.jpg', 2), ('/home/nano/Desktop/images/08032025/16/36/image_08032025_16_36_25_9978.jpg', 2), ('/home/nano/Desktop/images/08032025/16/36/image_08032025_16_36_15_9976.jpg', 2), ('/home/nano/Desktop/images/08032025/16/35/image_08032025_16_36_05_9982.jpg', 2), ('/home/nano/Desktop/images/08032025/16/35/image_08032025_16_35_55_9977.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/16/36/image_08032025_16_36_45_9985.jpg', '/home/nano/Desktop/images/08032025/16/36/image_08032025_16_36_35_9978.jpg', '/home/nano/Desktop/images/08032025/16/36/image_08032025_16_36_25_9978.jpg', '/home/nano/Desktop/images/08032025/16/36/image_08032025_16_36_15_9976.jpg', '/home/nano/Desktop/images/08032025/16/35/image_08032025_16_36_05_9982.jpg', '/home/nano/Desktop/images/08032025/16/35/image_08032025_16_35_55_9977.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/16/36/image_08032025_16_36_45_9985.jpg
/home/nano/Desktop/images/08032025/16/36/image_08032025_16_36_35_9978.jpg
/home/nano/Desktop/images/08032025/16/36/image_08032025_16_36_25_9978.jpg
/home/nano/Desktop/images/08032025/16/36/image_08032025_16_36_15_9976.jpg
/home/nano/Desktop/images/08032025/16/35/image_08032025_16_36_05_9982.jpg
/home/nano/Desktop/images/08032025/16/35/image_08032025_16_35_55_9977.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341926444","1341926402","1341926306","1341926524","1341926475","1341926562"],"photo_ids_order":["1341926306","1341926402","1341926444","1341926475","1341926524","1341926562"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/27c014601283aa54bdb3a62ba8de282e.jpg","text":"TemporaryFile(/tmp/multipartBody1064055487771412831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741448282759,"filename":"image_08032025_16_36_25_9978.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/90eb9fac144cb8ad558190e69c66e086.jpg","text":"TemporaryFile(/tmp/multipartBody2685484567158988325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741448282759,"filename":"image_08032025_16_36_35_9978.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/fd0628b7124cc0d924c87250f8168d07.jpg","text":"TemporaryFile(/tmp/multipartBody7092056620578360818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741448282759,"filename":"image_08032025_16_36_45_9985.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/4ed6479386aad3fbcb4ae5c4735b9655.jpg","text":"TemporaryFile(/tmp/multipartBody1792041413695282787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741448282759,"filename":"image_08032025_16_36_05_9982.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/c329616a24128f32dc0326de1253e002.jpg","text":"TemporaryFile(/tmp/multipartBody6999391986706174761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741448282759,"filename":"image_08032025_16_36_15_9976.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/4c5f86aa531d4e881e82cb00df526417.jpg","text":"TemporaryFile(/tmp/multipartBody7491854058061239506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741448282759,"filename":"image_08032025_16_35_55_9977.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341926444","file1":"1341926402","file0":"1341926306","file4":"1341926524","file5":"1341926562","file3":"1341926475"},"map_files_photo_id_array":[{"photo_id":"1341926562","filename":"file5"},{"photo_id":"1341926444","filename":"file2"},{"photo_id":"1341926524","filename":"file4"},{"photo_id":"1341926402","filename":"file1"},{"photo_id":"1341926306","filename":"file0"},{"photo_id":"1341926475","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341926444":["hashtag1","hashtag2"]},{"1341926402":["hashtag1","hashtag2"]},{"1341926306":["hashtag1","hashtag2"]},{"1341926524":["hashtag1","hashtag2"]},{"1341926475":["hashtag1","hashtag2"]},{"1341926562":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341926444, 1341926402, 1341926306, 1341926524, 1341926475, 1341926562)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.16193509101868 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 16:38:02.498175
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/16/37/image_08032025_16_37_45_9982.jpg', 2), ('/home/nano/Desktop/images/08032025/16/37/image_08032025_16_37_35_9976.jpg', 2), ('/home/nano/Desktop/images/08032025/16/37/image_08032025_16_37_25_9975.jpg', 2), ('/home/nano/Desktop/images/08032025/16/37/image_08032025_16_37_15_9984.jpg', 2), ('/home/nano/Desktop/images/08032025/16/36/image_08032025_16_37_05_9977.jpg', 2), ('/home/nano/Desktop/images/08032025/16/36/image_08032025_16_36_55_9985.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/16/37/image_08032025_16_37_45_9982.jpg', '/home/nano/Desktop/images/08032025/16/37/image_08032025_16_37_35_9976.jpg', '/home/nano/Desktop/images/08032025/16/37/image_08032025_16_37_25_9975.jpg', '/home/nano/Desktop/images/08032025/16/37/image_08032025_16_37_15_9984.jpg', '/home/nano/Desktop/images/08032025/16/36/image_08032025_16_37_05_9977.jpg', '/home/nano/Desktop/images/08032025/16/36/image_08032025_16_36_55_9985.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/16/37/image_08032025_16_37_45_9982.jpg
/home/nano/Desktop/images/08032025/16/37/image_08032025_16_37_35_9976.jpg
/home/nano/Desktop/images/08032025/16/37/image_08032025_16_37_25_9975.jpg
/home/nano/Desktop/images/08032025/16/37/image_08032025_16_37_15_9984.jpg
/home/nano/Desktop/images/08032025/16/36/image_08032025_16_37_05_9977.jpg
/home/nano/Desktop/images/08032025/16/36/image_08032025_16_36_55_9985.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341926888","1341926912","1341926884","1341926869","1341926886","1341926922"],"photo_ids_order":["1341926869","1341926884","1341926886","1341926888","1341926912","1341926922"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/d3ef9413ff04d85e9fa45b8e81e99c7d.jpg","text":"TemporaryFile(/tmp/multipartBody4060060269310729682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741448342955,"filename":"image_08032025_16_37_15_9984.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/7bc20d1f80e750982459c2f057c02299.jpg","text":"TemporaryFile(/tmp/multipartBody7074032978094868756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741448342955,"filename":"image_08032025_16_37_05_9977.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/2e675425fd4aff5cb65c498a55128363.jpg","text":"TemporaryFile(/tmp/multipartBody6209377507292008892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741448342955,"filename":"image_08032025_16_37_35_9976.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/8f468797f976d9a7eb09490f51e815e0.jpg","text":"TemporaryFile(/tmp/multipartBody795678039755345869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741448342955,"filename":"image_08032025_16_37_45_9982.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/277aed4d6e10cde9690598527a9252ab.jpg","text":"TemporaryFile(/tmp/multipartBody3967956576705872009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741448342955,"filename":"image_08032025_16_37_25_9975.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/910c691e08dc85eb8d65daf3ddea0e07.jpg","text":"TemporaryFile(/tmp/multipartBody691301046218583370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741448342955,"filename":"image_08032025_16_36_55_9985.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341926886","file1":"1341926884","file0":"1341926869","file4":"1341926912","file5":"1341926922","file3":"1341926888"},"map_files_photo_id_array":[{"photo_id":"1341926922","filename":"file5"},{"photo_id":"1341926886","filename":"file2"},{"photo_id":"1341926912","filename":"file4"},{"photo_id":"1341926884","filename":"file1"},{"photo_id":"1341926869","filename":"file0"},{"photo_id":"1341926888","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341926888":["hashtag1","hashtag2"]},{"1341926912":["hashtag1","hashtag2"]},{"1341926884":["hashtag1","hashtag2"]},{"1341926869":["hashtag1","hashtag2"]},{"1341926886":["hashtag1","hashtag2"]},{"1341926922":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341926888, 1341926912, 1341926884, 1341926869, 1341926886, 1341926922)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.86043047904968 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 16:39:02.729406
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/16/38/image_08032025_16_38_45_9984.jpg', 2), ('/home/nano/Desktop/images/08032025/16/38/image_08032025_16_38_35_9987.jpg', 2), ('/home/nano/Desktop/images/08032025/16/38/image_08032025_16_38_25_9998.jpg', 2), ('/home/nano/Desktop/images/08032025/16/38/image_08032025_16_38_15_9977.jpg', 2), ('/home/nano/Desktop/images/08032025/16/37/image_08032025_16_38_05_9987.jpg', 2), ('/home/nano/Desktop/images/08032025/16/37/image_08032025_16_37_55_9978.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/16/38/image_08032025_16_38_45_9984.jpg', '/home/nano/Desktop/images/08032025/16/38/image_08032025_16_38_35_9987.jpg', '/home/nano/Desktop/images/08032025/16/38/image_08032025_16_38_25_9998.jpg', '/home/nano/Desktop/images/08032025/16/38/image_08032025_16_38_15_9977.jpg', '/home/nano/Desktop/images/08032025/16/37/image_08032025_16_38_05_9987.jpg', '/home/nano/Desktop/images/08032025/16/37/image_08032025_16_37_55_9978.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/16/38/image_08032025_16_38_45_9984.jpg
/home/nano/Desktop/images/08032025/16/38/image_08032025_16_38_35_9987.jpg
/home/nano/Desktop/images/08032025/16/38/image_08032025_16_38_25_9998.jpg
/home/nano/Desktop/images/08032025/16/38/image_08032025_16_38_15_9977.jpg
/home/nano/Desktop/images/08032025/16/37/image_08032025_16_38_05_9987.jpg
/home/nano/Desktop/images/08032025/16/37/image_08032025_16_37_55_9978.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341926953","1341926947","1341926941","1341926943","1341926937","1341926949"],"photo_ids_order":["1341926937","1341926941","1341926943","1341926947","1341926949","1341926953"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/4e8aa9644a839c5ebd75a50209f7acca.jpg","text":"TemporaryFile(/tmp/multipartBody9199333039533986145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741448403171,"filename":"image_08032025_16_37_55_9978.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/9d7f433f5ab04fc6d7118f81f7b391e6.jpg","text":"TemporaryFile(/tmp/multipartBody8276116333134266352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741448403171,"filename":"image_08032025_16_38_15_9977.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/e889bd1b064a8b1964b9fbe48664199d.jpg","text":"TemporaryFile(/tmp/multipartBody7830690592609801459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741448403171,"filename":"image_08032025_16_38_35_9987.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/5eadee4f58ad151b3ecefa5c8feaad55.jpg","text":"TemporaryFile(/tmp/multipartBody8850159792567767904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741448403171,"filename":"image_08032025_16_38_25_9998.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/6637470a9cc4fc299f5e9a982fdcfd45.jpg","text":"TemporaryFile(/tmp/multipartBody7962743989332564168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741448403171,"filename":"image_08032025_16_38_45_9984.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/cfcd4a5d24f8ea0e2286f807aba606e4.jpg","text":"TemporaryFile(/tmp/multipartBody5231207979483148441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741448403171,"filename":"image_08032025_16_38_05_9987.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341926943","file1":"1341926941","file0":"1341926937","file4":"1341926949","file5":"1341926953","file3":"1341926947"},"map_files_photo_id_array":[{"photo_id":"1341926953","filename":"file5"},{"photo_id":"1341926943","filename":"file2"},{"photo_id":"1341926949","filename":"file4"},{"photo_id":"1341926941","filename":"file1"},{"photo_id":"1341926937","filename":"file0"},{"photo_id":"1341926947","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341926953":["hashtag1","hashtag2"]},{"1341926947":["hashtag1","hashtag2"]},{"1341926941":["hashtag1","hashtag2"]},{"1341926943":["hashtag1","hashtag2"]},{"1341926937":["hashtag1","hashtag2"]},{"1341926949":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341926953, 1341926947, 1341926941, 1341926943, 1341926937, 1341926949)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.41059756278992 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 16:40:02.672447
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/16/39/image_08032025_16_39_45_10015.jpg', 2), ('/home/nano/Desktop/images/08032025/16/39/image_08032025_16_39_35_10010.jpg', 2), ('/home/nano/Desktop/images/08032025/16/39/image_08032025_16_39_25_9985.jpg', 2), ('/home/nano/Desktop/images/08032025/16/39/image_08032025_16_39_15_10005.jpg', 2), ('/home/nano/Desktop/images/08032025/16/38/image_08032025_16_39_05_10013.jpg', 2), ('/home/nano/Desktop/images/08032025/16/38/image_08032025_16_38_55_9992.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/16/39/image_08032025_16_39_45_10015.jpg', '/home/nano/Desktop/images/08032025/16/39/image_08032025_16_39_35_10010.jpg', '/home/nano/Desktop/images/08032025/16/39/image_08032025_16_39_25_9985.jpg', '/home/nano/Desktop/images/08032025/16/39/image_08032025_16_39_15_10005.jpg', '/home/nano/Desktop/images/08032025/16/38/image_08032025_16_39_05_10013.jpg', '/home/nano/Desktop/images/08032025/16/38/image_08032025_16_38_55_9992.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/16/39/image_08032025_16_39_45_10015.jpg
/home/nano/Desktop/images/08032025/16/39/image_08032025_16_39_35_10010.jpg
/home/nano/Desktop/images/08032025/16/39/image_08032025_16_39_25_9985.jpg
/home/nano/Desktop/images/08032025/16/39/image_08032025_16_39_15_10005.jpg
/home/nano/Desktop/images/08032025/16/38/image_08032025_16_39_05_10013.jpg
/home/nano/Desktop/images/08032025/16/38/image_08032025_16_38_55_9992.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341927050","1341927157","1341927099","1341927186","1341927075","1341927123"],"photo_ids_order":["1341927050","1341927075","1341927099","1341927123","1341927157","1341927186"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/025a7009b37ef4ba239e9dfda3565da8.jpg","text":"TemporaryFile(/tmp/multipartBody7587664554534485379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741448463105,"filename":"image_08032025_16_39_45_10015.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/fec0a4f9f7d176356ab62a2284b7995a.jpg","text":"TemporaryFile(/tmp/multipartBody7092981087585915959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741448463105,"filename":"image_08032025_16_39_05_10013.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/5154ea2f43bb7626ecd4e8b4e2c6774a.jpg","text":"TemporaryFile(/tmp/multipartBody8131752529595518477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741448463105,"filename":"image_08032025_16_39_25_9985.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/aac4dd827e49a6bb1d81cc2858f8a6c0.jpg","text":"TemporaryFile(/tmp/multipartBody1868950189282486337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741448463105,"filename":"image_08032025_16_38_55_9992.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/4d9fe16140f364d4eeae1d7adf11722d.jpg","text":"TemporaryFile(/tmp/multipartBody1939288799795929933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741448463105,"filename":"image_08032025_16_39_35_10010.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/1894fbc0ee2c77103b6ab5adf18d280e.jpg","text":"TemporaryFile(/tmp/multipartBody5536244529281008804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741448463105,"filename":"image_08032025_16_39_15_10005.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341927099","file1":"1341927075","file0":"1341927050","file4":"1341927157","file5":"1341927186","file3":"1341927123"},"map_files_photo_id_array":[{"photo_id":"1341927186","filename":"file5"},{"photo_id":"1341927099","filename":"file2"},{"photo_id":"1341927157","filename":"file4"},{"photo_id":"1341927075","filename":"file1"},{"photo_id":"1341927050","filename":"file0"},{"photo_id":"1341927123","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341927050":["hashtag1","hashtag2"]},{"1341927157":["hashtag1","hashtag2"]},{"1341927099":["hashtag1","hashtag2"]},{"1341927186":["hashtag1","hashtag2"]},{"1341927075":["hashtag1","hashtag2"]},{"1341927123":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341927050, 1341927157, 1341927099, 1341927186, 1341927075, 1341927123)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.867395639419556 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 16:41:02.663290
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/16/40/image_08032025_16_40_45_9990.jpg', 2), ('/home/nano/Desktop/images/08032025/16/40/image_08032025_16_40_35_9972.jpg', 2), ('/home/nano/Desktop/images/08032025/16/40/image_08032025_16_40_25_9979.jpg', 2), ('/home/nano/Desktop/images/08032025/16/40/image_08032025_16_40_15_9980.jpg', 2), ('/home/nano/Desktop/images/08032025/16/39/image_08032025_16_40_05_9992.jpg', 2), ('/home/nano/Desktop/images/08032025/16/39/image_08032025_16_39_55_9981.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/16/40/image_08032025_16_40_45_9990.jpg', '/home/nano/Desktop/images/08032025/16/40/image_08032025_16_40_35_9972.jpg', '/home/nano/Desktop/images/08032025/16/40/image_08032025_16_40_25_9979.jpg', '/home/nano/Desktop/images/08032025/16/40/image_08032025_16_40_15_9980.jpg', '/home/nano/Desktop/images/08032025/16/39/image_08032025_16_40_05_9992.jpg', '/home/nano/Desktop/images/08032025/16/39/image_08032025_16_39_55_9981.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/16/40/image_08032025_16_40_45_9990.jpg
/home/nano/Desktop/images/08032025/16/40/image_08032025_16_40_35_9972.jpg
/home/nano/Desktop/images/08032025/16/40/image_08032025_16_40_25_9979.jpg
/home/nano/Desktop/images/08032025/16/40/image_08032025_16_40_15_9980.jpg
/home/nano/Desktop/images/08032025/16/39/image_08032025_16_40_05_9992.jpg
/home/nano/Desktop/images/08032025/16/39/image_08032025_16_39_55_9981.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341927302","1341927367","1341927355","1341927451","1341927342","1341927479"],"photo_ids_order":["1341927302","1341927342","1341927355","1341927367","1341927451","1341927479"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/dc0cec94982512c5fbfa8615931a3f4d.jpg","text":"TemporaryFile(/tmp/multipartBody8258377632669900317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741448523092,"filename":"image_08032025_16_40_45_9990.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/f070c0792c8ade7fb744f8d1960a67ef.jpg","text":"TemporaryFile(/tmp/multipartBody234673469090164396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741448523092,"filename":"image_08032025_16_40_15_9980.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/e03d0f2b06566415a850937cb51acac5.jpg","text":"TemporaryFile(/tmp/multipartBody2294713304030132164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741448523092,"filename":"image_08032025_16_40_25_9979.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/1ef1db53cc591d78f4ffe65a81bc3398.jpg","text":"TemporaryFile(/tmp/multipartBody955605551188495502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741448523092,"filename":"image_08032025_16_40_05_9992.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/064ab0b17dd66b40e0de8cc3239332ec.jpg","text":"TemporaryFile(/tmp/multipartBody2657796462162537231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741448523092,"filename":"image_08032025_16_40_35_9972.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/e4157456d03314567bde3fae6c3395e5.jpg","text":"TemporaryFile(/tmp/multipartBody4897864028872471402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741448523092,"filename":"image_08032025_16_39_55_9981.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341927355","file1":"1341927342","file0":"1341927302","file4":"1341927451","file5":"1341927479","file3":"1341927367"},"map_files_photo_id_array":[{"photo_id":"1341927479","filename":"file5"},{"photo_id":"1341927355","filename":"file2"},{"photo_id":"1341927451","filename":"file4"},{"photo_id":"1341927342","filename":"file1"},{"photo_id":"1341927302","filename":"file0"},{"photo_id":"1341927367","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341927302":["hashtag1","hashtag2"]},{"1341927367":["hashtag1","hashtag2"]},{"1341927355":["hashtag1","hashtag2"]},{"1341927451":["hashtag1","hashtag2"]},{"1341927342":["hashtag1","hashtag2"]},{"1341927479":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341927302, 1341927367, 1341927355, 1341927451, 1341927342, 1341927479)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.4841833114624 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 16:42:02.931101
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/16/41/image_08032025_16_41_45_10004.jpg', 2), ('/home/nano/Desktop/images/08032025/16/41/image_08032025_16_41_35_10007.jpg', 2), ('/home/nano/Desktop/images/08032025/16/41/image_08032025_16_41_25_10000.jpg', 2), ('/home/nano/Desktop/images/08032025/16/41/image_08032025_16_41_15_9977.jpg', 2), ('/home/nano/Desktop/images/08032025/16/40/image_08032025_16_41_05_9999.jpg', 2), ('/home/nano/Desktop/images/08032025/16/40/image_08032025_16_40_55_10005.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/16/41/image_08032025_16_41_45_10004.jpg', '/home/nano/Desktop/images/08032025/16/41/image_08032025_16_41_35_10007.jpg', '/home/nano/Desktop/images/08032025/16/41/image_08032025_16_41_25_10000.jpg', '/home/nano/Desktop/images/08032025/16/41/image_08032025_16_41_15_9977.jpg', '/home/nano/Desktop/images/08032025/16/40/image_08032025_16_41_05_9999.jpg', '/home/nano/Desktop/images/08032025/16/40/image_08032025_16_40_55_10005.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/16/41/image_08032025_16_41_45_10004.jpg
/home/nano/Desktop/images/08032025/16/41/image_08032025_16_41_35_10007.jpg
/home/nano/Desktop/images/08032025/16/41/image_08032025_16_41_25_10000.jpg
/home/nano/Desktop/images/08032025/16/41/image_08032025_16_41_15_9977.jpg
/home/nano/Desktop/images/08032025/16/40/image_08032025_16_41_05_9999.jpg
/home/nano/Desktop/images/08032025/16/40/image_08032025_16_40_55_10005.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341927746","1341927763","1341927769","1341927765","1341927773","1341927755"],"photo_ids_order":["1341927746","1341927755","1341927763","1341927765","1341927769","1341927773"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/5372dc994e7bbdbe555fef82c20ea248.jpg","text":"TemporaryFile(/tmp/multipartBody8551082337396346385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741448583440,"filename":"image_08032025_16_41_45_10004.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/56dad9e534b57f3fc52df34e306885b0.jpg","text":"TemporaryFile(/tmp/multipartBody2202590407281760883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741448583440,"filename":"image_08032025_16_41_25_10000.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/5b461a15e2c093a02754dc18f697e4b2.jpg","text":"TemporaryFile(/tmp/multipartBody5814435033660360919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741448583440,"filename":"image_08032025_16_41_05_9999.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/6c18fa0f46e844ebcc5c36a2bc59fd5f.jpg","text":"TemporaryFile(/tmp/multipartBody3503814127231162498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741448583440,"filename":"image_08032025_16_41_15_9977.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/79a60772da598166783d0a2bbc083cc3.jpg","text":"TemporaryFile(/tmp/multipartBody6729671028922641687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741448583440,"filename":"image_08032025_16_40_55_10005.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/ae2a6213c860d7180c5aa36b672449dc.jpg","text":"TemporaryFile(/tmp/multipartBody4339440420665116843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741448583440,"filename":"image_08032025_16_41_35_10007.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341927763","file1":"1341927755","file0":"1341927746","file4":"1341927769","file5":"1341927773","file3":"1341927765"},"map_files_photo_id_array":[{"photo_id":"1341927773","filename":"file5"},{"photo_id":"1341927763","filename":"file2"},{"photo_id":"1341927769","filename":"file4"},{"photo_id":"1341927755","filename":"file1"},{"photo_id":"1341927746","filename":"file0"},{"photo_id":"1341927765","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341927746":["hashtag1","hashtag2"]},{"1341927763":["hashtag1","hashtag2"]},{"1341927769":["hashtag1","hashtag2"]},{"1341927765":["hashtag1","hashtag2"]},{"1341927773":["hashtag1","hashtag2"]},{"1341927755":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341927746, 1341927763, 1341927769, 1341927765, 1341927773, 1341927755)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.360342264175415 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 16:43:03.048945
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/16/42/image_08032025_16_42_45_9981.jpg', 2), ('/home/nano/Desktop/images/08032025/16/42/image_08032025_16_42_35_9980.jpg', 2), ('/home/nano/Desktop/images/08032025/16/42/image_08032025_16_42_25_9976.jpg', 2), ('/home/nano/Desktop/images/08032025/16/42/image_08032025_16_42_15_9979.jpg', 2), ('/home/nano/Desktop/images/08032025/16/41/image_08032025_16_42_05_10003.jpg', 2), ('/home/nano/Desktop/images/08032025/16/41/image_08032025_16_41_55_9993.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/16/42/image_08032025_16_42_45_9981.jpg', '/home/nano/Desktop/images/08032025/16/42/image_08032025_16_42_35_9980.jpg', '/home/nano/Desktop/images/08032025/16/42/image_08032025_16_42_25_9976.jpg', '/home/nano/Desktop/images/08032025/16/42/image_08032025_16_42_15_9979.jpg', '/home/nano/Desktop/images/08032025/16/41/image_08032025_16_42_05_10003.jpg', '/home/nano/Desktop/images/08032025/16/41/image_08032025_16_41_55_9993.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/16/42/image_08032025_16_42_45_9981.jpg
/home/nano/Desktop/images/08032025/16/42/image_08032025_16_42_35_9980.jpg
/home/nano/Desktop/images/08032025/16/42/image_08032025_16_42_25_9976.jpg
/home/nano/Desktop/images/08032025/16/42/image_08032025_16_42_15_9979.jpg
/home/nano/Desktop/images/08032025/16/41/image_08032025_16_42_05_10003.jpg
/home/nano/Desktop/images/08032025/16/41/image_08032025_16_41_55_9993.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341927982","1341927955","1341927958","1341927940","1341927907","1341927971"],"photo_ids_order":["1341927907","1341927940","1341927955","1341927958","1341927971","1341927982"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/a3deebefc4eaabb237a06aedc7f7ff42.jpg","text":"TemporaryFile(/tmp/multipartBody5821204672219399706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741448643485,"filename":"image_08032025_16_41_55_9993.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/b6f499053e50f861e6bc7aa1ec810e6b.jpg","text":"TemporaryFile(/tmp/multipartBody2971999537749304667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741448643485,"filename":"image_08032025_16_42_25_9976.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/18c42a24b61c8aede73ff5e9fcbc3db9.jpg","text":"TemporaryFile(/tmp/multipartBody5456627276001951411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741448643485,"filename":"image_08032025_16_42_15_9979.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/04224124a9e0940129a14d03dbaf6adc.jpg","text":"TemporaryFile(/tmp/multipartBody3909552298548843797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741448643485,"filename":"image_08032025_16_42_35_9980.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/b30eb625ef0af7fdd4c758f002b21476.jpg","text":"TemporaryFile(/tmp/multipartBody998195253604845786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741448643485,"filename":"image_08032025_16_42_45_9981.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/3894a016d28add3a19283a6b9c18ead3.jpg","text":"TemporaryFile(/tmp/multipartBody4048965300060960530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741448643485,"filename":"image_08032025_16_42_05_10003.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341927955","file1":"1341927940","file0":"1341927907","file4":"1341927971","file5":"1341927982","file3":"1341927958"},"map_files_photo_id_array":[{"photo_id":"1341927982","filename":"file5"},{"photo_id":"1341927955","filename":"file2"},{"photo_id":"1341927971","filename":"file4"},{"photo_id":"1341927940","filename":"file1"},{"photo_id":"1341927907","filename":"file0"},{"photo_id":"1341927958","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341927982":["hashtag1","hashtag2"]},{"1341927955":["hashtag1","hashtag2"]},{"1341927958":["hashtag1","hashtag2"]},{"1341927940":["hashtag1","hashtag2"]},{"1341927907":["hashtag1","hashtag2"]},{"1341927971":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341927982, 1341927955, 1341927958, 1341927940, 1341927907, 1341927971)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.07423257827759 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 16:44:03.448086
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/16/43/image_08032025_16_43_45_9976.jpg', 2), ('/home/nano/Desktop/images/08032025/16/43/image_08032025_16_43_35_9977.jpg', 2), ('/home/nano/Desktop/images/08032025/16/43/image_08032025_16_43_25_9973.jpg', 2), ('/home/nano/Desktop/images/08032025/16/43/image_08032025_16_43_15_9982.jpg', 2), ('/home/nano/Desktop/images/08032025/16/42/image_08032025_16_43_05_9987.jpg', 2), ('/home/nano/Desktop/images/08032025/16/42/image_08032025_16_42_55_9981.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/16/43/image_08032025_16_43_45_9976.jpg', '/home/nano/Desktop/images/08032025/16/43/image_08032025_16_43_35_9977.jpg', '/home/nano/Desktop/images/08032025/16/43/image_08032025_16_43_25_9973.jpg', '/home/nano/Desktop/images/08032025/16/43/image_08032025_16_43_15_9982.jpg', '/home/nano/Desktop/images/08032025/16/42/image_08032025_16_43_05_9987.jpg', '/home/nano/Desktop/images/08032025/16/42/image_08032025_16_42_55_9981.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/16/43/image_08032025_16_43_45_9976.jpg
/home/nano/Desktop/images/08032025/16/43/image_08032025_16_43_35_9977.jpg
/home/nano/Desktop/images/08032025/16/43/image_08032025_16_43_25_9973.jpg
/home/nano/Desktop/images/08032025/16/43/image_08032025_16_43_15_9982.jpg
/home/nano/Desktop/images/08032025/16/42/image_08032025_16_43_05_9987.jpg
/home/nano/Desktop/images/08032025/16/42/image_08032025_16_42_55_9981.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341928171","1341928177","1341928159","1341928173","1341928167","1341928145"],"photo_ids_order":["1341928145","1341928159","1341928167","1341928171","1341928173","1341928177"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/253c7a77058e10a30a6f3efb0e820100.jpg","text":"TemporaryFile(/tmp/multipartBody433195942586541794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741448703879,"filename":"image_08032025_16_43_15_9982.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/ff4703fa30ec765c8b3ec53e8bfb67bf.jpg","text":"TemporaryFile(/tmp/multipartBody8586629204755251933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741448703879,"filename":"image_08032025_16_42_55_9981.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/a65a02b2d05510e4d92fa6382dd29a4a.jpg","text":"TemporaryFile(/tmp/multipartBody1427073596149630048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741448703879,"filename":"image_08032025_16_43_35_9977.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/cbd1ce47f46360092cd88d3a7461e645.jpg","text":"TemporaryFile(/tmp/multipartBody780659052560046739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741448703879,"filename":"image_08032025_16_43_05_9987.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/c5bc88f5af8fe0256e67945374364e0f.jpg","text":"TemporaryFile(/tmp/multipartBody7940520498229716577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741448703879,"filename":"image_08032025_16_43_25_9973.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/5607b0d70f229877adc02a43601e03ff.jpg","text":"TemporaryFile(/tmp/multipartBody8300511553085912614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741448703879,"filename":"image_08032025_16_43_45_9976.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341928167","file1":"1341928159","file0":"1341928145","file4":"1341928173","file5":"1341928177","file3":"1341928171"},"map_files_photo_id_array":[{"photo_id":"1341928177","filename":"file5"},{"photo_id":"1341928167","filename":"file2"},{"photo_id":"1341928173","filename":"file4"},{"photo_id":"1341928159","filename":"file1"},{"photo_id":"1341928145","filename":"file0"},{"photo_id":"1341928171","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341928171":["hashtag1","hashtag2"]},{"1341928177":["hashtag1","hashtag2"]},{"1341928159":["hashtag1","hashtag2"]},{"1341928173":["hashtag1","hashtag2"]},{"1341928167":["hashtag1","hashtag2"]},{"1341928145":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341928171, 1341928177, 1341928159, 1341928173, 1341928167, 1341928145)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.87595319747925 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 16:45:03.432674
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/16/44/image_08032025_16_44_45_10004.jpg', 2), ('/home/nano/Desktop/images/08032025/16/44/image_08032025_16_44_35_9997.jpg', 2), ('/home/nano/Desktop/images/08032025/16/44/image_08032025_16_44_25_9996.jpg', 2), ('/home/nano/Desktop/images/08032025/16/44/image_08032025_16_44_15_10010.jpg', 2), ('/home/nano/Desktop/images/08032025/16/43/image_08032025_16_44_05_9992.jpg', 2), ('/home/nano/Desktop/images/08032025/16/43/image_08032025_16_43_55_9978.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/16/44/image_08032025_16_44_45_10004.jpg', '/home/nano/Desktop/images/08032025/16/44/image_08032025_16_44_35_9997.jpg', '/home/nano/Desktop/images/08032025/16/44/image_08032025_16_44_25_9996.jpg', '/home/nano/Desktop/images/08032025/16/44/image_08032025_16_44_15_10010.jpg', '/home/nano/Desktop/images/08032025/16/43/image_08032025_16_44_05_9992.jpg', '/home/nano/Desktop/images/08032025/16/43/image_08032025_16_43_55_9978.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/16/44/image_08032025_16_44_45_10004.jpg
/home/nano/Desktop/images/08032025/16/44/image_08032025_16_44_35_9997.jpg
/home/nano/Desktop/images/08032025/16/44/image_08032025_16_44_25_9996.jpg
/home/nano/Desktop/images/08032025/16/44/image_08032025_16_44_15_10010.jpg
/home/nano/Desktop/images/08032025/16/43/image_08032025_16_44_05_9992.jpg
/home/nano/Desktop/images/08032025/16/43/image_08032025_16_43_55_9978.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341928261","1341928318","1341928287","1341928308","1341928295","1341928313"],"photo_ids_order":["1341928261","1341928287","1341928295","1341928308","1341928313","1341928318"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/894c82db375079c108a27aadda93a9b0.jpg","text":"TemporaryFile(/tmp/multipartBody8684325359671413867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741448763865,"filename":"image_08032025_16_44_45_10004.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/c24be74048021c62be9c4490031fc6ec.jpg","text":"TemporaryFile(/tmp/multipartBody8296310287653795664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741448763865,"filename":"image_08032025_16_43_55_9978.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/f0129b1ba5fc9664106642a075838ae7.jpg","text":"TemporaryFile(/tmp/multipartBody5460521453306370289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741448763865,"filename":"image_08032025_16_44_35_9997.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/8a8e777298fdf07ef14993d06929b0b6.jpg","text":"TemporaryFile(/tmp/multipartBody6116473561214229592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741448763865,"filename":"image_08032025_16_44_15_10010.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/a3e604e82db6b266bae3807775aff12f.jpg","text":"TemporaryFile(/tmp/multipartBody3162716016751280533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741448763865,"filename":"image_08032025_16_44_25_9996.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/be2534d658c5b886e2603613c6c9d344.jpg","text":"TemporaryFile(/tmp/multipartBody7714467810719281615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741448763865,"filename":"image_08032025_16_44_05_9992.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341928295","file1":"1341928287","file0":"1341928261","file4":"1341928313","file5":"1341928318","file3":"1341928308"},"map_files_photo_id_array":[{"photo_id":"1341928318","filename":"file5"},{"photo_id":"1341928295","filename":"file2"},{"photo_id":"1341928313","filename":"file4"},{"photo_id":"1341928287","filename":"file1"},{"photo_id":"1341928261","filename":"file0"},{"photo_id":"1341928308","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341928261":["hashtag1","hashtag2"]},{"1341928318":["hashtag1","hashtag2"]},{"1341928287":["hashtag1","hashtag2"]},{"1341928308":["hashtag1","hashtag2"]},{"1341928295":["hashtag1","hashtag2"]},{"1341928313":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341928261, 1341928318, 1341928287, 1341928308, 1341928295, 1341928313)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.763277530670166 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 16:46:02.405675
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/16/45/image_08032025_16_45_46_9979.jpg', 2), ('/home/nano/Desktop/images/08032025/16/45/image_08032025_16_45_36_10978.jpg', 2), ('/home/nano/Desktop/images/08032025/16/45/image_08032025_16_45_25_9972.jpg', 2), ('/home/nano/Desktop/images/08032025/16/45/image_08032025_16_45_15_9974.jpg', 2), ('/home/nano/Desktop/images/08032025/16/44/image_08032025_16_45_05_9988.jpg', 2), ('/home/nano/Desktop/images/08032025/16/44/image_08032025_16_44_55_9976.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/16/45/image_08032025_16_45_46_9979.jpg', '/home/nano/Desktop/images/08032025/16/45/image_08032025_16_45_36_10978.jpg', '/home/nano/Desktop/images/08032025/16/45/image_08032025_16_45_25_9972.jpg', '/home/nano/Desktop/images/08032025/16/45/image_08032025_16_45_15_9974.jpg', '/home/nano/Desktop/images/08032025/16/44/image_08032025_16_45_05_9988.jpg', '/home/nano/Desktop/images/08032025/16/44/image_08032025_16_44_55_9976.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/16/45/image_08032025_16_45_46_9979.jpg
/home/nano/Desktop/images/08032025/16/45/image_08032025_16_45_36_10978.jpg
/home/nano/Desktop/images/08032025/16/45/image_08032025_16_45_25_9972.jpg
/home/nano/Desktop/images/08032025/16/45/image_08032025_16_45_15_9974.jpg
/home/nano/Desktop/images/08032025/16/44/image_08032025_16_45_05_9988.jpg
/home/nano/Desktop/images/08032025/16/44/image_08032025_16_44_55_9976.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341928363","1341928393","1341928386","1341928413","1341928388","1341928397"],"photo_ids_order":["1341928363","1341928386","1341928388","1341928393","1341928397","1341928413"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/71e6002cc09ec9f7058475a49b7f6f94.jpg","text":"TemporaryFile(/tmp/multipartBody190711827684687196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741448822877,"filename":"image_08032025_16_45_46_9979.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/a105553322180a3f3ff8428af49eefc8.jpg","text":"TemporaryFile(/tmp/multipartBody6502411879774445046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741448822877,"filename":"image_08032025_16_45_15_9974.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/2dfe239924dfca2bef32daa1c67ca3a6.jpg","text":"TemporaryFile(/tmp/multipartBody1810297463010988709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741448822877,"filename":"image_08032025_16_45_36_10978.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/eeb656175d9377055bcf74608c676d39.jpg","text":"TemporaryFile(/tmp/multipartBody3190085757137005146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741448822877,"filename":"image_08032025_16_44_55_9976.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/2beb292cddb3002d015e4c383086f638.jpg","text":"TemporaryFile(/tmp/multipartBody2370835945202493234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741448822877,"filename":"image_08032025_16_45_25_9972.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/2c18aa6bc2ec11892009770ccdd3b2a3.jpg","text":"TemporaryFile(/tmp/multipartBody5270363653034384482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741448822877,"filename":"image_08032025_16_45_05_9988.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341928388","file1":"1341928386","file0":"1341928363","file4":"1341928397","file5":"1341928413","file3":"1341928393"},"map_files_photo_id_array":[{"photo_id":"1341928413","filename":"file5"},{"photo_id":"1341928388","filename":"file2"},{"photo_id":"1341928397","filename":"file4"},{"photo_id":"1341928386","filename":"file1"},{"photo_id":"1341928363","filename":"file0"},{"photo_id":"1341928393","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341928363":["hashtag1","hashtag2"]},{"1341928393":["hashtag1","hashtag2"]},{"1341928386":["hashtag1","hashtag2"]},{"1341928413":["hashtag1","hashtag2"]},{"1341928388":["hashtag1","hashtag2"]},{"1341928397":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341928363, 1341928393, 1341928386, 1341928413, 1341928388, 1341928397)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.49671649932861 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 16:47:02.477432
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/16/46/image_08032025_16_46_45_9978.jpg', 2), ('/home/nano/Desktop/images/08032025/16/46/image_08032025_16_46_35_9980.jpg', 2), ('/home/nano/Desktop/images/08032025/16/46/image_08032025_16_46_25_9976.jpg', 2), ('/home/nano/Desktop/images/08032025/16/46/image_08032025_16_46_15_9978.jpg', 2), ('/home/nano/Desktop/images/08032025/16/45/image_08032025_16_46_06_9986.jpg', 2), ('/home/nano/Desktop/images/08032025/16/45/image_08032025_16_45_56_9976.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/16/46/image_08032025_16_46_45_9978.jpg', '/home/nano/Desktop/images/08032025/16/46/image_08032025_16_46_35_9980.jpg', '/home/nano/Desktop/images/08032025/16/46/image_08032025_16_46_25_9976.jpg', '/home/nano/Desktop/images/08032025/16/46/image_08032025_16_46_15_9978.jpg', '/home/nano/Desktop/images/08032025/16/45/image_08032025_16_46_06_9986.jpg', '/home/nano/Desktop/images/08032025/16/45/image_08032025_16_45_56_9976.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/16/46/image_08032025_16_46_45_9978.jpg
/home/nano/Desktop/images/08032025/16/46/image_08032025_16_46_35_9980.jpg
/home/nano/Desktop/images/08032025/16/46/image_08032025_16_46_25_9976.jpg
/home/nano/Desktop/images/08032025/16/46/image_08032025_16_46_15_9978.jpg
/home/nano/Desktop/images/08032025/16/45/image_08032025_16_46_06_9986.jpg
/home/nano/Desktop/images/08032025/16/45/image_08032025_16_45_56_9976.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341928476","1341928524","1341928515","1341928520","1341928517","1341928502"],"photo_ids_order":["1341928476","1341928502","1341928515","1341928517","1341928520","1341928524"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/488a1a347d7f7080b5aec196dd18ed1a.jpg","text":"TemporaryFile(/tmp/multipartBody7597371488337701240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741448882899,"filename":"image_08032025_16_46_45_9978.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/818d0bcbdba8df0464e0891c642c062a.jpg","text":"TemporaryFile(/tmp/multipartBody4237838238920473000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741448882899,"filename":"image_08032025_16_45_56_9976.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/05b0dfd29dbfec03c7928eec16a30872.jpg","text":"TemporaryFile(/tmp/multipartBody4780979930922459294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741448882899,"filename":"image_08032025_16_46_25_9976.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/fb48e82cc932eb5946b9b2c50213e5de.jpg","text":"TemporaryFile(/tmp/multipartBody2224756182944121333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741448882899,"filename":"image_08032025_16_46_06_9986.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/41f747e9c8cde551f8153ef750dbd569.jpg","text":"TemporaryFile(/tmp/multipartBody7471333279972269928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741448882899,"filename":"image_08032025_16_46_15_9978.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/0fa04a237030e30b6bf00e4aa207286e.jpg","text":"TemporaryFile(/tmp/multipartBody7567122909259126911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741448882899,"filename":"image_08032025_16_46_35_9980.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341928515","file1":"1341928502","file0":"1341928476","file4":"1341928520","file5":"1341928524","file3":"1341928517"},"map_files_photo_id_array":[{"photo_id":"1341928524","filename":"file5"},{"photo_id":"1341928515","filename":"file2"},{"photo_id":"1341928520","filename":"file4"},{"photo_id":"1341928502","filename":"file1"},{"photo_id":"1341928476","filename":"file0"},{"photo_id":"1341928517","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341928476":["hashtag1","hashtag2"]},{"1341928524":["hashtag1","hashtag2"]},{"1341928515":["hashtag1","hashtag2"]},{"1341928520":["hashtag1","hashtag2"]},{"1341928517":["hashtag1","hashtag2"]},{"1341928502":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341928476, 1341928524, 1341928515, 1341928520, 1341928517, 1341928502)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.436835527420044 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 16:48:02.630874
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/16/47/image_08032025_16_47_45_9977.jpg', 2), ('/home/nano/Desktop/images/08032025/16/47/image_08032025_16_47_35_9975.jpg', 2), ('/home/nano/Desktop/images/08032025/16/47/image_08032025_16_47_25_9984.jpg', 2), ('/home/nano/Desktop/images/08032025/16/47/image_08032025_16_47_15_9976.jpg', 2), ('/home/nano/Desktop/images/08032025/16/46/image_08032025_16_47_05_9983.jpg', 2), ('/home/nano/Desktop/images/08032025/16/46/image_08032025_16_46_55_9976.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/16/47/image_08032025_16_47_45_9977.jpg', '/home/nano/Desktop/images/08032025/16/47/image_08032025_16_47_35_9975.jpg', '/home/nano/Desktop/images/08032025/16/47/image_08032025_16_47_25_9984.jpg', '/home/nano/Desktop/images/08032025/16/47/image_08032025_16_47_15_9976.jpg', '/home/nano/Desktop/images/08032025/16/46/image_08032025_16_47_05_9983.jpg', '/home/nano/Desktop/images/08032025/16/46/image_08032025_16_46_55_9976.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/16/47/image_08032025_16_47_45_9977.jpg
/home/nano/Desktop/images/08032025/16/47/image_08032025_16_47_35_9975.jpg
/home/nano/Desktop/images/08032025/16/47/image_08032025_16_47_25_9984.jpg
/home/nano/Desktop/images/08032025/16/47/image_08032025_16_47_15_9976.jpg
/home/nano/Desktop/images/08032025/16/46/image_08032025_16_47_05_9983.jpg
/home/nano/Desktop/images/08032025/16/46/image_08032025_16_46_55_9976.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341928921","1341928917","1341928871","1341928925","1341928919","1341928928"],"photo_ids_order":["1341928871","1341928917","1341928919","1341928921","1341928925","1341928928"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/b83e2e3d9520dcde1a665c00bd974c99.jpg","text":"TemporaryFile(/tmp/multipartBody8883006855953417802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741448943062,"filename":"image_08032025_16_47_15_9976.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/cbfc4583a2e2f9f8cfab1bc469953493.jpg","text":"TemporaryFile(/tmp/multipartBody3775028967584023561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741448943062,"filename":"image_08032025_16_47_35_9975.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/288699b01e6b634e745713984c9117e3.jpg","text":"TemporaryFile(/tmp/multipartBody6837312540803985723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741448943062,"filename":"image_08032025_16_47_45_9977.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/87eb6795a0c21db12708ed27066513bb.jpg","text":"TemporaryFile(/tmp/multipartBody6080395940694360533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741448943062,"filename":"image_08032025_16_47_05_9983.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/3793fd7e566fc2c68d6f1ffc1afa6cae.jpg","text":"TemporaryFile(/tmp/multipartBody7342781196290876823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741448943062,"filename":"image_08032025_16_47_25_9984.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/7a3d7072cf66f76e2e37e55820b6d969.jpg","text":"TemporaryFile(/tmp/multipartBody1342273773576676032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741448943062,"filename":"image_08032025_16_46_55_9976.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341928919","file1":"1341928917","file0":"1341928871","file4":"1341928925","file5":"1341928928","file3":"1341928921"},"map_files_photo_id_array":[{"photo_id":"1341928928","filename":"file5"},{"photo_id":"1341928919","filename":"file2"},{"photo_id":"1341928925","filename":"file4"},{"photo_id":"1341928917","filename":"file1"},{"photo_id":"1341928871","filename":"file0"},{"photo_id":"1341928921","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341928921":["hashtag1","hashtag2"]},{"1341928917":["hashtag1","hashtag2"]},{"1341928871":["hashtag1","hashtag2"]},{"1341928925":["hashtag1","hashtag2"]},{"1341928919":["hashtag1","hashtag2"]},{"1341928928":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341928921, 1341928917, 1341928871, 1341928925, 1341928919, 1341928928)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.82783031463623 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 16:49:03.022925
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/16/48/image_08032025_16_48_45_9978.jpg', 2), ('/home/nano/Desktop/images/08032025/16/48/image_08032025_16_48_35_9999.jpg', 2), ('/home/nano/Desktop/images/08032025/16/48/image_08032025_16_48_25_9978.jpg', 2), ('/home/nano/Desktop/images/08032025/16/48/image_08032025_16_48_15_9975.jpg', 2), ('/home/nano/Desktop/images/08032025/16/47/image_08032025_16_48_05_9984.jpg', 2), ('/home/nano/Desktop/images/08032025/16/47/image_08032025_16_47_55_9975.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/16/48/image_08032025_16_48_45_9978.jpg', '/home/nano/Desktop/images/08032025/16/48/image_08032025_16_48_35_9999.jpg', '/home/nano/Desktop/images/08032025/16/48/image_08032025_16_48_25_9978.jpg', '/home/nano/Desktop/images/08032025/16/48/image_08032025_16_48_15_9975.jpg', '/home/nano/Desktop/images/08032025/16/47/image_08032025_16_48_05_9984.jpg', '/home/nano/Desktop/images/08032025/16/47/image_08032025_16_47_55_9975.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/16/48/image_08032025_16_48_45_9978.jpg
/home/nano/Desktop/images/08032025/16/48/image_08032025_16_48_35_9999.jpg
/home/nano/Desktop/images/08032025/16/48/image_08032025_16_48_25_9978.jpg
/home/nano/Desktop/images/08032025/16/48/image_08032025_16_48_15_9975.jpg
/home/nano/Desktop/images/08032025/16/47/image_08032025_16_48_05_9984.jpg
/home/nano/Desktop/images/08032025/16/47/image_08032025_16_47_55_9975.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341929286","1341929196","1341929160","1341929232","1341929270","1341929222"],"photo_ids_order":["1341929160","1341929196","1341929222","1341929232","1341929270","1341929286"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/5d6c663f7adadbf63549067582a87d93.jpg","text":"TemporaryFile(/tmp/multipartBody4941696460997338542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741449003604,"filename":"image_08032025_16_47_55_9975.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/b7de17c0cbcfeede7e9ff44c951a768c.jpg","text":"TemporaryFile(/tmp/multipartBody1509072390646857919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741449003604,"filename":"image_08032025_16_48_35_9999.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/d041d5336958b27c18c483dd8ba1d0b4.jpg","text":"TemporaryFile(/tmp/multipartBody4392798976458866884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741449003604,"filename":"image_08032025_16_48_45_9978.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/381bde26114d6c2106758a0f8bcf5790.jpg","text":"TemporaryFile(/tmp/multipartBody3562062874413388222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741449003604,"filename":"image_08032025_16_48_15_9975.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/2a3b7b8614f6d89035178098dacff034.jpg","text":"TemporaryFile(/tmp/multipartBody5618199235988293866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741449003604,"filename":"image_08032025_16_48_05_9984.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/96a95d7b1e9cfa7ac24dc8b061cc4d34.jpg","text":"TemporaryFile(/tmp/multipartBody6600260212620905710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741449003604,"filename":"image_08032025_16_48_25_9978.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341929222","file1":"1341929196","file0":"1341929160","file4":"1341929270","file5":"1341929286","file3":"1341929232"},"map_files_photo_id_array":[{"photo_id":"1341929286","filename":"file5"},{"photo_id":"1341929222","filename":"file2"},{"photo_id":"1341929270","filename":"file4"},{"photo_id":"1341929196","filename":"file1"},{"photo_id":"1341929160","filename":"file0"},{"photo_id":"1341929232","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341929286":["hashtag1","hashtag2"]},{"1341929196":["hashtag1","hashtag2"]},{"1341929160":["hashtag1","hashtag2"]},{"1341929232":["hashtag1","hashtag2"]},{"1341929270":["hashtag1","hashtag2"]},{"1341929222":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341929286, 1341929196, 1341929160, 1341929232, 1341929270, 1341929222)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.95295000076294 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 16:50:02.818228
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/16/49/image_08032025_16_49_45_9976.jpg', 2), ('/home/nano/Desktop/images/08032025/16/49/image_08032025_16_49_35_9993.jpg', 2), ('/home/nano/Desktop/images/08032025/16/49/image_08032025_16_49_25_9970.jpg', 2), ('/home/nano/Desktop/images/08032025/16/49/image_08032025_16_49_15_9975.jpg', 2), ('/home/nano/Desktop/images/08032025/16/48/image_08032025_16_49_05_9987.jpg', 2), ('/home/nano/Desktop/images/08032025/16/48/image_08032025_16_48_55_9979.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/16/49/image_08032025_16_49_45_9976.jpg', '/home/nano/Desktop/images/08032025/16/49/image_08032025_16_49_35_9993.jpg', '/home/nano/Desktop/images/08032025/16/49/image_08032025_16_49_25_9970.jpg', '/home/nano/Desktop/images/08032025/16/49/image_08032025_16_49_15_9975.jpg', '/home/nano/Desktop/images/08032025/16/48/image_08032025_16_49_05_9987.jpg', '/home/nano/Desktop/images/08032025/16/48/image_08032025_16_48_55_9979.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/16/49/image_08032025_16_49_45_9976.jpg
/home/nano/Desktop/images/08032025/16/49/image_08032025_16_49_35_9993.jpg
/home/nano/Desktop/images/08032025/16/49/image_08032025_16_49_25_9970.jpg
/home/nano/Desktop/images/08032025/16/49/image_08032025_16_49_15_9975.jpg
/home/nano/Desktop/images/08032025/16/48/image_08032025_16_49_05_9987.jpg
/home/nano/Desktop/images/08032025/16/48/image_08032025_16_48_55_9979.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341929452","1341929460","1341929415","1341929459","1341929393","1341929435"],"photo_ids_order":["1341929393","1341929415","1341929435","1341929452","1341929459","1341929460"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/65eadb3ed4c74ed1d15fe88729d4fa59.jpg","text":"TemporaryFile(/tmp/multipartBody6410881796744244286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741449063268,"filename":"image_08032025_16_49_15_9975.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/027f6608f83562f811fc5d27ac51aa9e.jpg","text":"TemporaryFile(/tmp/multipartBody4173830353455950433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741449063268,"filename":"image_08032025_16_48_55_9979.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/dab9d6e632c905707f632ae957060f64.jpg","text":"TemporaryFile(/tmp/multipartBody595363466756977028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741449063268,"filename":"image_08032025_16_49_35_9993.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/241ecf2e06fa268c45dda670dfea4c94.jpg","text":"TemporaryFile(/tmp/multipartBody8640766900585157612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741449063268,"filename":"image_08032025_16_49_05_9987.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/bb553383e940085943bfe092614ce033.jpg","text":"TemporaryFile(/tmp/multipartBody8714022605657865720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741449063268,"filename":"image_08032025_16_49_45_9976.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/552ecd317dfa12da1dfa8003fc99e7e9.jpg","text":"TemporaryFile(/tmp/multipartBody3581173770540216378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741449063268,"filename":"image_08032025_16_49_25_9970.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341929435","file1":"1341929415","file0":"1341929393","file4":"1341929459","file5":"1341929460","file3":"1341929452"},"map_files_photo_id_array":[{"photo_id":"1341929460","filename":"file5"},{"photo_id":"1341929435","filename":"file2"},{"photo_id":"1341929459","filename":"file4"},{"photo_id":"1341929415","filename":"file1"},{"photo_id":"1341929393","filename":"file0"},{"photo_id":"1341929452","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341929452":["hashtag1","hashtag2"]},{"1341929460":["hashtag1","hashtag2"]},{"1341929415":["hashtag1","hashtag2"]},{"1341929459":["hashtag1","hashtag2"]},{"1341929393":["hashtag1","hashtag2"]},{"1341929435":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341929452, 1341929460, 1341929415, 1341929459, 1341929393, 1341929435)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.120843172073364 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 16:51:02.990016
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/16/50/image_08032025_16_51_05_10002.jpg', 2), ('/home/nano/Desktop/images/08032025/16/50/image_08032025_16_50_45_9998.jpg', 2), ('/home/nano/Desktop/images/08032025/16/50/image_08032025_16_50_35_9996.jpg', 2), ('/home/nano/Desktop/images/08032025/16/50/image_08032025_16_50_25_10000.jpg', 2), ('/home/nano/Desktop/images/08032025/16/50/image_08032025_16_50_15_10002.jpg', 2), ('/home/nano/Desktop/images/08032025/16/49/image_08032025_16_50_05_10017.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/16/50/image_08032025_16_51_05_10002.jpg', '/home/nano/Desktop/images/08032025/16/50/image_08032025_16_50_45_9998.jpg', '/home/nano/Desktop/images/08032025/16/50/image_08032025_16_50_35_9996.jpg', '/home/nano/Desktop/images/08032025/16/50/image_08032025_16_50_25_10000.jpg', '/home/nano/Desktop/images/08032025/16/50/image_08032025_16_50_15_10002.jpg', '/home/nano/Desktop/images/08032025/16/49/image_08032025_16_50_05_10017.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/16/50/image_08032025_16_51_05_10002.jpg
/home/nano/Desktop/images/08032025/16/50/image_08032025_16_50_45_9998.jpg
/home/nano/Desktop/images/08032025/16/50/image_08032025_16_50_35_9996.jpg
/home/nano/Desktop/images/08032025/16/50/image_08032025_16_50_25_10000.jpg
/home/nano/Desktop/images/08032025/16/50/image_08032025_16_50_15_10002.jpg
/home/nano/Desktop/images/08032025/16/49/image_08032025_16_50_05_10017.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341929524","1341929527","1341929512","1341929509","1341929523","1341929522"],"photo_ids_order":["1341929509","1341929512","1341929522","1341929523","1341929524","1341929527"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/a865f956b5ad96bf3710458b94d88629.jpg","text":"TemporaryFile(/tmp/multipartBody2808729437917069774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741449123436,"filename":"image_08032025_16_50_15_10002.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/d326d455528119cb1b158e4d57f557ca.jpg","text":"TemporaryFile(/tmp/multipartBody6146170821017561175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741449123436,"filename":"image_08032025_16_50_05_10017.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/093c2d6fd12061bc6c4ed29a045e8e7a.jpg","text":"TemporaryFile(/tmp/multipartBody1655206789197870476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741449123436,"filename":"image_08032025_16_50_45_9998.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/73a42b2c4771b74501a8e6a823083f76.jpg","text":"TemporaryFile(/tmp/multipartBody6704609239727652155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741449123436,"filename":"image_08032025_16_51_05_10002.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/fa1e05faf4b63672df6e606ba79b61b9.jpg","text":"TemporaryFile(/tmp/multipartBody7268928667740848973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741449123436,"filename":"image_08032025_16_50_25_10000.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/49d47f248f1a5b29c1893687b6d25189.jpg","text":"TemporaryFile(/tmp/multipartBody2856360833074951881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741449123436,"filename":"image_08032025_16_50_35_9996.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341929522","file1":"1341929512","file0":"1341929509","file4":"1341929524","file5":"1341929527","file3":"1341929523"},"map_files_photo_id_array":[{"photo_id":"1341929527","filename":"file5"},{"photo_id":"1341929522","filename":"file2"},{"photo_id":"1341929524","filename":"file4"},{"photo_id":"1341929512","filename":"file1"},{"photo_id":"1341929509","filename":"file0"},{"photo_id":"1341929523","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341929524":["hashtag1","hashtag2"]},{"1341929527":["hashtag1","hashtag2"]},{"1341929512":["hashtag1","hashtag2"]},{"1341929509":["hashtag1","hashtag2"]},{"1341929523":["hashtag1","hashtag2"]},{"1341929522":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341929524, 1341929527, 1341929512, 1341929509, 1341929523, 1341929522)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.689444065093994 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 16:52:03.073881
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/16/51/image_08032025_16_51_45_10003.jpg', 2), ('/home/nano/Desktop/images/08032025/16/51/image_08032025_16_51_35_9990.jpg', 2), ('/home/nano/Desktop/images/08032025/16/51/image_08032025_16_51_25_9999.jpg', 2), ('/home/nano/Desktop/images/08032025/16/51/image_08032025_16_51_15_10023.jpg', 2), ('/home/nano/Desktop/images/08032025/16/50/image_08032025_16_50_55_9997.jpg', 2), ('/home/nano/Desktop/images/08032025/16/49/image_08032025_16_49_55_10000.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/16/51/image_08032025_16_51_45_10003.jpg', '/home/nano/Desktop/images/08032025/16/51/image_08032025_16_51_35_9990.jpg', '/home/nano/Desktop/images/08032025/16/51/image_08032025_16_51_25_9999.jpg', '/home/nano/Desktop/images/08032025/16/51/image_08032025_16_51_15_10023.jpg', '/home/nano/Desktop/images/08032025/16/50/image_08032025_16_50_55_9997.jpg', '/home/nano/Desktop/images/08032025/16/49/image_08032025_16_49_55_10000.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/16/51/image_08032025_16_51_45_10003.jpg
/home/nano/Desktop/images/08032025/16/51/image_08032025_16_51_35_9990.jpg
/home/nano/Desktop/images/08032025/16/51/image_08032025_16_51_25_9999.jpg
/home/nano/Desktop/images/08032025/16/51/image_08032025_16_51_15_10023.jpg
/home/nano/Desktop/images/08032025/16/50/image_08032025_16_50_55_9997.jpg
/home/nano/Desktop/images/08032025/16/49/image_08032025_16_49_55_10000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341929565","1341929570","1341929564","1341929558","1341929567","1341929566"],"photo_ids_order":["1341929558","1341929564","1341929565","1341929566","1341929567","1341929570"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/3e33f5ecd252dd190cc62f84f76bdd13.jpg","text":"TemporaryFile(/tmp/multipartBody3317838765342790486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741449183503,"filename":"image_08032025_16_51_25_9999.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/bcfb0a63a09ff0b744c268ebaa1c4caf.jpg","text":"TemporaryFile(/tmp/multipartBody248356048760332530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741449183503,"filename":"image_08032025_16_49_55_10000.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/f642fdbdcd21cd134295606aeefae951.jpg","text":"TemporaryFile(/tmp/multipartBody3678578206902481329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741449183503,"filename":"image_08032025_16_51_35_9990.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/f1c9fbc68d939ce55c2f765d8fc6eff0.jpg","text":"TemporaryFile(/tmp/multipartBody7109570758054586185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741449183503,"filename":"image_08032025_16_51_45_10003.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/e99f1b335bffb77ae8b23cfaeef4afcd.jpg","text":"TemporaryFile(/tmp/multipartBody6520180867147131041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741449183503,"filename":"image_08032025_16_50_55_9997.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/f4e3a2717ae12fa4f5d749eb6f1a0eca.jpg","text":"TemporaryFile(/tmp/multipartBody2480032574532063612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741449183503,"filename":"image_08032025_16_51_15_10023.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341929565","file1":"1341929564","file0":"1341929558","file4":"1341929567","file5":"1341929570","file3":"1341929566"},"map_files_photo_id_array":[{"photo_id":"1341929570","filename":"file5"},{"photo_id":"1341929565","filename":"file2"},{"photo_id":"1341929567","filename":"file4"},{"photo_id":"1341929564","filename":"file1"},{"photo_id":"1341929558","filename":"file0"},{"photo_id":"1341929566","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341929565":["hashtag1","hashtag2"]},{"1341929570":["hashtag1","hashtag2"]},{"1341929564":["hashtag1","hashtag2"]},{"1341929558":["hashtag1","hashtag2"]},{"1341929567":["hashtag1","hashtag2"]},{"1341929566":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341929565, 1341929570, 1341929564, 1341929558, 1341929567, 1341929566)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.44237017631531 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 16:53:03.181761
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/16/52/image_08032025_16_52_45_9985.jpg', 2), ('/home/nano/Desktop/images/08032025/16/52/image_08032025_16_52_35_9983.jpg', 2), ('/home/nano/Desktop/images/08032025/16/52/image_08032025_16_52_25_9981.jpg', 2), ('/home/nano/Desktop/images/08032025/16/52/image_08032025_16_52_15_9986.jpg', 2), ('/home/nano/Desktop/images/08032025/16/51/image_08032025_16_52_05_9992.jpg', 2), ('/home/nano/Desktop/images/08032025/16/51/image_08032025_16_51_55_10008.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/16/52/image_08032025_16_52_45_9985.jpg', '/home/nano/Desktop/images/08032025/16/52/image_08032025_16_52_35_9983.jpg', '/home/nano/Desktop/images/08032025/16/52/image_08032025_16_52_25_9981.jpg', '/home/nano/Desktop/images/08032025/16/52/image_08032025_16_52_15_9986.jpg', '/home/nano/Desktop/images/08032025/16/51/image_08032025_16_52_05_9992.jpg', '/home/nano/Desktop/images/08032025/16/51/image_08032025_16_51_55_10008.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/16/52/image_08032025_16_52_45_9985.jpg
/home/nano/Desktop/images/08032025/16/52/image_08032025_16_52_35_9983.jpg
/home/nano/Desktop/images/08032025/16/52/image_08032025_16_52_25_9981.jpg
/home/nano/Desktop/images/08032025/16/52/image_08032025_16_52_15_9986.jpg
/home/nano/Desktop/images/08032025/16/51/image_08032025_16_52_05_9992.jpg
/home/nano/Desktop/images/08032025/16/51/image_08032025_16_51_55_10008.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341929605","1341929594","1341929597","1341929762","1341929689","1341929596"],"photo_ids_order":["1341929594","1341929596","1341929597","1341929605","1341929689","1341929762"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/1bd50b5fa4ffc5549f7bb5036c16b07b.jpg","text":"TemporaryFile(/tmp/multipartBody53876726478436853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741449244105,"filename":"image_08032025_16_52_15_9986.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/f569d272b1d93f5d3ff4e166ce51c55c.jpg","text":"TemporaryFile(/tmp/multipartBody5129844724058395584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741449244105,"filename":"image_08032025_16_52_45_9985.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/7b742c0642e19e963277697561048a69.jpg","text":"TemporaryFile(/tmp/multipartBody5787268282884108574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741449244105,"filename":"image_08032025_16_52_25_9981.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/1dbd95719048c31577bced2da2f54b10.jpg","text":"TemporaryFile(/tmp/multipartBody4119650992725758755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741449244105,"filename":"image_08032025_16_51_55_10008.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/60a968a785b774796cd70557e2c48585.jpg","text":"TemporaryFile(/tmp/multipartBody3342969671578299433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741449244105,"filename":"image_08032025_16_52_05_9992.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/c7afdced55c1e46946141c47738f646c.jpg","text":"TemporaryFile(/tmp/multipartBody637725223374161468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741449244105,"filename":"image_08032025_16_52_35_9983.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341929597","file1":"1341929596","file0":"1341929594","file4":"1341929689","file5":"1341929762","file3":"1341929605"},"map_files_photo_id_array":[{"photo_id":"1341929762","filename":"file5"},{"photo_id":"1341929597","filename":"file2"},{"photo_id":"1341929689","filename":"file4"},{"photo_id":"1341929596","filename":"file1"},{"photo_id":"1341929594","filename":"file0"},{"photo_id":"1341929605","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341929605":["hashtag1","hashtag2"]},{"1341929594":["hashtag1","hashtag2"]},{"1341929597":["hashtag1","hashtag2"]},{"1341929762":["hashtag1","hashtag2"]},{"1341929689":["hashtag1","hashtag2"]},{"1341929596":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341929605, 1341929594, 1341929597, 1341929762, 1341929689, 1341929596)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.22864508628845 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 16:54:03.302352
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/16/53/image_08032025_16_53_45_9983.jpg', 2), ('/home/nano/Desktop/images/08032025/16/53/image_08032025_16_53_35_9986.jpg', 2), ('/home/nano/Desktop/images/08032025/16/53/image_08032025_16_53_25_9982.jpg', 2), ('/home/nano/Desktop/images/08032025/16/53/image_08032025_16_53_15_9982.jpg', 2), ('/home/nano/Desktop/images/08032025/16/52/image_08032025_16_53_05_9993.jpg', 2), ('/home/nano/Desktop/images/08032025/16/52/image_08032025_16_52_55_10004.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/16/53/image_08032025_16_53_45_9983.jpg', '/home/nano/Desktop/images/08032025/16/53/image_08032025_16_53_35_9986.jpg', '/home/nano/Desktop/images/08032025/16/53/image_08032025_16_53_25_9982.jpg', '/home/nano/Desktop/images/08032025/16/53/image_08032025_16_53_15_9982.jpg', '/home/nano/Desktop/images/08032025/16/52/image_08032025_16_53_05_9993.jpg', '/home/nano/Desktop/images/08032025/16/52/image_08032025_16_52_55_10004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/16/53/image_08032025_16_53_45_9983.jpg
/home/nano/Desktop/images/08032025/16/53/image_08032025_16_53_35_9986.jpg
/home/nano/Desktop/images/08032025/16/53/image_08032025_16_53_25_9982.jpg
/home/nano/Desktop/images/08032025/16/53/image_08032025_16_53_15_9982.jpg
/home/nano/Desktop/images/08032025/16/52/image_08032025_16_53_05_9993.jpg
/home/nano/Desktop/images/08032025/16/52/image_08032025_16_52_55_10004.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341930097","1341930100","1341930093","1341930096","1341930098","1341930095"],"photo_ids_order":["1341930093","1341930095","1341930096","1341930097","1341930098","1341930100"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/787a6d4dbedba98c02bb1ee9f436011a.jpg","text":"TemporaryFile(/tmp/multipartBody6915725267391330642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741449303756,"filename":"image_08032025_16_53_15_9982.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/1562c067bd7c2b75fc294070af0a19cb.jpg","text":"TemporaryFile(/tmp/multipartBody6673640261972779933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741449303756,"filename":"image_08032025_16_52_55_10004.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/1d69f2615342503ffc5b0975803c4cb7.jpg","text":"TemporaryFile(/tmp/multipartBody7324415902858966294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741449303756,"filename":"image_08032025_16_53_45_9983.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/6ec0af9be655a92df91626efafacc342.jpg","text":"TemporaryFile(/tmp/multipartBody5530026904775987111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741449303756,"filename":"image_08032025_16_53_25_9982.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/a1459931b11a80489e83fff7b2a7c9f5.jpg","text":"TemporaryFile(/tmp/multipartBody7122277994655595865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741449303756,"filename":"image_08032025_16_53_05_9993.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/681141def80edd06721f09779aa48f15.jpg","text":"TemporaryFile(/tmp/multipartBody1858974349172502524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741449303756,"filename":"image_08032025_16_53_35_9986.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341930096","file1":"1341930095","file0":"1341930093","file4":"1341930098","file5":"1341930100","file3":"1341930097"},"map_files_photo_id_array":[{"photo_id":"1341930100","filename":"file5"},{"photo_id":"1341930096","filename":"file2"},{"photo_id":"1341930098","filename":"file4"},{"photo_id":"1341930095","filename":"file1"},{"photo_id":"1341930093","filename":"file0"},{"photo_id":"1341930097","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341930097":["hashtag1","hashtag2"]},{"1341930100":["hashtag1","hashtag2"]},{"1341930093":["hashtag1","hashtag2"]},{"1341930096":["hashtag1","hashtag2"]},{"1341930098":["hashtag1","hashtag2"]},{"1341930095":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341930097, 1341930100, 1341930093, 1341930096, 1341930098, 1341930095)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.749932527542114 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 16:55:02.426557
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/16/54/image_08032025_16_54_45_9988.jpg', 2), ('/home/nano/Desktop/images/08032025/16/54/image_08032025_16_54_35_9982.jpg', 2), ('/home/nano/Desktop/images/08032025/16/54/image_08032025_16_54_25_9997.jpg', 2), ('/home/nano/Desktop/images/08032025/16/54/image_08032025_16_54_15_9985.jpg', 2), ('/home/nano/Desktop/images/08032025/16/53/image_08032025_16_54_05_9997.jpg', 2), ('/home/nano/Desktop/images/08032025/16/53/image_08032025_16_53_55_9988.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/16/54/image_08032025_16_54_45_9988.jpg', '/home/nano/Desktop/images/08032025/16/54/image_08032025_16_54_35_9982.jpg', '/home/nano/Desktop/images/08032025/16/54/image_08032025_16_54_25_9997.jpg', '/home/nano/Desktop/images/08032025/16/54/image_08032025_16_54_15_9985.jpg', '/home/nano/Desktop/images/08032025/16/53/image_08032025_16_54_05_9997.jpg', '/home/nano/Desktop/images/08032025/16/53/image_08032025_16_53_55_9988.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/16/54/image_08032025_16_54_45_9988.jpg
/home/nano/Desktop/images/08032025/16/54/image_08032025_16_54_35_9982.jpg
/home/nano/Desktop/images/08032025/16/54/image_08032025_16_54_25_9997.jpg
/home/nano/Desktop/images/08032025/16/54/image_08032025_16_54_15_9985.jpg
/home/nano/Desktop/images/08032025/16/53/image_08032025_16_54_05_9997.jpg
/home/nano/Desktop/images/08032025/16/53/image_08032025_16_53_55_9988.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341930127","1341930124","1341930123","1341930126","1341930129","1341930125"],"photo_ids_order":["1341930123","1341930124","1341930125","1341930126","1341930127","1341930129"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/17907729cfe71dedf4fcb13caa28fce4.jpg","text":"TemporaryFile(/tmp/multipartBody8514172983810060460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741449362852,"filename":"image_08032025_16_54_05_9997.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/81528537b695faf01f5dc49f6a36adc9.jpg","text":"TemporaryFile(/tmp/multipartBody3493263229264798257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741449362852,"filename":"image_08032025_16_54_35_9982.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/e7571075ad9dac397959ecc148851063.jpg","text":"TemporaryFile(/tmp/multipartBody5977373425249386238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741449362852,"filename":"image_08032025_16_54_45_9988.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/5662204a6c921fdb65709f2247101ae3.jpg","text":"TemporaryFile(/tmp/multipartBody8419294785513621264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741449362852,"filename":"image_08032025_16_54_15_9985.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/a0cd2710dc3f19fa66e6f32e64df17ef.jpg","text":"TemporaryFile(/tmp/multipartBody4978100197886825403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741449362852,"filename":"image_08032025_16_53_55_9988.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/cce10a016e2d3f5d49417f6f58d6f6ce.jpg","text":"TemporaryFile(/tmp/multipartBody6755775368601301850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741449362852,"filename":"image_08032025_16_54_25_9997.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341930125","file1":"1341930124","file0":"1341930123","file4":"1341930127","file5":"1341930129","file3":"1341930126"},"map_files_photo_id_array":[{"photo_id":"1341930129","filename":"file5"},{"photo_id":"1341930125","filename":"file2"},{"photo_id":"1341930127","filename":"file4"},{"photo_id":"1341930124","filename":"file1"},{"photo_id":"1341930123","filename":"file0"},{"photo_id":"1341930126","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341930127":["hashtag1","hashtag2"]},{"1341930124":["hashtag1","hashtag2"]},{"1341930123":["hashtag1","hashtag2"]},{"1341930126":["hashtag1","hashtag2"]},{"1341930129":["hashtag1","hashtag2"]},{"1341930125":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341930127, 1341930124, 1341930123, 1341930126, 1341930129, 1341930125)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.56942415237427 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 16:56:02.400215
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/16/55/image_08032025_16_55_45_9990.jpg', 2), ('/home/nano/Desktop/images/08032025/16/55/image_08032025_16_55_35_9997.jpg', 2), ('/home/nano/Desktop/images/08032025/16/55/image_08032025_16_55_25_10025.jpg', 2), ('/home/nano/Desktop/images/08032025/16/55/image_08032025_16_55_15_9987.jpg', 2), ('/home/nano/Desktop/images/08032025/16/54/image_08032025_16_55_05_10020.jpg', 2), ('/home/nano/Desktop/images/08032025/16/54/image_08032025_16_54_55_9990.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/16/55/image_08032025_16_55_45_9990.jpg', '/home/nano/Desktop/images/08032025/16/55/image_08032025_16_55_35_9997.jpg', '/home/nano/Desktop/images/08032025/16/55/image_08032025_16_55_25_10025.jpg', '/home/nano/Desktop/images/08032025/16/55/image_08032025_16_55_15_9987.jpg', '/home/nano/Desktop/images/08032025/16/54/image_08032025_16_55_05_10020.jpg', '/home/nano/Desktop/images/08032025/16/54/image_08032025_16_54_55_9990.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/16/55/image_08032025_16_55_45_9990.jpg
/home/nano/Desktop/images/08032025/16/55/image_08032025_16_55_35_9997.jpg
/home/nano/Desktop/images/08032025/16/55/image_08032025_16_55_25_10025.jpg
/home/nano/Desktop/images/08032025/16/55/image_08032025_16_55_15_9987.jpg
/home/nano/Desktop/images/08032025/16/54/image_08032025_16_55_05_10020.jpg
/home/nano/Desktop/images/08032025/16/54/image_08032025_16_54_55_9990.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341930151","1341930154","1341930153","1341930150","1341930152","1341930155"],"photo_ids_order":["1341930150","1341930151","1341930152","1341930153","1341930154","1341930155"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/aa33a121b1f985c61146ce80666a4280.jpg","text":"TemporaryFile(/tmp/multipartBody3042560984081338739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741449422839,"filename":"image_08032025_16_55_35_9997.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/fcd05b4068e644d4a724fea3fb9c3ca0.jpg","text":"TemporaryFile(/tmp/multipartBody3852541191444962271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741449422839,"filename":"image_08032025_16_55_05_10020.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/a7e6793a79d150df191aee59a2d47bef.jpg","text":"TemporaryFile(/tmp/multipartBody8514813898764441584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741449422839,"filename":"image_08032025_16_55_15_9987.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/f22deae433515956d101d919a2476cde.jpg","text":"TemporaryFile(/tmp/multipartBody4164692890269810812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741449422839,"filename":"image_08032025_16_55_45_9990.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/11adc27512ce9b402c5a81898e868f58.jpg","text":"TemporaryFile(/tmp/multipartBody954893342154266536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741449422839,"filename":"image_08032025_16_55_25_10025.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/b786428003f04b0ad7e4d0d91f61738c.jpg","text":"TemporaryFile(/tmp/multipartBody544231497024058467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741449422839,"filename":"image_08032025_16_54_55_9990.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341930152","file1":"1341930151","file0":"1341930150","file4":"1341930154","file5":"1341930155","file3":"1341930153"},"map_files_photo_id_array":[{"photo_id":"1341930155","filename":"file5"},{"photo_id":"1341930152","filename":"file2"},{"photo_id":"1341930154","filename":"file4"},{"photo_id":"1341930151","filename":"file1"},{"photo_id":"1341930150","filename":"file0"},{"photo_id":"1341930153","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341930151":["hashtag1","hashtag2"]},{"1341930154":["hashtag1","hashtag2"]},{"1341930153":["hashtag1","hashtag2"]},{"1341930150":["hashtag1","hashtag2"]},{"1341930152":["hashtag1","hashtag2"]},{"1341930155":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341930151, 1341930154, 1341930153, 1341930150, 1341930152, 1341930155)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.60947608947754 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 16:57:02.619935
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/16/56/image_08032025_16_56_45_9988.jpg', 2), ('/home/nano/Desktop/images/08032025/16/56/image_08032025_16_56_35_9988.jpg', 2), ('/home/nano/Desktop/images/08032025/16/56/image_08032025_16_56_25_9989.jpg', 2), ('/home/nano/Desktop/images/08032025/16/56/image_08032025_16_56_15_9992.jpg', 2), ('/home/nano/Desktop/images/08032025/16/55/image_08032025_16_56_05_9994.jpg', 2), ('/home/nano/Desktop/images/08032025/16/55/image_08032025_16_55_55_9988.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/16/56/image_08032025_16_56_45_9988.jpg', '/home/nano/Desktop/images/08032025/16/56/image_08032025_16_56_35_9988.jpg', '/home/nano/Desktop/images/08032025/16/56/image_08032025_16_56_25_9989.jpg', '/home/nano/Desktop/images/08032025/16/56/image_08032025_16_56_15_9992.jpg', '/home/nano/Desktop/images/08032025/16/55/image_08032025_16_56_05_9994.jpg', '/home/nano/Desktop/images/08032025/16/55/image_08032025_16_55_55_9988.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/16/56/image_08032025_16_56_45_9988.jpg
/home/nano/Desktop/images/08032025/16/56/image_08032025_16_56_35_9988.jpg
/home/nano/Desktop/images/08032025/16/56/image_08032025_16_56_25_9989.jpg
/home/nano/Desktop/images/08032025/16/56/image_08032025_16_56_15_9992.jpg
/home/nano/Desktop/images/08032025/16/55/image_08032025_16_56_05_9994.jpg
/home/nano/Desktop/images/08032025/16/55/image_08032025_16_55_55_9988.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341930394","1341930396","1341930393","1341930392","1341930395","1341930391"],"photo_ids_order":["1341930391","1341930392","1341930393","1341930394","1341930395","1341930396"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/67f7827d12b3e60cfd9a63dd916683f7.jpg","text":"TemporaryFile(/tmp/multipartBody4616366227859620008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741449483045,"filename":"image_08032025_16_56_15_9992.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/0e0c42b2d6b3c4ee86cf8d350af93f9e.jpg","text":"TemporaryFile(/tmp/multipartBody3405916400669123678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741449483045,"filename":"image_08032025_16_55_55_9988.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/ef3efbeafb14c394382b090217ddddbb.jpg","text":"TemporaryFile(/tmp/multipartBody12735684113482620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741449483045,"filename":"image_08032025_16_56_25_9989.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/99212edb38bcb64df96f20770c3cf451.jpg","text":"TemporaryFile(/tmp/multipartBody8662408968885714262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741449483045,"filename":"image_08032025_16_56_35_9988.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/8834771f122e9bf0e09df7eb228656da.jpg","text":"TemporaryFile(/tmp/multipartBody1263140182761023665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741449483045,"filename":"image_08032025_16_56_05_9994.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/6a99ea71a960d1115eac24ec00b0b912.jpg","text":"TemporaryFile(/tmp/multipartBody5685370150476622938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741449483045,"filename":"image_08032025_16_56_45_9988.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341930393","file1":"1341930392","file0":"1341930391","file4":"1341930395","file5":"1341930396","file3":"1341930394"},"map_files_photo_id_array":[{"photo_id":"1341930396","filename":"file5"},{"photo_id":"1341930393","filename":"file2"},{"photo_id":"1341930395","filename":"file4"},{"photo_id":"1341930392","filename":"file1"},{"photo_id":"1341930391","filename":"file0"},{"photo_id":"1341930394","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341930394":["hashtag1","hashtag2"]},{"1341930396":["hashtag1","hashtag2"]},{"1341930393":["hashtag1","hashtag2"]},{"1341930392":["hashtag1","hashtag2"]},{"1341930395":["hashtag1","hashtag2"]},{"1341930391":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341930394, 1341930396, 1341930393, 1341930392, 1341930395, 1341930391)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.47704839706421 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 16:58:02.576003
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/16/57/image_08032025_16_57_45_10044.jpg', 2), ('/home/nano/Desktop/images/08032025/16/57/image_08032025_16_57_35_10041.jpg', 2), ('/home/nano/Desktop/images/08032025/16/57/image_08032025_16_57_25_10062.jpg', 2), ('/home/nano/Desktop/images/08032025/16/57/image_08032025_16_57_15_10043.jpg', 2), ('/home/nano/Desktop/images/08032025/16/56/image_08032025_16_57_05_10076.jpg', 2), ('/home/nano/Desktop/images/08032025/16/56/image_08032025_16_56_55_9987.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/16/57/image_08032025_16_57_45_10044.jpg', '/home/nano/Desktop/images/08032025/16/57/image_08032025_16_57_35_10041.jpg', '/home/nano/Desktop/images/08032025/16/57/image_08032025_16_57_25_10062.jpg', '/home/nano/Desktop/images/08032025/16/57/image_08032025_16_57_15_10043.jpg', '/home/nano/Desktop/images/08032025/16/56/image_08032025_16_57_05_10076.jpg', '/home/nano/Desktop/images/08032025/16/56/image_08032025_16_56_55_9987.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/16/57/image_08032025_16_57_45_10044.jpg
/home/nano/Desktop/images/08032025/16/57/image_08032025_16_57_35_10041.jpg
/home/nano/Desktop/images/08032025/16/57/image_08032025_16_57_25_10062.jpg
/home/nano/Desktop/images/08032025/16/57/image_08032025_16_57_15_10043.jpg
/home/nano/Desktop/images/08032025/16/56/image_08032025_16_57_05_10076.jpg
/home/nano/Desktop/images/08032025/16/56/image_08032025_16_56_55_9987.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341930436","1341930430","1341930424","1341930433","1341930427","1341930422"],"photo_ids_order":["1341930422","1341930424","1341930427","1341930430","1341930433","1341930436"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/58a30e7fc8a852a6be8f9f9d1f6f5140.jpg","text":"TemporaryFile(/tmp/multipartBody307230045077670904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741449543029,"filename":"image_08032025_16_56_55_9987.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/b975a5dca7b57e0b8b9a98d8f0300ea0.jpg","text":"TemporaryFile(/tmp/multipartBody6126529755022175456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741449543029,"filename":"image_08032025_16_57_15_10043.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/5d60963bf31063a8223ee4797805fddc.jpg","text":"TemporaryFile(/tmp/multipartBody6044795178927915445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741449543029,"filename":"image_08032025_16_57_35_10041.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/636c8ff549993231f069e52abc502f5f.jpg","text":"TemporaryFile(/tmp/multipartBody7256035381036130509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741449543029,"filename":"image_08032025_16_57_05_10076.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/e4a0c3b026364ade904467f0a2c50e93.jpg","text":"TemporaryFile(/tmp/multipartBody3952193329428512838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741449543029,"filename":"image_08032025_16_57_25_10062.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/56ef4edb10128252f216995c08bb593d.jpg","text":"TemporaryFile(/tmp/multipartBody4757963349703519688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741449543029,"filename":"image_08032025_16_57_45_10044.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341930427","file1":"1341930424","file0":"1341930422","file4":"1341930433","file5":"1341930436","file3":"1341930430"},"map_files_photo_id_array":[{"photo_id":"1341930436","filename":"file5"},{"photo_id":"1341930427","filename":"file2"},{"photo_id":"1341930433","filename":"file4"},{"photo_id":"1341930424","filename":"file1"},{"photo_id":"1341930422","filename":"file0"},{"photo_id":"1341930430","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341930436":["hashtag1","hashtag2"]},{"1341930430":["hashtag1","hashtag2"]},{"1341930424":["hashtag1","hashtag2"]},{"1341930433":["hashtag1","hashtag2"]},{"1341930427":["hashtag1","hashtag2"]},{"1341930422":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341930436, 1341930430, 1341930424, 1341930433, 1341930427, 1341930422)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.287448167800903 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 16:59:03.101828
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/16/58/image_08032025_16_58_45_10039.jpg', 2), ('/home/nano/Desktop/images/08032025/16/58/image_08032025_16_58_35_10041.jpg', 2), ('/home/nano/Desktop/images/08032025/16/58/image_08032025_16_58_25_10067.jpg', 2), ('/home/nano/Desktop/images/08032025/16/58/image_08032025_16_58_15_10046.jpg', 2), ('/home/nano/Desktop/images/08032025/16/57/image_08032025_16_58_05_10048.jpg', 2), ('/home/nano/Desktop/images/08032025/16/57/image_08032025_16_57_55_10046.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/16/58/image_08032025_16_58_45_10039.jpg', '/home/nano/Desktop/images/08032025/16/58/image_08032025_16_58_35_10041.jpg', '/home/nano/Desktop/images/08032025/16/58/image_08032025_16_58_25_10067.jpg', '/home/nano/Desktop/images/08032025/16/58/image_08032025_16_58_15_10046.jpg', '/home/nano/Desktop/images/08032025/16/57/image_08032025_16_58_05_10048.jpg', '/home/nano/Desktop/images/08032025/16/57/image_08032025_16_57_55_10046.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/16/58/image_08032025_16_58_45_10039.jpg
/home/nano/Desktop/images/08032025/16/58/image_08032025_16_58_35_10041.jpg
/home/nano/Desktop/images/08032025/16/58/image_08032025_16_58_25_10067.jpg
/home/nano/Desktop/images/08032025/16/58/image_08032025_16_58_15_10046.jpg
/home/nano/Desktop/images/08032025/16/57/image_08032025_16_58_05_10048.jpg
/home/nano/Desktop/images/08032025/16/57/image_08032025_16_57_55_10046.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341930453","1341930447","1341930462","1341930441","1341930458","1341930467"],"photo_ids_order":["1341930441","1341930447","1341930453","1341930458","1341930462","1341930467"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/c65040822482819ffcf82c39c5eef65c.jpg","text":"TemporaryFile(/tmp/multipartBody4678602975689557944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741449603568,"filename":"image_08032025_16_58_25_10067.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/5203b650b6f8f3de6e779d0e4a72851c.jpg","text":"TemporaryFile(/tmp/multipartBody4813326055023345311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741449603568,"filename":"image_08032025_16_58_35_10041.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/9b888356cf46aef0a51dcad60bf4b5ca.jpg","text":"TemporaryFile(/tmp/multipartBody2194873933039018228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741449603568,"filename":"image_08032025_16_58_05_10048.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/4c4da55d68ec215d40cc915d1377ee2d.jpg","text":"TemporaryFile(/tmp/multipartBody5686954615457416323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741449603568,"filename":"image_08032025_16_58_45_10039.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/babc88b26e60826070b9249abcfd0a8e.jpg","text":"TemporaryFile(/tmp/multipartBody2337888796737657054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741449603568,"filename":"image_08032025_16_58_15_10046.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/adba4b68f8cc47bcc233fa579c6343e3.jpg","text":"TemporaryFile(/tmp/multipartBody2107569055767462884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741449603568,"filename":"image_08032025_16_57_55_10046.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341930453","file1":"1341930447","file0":"1341930441","file4":"1341930462","file5":"1341930467","file3":"1341930458"},"map_files_photo_id_array":[{"photo_id":"1341930467","filename":"file5"},{"photo_id":"1341930453","filename":"file2"},{"photo_id":"1341930462","filename":"file4"},{"photo_id":"1341930447","filename":"file1"},{"photo_id":"1341930441","filename":"file0"},{"photo_id":"1341930458","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341930453":["hashtag1","hashtag2"]},{"1341930447":["hashtag1","hashtag2"]},{"1341930462":["hashtag1","hashtag2"]},{"1341930441":["hashtag1","hashtag2"]},{"1341930458":["hashtag1","hashtag2"]},{"1341930467":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341930453, 1341930447, 1341930462, 1341930441, 1341930458, 1341930467)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.383447885513306 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 17:00:02.983576
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/17/00/image_08032025_17_00_15_10056.jpg', 2), ('/home/nano/Desktop/images/08032025/16/59/image_08032025_16_59_45_10041.jpg', 2), ('/home/nano/Desktop/images/08032025/16/59/image_08032025_16_59_35_10042.jpg', 2), ('/home/nano/Desktop/images/08032025/16/59/image_08032025_16_59_25_10047.jpg', 2), ('/home/nano/Desktop/images/08032025/16/59/image_08032025_16_59_15_9036.jpg', 2), ('/home/nano/Desktop/images/08032025/16/58/image_08032025_16_59_06_10068.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/17/00/image_08032025_17_00_15_10056.jpg', '/home/nano/Desktop/images/08032025/16/59/image_08032025_16_59_45_10041.jpg', '/home/nano/Desktop/images/08032025/16/59/image_08032025_16_59_35_10042.jpg', '/home/nano/Desktop/images/08032025/16/59/image_08032025_16_59_25_10047.jpg', '/home/nano/Desktop/images/08032025/16/59/image_08032025_16_59_15_9036.jpg', '/home/nano/Desktop/images/08032025/16/58/image_08032025_16_59_06_10068.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/17/00/image_08032025_17_00_15_10056.jpg
/home/nano/Desktop/images/08032025/16/59/image_08032025_16_59_45_10041.jpg
/home/nano/Desktop/images/08032025/16/59/image_08032025_16_59_35_10042.jpg
/home/nano/Desktop/images/08032025/16/59/image_08032025_16_59_25_10047.jpg
/home/nano/Desktop/images/08032025/16/59/image_08032025_16_59_15_9036.jpg
/home/nano/Desktop/images/08032025/16/58/image_08032025_16_59_06_10068.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341930481","1341930495","1341930489","1341930492","1341930486","1341930500"],"photo_ids_order":["1341930481","1341930486","1341930489","1341930492","1341930495","1341930500"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/166ec29fe4b891be709493761caa461f.jpg","text":"TemporaryFile(/tmp/multipartBody1168656322498486159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741449663466,"filename":"image_08032025_17_00_15_10056.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/719e53ddbee1357dfb76d91dfb6c53f7.jpg","text":"TemporaryFile(/tmp/multipartBody8352340869397960662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741449663466,"filename":"image_08032025_16_59_15_9036.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/93b812dc7053a0176d9913347e12454d.jpg","text":"TemporaryFile(/tmp/multipartBody8968915095722705988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741449663466,"filename":"image_08032025_16_59_35_10042.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/f5aa0094129dedc05147be241e63d3bd.jpg","text":"TemporaryFile(/tmp/multipartBody4439409097597181321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741449663466,"filename":"image_08032025_16_59_25_10047.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/544a8f1c5cc84ba1b10bf0461af964fe.jpg","text":"TemporaryFile(/tmp/multipartBody4947714960697279359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741449663466,"filename":"image_08032025_16_59_45_10041.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/ce2cb0ed9b7b12fedc9e74a44802af67.jpg","text":"TemporaryFile(/tmp/multipartBody1410685320442938760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741449663466,"filename":"image_08032025_16_59_06_10068.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341930489","file1":"1341930486","file0":"1341930481","file4":"1341930495","file5":"1341930500","file3":"1341930492"},"map_files_photo_id_array":[{"photo_id":"1341930500","filename":"file5"},{"photo_id":"1341930489","filename":"file2"},{"photo_id":"1341930495","filename":"file4"},{"photo_id":"1341930486","filename":"file1"},{"photo_id":"1341930481","filename":"file0"},{"photo_id":"1341930492","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341930481":["hashtag1","hashtag2"]},{"1341930495":["hashtag1","hashtag2"]},{"1341930489":["hashtag1","hashtag2"]},{"1341930492":["hashtag1","hashtag2"]},{"1341930486":["hashtag1","hashtag2"]},{"1341930500":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341930481, 1341930495, 1341930489, 1341930492, 1341930486, 1341930500)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.22094988822937 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 17:01:03.104543
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/17/00/image_08032025_17_00_45_10039.jpg', 2), ('/home/nano/Desktop/images/08032025/17/00/image_08032025_17_00_35_10039.jpg', 2), ('/home/nano/Desktop/images/08032025/17/00/image_08032025_17_00_25_10035.jpg', 2), ('/home/nano/Desktop/images/08032025/16/59/image_08032025_17_00_05_10046.jpg', 2), ('/home/nano/Desktop/images/08032025/16/59/image_08032025_16_59_55_10038.jpg', 2), ('/home/nano/Desktop/images/08032025/16/58/image_08032025_16_58_55_10064.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/17/00/image_08032025_17_00_45_10039.jpg', '/home/nano/Desktop/images/08032025/17/00/image_08032025_17_00_35_10039.jpg', '/home/nano/Desktop/images/08032025/17/00/image_08032025_17_00_25_10035.jpg', '/home/nano/Desktop/images/08032025/16/59/image_08032025_17_00_05_10046.jpg', '/home/nano/Desktop/images/08032025/16/59/image_08032025_16_59_55_10038.jpg', '/home/nano/Desktop/images/08032025/16/58/image_08032025_16_58_55_10064.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/17/00/image_08032025_17_00_45_10039.jpg
/home/nano/Desktop/images/08032025/17/00/image_08032025_17_00_35_10039.jpg
/home/nano/Desktop/images/08032025/17/00/image_08032025_17_00_25_10035.jpg
/home/nano/Desktop/images/08032025/16/59/image_08032025_17_00_05_10046.jpg
/home/nano/Desktop/images/08032025/16/59/image_08032025_16_59_55_10038.jpg
/home/nano/Desktop/images/08032025/16/58/image_08032025_16_58_55_10064.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341930529","1341930520","1341930517","1341930522","1341930525","1341930519"],"photo_ids_order":["1341930517","1341930519","1341930520","1341930522","1341930525","1341930529"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/b1c58630fff24a09dbcdbfc7e266055d.jpg","text":"TemporaryFile(/tmp/multipartBody3680770894713138031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741449723552,"filename":"image_08032025_16_58_55_10064.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/d2c77e8db61c78c9de915e6169c9a799.jpg","text":"TemporaryFile(/tmp/multipartBody7520500224301675454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741449723552,"filename":"image_08032025_17_00_25_10035.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/3ec3d7cca33da95f1798d4a62161ce83.jpg","text":"TemporaryFile(/tmp/multipartBody8513555284017549299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741449723552,"filename":"image_08032025_17_00_45_10039.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/524b3490176a44fee10a8265f09a5ef3.jpg","text":"TemporaryFile(/tmp/multipartBody1829890710559406967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741449723552,"filename":"image_08032025_17_00_05_10046.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/a2891a072f18fb623e4833b72bf548ae.jpg","text":"TemporaryFile(/tmp/multipartBody4420645817314759334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741449723552,"filename":"image_08032025_16_59_55_10038.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/7be53772a414a54a9f9c980c59df40a7.jpg","text":"TemporaryFile(/tmp/multipartBody8343584419501975047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741449723552,"filename":"image_08032025_17_00_35_10039.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341930520","file1":"1341930519","file0":"1341930517","file4":"1341930525","file5":"1341930529","file3":"1341930522"},"map_files_photo_id_array":[{"photo_id":"1341930529","filename":"file5"},{"photo_id":"1341930520","filename":"file2"},{"photo_id":"1341930525","filename":"file4"},{"photo_id":"1341930519","filename":"file1"},{"photo_id":"1341930517","filename":"file0"},{"photo_id":"1341930522","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341930529":["hashtag1","hashtag2"]},{"1341930520":["hashtag1","hashtag2"]},{"1341930517":["hashtag1","hashtag2"]},{"1341930522":["hashtag1","hashtag2"]},{"1341930525":["hashtag1","hashtag2"]},{"1341930519":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341930529, 1341930520, 1341930517, 1341930522, 1341930525, 1341930519)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.014631271362305 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 17:02:03.297738
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/17/01/image_08032025_17_01_45_10042.jpg', 2), ('/home/nano/Desktop/images/08032025/17/01/image_08032025_17_01_35_10047.jpg', 2), ('/home/nano/Desktop/images/08032025/17/01/image_08032025_17_01_25_10043.jpg', 2), ('/home/nano/Desktop/images/08032025/17/01/image_08032025_17_01_15_10043.jpg', 2), ('/home/nano/Desktop/images/08032025/17/00/image_08032025_17_01_05_10061.jpg', 2), ('/home/nano/Desktop/images/08032025/17/00/image_08032025_17_00_55_10042.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/17/01/image_08032025_17_01_45_10042.jpg', '/home/nano/Desktop/images/08032025/17/01/image_08032025_17_01_35_10047.jpg', '/home/nano/Desktop/images/08032025/17/01/image_08032025_17_01_25_10043.jpg', '/home/nano/Desktop/images/08032025/17/01/image_08032025_17_01_15_10043.jpg', '/home/nano/Desktop/images/08032025/17/00/image_08032025_17_01_05_10061.jpg', '/home/nano/Desktop/images/08032025/17/00/image_08032025_17_00_55_10042.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/17/01/image_08032025_17_01_45_10042.jpg
/home/nano/Desktop/images/08032025/17/01/image_08032025_17_01_35_10047.jpg
/home/nano/Desktop/images/08032025/17/01/image_08032025_17_01_25_10043.jpg
/home/nano/Desktop/images/08032025/17/01/image_08032025_17_01_15_10043.jpg
/home/nano/Desktop/images/08032025/17/00/image_08032025_17_01_05_10061.jpg
/home/nano/Desktop/images/08032025/17/00/image_08032025_17_00_55_10042.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341930553","1341930556","1341930555","1341930560","1341930554","1341930557"],"photo_ids_order":["1341930553","1341930554","1341930555","1341930556","1341930557","1341930560"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/369994635b57a7aafdf0f5316ad3c636.jpg","text":"TemporaryFile(/tmp/multipartBody9185561012431873573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741449783759,"filename":"image_08032025_17_01_45_10042.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/65abb6cb097aaa02af2df4394127a51e.jpg","text":"TemporaryFile(/tmp/multipartBody6517050330610101555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741449783759,"filename":"image_08032025_17_01_15_10043.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/f1eadda523cf4f7b9128451d1b813abf.jpg","text":"TemporaryFile(/tmp/multipartBody5234250080814757434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741449783759,"filename":"image_08032025_17_01_25_10043.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/c4e8a6a4509934375ad3cc6d3dbb1fc5.jpg","text":"TemporaryFile(/tmp/multipartBody2047027280074618487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741449783759,"filename":"image_08032025_17_00_55_10042.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/1f547a2374ba4e1142e4369e4dae3760.jpg","text":"TemporaryFile(/tmp/multipartBody730590821667585004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741449783759,"filename":"image_08032025_17_01_35_10047.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/933ee5855db31a614cb2e32cc23b9b9d.jpg","text":"TemporaryFile(/tmp/multipartBody4689117661174916763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741449783759,"filename":"image_08032025_17_01_05_10061.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341930555","file1":"1341930554","file0":"1341930553","file4":"1341930557","file5":"1341930560","file3":"1341930556"},"map_files_photo_id_array":[{"photo_id":"1341930560","filename":"file5"},{"photo_id":"1341930555","filename":"file2"},{"photo_id":"1341930557","filename":"file4"},{"photo_id":"1341930554","filename":"file1"},{"photo_id":"1341930553","filename":"file0"},{"photo_id":"1341930556","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341930553":["hashtag1","hashtag2"]},{"1341930556":["hashtag1","hashtag2"]},{"1341930555":["hashtag1","hashtag2"]},{"1341930560":["hashtag1","hashtag2"]},{"1341930554":["hashtag1","hashtag2"]},{"1341930557":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341930553, 1341930556, 1341930555, 1341930560, 1341930554, 1341930557)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.43861746788025 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 17:03:03.371843
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/17/02/image_08032025_17_02_46_10042.jpg', 2), ('/home/nano/Desktop/images/08032025/17/02/image_08032025_17_02_36_10040.jpg', 2), ('/home/nano/Desktop/images/08032025/17/02/image_08032025_17_02_25_10052.jpg', 2), ('/home/nano/Desktop/images/08032025/17/02/image_08032025_17_02_15_10060.jpg', 2), ('/home/nano/Desktop/images/08032025/17/01/image_08032025_17_02_05_10076.jpg', 2), ('/home/nano/Desktop/images/08032025/17/01/image_08032025_17_01_55_10044.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/17/02/image_08032025_17_02_46_10042.jpg', '/home/nano/Desktop/images/08032025/17/02/image_08032025_17_02_36_10040.jpg', '/home/nano/Desktop/images/08032025/17/02/image_08032025_17_02_25_10052.jpg', '/home/nano/Desktop/images/08032025/17/02/image_08032025_17_02_15_10060.jpg', '/home/nano/Desktop/images/08032025/17/01/image_08032025_17_02_05_10076.jpg', '/home/nano/Desktop/images/08032025/17/01/image_08032025_17_01_55_10044.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/17/02/image_08032025_17_02_46_10042.jpg
/home/nano/Desktop/images/08032025/17/02/image_08032025_17_02_36_10040.jpg
/home/nano/Desktop/images/08032025/17/02/image_08032025_17_02_25_10052.jpg
/home/nano/Desktop/images/08032025/17/02/image_08032025_17_02_15_10060.jpg
/home/nano/Desktop/images/08032025/17/01/image_08032025_17_02_05_10076.jpg
/home/nano/Desktop/images/08032025/17/01/image_08032025_17_01_55_10044.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341930586","1341930591","1341930585","1341930587","1341930584","1341930583"],"photo_ids_order":["1341930583","1341930584","1341930585","1341930586","1341930587","1341930591"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/e8d7509e0b14fa99ef00a8e3a91b495b.jpg","text":"TemporaryFile(/tmp/multipartBody7710621168431480329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741449843834,"filename":"image_08032025_17_02_15_10060.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/a25311f4060689fe0c431169f720b44b.jpg","text":"TemporaryFile(/tmp/multipartBody6334316304032479233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741449843834,"filename":"image_08032025_17_01_55_10044.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/049daf70ce847dd64b9512b6116902c2.jpg","text":"TemporaryFile(/tmp/multipartBody8026973093298497468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741449843834,"filename":"image_08032025_17_02_25_10052.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/aca147a6536cc01802cac33152d3ef95.jpg","text":"TemporaryFile(/tmp/multipartBody5971491096208303131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741449843834,"filename":"image_08032025_17_02_05_10076.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/25f251eb784084d3241bc93a561d0acd.jpg","text":"TemporaryFile(/tmp/multipartBody355312807641351079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741449843834,"filename":"image_08032025_17_02_36_10040.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/9dd072d0790144ff31ed00b27abfef9b.jpg","text":"TemporaryFile(/tmp/multipartBody2867571979873909815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741449843834,"filename":"image_08032025_17_02_46_10042.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341930585","file1":"1341930584","file0":"1341930583","file4":"1341930587","file5":"1341930591","file3":"1341930586"},"map_files_photo_id_array":[{"photo_id":"1341930591","filename":"file5"},{"photo_id":"1341930585","filename":"file2"},{"photo_id":"1341930587","filename":"file4"},{"photo_id":"1341930584","filename":"file1"},{"photo_id":"1341930583","filename":"file0"},{"photo_id":"1341930586","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341930586":["hashtag1","hashtag2"]},{"1341930591":["hashtag1","hashtag2"]},{"1341930585":["hashtag1","hashtag2"]},{"1341930587":["hashtag1","hashtag2"]},{"1341930584":["hashtag1","hashtag2"]},{"1341930583":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341930586, 1341930591, 1341930585, 1341930587, 1341930584, 1341930583)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.535037994384766 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 17:04:02.527286
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/17/03/image_08032025_17_03_45_10040.jpg', 2), ('/home/nano/Desktop/images/08032025/17/03/image_08032025_17_03_35_10032.jpg', 2), ('/home/nano/Desktop/images/08032025/17/03/image_08032025_17_03_25_10037.jpg', 2), ('/home/nano/Desktop/images/08032025/17/03/image_08032025_17_03_15_10050.jpg', 2), ('/home/nano/Desktop/images/08032025/17/02/image_08032025_17_03_05_10062.jpg', 2), ('/home/nano/Desktop/images/08032025/17/02/image_08032025_17_02_55_9032.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/17/03/image_08032025_17_03_45_10040.jpg', '/home/nano/Desktop/images/08032025/17/03/image_08032025_17_03_35_10032.jpg', '/home/nano/Desktop/images/08032025/17/03/image_08032025_17_03_25_10037.jpg', '/home/nano/Desktop/images/08032025/17/03/image_08032025_17_03_15_10050.jpg', '/home/nano/Desktop/images/08032025/17/02/image_08032025_17_03_05_10062.jpg', '/home/nano/Desktop/images/08032025/17/02/image_08032025_17_02_55_9032.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/17/03/image_08032025_17_03_45_10040.jpg
/home/nano/Desktop/images/08032025/17/03/image_08032025_17_03_35_10032.jpg
/home/nano/Desktop/images/08032025/17/03/image_08032025_17_03_25_10037.jpg
/home/nano/Desktop/images/08032025/17/03/image_08032025_17_03_15_10050.jpg
/home/nano/Desktop/images/08032025/17/02/image_08032025_17_03_05_10062.jpg
/home/nano/Desktop/images/08032025/17/02/image_08032025_17_02_55_9032.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341930622","1341930616","1341930619","1341930615","1341930618","1341930617"],"photo_ids_order":["1341930615","1341930616","1341930617","1341930618","1341930619","1341930622"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/cd19308f10c95617ad0ddf491beb008c.jpg","text":"TemporaryFile(/tmp/multipartBody9065794618681656577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741449902997,"filename":"image_08032025_17_02_55_9032.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/122277006435462812b9a39698cc123c.jpg","text":"TemporaryFile(/tmp/multipartBody1220683250057862409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741449902997,"filename":"image_08032025_17_03_35_10032.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/e0cf4690180761efa6c5b54a226353fb.jpg","text":"TemporaryFile(/tmp/multipartBody4430125956469387888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741449902997,"filename":"image_08032025_17_03_05_10062.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/e88da2aa020b7c6c04ed4e6816eeb909.jpg","text":"TemporaryFile(/tmp/multipartBody201262912732277630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741449902997,"filename":"image_08032025_17_03_45_10040.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/5f458b4e48b32b74f0bcea112ea41786.jpg","text":"TemporaryFile(/tmp/multipartBody7763954102789728261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741449902997,"filename":"image_08032025_17_03_15_10050.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/4e0514490499a2bd6b1b730dc58f20c6.jpg","text":"TemporaryFile(/tmp/multipartBody5162387018039472744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741449902997,"filename":"image_08032025_17_03_25_10037.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341930617","file1":"1341930616","file0":"1341930615","file4":"1341930619","file5":"1341930622","file3":"1341930618"},"map_files_photo_id_array":[{"photo_id":"1341930622","filename":"file5"},{"photo_id":"1341930617","filename":"file2"},{"photo_id":"1341930619","filename":"file4"},{"photo_id":"1341930616","filename":"file1"},{"photo_id":"1341930615","filename":"file0"},{"photo_id":"1341930618","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341930622":["hashtag1","hashtag2"]},{"1341930616":["hashtag1","hashtag2"]},{"1341930619":["hashtag1","hashtag2"]},{"1341930615":["hashtag1","hashtag2"]},{"1341930618":["hashtag1","hashtag2"]},{"1341930617":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341930622, 1341930616, 1341930619, 1341930615, 1341930618, 1341930617)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.3870062828064 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 17:05:02.572207
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/17/04/image_08032025_17_04_45_10041.jpg', 2), ('/home/nano/Desktop/images/08032025/17/04/image_08032025_17_04_35_10058.jpg', 2), ('/home/nano/Desktop/images/08032025/17/04/image_08032025_17_04_25_10079.jpg', 2), ('/home/nano/Desktop/images/08032025/17/04/image_08032025_17_04_15_10045.jpg', 2), ('/home/nano/Desktop/images/08032025/17/03/image_08032025_17_04_05_10043.jpg', 2), ('/home/nano/Desktop/images/08032025/17/03/image_08032025_17_03_55_10044.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/17/04/image_08032025_17_04_45_10041.jpg', '/home/nano/Desktop/images/08032025/17/04/image_08032025_17_04_35_10058.jpg', '/home/nano/Desktop/images/08032025/17/04/image_08032025_17_04_25_10079.jpg', '/home/nano/Desktop/images/08032025/17/04/image_08032025_17_04_15_10045.jpg', '/home/nano/Desktop/images/08032025/17/03/image_08032025_17_04_05_10043.jpg', '/home/nano/Desktop/images/08032025/17/03/image_08032025_17_03_55_10044.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/17/04/image_08032025_17_04_45_10041.jpg
/home/nano/Desktop/images/08032025/17/04/image_08032025_17_04_35_10058.jpg
/home/nano/Desktop/images/08032025/17/04/image_08032025_17_04_25_10079.jpg
/home/nano/Desktop/images/08032025/17/04/image_08032025_17_04_15_10045.jpg
/home/nano/Desktop/images/08032025/17/03/image_08032025_17_04_05_10043.jpg
/home/nano/Desktop/images/08032025/17/03/image_08032025_17_03_55_10044.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341930646","1341930649","1341930654","1341930648","1341930650","1341930647"],"photo_ids_order":["1341930646","1341930647","1341930648","1341930649","1341930650","1341930654"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/ae9296269611ec512f015a078efcad94.jpg","text":"TemporaryFile(/tmp/multipartBody3223678783681539987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741449963021,"filename":"image_08032025_17_04_45_10041.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/f41f822d1b9228235bb8c2d0faa706e6.jpg","text":"TemporaryFile(/tmp/multipartBody8345582079430484758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741449963021,"filename":"image_08032025_17_04_15_10045.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/dd93eaccf6c5e5919d5bbdc8c1390924.jpg","text":"TemporaryFile(/tmp/multipartBody8962255016408872704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741449963021,"filename":"image_08032025_17_03_55_10044.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/92fea9c328aded75bdbb0f0a63fbb548.jpg","text":"TemporaryFile(/tmp/multipartBody8789517041034949084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741449963021,"filename":"image_08032025_17_04_25_10079.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/4904ef3085f1f22b78943a6534f5cd94.jpg","text":"TemporaryFile(/tmp/multipartBody7868475831437246744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741449963021,"filename":"image_08032025_17_04_05_10043.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/1240580230a341a5c94c86a062ccaa37.jpg","text":"TemporaryFile(/tmp/multipartBody5131635777276755700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741449963021,"filename":"image_08032025_17_04_35_10058.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341930648","file1":"1341930647","file0":"1341930646","file4":"1341930650","file5":"1341930654","file3":"1341930649"},"map_files_photo_id_array":[{"photo_id":"1341930654","filename":"file5"},{"photo_id":"1341930648","filename":"file2"},{"photo_id":"1341930650","filename":"file4"},{"photo_id":"1341930647","filename":"file1"},{"photo_id":"1341930646","filename":"file0"},{"photo_id":"1341930649","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341930646":["hashtag1","hashtag2"]},{"1341930649":["hashtag1","hashtag2"]},{"1341930654":["hashtag1","hashtag2"]},{"1341930648":["hashtag1","hashtag2"]},{"1341930650":["hashtag1","hashtag2"]},{"1341930647":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341930646, 1341930649, 1341930654, 1341930648, 1341930650, 1341930647)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.02282905578613 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 17:06:02.629670
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/17/05/image_08032025_17_05_45_10051.jpg', 2), ('/home/nano/Desktop/images/08032025/17/05/image_08032025_17_05_35_10047.jpg', 2), ('/home/nano/Desktop/images/08032025/17/05/image_08032025_17_05_25_10058.jpg', 2), ('/home/nano/Desktop/images/08032025/17/05/image_08032025_17_05_15_10077.jpg', 2), ('/home/nano/Desktop/images/08032025/17/04/image_08032025_17_05_05_10047.jpg', 2), ('/home/nano/Desktop/images/08032025/17/04/image_08032025_17_04_55_10044.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/17/05/image_08032025_17_05_45_10051.jpg', '/home/nano/Desktop/images/08032025/17/05/image_08032025_17_05_35_10047.jpg', '/home/nano/Desktop/images/08032025/17/05/image_08032025_17_05_25_10058.jpg', '/home/nano/Desktop/images/08032025/17/05/image_08032025_17_05_15_10077.jpg', '/home/nano/Desktop/images/08032025/17/04/image_08032025_17_05_05_10047.jpg', '/home/nano/Desktop/images/08032025/17/04/image_08032025_17_04_55_10044.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/17/05/image_08032025_17_05_45_10051.jpg
/home/nano/Desktop/images/08032025/17/05/image_08032025_17_05_35_10047.jpg
/home/nano/Desktop/images/08032025/17/05/image_08032025_17_05_25_10058.jpg
/home/nano/Desktop/images/08032025/17/05/image_08032025_17_05_15_10077.jpg
/home/nano/Desktop/images/08032025/17/04/image_08032025_17_05_05_10047.jpg
/home/nano/Desktop/images/08032025/17/04/image_08032025_17_04_55_10044.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341930679","1341930681","1341930678","1341930680","1341930677","1341930682"],"photo_ids_order":["1341930677","1341930678","1341930679","1341930680","1341930681","1341930682"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/01a0367a43491c08a2a5d6a5be6b7540.jpg","text":"TemporaryFile(/tmp/multipartBody7956670299196691212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741450023071,"filename":"image_08032025_17_05_25_10058.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/ef801d5c31897bcd5723e60e9e8f9a09.jpg","text":"TemporaryFile(/tmp/multipartBody1460938971629485746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741450023071,"filename":"image_08032025_17_05_05_10047.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/7c02dce75a110dbe730ee446bb7d6df7.jpg","text":"TemporaryFile(/tmp/multipartBody1602016688384270911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741450023071,"filename":"image_08032025_17_05_35_10047.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/f7ef647e9a081cfcb12b082fb033c407.jpg","text":"TemporaryFile(/tmp/multipartBody9082353103321043636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741450023071,"filename":"image_08032025_17_05_15_10077.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/b0a150c425ce5aaef25e259c449fdf50.jpg","text":"TemporaryFile(/tmp/multipartBody4078413375718522962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741450023071,"filename":"image_08032025_17_05_45_10051.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/6e16c925c628b78d001c1257c092e931.jpg","text":"TemporaryFile(/tmp/multipartBody22588708682939311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741450023071,"filename":"image_08032025_17_04_55_10044.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341930679","file1":"1341930678","file0":"1341930677","file4":"1341930681","file5":"1341930682","file3":"1341930680"},"map_files_photo_id_array":[{"photo_id":"1341930682","filename":"file5"},{"photo_id":"1341930679","filename":"file2"},{"photo_id":"1341930681","filename":"file4"},{"photo_id":"1341930678","filename":"file1"},{"photo_id":"1341930677","filename":"file0"},{"photo_id":"1341930680","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341930679":["hashtag1","hashtag2"]},{"1341930681":["hashtag1","hashtag2"]},{"1341930678":["hashtag1","hashtag2"]},{"1341930680":["hashtag1","hashtag2"]},{"1341930677":["hashtag1","hashtag2"]},{"1341930682":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341930679, 1341930681, 1341930678, 1341930680, 1341930677, 1341930682)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.724334716796875 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 17:07:02.548136
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/17/06/image_08032025_17_06_45_10054.jpg', 2), ('/home/nano/Desktop/images/08032025/17/06/image_08032025_17_06_35_10048.jpg', 2), ('/home/nano/Desktop/images/08032025/17/06/image_08032025_17_06_25_10049.jpg', 2), ('/home/nano/Desktop/images/08032025/17/06/image_08032025_17_06_15_9040.jpg', 2), ('/home/nano/Desktop/images/08032025/17/05/image_08032025_17_06_06_10054.jpg', 2), ('/home/nano/Desktop/images/08032025/17/05/image_08032025_17_05_56_10045.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/17/06/image_08032025_17_06_45_10054.jpg', '/home/nano/Desktop/images/08032025/17/06/image_08032025_17_06_35_10048.jpg', '/home/nano/Desktop/images/08032025/17/06/image_08032025_17_06_25_10049.jpg', '/home/nano/Desktop/images/08032025/17/06/image_08032025_17_06_15_9040.jpg', '/home/nano/Desktop/images/08032025/17/05/image_08032025_17_06_06_10054.jpg', '/home/nano/Desktop/images/08032025/17/05/image_08032025_17_05_56_10045.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/17/06/image_08032025_17_06_45_10054.jpg
/home/nano/Desktop/images/08032025/17/06/image_08032025_17_06_35_10048.jpg
/home/nano/Desktop/images/08032025/17/06/image_08032025_17_06_25_10049.jpg
/home/nano/Desktop/images/08032025/17/06/image_08032025_17_06_15_9040.jpg
/home/nano/Desktop/images/08032025/17/05/image_08032025_17_06_06_10054.jpg
/home/nano/Desktop/images/08032025/17/05/image_08032025_17_05_56_10045.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341930709","1341930712","1341930711","1341930708","1341930710","1341930707"],"photo_ids_order":["1341930707","1341930708","1341930709","1341930710","1341930711","1341930712"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/2f1d12eb5802ebf97f7079ad5d5d4858.jpg","text":"TemporaryFile(/tmp/multipartBody605965580363611145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741450082996,"filename":"image_08032025_17_06_25_10049.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/59f17ca036ba230eb2f9296499bb475e.jpg","text":"TemporaryFile(/tmp/multipartBody6695536214228693634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741450082996,"filename":"image_08032025_17_05_56_10045.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/87a52bf0a59b11d10a30aaead74b8457.jpg","text":"TemporaryFile(/tmp/multipartBody2843725687138669256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741450082996,"filename":"image_08032025_17_06_06_10054.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/662e2a670d6ec7c0fefef00e3b496667.jpg","text":"TemporaryFile(/tmp/multipartBody8954440490044048016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741450082996,"filename":"image_08032025_17_06_35_10048.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/a7a1b86626a1f73bcbd463e7cc971251.jpg","text":"TemporaryFile(/tmp/multipartBody131239388433677283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741450082996,"filename":"image_08032025_17_06_15_9040.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/76402ccf4a2d83cc1f15418b070eae9e.jpg","text":"TemporaryFile(/tmp/multipartBody4418671283733664583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741450082996,"filename":"image_08032025_17_06_45_10054.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341930709","file1":"1341930708","file0":"1341930707","file4":"1341930711","file5":"1341930712","file3":"1341930710"},"map_files_photo_id_array":[{"photo_id":"1341930712","filename":"file5"},{"photo_id":"1341930709","filename":"file2"},{"photo_id":"1341930711","filename":"file4"},{"photo_id":"1341930708","filename":"file1"},{"photo_id":"1341930707","filename":"file0"},{"photo_id":"1341930710","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341930709":["hashtag1","hashtag2"]},{"1341930712":["hashtag1","hashtag2"]},{"1341930711":["hashtag1","hashtag2"]},{"1341930708":["hashtag1","hashtag2"]},{"1341930710":["hashtag1","hashtag2"]},{"1341930707":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341930709, 1341930712, 1341930711, 1341930708, 1341930710, 1341930707)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.564466953277588 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 17:08:02.889858
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/17/07/image_08032025_17_07_45_10075.jpg', 2), ('/home/nano/Desktop/images/08032025/17/07/image_08032025_17_07_35_10068.jpg', 2), ('/home/nano/Desktop/images/08032025/17/07/image_08032025_17_07_25_10050.jpg', 2), ('/home/nano/Desktop/images/08032025/17/07/image_08032025_17_07_15_10050.jpg', 2), ('/home/nano/Desktop/images/08032025/17/06/image_08032025_17_07_05_10056.jpg', 2), ('/home/nano/Desktop/images/08032025/17/06/image_08032025_17_06_55_10076.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/17/07/image_08032025_17_07_45_10075.jpg', '/home/nano/Desktop/images/08032025/17/07/image_08032025_17_07_35_10068.jpg', '/home/nano/Desktop/images/08032025/17/07/image_08032025_17_07_25_10050.jpg', '/home/nano/Desktop/images/08032025/17/07/image_08032025_17_07_15_10050.jpg', '/home/nano/Desktop/images/08032025/17/06/image_08032025_17_07_05_10056.jpg', '/home/nano/Desktop/images/08032025/17/06/image_08032025_17_06_55_10076.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/17/07/image_08032025_17_07_45_10075.jpg
/home/nano/Desktop/images/08032025/17/07/image_08032025_17_07_35_10068.jpg
/home/nano/Desktop/images/08032025/17/07/image_08032025_17_07_25_10050.jpg
/home/nano/Desktop/images/08032025/17/07/image_08032025_17_07_15_10050.jpg
/home/nano/Desktop/images/08032025/17/06/image_08032025_17_07_05_10056.jpg
/home/nano/Desktop/images/08032025/17/06/image_08032025_17_06_55_10076.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341930745","1341930742","1341930741","1341930744","1341930743","1341930746"],"photo_ids_order":["1341930741","1341930742","1341930743","1341930744","1341930745","1341930746"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/1b38ba619574fe04621a4f9d3b4e1d6d.jpg","text":"TemporaryFile(/tmp/multipartBody1972537165935914790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741450143342,"filename":"image_08032025_17_07_05_10056.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/238a516d2f4d425d1d712ffc67806a52.jpg","text":"TemporaryFile(/tmp/multipartBody1547101304809854262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741450143342,"filename":"image_08032025_17_07_35_10068.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/2f59139bae3d517c9a2a8b6e9fb3a9f8.jpg","text":"TemporaryFile(/tmp/multipartBody1604748741374717309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741450143342,"filename":"image_08032025_17_07_45_10075.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/a4c78f53609c49d45f13b678c6926eef.jpg","text":"TemporaryFile(/tmp/multipartBody5972215422237171481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741450143342,"filename":"image_08032025_17_07_15_10050.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/324098e5face504d288edd66348c850a.jpg","text":"TemporaryFile(/tmp/multipartBody5996333537708561334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741450143342,"filename":"image_08032025_17_07_25_10050.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/68efc021f0253a4f1e402bfa799cb8f4.jpg","text":"TemporaryFile(/tmp/multipartBody1012681406071211827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741450143342,"filename":"image_08032025_17_06_55_10076.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341930743","file1":"1341930742","file0":"1341930741","file4":"1341930745","file5":"1341930746","file3":"1341930744"},"map_files_photo_id_array":[{"photo_id":"1341930746","filename":"file5"},{"photo_id":"1341930743","filename":"file2"},{"photo_id":"1341930745","filename":"file4"},{"photo_id":"1341930742","filename":"file1"},{"photo_id":"1341930741","filename":"file0"},{"photo_id":"1341930744","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341930745":["hashtag1","hashtag2"]},{"1341930742":["hashtag1","hashtag2"]},{"1341930741":["hashtag1","hashtag2"]},{"1341930744":["hashtag1","hashtag2"]},{"1341930743":["hashtag1","hashtag2"]},{"1341930746":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341930745, 1341930742, 1341930741, 1341930744, 1341930743, 1341930746)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.56620764732361 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 17:09:03.265982
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/17/09/image_08032025_17_09_25_10061.jpg', 2), ('/home/nano/Desktop/images/08032025/17/08/image_08032025_17_08_45_10056.jpg', 2), ('/home/nano/Desktop/images/08032025/17/08/image_08032025_17_08_35_10054.jpg', 2), ('/home/nano/Desktop/images/08032025/17/08/image_08032025_17_08_25_10054.jpg', 2), ('/home/nano/Desktop/images/08032025/17/08/image_08032025_17_08_15_10054.jpg', 2), ('/home/nano/Desktop/images/08032025/17/07/image_08032025_17_08_05_10063.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/17/09/image_08032025_17_09_25_10061.jpg', '/home/nano/Desktop/images/08032025/17/08/image_08032025_17_08_45_10056.jpg', '/home/nano/Desktop/images/08032025/17/08/image_08032025_17_08_35_10054.jpg', '/home/nano/Desktop/images/08032025/17/08/image_08032025_17_08_25_10054.jpg', '/home/nano/Desktop/images/08032025/17/08/image_08032025_17_08_15_10054.jpg', '/home/nano/Desktop/images/08032025/17/07/image_08032025_17_08_05_10063.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/17/09/image_08032025_17_09_25_10061.jpg
/home/nano/Desktop/images/08032025/17/08/image_08032025_17_08_45_10056.jpg
/home/nano/Desktop/images/08032025/17/08/image_08032025_17_08_35_10054.jpg
/home/nano/Desktop/images/08032025/17/08/image_08032025_17_08_25_10054.jpg
/home/nano/Desktop/images/08032025/17/08/image_08032025_17_08_15_10054.jpg
/home/nano/Desktop/images/08032025/17/07/image_08032025_17_08_05_10063.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341930894","1341930897","1341930896","1341930947","1341930938","1341930917"],"photo_ids_order":["1341930894","1341930896","1341930897","1341930917","1341930938","1341930947"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/3312211e3b467e5f2f2c2a3eef11daf7.jpg","text":"TemporaryFile(/tmp/multipartBody7688840515164091133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741450203730,"filename":"image_08032025_17_09_25_10061.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/820653c71ae8649afbc4839e4da38563.jpg","text":"TemporaryFile(/tmp/multipartBody8707061996450821504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741450203730,"filename":"image_08032025_17_08_35_10054.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/2022c7a32d0815c087ac5211269f88f3.jpg","text":"TemporaryFile(/tmp/multipartBody4409628301797339880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741450203730,"filename":"image_08032025_17_08_45_10056.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/7a62696fae3d106d2d232e530448c912.jpg","text":"TemporaryFile(/tmp/multipartBody7515591561822505774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741450203730,"filename":"image_08032025_17_08_05_10063.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/72371d0f85a1a72aa1405cfef41d4493.jpg","text":"TemporaryFile(/tmp/multipartBody8287261613350947452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741450203730,"filename":"image_08032025_17_08_15_10054.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/196332bd2451225fbc3fe86e84f06a9c.jpg","text":"TemporaryFile(/tmp/multipartBody5525180285422756410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741450203730,"filename":"image_08032025_17_08_25_10054.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341930897","file1":"1341930896","file0":"1341930894","file4":"1341930938","file5":"1341930947","file3":"1341930917"},"map_files_photo_id_array":[{"photo_id":"1341930947","filename":"file5"},{"photo_id":"1341930897","filename":"file2"},{"photo_id":"1341930938","filename":"file4"},{"photo_id":"1341930896","filename":"file1"},{"photo_id":"1341930894","filename":"file0"},{"photo_id":"1341930917","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341930894":["hashtag1","hashtag2"]},{"1341930897":["hashtag1","hashtag2"]},{"1341930896":["hashtag1","hashtag2"]},{"1341930947":["hashtag1","hashtag2"]},{"1341930938":["hashtag1","hashtag2"]},{"1341930917":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341930894, 1341930897, 1341930896, 1341930947, 1341930938, 1341930917)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.281606674194336 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 17:10:03.151258
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/17/09/image_08032025_17_09_45_10064.jpg', 2), ('/home/nano/Desktop/images/08032025/17/09/image_08032025_17_09_35_10068.jpg', 2), ('/home/nano/Desktop/images/08032025/17/09/image_08032025_17_09_15_10059.jpg', 2), ('/home/nano/Desktop/images/08032025/17/08/image_08032025_17_09_05_9062.jpg', 2), ('/home/nano/Desktop/images/08032025/17/08/image_08032025_17_08_56_10058.jpg', 2), ('/home/nano/Desktop/images/08032025/17/07/image_08032025_17_07_55_10053.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/17/09/image_08032025_17_09_45_10064.jpg', '/home/nano/Desktop/images/08032025/17/09/image_08032025_17_09_35_10068.jpg', '/home/nano/Desktop/images/08032025/17/09/image_08032025_17_09_15_10059.jpg', '/home/nano/Desktop/images/08032025/17/08/image_08032025_17_09_05_9062.jpg', '/home/nano/Desktop/images/08032025/17/08/image_08032025_17_08_56_10058.jpg', '/home/nano/Desktop/images/08032025/17/07/image_08032025_17_07_55_10053.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/17/09/image_08032025_17_09_45_10064.jpg
/home/nano/Desktop/images/08032025/17/09/image_08032025_17_09_35_10068.jpg
/home/nano/Desktop/images/08032025/17/09/image_08032025_17_09_15_10059.jpg
/home/nano/Desktop/images/08032025/17/08/image_08032025_17_09_05_9062.jpg
/home/nano/Desktop/images/08032025/17/08/image_08032025_17_08_56_10058.jpg
/home/nano/Desktop/images/08032025/17/07/image_08032025_17_07_55_10053.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.36902332305908203 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 marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 17:10:32.500744
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/17/10/image_08032025_17_10_45_10022.jpg', 2), ('/home/nano/Desktop/images/08032025/17/10/image_08032025_17_10_35_10023.jpg', 2), ('/home/nano/Desktop/images/08032025/17/10/image_08032025_17_10_25_10020.jpg', 2), ('/home/nano/Desktop/images/08032025/17/10/image_08032025_17_10_15_10027.jpg', 2), ('/home/nano/Desktop/images/08032025/17/09/image_08032025_17_10_05_10022.jpg', 2), ('/home/nano/Desktop/images/08032025/17/09/image_08032025_17_09_55_10024.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/17/10/image_08032025_17_10_45_10022.jpg', '/home/nano/Desktop/images/08032025/17/10/image_08032025_17_10_35_10023.jpg', '/home/nano/Desktop/images/08032025/17/10/image_08032025_17_10_25_10020.jpg', '/home/nano/Desktop/images/08032025/17/10/image_08032025_17_10_15_10027.jpg', '/home/nano/Desktop/images/08032025/17/09/image_08032025_17_10_05_10022.jpg', '/home/nano/Desktop/images/08032025/17/09/image_08032025_17_09_55_10024.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/17/10/image_08032025_17_10_45_10022.jpg
/home/nano/Desktop/images/08032025/17/10/image_08032025_17_10_35_10023.jpg
/home/nano/Desktop/images/08032025/17/10/image_08032025_17_10_25_10020.jpg
/home/nano/Desktop/images/08032025/17/10/image_08032025_17_10_15_10027.jpg
/home/nano/Desktop/images/08032025/17/09/image_08032025_17_10_05_10022.jpg
/home/nano/Desktop/images/08032025/17/09/image_08032025_17_09_55_10024.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341931030","1341931033","1341931041","1341931044","1341931026","1341931037"],"photo_ids_order":["1341931026","1341931030","1341931033","1341931037","1341931041","1341931044"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/7587dccfc0cfa47ab2f4a584d2a09ec4.jpg","text":"TemporaryFile(/tmp/multipartBody9103579015693216041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741450293090,"filename":"image_08032025_17_10_35_10023.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/ddb45d8911f540923b92078f76f0005c.jpg","text":"TemporaryFile(/tmp/multipartBody2221664046908414999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741450293090,"filename":"image_08032025_17_10_25_10020.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/70985c3cc75c8005c972cec6bb85c984.jpg","text":"TemporaryFile(/tmp/multipartBody2428834234904646750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741450293090,"filename":"image_08032025_17_10_05_10022.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/231c799325fea988e13356189c4f5809.jpg","text":"TemporaryFile(/tmp/multipartBody8018746939285895719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741450293090,"filename":"image_08032025_17_09_55_10024.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/0af500fa9f9e69228319b623de669c71.jpg","text":"TemporaryFile(/tmp/multipartBody4180320607392799855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741450293090,"filename":"image_08032025_17_10_45_10022.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/f940d1c5eb2d1961291f675fe9f77d0f.jpg","text":"TemporaryFile(/tmp/multipartBody4868824852062661639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741450293090,"filename":"image_08032025_17_10_15_10027.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341931033","file1":"1341931030","file0":"1341931026","file4":"1341931041","file5":"1341931044","file3":"1341931037"},"map_files_photo_id_array":[{"photo_id":"1341931044","filename":"file5"},{"photo_id":"1341931033","filename":"file2"},{"photo_id":"1341931041","filename":"file4"},{"photo_id":"1341931030","filename":"file1"},{"photo_id":"1341931026","filename":"file0"},{"photo_id":"1341931037","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341931030":["hashtag1","hashtag2"]},{"1341931033":["hashtag1","hashtag2"]},{"1341931041":["hashtag1","hashtag2"]},{"1341931044":["hashtag1","hashtag2"]},{"1341931026":["hashtag1","hashtag2"]},{"1341931037":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341931030, 1341931033, 1341931041, 1341931044, 1341931026, 1341931037)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.16032695770264 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 17:11:32.613149
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/17/11/image_08032025_17_11_45_10023.jpg', 2), ('/home/nano/Desktop/images/08032025/17/11/image_08032025_17_11_35_10013.jpg', 2), ('/home/nano/Desktop/images/08032025/17/11/image_08032025_17_11_25_10021.jpg', 2), ('/home/nano/Desktop/images/08032025/17/11/image_08032025_17_11_15_10025.jpg', 2), ('/home/nano/Desktop/images/08032025/17/10/image_08032025_17_11_05_10035.jpg', 2), ('/home/nano/Desktop/images/08032025/17/10/image_08032025_17_10_55_10017.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/17/11/image_08032025_17_11_45_10023.jpg', '/home/nano/Desktop/images/08032025/17/11/image_08032025_17_11_35_10013.jpg', '/home/nano/Desktop/images/08032025/17/11/image_08032025_17_11_25_10021.jpg', '/home/nano/Desktop/images/08032025/17/11/image_08032025_17_11_15_10025.jpg', '/home/nano/Desktop/images/08032025/17/10/image_08032025_17_11_05_10035.jpg', '/home/nano/Desktop/images/08032025/17/10/image_08032025_17_10_55_10017.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/17/11/image_08032025_17_11_45_10023.jpg
/home/nano/Desktop/images/08032025/17/11/image_08032025_17_11_35_10013.jpg
/home/nano/Desktop/images/08032025/17/11/image_08032025_17_11_25_10021.jpg
/home/nano/Desktop/images/08032025/17/11/image_08032025_17_11_15_10025.jpg
/home/nano/Desktop/images/08032025/17/10/image_08032025_17_11_05_10035.jpg
/home/nano/Desktop/images/08032025/17/10/image_08032025_17_10_55_10017.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341931095","1341931104","1341931058","1341931112","1341931109","1341931063"],"photo_ids_order":["1341931058","1341931063","1341931095","1341931104","1341931109","1341931112"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/d573a27919e2e94a793c6a2326c1120e.jpg","text":"TemporaryFile(/tmp/multipartBody661421818679788245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741450353216,"filename":"image_08032025_17_11_25_10021.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/f68990302a78576bb3843dcbb810d904.jpg","text":"TemporaryFile(/tmp/multipartBody6899047308106366586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741450353216,"filename":"image_08032025_17_11_15_10025.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/4ee6de83d78d8b1dc8cffdad68a40100.jpg","text":"TemporaryFile(/tmp/multipartBody6924855070072318337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741450353216,"filename":"image_08032025_17_11_45_10023.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/e0ec4079f84bc1cd5b4f92b385edd973.jpg","text":"TemporaryFile(/tmp/multipartBody2466685538728073733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741450353216,"filename":"image_08032025_17_10_55_10017.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/9a92f9078764e2a1b3c700b0c1f008a7.jpg","text":"TemporaryFile(/tmp/multipartBody5556317127231517451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741450353216,"filename":"image_08032025_17_11_05_10035.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/a4e681e55b75670b81335c7e9cf0b9fb.jpg","text":"TemporaryFile(/tmp/multipartBody8053736221649469339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741450353216,"filename":"image_08032025_17_11_35_10013.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341931095","file1":"1341931063","file0":"1341931058","file4":"1341931109","file5":"1341931112","file3":"1341931104"},"map_files_photo_id_array":[{"photo_id":"1341931112","filename":"file5"},{"photo_id":"1341931095","filename":"file2"},{"photo_id":"1341931109","filename":"file4"},{"photo_id":"1341931063","filename":"file1"},{"photo_id":"1341931058","filename":"file0"},{"photo_id":"1341931104","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341931095":["hashtag1","hashtag2"]},{"1341931104":["hashtag1","hashtag2"]},{"1341931058":["hashtag1","hashtag2"]},{"1341931112":["hashtag1","hashtag2"]},{"1341931109":["hashtag1","hashtag2"]},{"1341931063":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341931095, 1341931104, 1341931058, 1341931112, 1341931109, 1341931063)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.89562368392944 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 17:12:32.715139
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/17/12/image_08032025_17_12_45_10024.jpg', 2), ('/home/nano/Desktop/images/08032025/17/12/image_08032025_17_12_35_10029.jpg', 2), ('/home/nano/Desktop/images/08032025/17/12/image_08032025_17_12_25_10018.jpg', 2), ('/home/nano/Desktop/images/08032025/17/12/image_08032025_17_12_15_10015.jpg', 2), ('/home/nano/Desktop/images/08032025/17/11/image_08032025_17_12_05_10060.jpg', 2), ('/home/nano/Desktop/images/08032025/17/11/image_08032025_17_11_55_10046.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/17/12/image_08032025_17_12_45_10024.jpg', '/home/nano/Desktop/images/08032025/17/12/image_08032025_17_12_35_10029.jpg', '/home/nano/Desktop/images/08032025/17/12/image_08032025_17_12_25_10018.jpg', '/home/nano/Desktop/images/08032025/17/12/image_08032025_17_12_15_10015.jpg', '/home/nano/Desktop/images/08032025/17/11/image_08032025_17_12_05_10060.jpg', '/home/nano/Desktop/images/08032025/17/11/image_08032025_17_11_55_10046.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/17/12/image_08032025_17_12_45_10024.jpg
/home/nano/Desktop/images/08032025/17/12/image_08032025_17_12_35_10029.jpg
/home/nano/Desktop/images/08032025/17/12/image_08032025_17_12_25_10018.jpg
/home/nano/Desktop/images/08032025/17/12/image_08032025_17_12_15_10015.jpg
/home/nano/Desktop/images/08032025/17/11/image_08032025_17_12_05_10060.jpg
/home/nano/Desktop/images/08032025/17/11/image_08032025_17_11_55_10046.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341931159","1341931142","1341931145","1341931148","1341931136","1341931162"],"photo_ids_order":["1341931136","1341931142","1341931145","1341931148","1341931159","1341931162"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/0b187c184017013425bd7be2c342540f.jpg","text":"TemporaryFile(/tmp/multipartBody6931198402370875282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741450413332,"filename":"image_08032025_17_12_05_10060.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/2ac308e9d0c1e5493df00ed7457a7022.jpg","text":"TemporaryFile(/tmp/multipartBody1829875578898808209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741450413332,"filename":"image_08032025_17_12_35_10029.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/88ccf81d5b1c4a40ea9ac0010f6d7503.jpg","text":"TemporaryFile(/tmp/multipartBody5358525440275978323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741450413332,"filename":"image_08032025_17_12_25_10018.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/8d796edc381dc6b8055bc9206bb214e6.jpg","text":"TemporaryFile(/tmp/multipartBody8248534328599933584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741450413332,"filename":"image_08032025_17_12_15_10015.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/c26c1ab1e2b0aeae3c44ec12e6e87536.jpg","text":"TemporaryFile(/tmp/multipartBody8243617079209229680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741450413332,"filename":"image_08032025_17_12_45_10024.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/2e57dc5e5f66d06e206b4ab251ca3741.jpg","text":"TemporaryFile(/tmp/multipartBody976135942616749416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741450413332,"filename":"image_08032025_17_11_55_10046.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341931145","file1":"1341931142","file0":"1341931136","file4":"1341931159","file5":"1341931162","file3":"1341931148"},"map_files_photo_id_array":[{"photo_id":"1341931162","filename":"file5"},{"photo_id":"1341931145","filename":"file2"},{"photo_id":"1341931159","filename":"file4"},{"photo_id":"1341931142","filename":"file1"},{"photo_id":"1341931136","filename":"file0"},{"photo_id":"1341931148","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341931159":["hashtag1","hashtag2"]},{"1341931142":["hashtag1","hashtag2"]},{"1341931145":["hashtag1","hashtag2"]},{"1341931148":["hashtag1","hashtag2"]},{"1341931136":["hashtag1","hashtag2"]},{"1341931162":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341931159, 1341931142, 1341931145, 1341931148, 1341931136, 1341931162)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.32864475250244 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 17:13:31.807329
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/17/13/image_08032025_17_13_46_10027.jpg', 2), ('/home/nano/Desktop/images/08032025/17/13/image_08032025_17_13_36_10028.jpg', 2), ('/home/nano/Desktop/images/08032025/17/13/image_08032025_17_13_25_10051.jpg', 2), ('/home/nano/Desktop/images/08032025/17/13/image_08032025_17_13_15_10025.jpg', 2), ('/home/nano/Desktop/images/08032025/17/12/image_08032025_17_13_05_10038.jpg', 2), ('/home/nano/Desktop/images/08032025/17/12/image_08032025_17_12_55_10025.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/17/13/image_08032025_17_13_46_10027.jpg', '/home/nano/Desktop/images/08032025/17/13/image_08032025_17_13_36_10028.jpg', '/home/nano/Desktop/images/08032025/17/13/image_08032025_17_13_25_10051.jpg', '/home/nano/Desktop/images/08032025/17/13/image_08032025_17_13_15_10025.jpg', '/home/nano/Desktop/images/08032025/17/12/image_08032025_17_13_05_10038.jpg', '/home/nano/Desktop/images/08032025/17/12/image_08032025_17_12_55_10025.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/17/13/image_08032025_17_13_46_10027.jpg
/home/nano/Desktop/images/08032025/17/13/image_08032025_17_13_36_10028.jpg
/home/nano/Desktop/images/08032025/17/13/image_08032025_17_13_25_10051.jpg
/home/nano/Desktop/images/08032025/17/13/image_08032025_17_13_15_10025.jpg
/home/nano/Desktop/images/08032025/17/12/image_08032025_17_13_05_10038.jpg
/home/nano/Desktop/images/08032025/17/12/image_08032025_17_12_55_10025.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341931237","1341931222","1341931233","1341931209","1341931211","1341931217"],"photo_ids_order":["1341931209","1341931211","1341931217","1341931222","1341931233","1341931237"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/33c1e4cf0c205dccf8a1cffbade2df29.jpg","text":"TemporaryFile(/tmp/multipartBody2278620372254376906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741450472413,"filename":"image_08032025_17_12_55_10025.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/eaeef860274acd747b57b889fa65c484.jpg","text":"TemporaryFile(/tmp/multipartBody6513709673048873867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741450472413,"filename":"image_08032025_17_13_15_10025.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/8167b7700f7640de8f021486545ded14.jpg","text":"TemporaryFile(/tmp/multipartBody2719620734333961822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741450472413,"filename":"image_08032025_17_13_05_10038.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/b59de983c64f1d2d5693ae34d9ecce9b.jpg","text":"TemporaryFile(/tmp/multipartBody2438616638610408836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741450472413,"filename":"image_08032025_17_13_46_10027.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/1134f71dcaed23785aa167aabbebb7b0.jpg","text":"TemporaryFile(/tmp/multipartBody4690906953848617233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741450472413,"filename":"image_08032025_17_13_36_10028.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/4efc2688a8ac4f30738fd54d89473fb9.jpg","text":"TemporaryFile(/tmp/multipartBody9158645133412782807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741450472413,"filename":"image_08032025_17_13_25_10051.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341931217","file1":"1341931211","file0":"1341931209","file4":"1341931233","file5":"1341931237","file3":"1341931222"},"map_files_photo_id_array":[{"photo_id":"1341931237","filename":"file5"},{"photo_id":"1341931217","filename":"file2"},{"photo_id":"1341931233","filename":"file4"},{"photo_id":"1341931211","filename":"file1"},{"photo_id":"1341931209","filename":"file0"},{"photo_id":"1341931222","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341931237":["hashtag1","hashtag2"]},{"1341931222":["hashtag1","hashtag2"]},{"1341931233":["hashtag1","hashtag2"]},{"1341931209":["hashtag1","hashtag2"]},{"1341931211":["hashtag1","hashtag2"]},{"1341931217":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341931237, 1341931222, 1341931233, 1341931209, 1341931211, 1341931217)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.36296558380127 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 17:14:31.911878
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/17/14/image_08032025_17_14_45_10016.jpg', 2), ('/home/nano/Desktop/images/08032025/17/14/image_08032025_17_14_35_10023.jpg', 2), ('/home/nano/Desktop/images/08032025/17/14/image_08032025_17_14_25_10030.jpg', 2), ('/home/nano/Desktop/images/08032025/17/14/image_08032025_17_14_15_10014.jpg', 2), ('/home/nano/Desktop/images/08032025/17/13/image_08032025_17_14_05_9035.jpg', 2), ('/home/nano/Desktop/images/08032025/17/13/image_08032025_17_13_56_10023.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/17/14/image_08032025_17_14_45_10016.jpg', '/home/nano/Desktop/images/08032025/17/14/image_08032025_17_14_35_10023.jpg', '/home/nano/Desktop/images/08032025/17/14/image_08032025_17_14_25_10030.jpg', '/home/nano/Desktop/images/08032025/17/14/image_08032025_17_14_15_10014.jpg', '/home/nano/Desktop/images/08032025/17/13/image_08032025_17_14_05_9035.jpg', '/home/nano/Desktop/images/08032025/17/13/image_08032025_17_13_56_10023.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/17/14/image_08032025_17_14_45_10016.jpg
/home/nano/Desktop/images/08032025/17/14/image_08032025_17_14_35_10023.jpg
/home/nano/Desktop/images/08032025/17/14/image_08032025_17_14_25_10030.jpg
/home/nano/Desktop/images/08032025/17/14/image_08032025_17_14_15_10014.jpg
/home/nano/Desktop/images/08032025/17/13/image_08032025_17_14_05_9035.jpg
/home/nano/Desktop/images/08032025/17/13/image_08032025_17_13_56_10023.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341931306","1341931299","1341931287","1341931292","1341931283","1341931277"],"photo_ids_order":["1341931277","1341931283","1341931287","1341931292","1341931299","1341931306"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/397c013197e39ba7d4920cc4838fe2c3.jpg","text":"TemporaryFile(/tmp/multipartBody7037701801650274655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741450532477,"filename":"image_08032025_17_13_56_10023.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/c3479423bf2740d960bf0b31ed05551e.jpg","text":"TemporaryFile(/tmp/multipartBody6968104957445997082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741450532477,"filename":"image_08032025_17_14_05_9035.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/3567ca6ef61734cc8f7ab332b87f1a33.jpg","text":"TemporaryFile(/tmp/multipartBody278434551431060620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741450532477,"filename":"image_08032025_17_14_25_10030.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/9c93053cff457f0e81a4ca8ada149530.jpg","text":"TemporaryFile(/tmp/multipartBody6638411322490174450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741450532477,"filename":"image_08032025_17_14_15_10014.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/1799689188bd61dfc44e2217c91624d6.jpg","text":"TemporaryFile(/tmp/multipartBody8205446411588647064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741450532477,"filename":"image_08032025_17_14_35_10023.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/8d93076400a1c107befa1c1a96aa7331.jpg","text":"TemporaryFile(/tmp/multipartBody6706107038753106490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741450532477,"filename":"image_08032025_17_14_45_10016.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341931287","file1":"1341931283","file0":"1341931277","file4":"1341931299","file5":"1341931306","file3":"1341931292"},"map_files_photo_id_array":[{"photo_id":"1341931306","filename":"file5"},{"photo_id":"1341931287","filename":"file2"},{"photo_id":"1341931299","filename":"file4"},{"photo_id":"1341931283","filename":"file1"},{"photo_id":"1341931277","filename":"file0"},{"photo_id":"1341931292","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341931306":["hashtag1","hashtag2"]},{"1341931299":["hashtag1","hashtag2"]},{"1341931287":["hashtag1","hashtag2"]},{"1341931292":["hashtag1","hashtag2"]},{"1341931283":["hashtag1","hashtag2"]},{"1341931277":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341931306, 1341931299, 1341931287, 1341931292, 1341931283, 1341931277)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.400845527648926 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 17:15:32.018447
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/17/15/image_08032025_17_15_45_10004.jpg', 2), ('/home/nano/Desktop/images/08032025/17/15/image_08032025_17_15_35_10006.jpg', 2), ('/home/nano/Desktop/images/08032025/17/15/image_08032025_17_15_25_10006.jpg', 2), ('/home/nano/Desktop/images/08032025/17/15/image_08032025_17_15_15_10005.jpg', 2), ('/home/nano/Desktop/images/08032025/17/14/image_08032025_17_15_05_10011.jpg', 2), ('/home/nano/Desktop/images/08032025/17/14/image_08032025_17_14_55_10040.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/17/15/image_08032025_17_15_45_10004.jpg', '/home/nano/Desktop/images/08032025/17/15/image_08032025_17_15_35_10006.jpg', '/home/nano/Desktop/images/08032025/17/15/image_08032025_17_15_25_10006.jpg', '/home/nano/Desktop/images/08032025/17/15/image_08032025_17_15_15_10005.jpg', '/home/nano/Desktop/images/08032025/17/14/image_08032025_17_15_05_10011.jpg', '/home/nano/Desktop/images/08032025/17/14/image_08032025_17_14_55_10040.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/17/15/image_08032025_17_15_45_10004.jpg
/home/nano/Desktop/images/08032025/17/15/image_08032025_17_15_35_10006.jpg
/home/nano/Desktop/images/08032025/17/15/image_08032025_17_15_25_10006.jpg
/home/nano/Desktop/images/08032025/17/15/image_08032025_17_15_15_10005.jpg
/home/nano/Desktop/images/08032025/17/14/image_08032025_17_15_05_10011.jpg
/home/nano/Desktop/images/08032025/17/14/image_08032025_17_14_55_10040.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341931414","1341931405","1341931386","1341931410","1341931422","1341931418"],"photo_ids_order":["1341931386","1341931405","1341931410","1341931414","1341931418","1341931422"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/dbf941eebadc3ba15f4d41d53b089340.jpg","text":"TemporaryFile(/tmp/multipartBody3619618458000139937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741450592599,"filename":"image_08032025_17_15_15_10005.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/5dbf75f0b06808765de0f6cb749d4e6e.jpg","text":"TemporaryFile(/tmp/multipartBody931740243877943831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741450592599,"filename":"image_08032025_17_15_35_10006.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/cd3878385eba93ad4379ca75b5a5618a.jpg","text":"TemporaryFile(/tmp/multipartBody3778827422769797212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741450592599,"filename":"image_08032025_17_15_45_10004.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/5374fdf9c66e80ef14190f38c30987f5.jpg","text":"TemporaryFile(/tmp/multipartBody2909653115583693759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741450592599,"filename":"image_08032025_17_15_25_10006.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/75147bb3329d048826b4ace7e03b347b.jpg","text":"TemporaryFile(/tmp/multipartBody3949966597681925426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741450592599,"filename":"image_08032025_17_14_55_10040.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/dafcff0741990c254a1ef0b1df58b346.jpg","text":"TemporaryFile(/tmp/multipartBody6456379059403742804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741450592599,"filename":"image_08032025_17_15_05_10011.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341931410","file1":"1341931405","file0":"1341931386","file4":"1341931418","file5":"1341931422","file3":"1341931414"},"map_files_photo_id_array":[{"photo_id":"1341931422","filename":"file5"},{"photo_id":"1341931410","filename":"file2"},{"photo_id":"1341931418","filename":"file4"},{"photo_id":"1341931405","filename":"file1"},{"photo_id":"1341931386","filename":"file0"},{"photo_id":"1341931414","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341931414":["hashtag1","hashtag2"]},{"1341931405":["hashtag1","hashtag2"]},{"1341931386":["hashtag1","hashtag2"]},{"1341931410":["hashtag1","hashtag2"]},{"1341931422":["hashtag1","hashtag2"]},{"1341931418":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341931414, 1341931405, 1341931386, 1341931410, 1341931422, 1341931418)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.78245997428894 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 17:16:32.130820
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/17/16/image_08032025_17_16_45_10027.jpg', 2), ('/home/nano/Desktop/images/08032025/17/16/image_08032025_17_16_35_10024.jpg', 2), ('/home/nano/Desktop/images/08032025/17/16/image_08032025_17_16_25_9994.jpg', 2), ('/home/nano/Desktop/images/08032025/17/16/image_08032025_17_16_15_10018.jpg', 2), ('/home/nano/Desktop/images/08032025/17/15/image_08032025_17_16_05_10032.jpg', 2), ('/home/nano/Desktop/images/08032025/17/15/image_08032025_17_15_55_10003.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/17/16/image_08032025_17_16_45_10027.jpg', '/home/nano/Desktop/images/08032025/17/16/image_08032025_17_16_35_10024.jpg', '/home/nano/Desktop/images/08032025/17/16/image_08032025_17_16_25_9994.jpg', '/home/nano/Desktop/images/08032025/17/16/image_08032025_17_16_15_10018.jpg', '/home/nano/Desktop/images/08032025/17/15/image_08032025_17_16_05_10032.jpg', '/home/nano/Desktop/images/08032025/17/15/image_08032025_17_15_55_10003.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/17/16/image_08032025_17_16_45_10027.jpg
/home/nano/Desktop/images/08032025/17/16/image_08032025_17_16_35_10024.jpg
/home/nano/Desktop/images/08032025/17/16/image_08032025_17_16_25_9994.jpg
/home/nano/Desktop/images/08032025/17/16/image_08032025_17_16_15_10018.jpg
/home/nano/Desktop/images/08032025/17/15/image_08032025_17_16_05_10032.jpg
/home/nano/Desktop/images/08032025/17/15/image_08032025_17_15_55_10003.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341931752","1341931662","1341931679","1341931670","1341931675","1341931666"],"photo_ids_order":["1341931662","1341931666","1341931670","1341931675","1341931679","1341931752"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/cfcca4684a8d5d6e6b707cb16adafe83.jpg","text":"TemporaryFile(/tmp/multipartBody1462100885788118143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741450652748,"filename":"image_08032025_17_15_55_10003.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/ed6399112c27554e0da423b848c9dc84.jpg","text":"TemporaryFile(/tmp/multipartBody9027405377313197787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741450652748,"filename":"image_08032025_17_16_45_10027.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/f9236aa6cc44f438b6694dc67f9bf26d.jpg","text":"TemporaryFile(/tmp/multipartBody790237961498924503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741450652748,"filename":"image_08032025_17_16_05_10032.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/4a7fe6b39e855e43dd2883d39a5d5f9c.jpg","text":"TemporaryFile(/tmp/multipartBody796470411110908189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741450652748,"filename":"image_08032025_17_16_25_9994.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/7cc2ebc4536c2c751d83be07ca13cd58.jpg","text":"TemporaryFile(/tmp/multipartBody5183211787185725911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741450652748,"filename":"image_08032025_17_16_15_10018.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/6c82f5d8f67a23b78b0ce73f39712592.jpg","text":"TemporaryFile(/tmp/multipartBody3953328472419229793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741450652748,"filename":"image_08032025_17_16_35_10024.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341931670","file1":"1341931666","file0":"1341931662","file4":"1341931679","file5":"1341931752","file3":"1341931675"},"map_files_photo_id_array":[{"photo_id":"1341931752","filename":"file5"},{"photo_id":"1341931670","filename":"file2"},{"photo_id":"1341931679","filename":"file4"},{"photo_id":"1341931666","filename":"file1"},{"photo_id":"1341931662","filename":"file0"},{"photo_id":"1341931675","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341931752":["hashtag1","hashtag2"]},{"1341931662":["hashtag1","hashtag2"]},{"1341931679":["hashtag1","hashtag2"]},{"1341931670":["hashtag1","hashtag2"]},{"1341931675":["hashtag1","hashtag2"]},{"1341931666":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341931752, 1341931662, 1341931679, 1341931670, 1341931675, 1341931666)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.903356313705444 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 17:17:32.229002
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/17/17/image_08032025_17_17_45_10026.jpg', 2), ('/home/nano/Desktop/images/08032025/17/17/image_08032025_17_17_35_10029.jpg', 2), ('/home/nano/Desktop/images/08032025/17/17/image_08032025_17_17_25_10040.jpg', 2), ('/home/nano/Desktop/images/08032025/17/17/image_08032025_17_17_15_10029.jpg', 2), ('/home/nano/Desktop/images/08032025/17/16/image_08032025_17_17_05_10067.jpg', 2), ('/home/nano/Desktop/images/08032025/17/16/image_08032025_17_16_55_10022.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/17/17/image_08032025_17_17_45_10026.jpg', '/home/nano/Desktop/images/08032025/17/17/image_08032025_17_17_35_10029.jpg', '/home/nano/Desktop/images/08032025/17/17/image_08032025_17_17_25_10040.jpg', '/home/nano/Desktop/images/08032025/17/17/image_08032025_17_17_15_10029.jpg', '/home/nano/Desktop/images/08032025/17/16/image_08032025_17_17_05_10067.jpg', '/home/nano/Desktop/images/08032025/17/16/image_08032025_17_16_55_10022.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/17/17/image_08032025_17_17_45_10026.jpg
/home/nano/Desktop/images/08032025/17/17/image_08032025_17_17_35_10029.jpg
/home/nano/Desktop/images/08032025/17/17/image_08032025_17_17_25_10040.jpg
/home/nano/Desktop/images/08032025/17/17/image_08032025_17_17_15_10029.jpg
/home/nano/Desktop/images/08032025/17/16/image_08032025_17_17_05_10067.jpg
/home/nano/Desktop/images/08032025/17/16/image_08032025_17_16_55_10022.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341931845","1341931841","1341931867","1341931861","1341931849","1341931837"],"photo_ids_order":["1341931837","1341931841","1341931845","1341931849","1341931861","1341931867"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/6490427b4dfcbf5788b974123621c3b4.jpg","text":"TemporaryFile(/tmp/multipartBody7001959211549472184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741450712804,"filename":"image_08032025_17_17_25_10040.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/f8a00cb9812fdda77b5b5bb0549f2bb2.jpg","text":"TemporaryFile(/tmp/multipartBody11677082624731550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741450712804,"filename":"image_08032025_17_17_35_10029.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/8cbf402686bb38486ec5737b348a13ba.jpg","text":"TemporaryFile(/tmp/multipartBody1632392211533847543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741450712804,"filename":"image_08032025_17_16_55_10022.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/2652e1807a377c46be59a067f7de90fa.jpg","text":"TemporaryFile(/tmp/multipartBody3027444722072093196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741450712804,"filename":"image_08032025_17_17_05_10067.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/6fcac7f37dd4cf0caaa9d8bcfe4e3415.jpg","text":"TemporaryFile(/tmp/multipartBody3444831640557834922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741450712804,"filename":"image_08032025_17_17_15_10029.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/d10dd81cf21ad0148b0f1f33d5ba390d.jpg","text":"TemporaryFile(/tmp/multipartBody7156677794199744229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741450712804,"filename":"image_08032025_17_17_45_10026.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341931845","file1":"1341931841","file0":"1341931837","file4":"1341931861","file5":"1341931867","file3":"1341931849"},"map_files_photo_id_array":[{"photo_id":"1341931867","filename":"file5"},{"photo_id":"1341931845","filename":"file2"},{"photo_id":"1341931861","filename":"file4"},{"photo_id":"1341931841","filename":"file1"},{"photo_id":"1341931837","filename":"file0"},{"photo_id":"1341931849","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341931845":["hashtag1","hashtag2"]},{"1341931841":["hashtag1","hashtag2"]},{"1341931867":["hashtag1","hashtag2"]},{"1341931861":["hashtag1","hashtag2"]},{"1341931849":["hashtag1","hashtag2"]},{"1341931837":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341931845, 1341931841, 1341931867, 1341931861, 1341931849, 1341931837)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.310819149017334 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 17:18:32.316480
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/17/18/image_08032025_17_18_45_10052.jpg', 2), ('/home/nano/Desktop/images/08032025/17/18/image_08032025_17_18_35_10026.jpg', 2), ('/home/nano/Desktop/images/08032025/17/18/image_08032025_17_18_25_10022.jpg', 2), ('/home/nano/Desktop/images/08032025/17/18/image_08032025_17_18_15_10056.jpg', 2), ('/home/nano/Desktop/images/08032025/17/17/image_08032025_17_18_05_10066.jpg', 2), ('/home/nano/Desktop/images/08032025/17/17/image_08032025_17_17_55_10027.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/17/18/image_08032025_17_18_45_10052.jpg', '/home/nano/Desktop/images/08032025/17/18/image_08032025_17_18_35_10026.jpg', '/home/nano/Desktop/images/08032025/17/18/image_08032025_17_18_25_10022.jpg', '/home/nano/Desktop/images/08032025/17/18/image_08032025_17_18_15_10056.jpg', '/home/nano/Desktop/images/08032025/17/17/image_08032025_17_18_05_10066.jpg', '/home/nano/Desktop/images/08032025/17/17/image_08032025_17_17_55_10027.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/17/18/image_08032025_17_18_45_10052.jpg
/home/nano/Desktop/images/08032025/17/18/image_08032025_17_18_35_10026.jpg
/home/nano/Desktop/images/08032025/17/18/image_08032025_17_18_25_10022.jpg
/home/nano/Desktop/images/08032025/17/18/image_08032025_17_18_15_10056.jpg
/home/nano/Desktop/images/08032025/17/17/image_08032025_17_18_05_10066.jpg
/home/nano/Desktop/images/08032025/17/17/image_08032025_17_17_55_10027.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341931930","1341931884","1341931878","1341931905","1341931895","1341931901"],"photo_ids_order":["1341931878","1341931884","1341931895","1341931901","1341931905","1341931930"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/eb828f9d71968d249b36a1e7052c0134.jpg","text":"TemporaryFile(/tmp/multipartBody263037343959294886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741450772855,"filename":"image_08032025_17_17_55_10027.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/8c5ead297c6e734f76dbbb3e136fd93d.jpg","text":"TemporaryFile(/tmp/multipartBody1448708298832949356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741450772855,"filename":"image_08032025_17_18_35_10026.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/c05f37f5ad354b34764e11591d141582.jpg","text":"TemporaryFile(/tmp/multipartBody1622805198650512142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741450772855,"filename":"image_08032025_17_18_45_10052.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/37e2e4acd3cc4ab2727079aabee88453.jpg","text":"TemporaryFile(/tmp/multipartBody933544698925300301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741450772855,"filename":"image_08032025_17_18_05_10066.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/53b5d6a4cdadfe6cbc86ce6be4f8ee3c.jpg","text":"TemporaryFile(/tmp/multipartBody9082571370603069197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741450772855,"filename":"image_08032025_17_18_25_10022.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/b5f2f816fdb40c3ee4213c3f5b252b0d.jpg","text":"TemporaryFile(/tmp/multipartBody4181270301433626541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741450772855,"filename":"image_08032025_17_18_15_10056.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341931895","file1":"1341931884","file0":"1341931878","file4":"1341931905","file5":"1341931930","file3":"1341931901"},"map_files_photo_id_array":[{"photo_id":"1341931930","filename":"file5"},{"photo_id":"1341931895","filename":"file2"},{"photo_id":"1341931905","filename":"file4"},{"photo_id":"1341931884","filename":"file1"},{"photo_id":"1341931878","filename":"file0"},{"photo_id":"1341931901","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341931930":["hashtag1","hashtag2"]},{"1341931884":["hashtag1","hashtag2"]},{"1341931878":["hashtag1","hashtag2"]},{"1341931905":["hashtag1","hashtag2"]},{"1341931895":["hashtag1","hashtag2"]},{"1341931901":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341931930, 1341931884, 1341931878, 1341931905, 1341931895, 1341931901)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.91810846328735 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 17:19:32.422473
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/17/19/image_08032025_17_19_45_10022.jpg', 2), ('/home/nano/Desktop/images/08032025/17/19/image_08032025_17_19_35_10044.jpg', 2), ('/home/nano/Desktop/images/08032025/17/19/image_08032025_17_19_25_10018.jpg', 2), ('/home/nano/Desktop/images/08032025/17/19/image_08032025_17_19_15_10025.jpg', 2), ('/home/nano/Desktop/images/08032025/17/18/image_08032025_17_19_05_10027.jpg', 2), ('/home/nano/Desktop/images/08032025/17/18/image_08032025_17_18_55_10023.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/17/19/image_08032025_17_19_45_10022.jpg', '/home/nano/Desktop/images/08032025/17/19/image_08032025_17_19_35_10044.jpg', '/home/nano/Desktop/images/08032025/17/19/image_08032025_17_19_25_10018.jpg', '/home/nano/Desktop/images/08032025/17/19/image_08032025_17_19_15_10025.jpg', '/home/nano/Desktop/images/08032025/17/18/image_08032025_17_19_05_10027.jpg', '/home/nano/Desktop/images/08032025/17/18/image_08032025_17_18_55_10023.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/17/19/image_08032025_17_19_45_10022.jpg
/home/nano/Desktop/images/08032025/17/19/image_08032025_17_19_35_10044.jpg
/home/nano/Desktop/images/08032025/17/19/image_08032025_17_19_25_10018.jpg
/home/nano/Desktop/images/08032025/17/19/image_08032025_17_19_15_10025.jpg
/home/nano/Desktop/images/08032025/17/18/image_08032025_17_19_05_10027.jpg
/home/nano/Desktop/images/08032025/17/18/image_08032025_17_18_55_10023.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341932069","1341932042","1341932071","1341932074","1341932056","1341932038"],"photo_ids_order":["1341932038","1341932042","1341932056","1341932069","1341932071","1341932074"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/9305635f453229cc18a46b3d6a16f522.jpg","text":"TemporaryFile(/tmp/multipartBody2872676732411437745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741450832868,"filename":"image_08032025_17_19_15_10025.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/f058afc02997bf9f9c6a07ebfd5be8bb.jpg","text":"TemporaryFile(/tmp/multipartBody5488152923261019426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741450832868,"filename":"image_08032025_17_19_35_10044.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/0b92ba127d0af7f2d4b2797b9ea92c71.jpg","text":"TemporaryFile(/tmp/multipartBody7804697014044265253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741450832868,"filename":"image_08032025_17_19_05_10027.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/91455f627375d001162c36488742db4d.jpg","text":"TemporaryFile(/tmp/multipartBody3492613943214137140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741450832868,"filename":"image_08032025_17_18_55_10023.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/f827dd96d05e46880782194039c9c197.jpg","text":"TemporaryFile(/tmp/multipartBody4598857908613338176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741450832868,"filename":"image_08032025_17_19_25_10018.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/5150b0d308cad189dbc4da91fdb0a15c.jpg","text":"TemporaryFile(/tmp/multipartBody8245290920336688285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741450832868,"filename":"image_08032025_17_19_45_10022.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341932056","file1":"1341932042","file0":"1341932038","file4":"1341932071","file5":"1341932074","file3":"1341932069"},"map_files_photo_id_array":[{"photo_id":"1341932074","filename":"file5"},{"photo_id":"1341932056","filename":"file2"},{"photo_id":"1341932071","filename":"file4"},{"photo_id":"1341932042","filename":"file1"},{"photo_id":"1341932038","filename":"file0"},{"photo_id":"1341932069","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341932069":["hashtag1","hashtag2"]},{"1341932042":["hashtag1","hashtag2"]},{"1341932071":["hashtag1","hashtag2"]},{"1341932074":["hashtag1","hashtag2"]},{"1341932056":["hashtag1","hashtag2"]},{"1341932038":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341932069, 1341932042, 1341932071, 1341932074, 1341932056, 1341932038)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.89387130737305 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 17:20:32.530901
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/17/20/image_08032025_17_20_45_10051.jpg', 2), ('/home/nano/Desktop/images/08032025/17/20/image_08032025_17_20_35_10046.jpg', 2), ('/home/nano/Desktop/images/08032025/17/20/image_08032025_17_20_25_10049.jpg', 2), ('/home/nano/Desktop/images/08032025/17/20/image_08032025_17_20_15_9043.jpg', 2), ('/home/nano/Desktop/images/08032025/17/19/image_08032025_17_20_06_10058.jpg', 2), ('/home/nano/Desktop/images/08032025/17/19/image_08032025_17_19_56_10022.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/17/20/image_08032025_17_20_45_10051.jpg', '/home/nano/Desktop/images/08032025/17/20/image_08032025_17_20_35_10046.jpg', '/home/nano/Desktop/images/08032025/17/20/image_08032025_17_20_25_10049.jpg', '/home/nano/Desktop/images/08032025/17/20/image_08032025_17_20_15_9043.jpg', '/home/nano/Desktop/images/08032025/17/19/image_08032025_17_20_06_10058.jpg', '/home/nano/Desktop/images/08032025/17/19/image_08032025_17_19_56_10022.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/17/20/image_08032025_17_20_45_10051.jpg
/home/nano/Desktop/images/08032025/17/20/image_08032025_17_20_35_10046.jpg
/home/nano/Desktop/images/08032025/17/20/image_08032025_17_20_25_10049.jpg
/home/nano/Desktop/images/08032025/17/20/image_08032025_17_20_15_9043.jpg
/home/nano/Desktop/images/08032025/17/19/image_08032025_17_20_06_10058.jpg
/home/nano/Desktop/images/08032025/17/19/image_08032025_17_19_56_10022.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341932178","1341932232","1341932180","1341932240","1341932264","1341932187"],"photo_ids_order":["1341932178","1341932180","1341932187","1341932232","1341932240","1341932264"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/d310cbf198c3d8de20fc5fc1a63d5f9a.jpg","text":"TemporaryFile(/tmp/multipartBody1070325499792375494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741450892991,"filename":"image_08032025_17_20_45_10051.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/a2f72ae54da6edf65cd11cf5e105816d.jpg","text":"TemporaryFile(/tmp/multipartBody3107988080754141512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741450892991,"filename":"image_08032025_17_20_15_9043.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/130edcc36397fc29167cd98dafc7d181.jpg","text":"TemporaryFile(/tmp/multipartBody9058038743610219738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741450892991,"filename":"image_08032025_17_20_35_10046.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/bfbe3ad94790ec61cc46a1cc1665dc1e.jpg","text":"TemporaryFile(/tmp/multipartBody3248925454268763863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741450892991,"filename":"image_08032025_17_20_06_10058.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/db388ea9e593134c713929893a773d0b.jpg","text":"TemporaryFile(/tmp/multipartBody1645817800900826288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741450892991,"filename":"image_08032025_17_19_56_10022.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/8948166249f9b96802eb75c7da97f7fb.jpg","text":"TemporaryFile(/tmp/multipartBody4410032231089370579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741450892991,"filename":"image_08032025_17_20_25_10049.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341932187","file1":"1341932180","file0":"1341932178","file4":"1341932240","file5":"1341932264","file3":"1341932232"},"map_files_photo_id_array":[{"photo_id":"1341932264","filename":"file5"},{"photo_id":"1341932187","filename":"file2"},{"photo_id":"1341932240","filename":"file4"},{"photo_id":"1341932180","filename":"file1"},{"photo_id":"1341932178","filename":"file0"},{"photo_id":"1341932232","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341932178":["hashtag1","hashtag2"]},{"1341932232":["hashtag1","hashtag2"]},{"1341932180":["hashtag1","hashtag2"]},{"1341932240":["hashtag1","hashtag2"]},{"1341932264":["hashtag1","hashtag2"]},{"1341932187":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341932178, 1341932232, 1341932180, 1341932240, 1341932264, 1341932187)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.952786922454834 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 17:21:32.659828
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/17/21/image_08032025_17_21_45_10045.jpg', 2), ('/home/nano/Desktop/images/08032025/17/21/image_08032025_17_21_35_10045.jpg', 2), ('/home/nano/Desktop/images/08032025/17/21/image_08032025_17_21_25_10063.jpg', 2), ('/home/nano/Desktop/images/08032025/17/21/image_08032025_17_21_15_10052.jpg', 2), ('/home/nano/Desktop/images/08032025/17/20/image_08032025_17_21_05_10069.jpg', 2), ('/home/nano/Desktop/images/08032025/17/20/image_08032025_17_20_55_10050.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/17/21/image_08032025_17_21_45_10045.jpg', '/home/nano/Desktop/images/08032025/17/21/image_08032025_17_21_35_10045.jpg', '/home/nano/Desktop/images/08032025/17/21/image_08032025_17_21_25_10063.jpg', '/home/nano/Desktop/images/08032025/17/21/image_08032025_17_21_15_10052.jpg', '/home/nano/Desktop/images/08032025/17/20/image_08032025_17_21_05_10069.jpg', '/home/nano/Desktop/images/08032025/17/20/image_08032025_17_20_55_10050.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/17/21/image_08032025_17_21_45_10045.jpg
/home/nano/Desktop/images/08032025/17/21/image_08032025_17_21_35_10045.jpg
/home/nano/Desktop/images/08032025/17/21/image_08032025_17_21_25_10063.jpg
/home/nano/Desktop/images/08032025/17/21/image_08032025_17_21_15_10052.jpg
/home/nano/Desktop/images/08032025/17/20/image_08032025_17_21_05_10069.jpg
/home/nano/Desktop/images/08032025/17/20/image_08032025_17_20_55_10050.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341932358","1341932396","1341932400","1341932414","1341932386","1341932314"],"photo_ids_order":["1341932314","1341932358","1341932386","1341932396","1341932400","1341932414"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/b47ec134ef604b430918eec88eb06894.jpg","text":"TemporaryFile(/tmp/multipartBody3529939954505091212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741450953091,"filename":"image_08032025_17_21_35_10045.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/7e096f2ab6c4442b91fab7e18795bb45.jpg","text":"TemporaryFile(/tmp/multipartBody2154465367359798152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741450953091,"filename":"image_08032025_17_21_15_10052.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/4d4425e71496521a2803ebed82625d8e.jpg","text":"TemporaryFile(/tmp/multipartBody8943661305027016099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741450953091,"filename":"image_08032025_17_21_05_10069.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/f72a00a0da06a6077164c3a6589ab6fe.jpg","text":"TemporaryFile(/tmp/multipartBody1992374320297349829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741450953091,"filename":"image_08032025_17_20_55_10050.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/622c90268273e56904de3ff5c1b5f867.jpg","text":"TemporaryFile(/tmp/multipartBody5887923684755336318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741450953091,"filename":"image_08032025_17_21_25_10063.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/ab12058eddc06885f4ca653fe9a46eec.jpg","text":"TemporaryFile(/tmp/multipartBody1175296783501817196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741450953091,"filename":"image_08032025_17_21_45_10045.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341932386","file1":"1341932358","file0":"1341932314","file4":"1341932400","file5":"1341932414","file3":"1341932396"},"map_files_photo_id_array":[{"photo_id":"1341932414","filename":"file5"},{"photo_id":"1341932386","filename":"file2"},{"photo_id":"1341932400","filename":"file4"},{"photo_id":"1341932358","filename":"file1"},{"photo_id":"1341932314","filename":"file0"},{"photo_id":"1341932396","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341932358":["hashtag1","hashtag2"]},{"1341932396":["hashtag1","hashtag2"]},{"1341932400":["hashtag1","hashtag2"]},{"1341932414":["hashtag1","hashtag2"]},{"1341932386":["hashtag1","hashtag2"]},{"1341932314":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341932358, 1341932396, 1341932400, 1341932414, 1341932386, 1341932314)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.69945168495178 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 17:22:31.790374
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/17/22/image_08032025_17_22_45_10041.jpg', 2), ('/home/nano/Desktop/images/08032025/17/22/image_08032025_17_22_35_10043.jpg', 2), ('/home/nano/Desktop/images/08032025/17/22/image_08032025_17_22_25_10052.jpg', 2), ('/home/nano/Desktop/images/08032025/17/22/image_08032025_17_22_15_10083.jpg', 2), ('/home/nano/Desktop/images/08032025/17/21/image_08032025_17_22_05_10046.jpg', 2), ('/home/nano/Desktop/images/08032025/17/21/image_08032025_17_21_55_10047.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/17/22/image_08032025_17_22_45_10041.jpg', '/home/nano/Desktop/images/08032025/17/22/image_08032025_17_22_35_10043.jpg', '/home/nano/Desktop/images/08032025/17/22/image_08032025_17_22_25_10052.jpg', '/home/nano/Desktop/images/08032025/17/22/image_08032025_17_22_15_10083.jpg', '/home/nano/Desktop/images/08032025/17/21/image_08032025_17_22_05_10046.jpg', '/home/nano/Desktop/images/08032025/17/21/image_08032025_17_21_55_10047.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/17/22/image_08032025_17_22_45_10041.jpg
/home/nano/Desktop/images/08032025/17/22/image_08032025_17_22_35_10043.jpg
/home/nano/Desktop/images/08032025/17/22/image_08032025_17_22_25_10052.jpg
/home/nano/Desktop/images/08032025/17/22/image_08032025_17_22_15_10083.jpg
/home/nano/Desktop/images/08032025/17/21/image_08032025_17_22_05_10046.jpg
/home/nano/Desktop/images/08032025/17/21/image_08032025_17_21_55_10047.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341932439","1341932465","1341932494","1341932485","1341932496","1341932434"],"photo_ids_order":["1341932434","1341932439","1341932465","1341932485","1341932494","1341932496"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/b1329cefbae4cfa16dc244f9a7ce5d48.jpg","text":"TemporaryFile(/tmp/multipartBody604042472834594065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741451012243,"filename":"image_08032025_17_22_35_10043.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/d753a17b5cf45877666d9b10d1bc8eb2.jpg","text":"TemporaryFile(/tmp/multipartBody4592736240146383798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741451012243,"filename":"image_08032025_17_22_25_10052.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/8847f3690295ea2c2d8b04fa03c45ac8.jpg","text":"TemporaryFile(/tmp/multipartBody212376464175500290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741451012243,"filename":"image_08032025_17_22_05_10046.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/cf66041439edae531a8900ef0184029a.jpg","text":"TemporaryFile(/tmp/multipartBody4275990826540074089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741451012243,"filename":"image_08032025_17_22_15_10083.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/edc2b452a5adf80351f0ed43ddf01b6b.jpg","text":"TemporaryFile(/tmp/multipartBody8194911995712469073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741451012243,"filename":"image_08032025_17_21_55_10047.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/4e3e0d8b065bfd289c98decda7b2b54e.jpg","text":"TemporaryFile(/tmp/multipartBody1254973309229460377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741451012243,"filename":"image_08032025_17_22_45_10041.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341932465","file1":"1341932439","file0":"1341932434","file4":"1341932494","file5":"1341932496","file3":"1341932485"},"map_files_photo_id_array":[{"photo_id":"1341932496","filename":"file5"},{"photo_id":"1341932465","filename":"file2"},{"photo_id":"1341932494","filename":"file4"},{"photo_id":"1341932439","filename":"file1"},{"photo_id":"1341932434","filename":"file0"},{"photo_id":"1341932485","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341932439":["hashtag1","hashtag2"]},{"1341932465":["hashtag1","hashtag2"]},{"1341932494":["hashtag1","hashtag2"]},{"1341932485":["hashtag1","hashtag2"]},{"1341932496":["hashtag1","hashtag2"]},{"1341932434":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341932439, 1341932465, 1341932494, 1341932485, 1341932496, 1341932434)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.71721887588501 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 17:23:31.933553
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/17/23/image_08032025_17_23_45_10043.jpg', 2), ('/home/nano/Desktop/images/08032025/17/23/image_08032025_17_23_35_10050.jpg', 2), ('/home/nano/Desktop/images/08032025/17/23/image_08032025_17_23_25_9038.jpg', 2), ('/home/nano/Desktop/images/08032025/17/23/image_08032025_17_23_16_10048.jpg', 2), ('/home/nano/Desktop/images/08032025/17/22/image_08032025_17_23_06_10064.jpg', 2), ('/home/nano/Desktop/images/08032025/17/22/image_08032025_17_22_55_10047.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/17/23/image_08032025_17_23_45_10043.jpg', '/home/nano/Desktop/images/08032025/17/23/image_08032025_17_23_35_10050.jpg', '/home/nano/Desktop/images/08032025/17/23/image_08032025_17_23_25_9038.jpg', '/home/nano/Desktop/images/08032025/17/23/image_08032025_17_23_16_10048.jpg', '/home/nano/Desktop/images/08032025/17/22/image_08032025_17_23_06_10064.jpg', '/home/nano/Desktop/images/08032025/17/22/image_08032025_17_22_55_10047.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/17/23/image_08032025_17_23_45_10043.jpg
/home/nano/Desktop/images/08032025/17/23/image_08032025_17_23_35_10050.jpg
/home/nano/Desktop/images/08032025/17/23/image_08032025_17_23_25_9038.jpg
/home/nano/Desktop/images/08032025/17/23/image_08032025_17_23_16_10048.jpg
/home/nano/Desktop/images/08032025/17/22/image_08032025_17_23_06_10064.jpg
/home/nano/Desktop/images/08032025/17/22/image_08032025_17_22_55_10047.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341932826","1341932610","1341932963","1341932927","1341932896","1341932758"],"photo_ids_order":["1341932610","1341932758","1341932826","1341932896","1341932927","1341932963"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/351b05576adb7d7f7246ea107884bc16.jpg","text":"TemporaryFile(/tmp/multipartBody8611830329750508662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741451072398,"filename":"image_08032025_17_23_25_9038.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/50f8a583c1f8ca91326af371f2a8c32b.jpg","text":"TemporaryFile(/tmp/multipartBody5370159155634959096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741451072398,"filename":"image_08032025_17_23_45_10043.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/9490e4992fd300893ead638d530ede58.jpg","text":"TemporaryFile(/tmp/multipartBody1600161140040179583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741451072398,"filename":"image_08032025_17_22_55_10047.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/aac14cca24f68e89c0bdf9571365cbde.jpg","text":"TemporaryFile(/tmp/multipartBody4795484876992066995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741451072398,"filename":"image_08032025_17_23_06_10064.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/a3046958ef9c78481869bfd9f5440161.jpg","text":"TemporaryFile(/tmp/multipartBody1831747834108488839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741451072398,"filename":"image_08032025_17_23_16_10048.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/743435ca2f44e34c323fbabdcbd79f3a.jpg","text":"TemporaryFile(/tmp/multipartBody2733432857520261284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741451072398,"filename":"image_08032025_17_23_35_10050.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341932826","file1":"1341932758","file0":"1341932610","file4":"1341932927","file5":"1341932963","file3":"1341932896"},"map_files_photo_id_array":[{"photo_id":"1341932963","filename":"file5"},{"photo_id":"1341932826","filename":"file2"},{"photo_id":"1341932927","filename":"file4"},{"photo_id":"1341932758","filename":"file1"},{"photo_id":"1341932610","filename":"file0"},{"photo_id":"1341932896","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341932826":["hashtag1","hashtag2"]},{"1341932610":["hashtag1","hashtag2"]},{"1341932963":["hashtag1","hashtag2"]},{"1341932927":["hashtag1","hashtag2"]},{"1341932896":["hashtag1","hashtag2"]},{"1341932758":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341932826, 1341932610, 1341932963, 1341932927, 1341932896, 1341932758)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.760849714279175 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 17:24:32.060109
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/17/24/image_08032025_17_24_45_10046.jpg', 2), ('/home/nano/Desktop/images/08032025/17/24/image_08032025_17_24_35_10048.jpg', 2), ('/home/nano/Desktop/images/08032025/17/24/image_08032025_17_24_25_10046.jpg', 2), ('/home/nano/Desktop/images/08032025/17/24/image_08032025_17_24_15_10049.jpg', 2), ('/home/nano/Desktop/images/08032025/17/23/image_08032025_17_24_05_10055.jpg', 2), ('/home/nano/Desktop/images/08032025/17/23/image_08032025_17_23_55_10047.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/17/24/image_08032025_17_24_45_10046.jpg', '/home/nano/Desktop/images/08032025/17/24/image_08032025_17_24_35_10048.jpg', '/home/nano/Desktop/images/08032025/17/24/image_08032025_17_24_25_10046.jpg', '/home/nano/Desktop/images/08032025/17/24/image_08032025_17_24_15_10049.jpg', '/home/nano/Desktop/images/08032025/17/23/image_08032025_17_24_05_10055.jpg', '/home/nano/Desktop/images/08032025/17/23/image_08032025_17_23_55_10047.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/17/24/image_08032025_17_24_45_10046.jpg
/home/nano/Desktop/images/08032025/17/24/image_08032025_17_24_35_10048.jpg
/home/nano/Desktop/images/08032025/17/24/image_08032025_17_24_25_10046.jpg
/home/nano/Desktop/images/08032025/17/24/image_08032025_17_24_15_10049.jpg
/home/nano/Desktop/images/08032025/17/23/image_08032025_17_24_05_10055.jpg
/home/nano/Desktop/images/08032025/17/23/image_08032025_17_23_55_10047.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341933105","1341933140","1341933221","1341933247","1341933090","1341933186"],"photo_ids_order":["1341933090","1341933105","1341933140","1341933186","1341933221","1341933247"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/eb6114d27ed952ff106671475752cf19.jpg","text":"TemporaryFile(/tmp/multipartBody8538191546180833234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741451132527,"filename":"image_08032025_17_24_35_10048.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/aa7ac4797b51fa69e62164a6993a7bd3.jpg","text":"TemporaryFile(/tmp/multipartBody4755538443541861100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741451132527,"filename":"image_08032025_17_24_25_10046.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/9629f4319aef882eb8a619fe86e94ed7.jpg","text":"TemporaryFile(/tmp/multipartBody5553089366203019395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741451132527,"filename":"image_08032025_17_24_05_10055.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/c418b5e6ff31de07f99d32cfd6b7110e.jpg","text":"TemporaryFile(/tmp/multipartBody2623111538375653499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741451132527,"filename":"image_08032025_17_23_55_10047.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/7787313421eb3678910e6da3f46040c3.jpg","text":"TemporaryFile(/tmp/multipartBody8519497844379599284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741451132527,"filename":"image_08032025_17_24_45_10046.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/2ce085a2361a1fc021b8deecc30bfc3c.jpg","text":"TemporaryFile(/tmp/multipartBody1340040273374653350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741451132527,"filename":"image_08032025_17_24_15_10049.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341933140","file1":"1341933105","file0":"1341933090","file4":"1341933221","file5":"1341933247","file3":"1341933186"},"map_files_photo_id_array":[{"photo_id":"1341933247","filename":"file5"},{"photo_id":"1341933140","filename":"file2"},{"photo_id":"1341933221","filename":"file4"},{"photo_id":"1341933105","filename":"file1"},{"photo_id":"1341933090","filename":"file0"},{"photo_id":"1341933186","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341933105":["hashtag1","hashtag2"]},{"1341933140":["hashtag1","hashtag2"]},{"1341933221":["hashtag1","hashtag2"]},{"1341933247":["hashtag1","hashtag2"]},{"1341933090":["hashtag1","hashtag2"]},{"1341933186":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341933105, 1341933140, 1341933221, 1341933247, 1341933090, 1341933186)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.43446946144104 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 17:25:32.180379
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/17/25/image_08032025_17_25_45_10045.jpg', 2), ('/home/nano/Desktop/images/08032025/17/25/image_08032025_17_25_35_10065.jpg', 2), ('/home/nano/Desktop/images/08032025/17/25/image_08032025_17_25_25_10047.jpg', 2), ('/home/nano/Desktop/images/08032025/17/25/image_08032025_17_25_15_10048.jpg', 2), ('/home/nano/Desktop/images/08032025/17/24/image_08032025_17_25_05_10059.jpg', 2), ('/home/nano/Desktop/images/08032025/17/24/image_08032025_17_24_55_10047.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/17/25/image_08032025_17_25_45_10045.jpg', '/home/nano/Desktop/images/08032025/17/25/image_08032025_17_25_35_10065.jpg', '/home/nano/Desktop/images/08032025/17/25/image_08032025_17_25_25_10047.jpg', '/home/nano/Desktop/images/08032025/17/25/image_08032025_17_25_15_10048.jpg', '/home/nano/Desktop/images/08032025/17/24/image_08032025_17_25_05_10059.jpg', '/home/nano/Desktop/images/08032025/17/24/image_08032025_17_24_55_10047.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/17/25/image_08032025_17_25_45_10045.jpg
/home/nano/Desktop/images/08032025/17/25/image_08032025_17_25_35_10065.jpg
/home/nano/Desktop/images/08032025/17/25/image_08032025_17_25_25_10047.jpg
/home/nano/Desktop/images/08032025/17/25/image_08032025_17_25_15_10048.jpg
/home/nano/Desktop/images/08032025/17/24/image_08032025_17_25_05_10059.jpg
/home/nano/Desktop/images/08032025/17/24/image_08032025_17_24_55_10047.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341933504","1341933569","1341933551","1341933475","1341933460","1341933526"],"photo_ids_order":["1341933460","1341933475","1341933504","1341933526","1341933551","1341933569"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/e39d2701f83ed3a5c713a208e40f141c.jpg","text":"TemporaryFile(/tmp/multipartBody7926037415043224216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741451192632,"filename":"image_08032025_17_25_25_10047.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/72485ef68005c8ab62d17f6e37c75488.jpg","text":"TemporaryFile(/tmp/multipartBody6833614960241156906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741451192632,"filename":"image_08032025_17_24_55_10047.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/279a67124d6bcba5d8ecbe158aed1180.jpg","text":"TemporaryFile(/tmp/multipartBody3312503632729499823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741451192632,"filename":"image_08032025_17_25_05_10059.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/c1074a3002c738a9298530e245561450.jpg","text":"TemporaryFile(/tmp/multipartBody7990451798286596730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741451192632,"filename":"image_08032025_17_25_35_10065.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/cb465e2a05c44ef3b71b6676ef4612e1.jpg","text":"TemporaryFile(/tmp/multipartBody2044159941917220407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741451192632,"filename":"image_08032025_17_25_45_10045.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/c383de28840513cf5a232ff7ab26b396.jpg","text":"TemporaryFile(/tmp/multipartBody3759724086604584917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741451192632,"filename":"image_08032025_17_25_15_10048.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341933504","file1":"1341933475","file0":"1341933460","file4":"1341933551","file5":"1341933569","file3":"1341933526"},"map_files_photo_id_array":[{"photo_id":"1341933569","filename":"file5"},{"photo_id":"1341933504","filename":"file2"},{"photo_id":"1341933551","filename":"file4"},{"photo_id":"1341933475","filename":"file1"},{"photo_id":"1341933460","filename":"file0"},{"photo_id":"1341933526","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341933504":["hashtag1","hashtag2"]},{"1341933569":["hashtag1","hashtag2"]},{"1341933551":["hashtag1","hashtag2"]},{"1341933475":["hashtag1","hashtag2"]},{"1341933460":["hashtag1","hashtag2"]},{"1341933526":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341933504, 1341933569, 1341933551, 1341933475, 1341933460, 1341933526)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.85911774635315 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 17:26:32.271022
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/17/26/image_08032025_17_26_46_10043.jpg', 2), ('/home/nano/Desktop/images/08032025/17/26/image_08032025_17_26_36_10043.jpg', 2), ('/home/nano/Desktop/images/08032025/17/26/image_08032025_17_26_25_10040.jpg', 2), ('/home/nano/Desktop/images/08032025/17/26/image_08032025_17_26_15_10066.jpg', 2), ('/home/nano/Desktop/images/08032025/17/25/image_08032025_17_26_05_10054.jpg', 2), ('/home/nano/Desktop/images/08032025/17/25/image_08032025_17_25_55_10036.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/17/26/image_08032025_17_26_46_10043.jpg', '/home/nano/Desktop/images/08032025/17/26/image_08032025_17_26_36_10043.jpg', '/home/nano/Desktop/images/08032025/17/26/image_08032025_17_26_25_10040.jpg', '/home/nano/Desktop/images/08032025/17/26/image_08032025_17_26_15_10066.jpg', '/home/nano/Desktop/images/08032025/17/25/image_08032025_17_26_05_10054.jpg', '/home/nano/Desktop/images/08032025/17/25/image_08032025_17_25_55_10036.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/17/26/image_08032025_17_26_46_10043.jpg
/home/nano/Desktop/images/08032025/17/26/image_08032025_17_26_36_10043.jpg
/home/nano/Desktop/images/08032025/17/26/image_08032025_17_26_25_10040.jpg
/home/nano/Desktop/images/08032025/17/26/image_08032025_17_26_15_10066.jpg
/home/nano/Desktop/images/08032025/17/25/image_08032025_17_26_05_10054.jpg
/home/nano/Desktop/images/08032025/17/25/image_08032025_17_25_55_10036.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341933705","1341933702","1341933707","1341933693","1341933696","1341933690"],"photo_ids_order":["1341933690","1341933693","1341933696","1341933702","1341933705","1341933707"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/c5ff33873804ad3ec28a047bc55a3a0c.jpg","text":"TemporaryFile(/tmp/multipartBody6558579098933710211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741451252718,"filename":"image_08032025_17_26_05_10054.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/6ce3ab66543012d540a38eed407b4f7d.jpg","text":"TemporaryFile(/tmp/multipartBody3170341173300415364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741451252718,"filename":"image_08032025_17_26_15_10066.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/1dc879da158bff79678bfba8559357aa.jpg","text":"TemporaryFile(/tmp/multipartBody3850859179970576189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741451252718,"filename":"image_08032025_17_25_55_10036.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/0f92a5b66004c7af2b51b92a2d2fa98e.jpg","text":"TemporaryFile(/tmp/multipartBody6722099700936766112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741451252718,"filename":"image_08032025_17_26_36_10043.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/1b37d580da6f8215df04009f31551c2a.jpg","text":"TemporaryFile(/tmp/multipartBody7695597260468232325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741451252718,"filename":"image_08032025_17_26_25_10040.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/929a3102d12b303024b31e7821d3f731.jpg","text":"TemporaryFile(/tmp/multipartBody7713300696717683707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741451252718,"filename":"image_08032025_17_26_46_10043.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341933696","file1":"1341933693","file0":"1341933690","file4":"1341933705","file5":"1341933707","file3":"1341933702"},"map_files_photo_id_array":[{"photo_id":"1341933707","filename":"file5"},{"photo_id":"1341933696","filename":"file2"},{"photo_id":"1341933705","filename":"file4"},{"photo_id":"1341933693","filename":"file1"},{"photo_id":"1341933690","filename":"file0"},{"photo_id":"1341933702","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341933705":["hashtag1","hashtag2"]},{"1341933702":["hashtag1","hashtag2"]},{"1341933707":["hashtag1","hashtag2"]},{"1341933693":["hashtag1","hashtag2"]},{"1341933696":["hashtag1","hashtag2"]},{"1341933690":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341933705, 1341933702, 1341933707, 1341933693, 1341933696, 1341933690)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.87106156349182 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 17:27:32.360230
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/17/27/image_08032025_17_27_45_10049.jpg', 2), ('/home/nano/Desktop/images/08032025/17/27/image_08032025_17_27_35_10048.jpg', 2), ('/home/nano/Desktop/images/08032025/17/27/image_08032025_17_27_25_10044.jpg', 2), ('/home/nano/Desktop/images/08032025/17/27/image_08032025_17_27_15_10046.jpg', 2), ('/home/nano/Desktop/images/08032025/17/26/image_08032025_17_27_05_10059.jpg', 2), ('/home/nano/Desktop/images/08032025/17/26/image_08032025_17_26_55_9027.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/17/27/image_08032025_17_27_45_10049.jpg', '/home/nano/Desktop/images/08032025/17/27/image_08032025_17_27_35_10048.jpg', '/home/nano/Desktop/images/08032025/17/27/image_08032025_17_27_25_10044.jpg', '/home/nano/Desktop/images/08032025/17/27/image_08032025_17_27_15_10046.jpg', '/home/nano/Desktop/images/08032025/17/26/image_08032025_17_27_05_10059.jpg', '/home/nano/Desktop/images/08032025/17/26/image_08032025_17_26_55_9027.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/17/27/image_08032025_17_27_45_10049.jpg
/home/nano/Desktop/images/08032025/17/27/image_08032025_17_27_35_10048.jpg
/home/nano/Desktop/images/08032025/17/27/image_08032025_17_27_25_10044.jpg
/home/nano/Desktop/images/08032025/17/27/image_08032025_17_27_15_10046.jpg
/home/nano/Desktop/images/08032025/17/26/image_08032025_17_27_05_10059.jpg
/home/nano/Desktop/images/08032025/17/26/image_08032025_17_26_55_9027.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341933807","1341933851","1341933871","1341933789","1341933876","1341933837"],"photo_ids_order":["1341933789","1341933807","1341933837","1341933851","1341933871","1341933876"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/a35ce4ae8622e60ad4f8ee4dbf96e61a.jpg","text":"TemporaryFile(/tmp/multipartBody115859810581270632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741451312823,"filename":"image_08032025_17_27_35_10048.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/9270f64f855485cf96a7a0694435179c.jpg","text":"TemporaryFile(/tmp/multipartBody4206035033713964935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741451312823,"filename":"image_08032025_17_27_15_10046.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/7bde112a2c0598f257b8720fc45f39b2.jpg","text":"TemporaryFile(/tmp/multipartBody7181746457529486814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741451312823,"filename":"image_08032025_17_27_05_10059.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/fb00c9d1cc50018d658a887cc87be4e2.jpg","text":"TemporaryFile(/tmp/multipartBody9096831237780588427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741451312823,"filename":"image_08032025_17_27_45_10049.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/13faafea941f125253a3ed41118a6f95.jpg","text":"TemporaryFile(/tmp/multipartBody5340039060671557884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741451312823,"filename":"image_08032025_17_26_55_9027.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/e9c0ab26188b57bf6f04ab698594eeec.jpg","text":"TemporaryFile(/tmp/multipartBody1372834955760102727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741451312823,"filename":"image_08032025_17_27_25_10044.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341933837","file1":"1341933807","file0":"1341933789","file4":"1341933871","file5":"1341933876","file3":"1341933851"},"map_files_photo_id_array":[{"photo_id":"1341933876","filename":"file5"},{"photo_id":"1341933837","filename":"file2"},{"photo_id":"1341933871","filename":"file4"},{"photo_id":"1341933807","filename":"file1"},{"photo_id":"1341933789","filename":"file0"},{"photo_id":"1341933851","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341933807":["hashtag1","hashtag2"]},{"1341933851":["hashtag1","hashtag2"]},{"1341933871":["hashtag1","hashtag2"]},{"1341933789":["hashtag1","hashtag2"]},{"1341933876":["hashtag1","hashtag2"]},{"1341933837":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341933807, 1341933851, 1341933871, 1341933789, 1341933876, 1341933837)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.71632504463196 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 17:28:32.464016
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/17/28/image_08032025_17_28_45_10056.jpg', 2), ('/home/nano/Desktop/images/08032025/17/28/image_08032025_17_28_35_10062.jpg', 2), ('/home/nano/Desktop/images/08032025/17/28/image_08032025_17_28_25_10047.jpg', 2), ('/home/nano/Desktop/images/08032025/17/28/image_08032025_17_28_15_10072.jpg', 2), ('/home/nano/Desktop/images/08032025/17/27/image_08032025_17_28_05_10059.jpg', 2), ('/home/nano/Desktop/images/08032025/17/27/image_08032025_17_27_55_10073.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/17/28/image_08032025_17_28_45_10056.jpg', '/home/nano/Desktop/images/08032025/17/28/image_08032025_17_28_35_10062.jpg', '/home/nano/Desktop/images/08032025/17/28/image_08032025_17_28_25_10047.jpg', '/home/nano/Desktop/images/08032025/17/28/image_08032025_17_28_15_10072.jpg', '/home/nano/Desktop/images/08032025/17/27/image_08032025_17_28_05_10059.jpg', '/home/nano/Desktop/images/08032025/17/27/image_08032025_17_27_55_10073.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/17/28/image_08032025_17_28_45_10056.jpg
/home/nano/Desktop/images/08032025/17/28/image_08032025_17_28_35_10062.jpg
/home/nano/Desktop/images/08032025/17/28/image_08032025_17_28_25_10047.jpg
/home/nano/Desktop/images/08032025/17/28/image_08032025_17_28_15_10072.jpg
/home/nano/Desktop/images/08032025/17/27/image_08032025_17_28_05_10059.jpg
/home/nano/Desktop/images/08032025/17/27/image_08032025_17_27_55_10073.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341934274","1341934331","1341934205","1341934396","1341934054","1341934104"],"photo_ids_order":["1341934054","1341934104","1341934205","1341934274","1341934331","1341934396"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/5346b34e1bcf17bcb9465e81002aa16d.jpg","text":"TemporaryFile(/tmp/multipartBody7109660457810176672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741451372909,"filename":"image_08032025_17_28_15_10072.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/10b6d88ea4b8366d9d5990c0166d8222.jpg","text":"TemporaryFile(/tmp/multipartBody1477939536551838790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741451372909,"filename":"image_08032025_17_28_05_10059.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/6a7297343090924c97421b4307f16936.jpg","text":"TemporaryFile(/tmp/multipartBody8002705460688946478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741451372909,"filename":"image_08032025_17_28_25_10047.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/c4241fa17d0d5cb8874a10691f36ed3b.jpg","text":"TemporaryFile(/tmp/multipartBody9221612770558854489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741451372909,"filename":"image_08032025_17_27_55_10073.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/7e67477d01fbfd1cd9c52e8566fdf5fa.jpg","text":"TemporaryFile(/tmp/multipartBody1565148185009764238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741451372909,"filename":"image_08032025_17_28_45_10056.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/10d89aa5820c5b167f1b439b6c269cc5.jpg","text":"TemporaryFile(/tmp/multipartBody7952832565747995026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741451372909,"filename":"image_08032025_17_28_35_10062.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341934205","file1":"1341934104","file0":"1341934054","file4":"1341934331","file5":"1341934396","file3":"1341934274"},"map_files_photo_id_array":[{"photo_id":"1341934396","filename":"file5"},{"photo_id":"1341934205","filename":"file2"},{"photo_id":"1341934331","filename":"file4"},{"photo_id":"1341934104","filename":"file1"},{"photo_id":"1341934054","filename":"file0"},{"photo_id":"1341934274","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341934274":["hashtag1","hashtag2"]},{"1341934331":["hashtag1","hashtag2"]},{"1341934205":["hashtag1","hashtag2"]},{"1341934396":["hashtag1","hashtag2"]},{"1341934054":["hashtag1","hashtag2"]},{"1341934104":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341934274, 1341934331, 1341934205, 1341934396, 1341934054, 1341934104)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.45753574371338 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 17:29:32.618262
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/17/29/image_08032025_17_29_46_10055.jpg', 2), ('/home/nano/Desktop/images/08032025/17/29/image_08032025_17_29_35_10053.jpg', 2), ('/home/nano/Desktop/images/08032025/17/29/image_08032025_17_29_25_10048.jpg', 2), ('/home/nano/Desktop/images/08032025/17/29/image_08032025_17_29_15_10053.jpg', 2), ('/home/nano/Desktop/images/08032025/17/28/image_08032025_17_29_05_10061.jpg', 2), ('/home/nano/Desktop/images/08032025/17/28/image_08032025_17_28_55_10038.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/17/29/image_08032025_17_29_46_10055.jpg', '/home/nano/Desktop/images/08032025/17/29/image_08032025_17_29_35_10053.jpg', '/home/nano/Desktop/images/08032025/17/29/image_08032025_17_29_25_10048.jpg', '/home/nano/Desktop/images/08032025/17/29/image_08032025_17_29_15_10053.jpg', '/home/nano/Desktop/images/08032025/17/28/image_08032025_17_29_05_10061.jpg', '/home/nano/Desktop/images/08032025/17/28/image_08032025_17_28_55_10038.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/17/29/image_08032025_17_29_46_10055.jpg
/home/nano/Desktop/images/08032025/17/29/image_08032025_17_29_35_10053.jpg
/home/nano/Desktop/images/08032025/17/29/image_08032025_17_29_25_10048.jpg
/home/nano/Desktop/images/08032025/17/29/image_08032025_17_29_15_10053.jpg
/home/nano/Desktop/images/08032025/17/28/image_08032025_17_29_05_10061.jpg
/home/nano/Desktop/images/08032025/17/28/image_08032025_17_28_55_10038.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341934532","1341934544","1341934511","1341934540","1341934507","1341934515"],"photo_ids_order":["1341934507","1341934511","1341934515","1341934532","1341934540","1341934544"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/d15fd5b4fe36c80ed0d14e9d7fb0d284.jpg","text":"TemporaryFile(/tmp/multipartBody680936043080973717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741451433113,"filename":"image_08032025_17_29_15_10053.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/7cad435017c2e0fbc824fb05ecc43f56.jpg","text":"TemporaryFile(/tmp/multipartBody5931957414183413620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741451433113,"filename":"image_08032025_17_28_55_10038.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/b315d213b0aafe6a2fb676d018356162.jpg","text":"TemporaryFile(/tmp/multipartBody8020013682120103262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741451433113,"filename":"image_08032025_17_29_35_10053.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/b051649a6f35f5dd5bfc919c126af83b.jpg","text":"TemporaryFile(/tmp/multipartBody5923409227963418116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741451433113,"filename":"image_08032025_17_29_05_10061.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/775d24e87b376629178a78ae26c0f959.jpg","text":"TemporaryFile(/tmp/multipartBody9098258700395666053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741451433113,"filename":"image_08032025_17_29_46_10055.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/85e4a34fdcfcd9f522aaf56f4dbf43cc.jpg","text":"TemporaryFile(/tmp/multipartBody2733240673358844814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741451433113,"filename":"image_08032025_17_29_25_10048.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341934515","file1":"1341934511","file0":"1341934507","file4":"1341934540","file5":"1341934544","file3":"1341934532"},"map_files_photo_id_array":[{"photo_id":"1341934544","filename":"file5"},{"photo_id":"1341934515","filename":"file2"},{"photo_id":"1341934540","filename":"file4"},{"photo_id":"1341934511","filename":"file1"},{"photo_id":"1341934507","filename":"file0"},{"photo_id":"1341934532","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341934532":["hashtag1","hashtag2"]},{"1341934544":["hashtag1","hashtag2"]},{"1341934511":["hashtag1","hashtag2"]},{"1341934540":["hashtag1","hashtag2"]},{"1341934507":["hashtag1","hashtag2"]},{"1341934515":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341934532, 1341934544, 1341934511, 1341934540, 1341934507, 1341934515)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.16241455078125 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 17:30:32.710351
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/17/30/image_08032025_17_30_45_10052.jpg', 2), ('/home/nano/Desktop/images/08032025/17/30/image_08032025_17_30_35_10048.jpg', 2), ('/home/nano/Desktop/images/08032025/17/30/image_08032025_17_30_25_10047.jpg', 2), ('/home/nano/Desktop/images/08032025/17/30/image_08032025_17_30_15_10057.jpg', 2), ('/home/nano/Desktop/images/08032025/17/29/image_08032025_17_30_05_9049.jpg', 2), ('/home/nano/Desktop/images/08032025/17/29/image_08032025_17_29_56_10053.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/17/30/image_08032025_17_30_45_10052.jpg', '/home/nano/Desktop/images/08032025/17/30/image_08032025_17_30_35_10048.jpg', '/home/nano/Desktop/images/08032025/17/30/image_08032025_17_30_25_10047.jpg', '/home/nano/Desktop/images/08032025/17/30/image_08032025_17_30_15_10057.jpg', '/home/nano/Desktop/images/08032025/17/29/image_08032025_17_30_05_9049.jpg', '/home/nano/Desktop/images/08032025/17/29/image_08032025_17_29_56_10053.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/17/30/image_08032025_17_30_45_10052.jpg
/home/nano/Desktop/images/08032025/17/30/image_08032025_17_30_35_10048.jpg
/home/nano/Desktop/images/08032025/17/30/image_08032025_17_30_25_10047.jpg
/home/nano/Desktop/images/08032025/17/30/image_08032025_17_30_15_10057.jpg
/home/nano/Desktop/images/08032025/17/29/image_08032025_17_30_05_9049.jpg
/home/nano/Desktop/images/08032025/17/29/image_08032025_17_29_56_10053.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341934997","1341934736","1341934951","1341934852","1341934900","1341934755"],"photo_ids_order":["1341934736","1341934755","1341934852","1341934900","1341934951","1341934997"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/3bc197c10314729bf219d862cf20cf82.jpg","text":"TemporaryFile(/tmp/multipartBody4502004413439105703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741451493168,"filename":"image_08032025_17_29_56_10053.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/37b1b8be06120c7fd6b7ae39cad13443.jpg","text":"TemporaryFile(/tmp/multipartBody8188963108235366511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741451493168,"filename":"image_08032025_17_30_45_10052.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/2739b05c9a46bf7c1e07ee20b882ff82.jpg","text":"TemporaryFile(/tmp/multipartBody3691789335933003570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741451493168,"filename":"image_08032025_17_30_05_9049.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/40368724aebaabfa112b6f8da96214b3.jpg","text":"TemporaryFile(/tmp/multipartBody2258807692345144839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741451493168,"filename":"image_08032025_17_30_25_10047.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/785b75291e2307537f835de58730df44.jpg","text":"TemporaryFile(/tmp/multipartBody7406421740910972106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741451493168,"filename":"image_08032025_17_30_15_10057.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/2b738a879328db89b234fe03212e81ee.jpg","text":"TemporaryFile(/tmp/multipartBody3945072916856096104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741451493168,"filename":"image_08032025_17_30_35_10048.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341934852","file1":"1341934755","file0":"1341934736","file4":"1341934951","file5":"1341934997","file3":"1341934900"},"map_files_photo_id_array":[{"photo_id":"1341934997","filename":"file5"},{"photo_id":"1341934852","filename":"file2"},{"photo_id":"1341934951","filename":"file4"},{"photo_id":"1341934755","filename":"file1"},{"photo_id":"1341934736","filename":"file0"},{"photo_id":"1341934900","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341934997":["hashtag1","hashtag2"]},{"1341934736":["hashtag1","hashtag2"]},{"1341934951":["hashtag1","hashtag2"]},{"1341934852":["hashtag1","hashtag2"]},{"1341934900":["hashtag1","hashtag2"]},{"1341934755":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341934997, 1341934736, 1341934951, 1341934852, 1341934900, 1341934755)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.4692165851593 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 17:31:31.861295
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/17/31/image_08032025_17_31_45_10073.jpg', 2), ('/home/nano/Desktop/images/08032025/17/31/image_08032025_17_31_35_10074.jpg', 2), ('/home/nano/Desktop/images/08032025/17/31/image_08032025_17_31_25_10052.jpg', 2), ('/home/nano/Desktop/images/08032025/17/31/image_08032025_17_31_15_10052.jpg', 2), ('/home/nano/Desktop/images/08032025/17/30/image_08032025_17_31_05_10073.jpg', 2), ('/home/nano/Desktop/images/08032025/17/30/image_08032025_17_30_55_10049.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/17/31/image_08032025_17_31_45_10073.jpg', '/home/nano/Desktop/images/08032025/17/31/image_08032025_17_31_35_10074.jpg', '/home/nano/Desktop/images/08032025/17/31/image_08032025_17_31_25_10052.jpg', '/home/nano/Desktop/images/08032025/17/31/image_08032025_17_31_15_10052.jpg', '/home/nano/Desktop/images/08032025/17/30/image_08032025_17_31_05_10073.jpg', '/home/nano/Desktop/images/08032025/17/30/image_08032025_17_30_55_10049.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/17/31/image_08032025_17_31_45_10073.jpg
/home/nano/Desktop/images/08032025/17/31/image_08032025_17_31_35_10074.jpg
/home/nano/Desktop/images/08032025/17/31/image_08032025_17_31_25_10052.jpg
/home/nano/Desktop/images/08032025/17/31/image_08032025_17_31_15_10052.jpg
/home/nano/Desktop/images/08032025/17/30/image_08032025_17_31_05_10073.jpg
/home/nano/Desktop/images/08032025/17/30/image_08032025_17_30_55_10049.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.34864068031311035 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 marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 17:32:02.596231
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/17/31/image_08032025_17_31_45_10073.jpg', 2), ('/home/nano/Desktop/images/08032025/17/31/image_08032025_17_31_35_10074.jpg', 2), ('/home/nano/Desktop/images/08032025/17/31/image_08032025_17_31_25_10052.jpg', 2), ('/home/nano/Desktop/images/08032025/17/31/image_08032025_17_31_15_10052.jpg', 2), ('/home/nano/Desktop/images/08032025/17/30/image_08032025_17_31_05_10073.jpg', 2), ('/home/nano/Desktop/images/08032025/17/30/image_08032025_17_30_55_10049.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/17/31/image_08032025_17_31_45_10073.jpg', '/home/nano/Desktop/images/08032025/17/31/image_08032025_17_31_35_10074.jpg', '/home/nano/Desktop/images/08032025/17/31/image_08032025_17_31_25_10052.jpg', '/home/nano/Desktop/images/08032025/17/31/image_08032025_17_31_15_10052.jpg', '/home/nano/Desktop/images/08032025/17/30/image_08032025_17_31_05_10073.jpg', '/home/nano/Desktop/images/08032025/17/30/image_08032025_17_30_55_10049.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/17/31/image_08032025_17_31_45_10073.jpg
/home/nano/Desktop/images/08032025/17/31/image_08032025_17_31_35_10074.jpg
/home/nano/Desktop/images/08032025/17/31/image_08032025_17_31_25_10052.jpg
/home/nano/Desktop/images/08032025/17/31/image_08032025_17_31_15_10052.jpg
/home/nano/Desktop/images/08032025/17/30/image_08032025_17_31_05_10073.jpg
/home/nano/Desktop/images/08032025/17/30/image_08032025_17_30_55_10049.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341935429","1341935303","1341935404","1341935433","1341935421","1341935381"],"photo_ids_order":["1341935303","1341935381","1341935404","1341935421","1341935429","1341935433"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/e990a916a545183eeccf12c103099f26.jpg","text":"TemporaryFile(/tmp/multipartBody3248120441301932407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741451583059,"filename":"image_08032025_17_31_05_10073.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/9d946eb965bd6b271bc5f607b7086018.jpg","text":"TemporaryFile(/tmp/multipartBody2126984606680418046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741451583059,"filename":"image_08032025_17_31_45_10073.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/d883f47363b648e35cf0205ff774e58b.jpg","text":"TemporaryFile(/tmp/multipartBody6842880319001457389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741451583059,"filename":"image_08032025_17_31_25_10052.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/117bdf3642477b650d4327a607274cfe.jpg","text":"TemporaryFile(/tmp/multipartBody995163898336409050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741451583059,"filename":"image_08032025_17_30_55_10049.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/496f1b95c019046be17c35a54f4dad83.jpg","text":"TemporaryFile(/tmp/multipartBody1652903835612394224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741451583059,"filename":"image_08032025_17_31_15_10052.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/bb082b7f9f291a60787061095b723762.jpg","text":"TemporaryFile(/tmp/multipartBody780351521975324261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741451583059,"filename":"image_08032025_17_31_35_10074.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341935404","file1":"1341935381","file0":"1341935303","file4":"1341935429","file5":"1341935433","file3":"1341935421"},"map_files_photo_id_array":[{"photo_id":"1341935433","filename":"file5"},{"photo_id":"1341935404","filename":"file2"},{"photo_id":"1341935429","filename":"file4"},{"photo_id":"1341935381","filename":"file1"},{"photo_id":"1341935303","filename":"file0"},{"photo_id":"1341935421","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341935429":["hashtag1","hashtag2"]},{"1341935303":["hashtag1","hashtag2"]},{"1341935404":["hashtag1","hashtag2"]},{"1341935433":["hashtag1","hashtag2"]},{"1341935421":["hashtag1","hashtag2"]},{"1341935381":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341935429, 1341935303, 1341935404, 1341935433, 1341935421, 1341935381)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.648826360702515 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 17:33:02.736322
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/17/32/image_08032025_17_32_46_10074.jpg', 2), ('/home/nano/Desktop/images/08032025/17/32/image_08032025_17_32_36_10049.jpg', 2), ('/home/nano/Desktop/images/08032025/17/32/image_08032025_17_32_25_10052.jpg', 2), ('/home/nano/Desktop/images/08032025/17/32/image_08032025_17_32_15_10076.jpg', 2), ('/home/nano/Desktop/images/08032025/17/31/image_08032025_17_32_05_10052.jpg', 2), ('/home/nano/Desktop/images/08032025/17/31/image_08032025_17_31_55_10046.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/17/32/image_08032025_17_32_46_10074.jpg', '/home/nano/Desktop/images/08032025/17/32/image_08032025_17_32_36_10049.jpg', '/home/nano/Desktop/images/08032025/17/32/image_08032025_17_32_25_10052.jpg', '/home/nano/Desktop/images/08032025/17/32/image_08032025_17_32_15_10076.jpg', '/home/nano/Desktop/images/08032025/17/31/image_08032025_17_32_05_10052.jpg', '/home/nano/Desktop/images/08032025/17/31/image_08032025_17_31_55_10046.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/17/32/image_08032025_17_32_46_10074.jpg
/home/nano/Desktop/images/08032025/17/32/image_08032025_17_32_36_10049.jpg
/home/nano/Desktop/images/08032025/17/32/image_08032025_17_32_25_10052.jpg
/home/nano/Desktop/images/08032025/17/32/image_08032025_17_32_15_10076.jpg
/home/nano/Desktop/images/08032025/17/31/image_08032025_17_32_05_10052.jpg
/home/nano/Desktop/images/08032025/17/31/image_08032025_17_31_55_10046.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341935476","1341935472","1341935511","1341935474","1341935498","1341935462"],"photo_ids_order":["1341935462","1341935472","1341935474","1341935476","1341935498","1341935511"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/8d9dcc5aa74f969ab22401bf544ede53.jpg","text":"TemporaryFile(/tmp/multipartBody7863981569409417227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741451643192,"filename":"image_08032025_17_32_15_10076.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/8845e3e99225167e69a0c5dbde0814b2.jpg","text":"TemporaryFile(/tmp/multipartBody1141906819273188201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741451643192,"filename":"image_08032025_17_32_36_10049.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/914efbf9e72c648984e727266e2fda76.jpg","text":"TemporaryFile(/tmp/multipartBody3008471385664564918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741451643192,"filename":"image_08032025_17_31_55_10046.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/b1885d9efde4e5b710a6ab8ff6b6e0aa.jpg","text":"TemporaryFile(/tmp/multipartBody4205227152459319183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741451643192,"filename":"image_08032025_17_32_25_10052.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/66890d3dd7f25eb951e9d391e3b56cc1.jpg","text":"TemporaryFile(/tmp/multipartBody1664108690619687472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741451643192,"filename":"image_08032025_17_32_05_10052.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/ad494276dd3806d9087b647d761e6610.jpg","text":"TemporaryFile(/tmp/multipartBody8631720468518300726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741451643192,"filename":"image_08032025_17_32_46_10074.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341935474","file1":"1341935472","file0":"1341935462","file4":"1341935498","file5":"1341935511","file3":"1341935476"},"map_files_photo_id_array":[{"photo_id":"1341935511","filename":"file5"},{"photo_id":"1341935474","filename":"file2"},{"photo_id":"1341935498","filename":"file4"},{"photo_id":"1341935472","filename":"file1"},{"photo_id":"1341935462","filename":"file0"},{"photo_id":"1341935476","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341935476":["hashtag1","hashtag2"]},{"1341935472":["hashtag1","hashtag2"]},{"1341935511":["hashtag1","hashtag2"]},{"1341935474":["hashtag1","hashtag2"]},{"1341935498":["hashtag1","hashtag2"]},{"1341935462":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341935476, 1341935472, 1341935511, 1341935474, 1341935498, 1341935462)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.621623039245605 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 17:34:03.010371
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/17/33/image_08032025_17_33_45_10050.jpg', 2), ('/home/nano/Desktop/images/08032025/17/33/image_08032025_17_33_35_10048.jpg', 2), ('/home/nano/Desktop/images/08032025/17/33/image_08032025_17_33_25_10050.jpg', 2), ('/home/nano/Desktop/images/08032025/17/33/image_08032025_17_33_15_10063.jpg', 2), ('/home/nano/Desktop/images/08032025/17/32/image_08032025_17_33_05_10062.jpg', 2), ('/home/nano/Desktop/images/08032025/17/32/image_08032025_17_32_55_9043.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/17/33/image_08032025_17_33_45_10050.jpg', '/home/nano/Desktop/images/08032025/17/33/image_08032025_17_33_35_10048.jpg', '/home/nano/Desktop/images/08032025/17/33/image_08032025_17_33_25_10050.jpg', '/home/nano/Desktop/images/08032025/17/33/image_08032025_17_33_15_10063.jpg', '/home/nano/Desktop/images/08032025/17/32/image_08032025_17_33_05_10062.jpg', '/home/nano/Desktop/images/08032025/17/32/image_08032025_17_32_55_9043.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/17/33/image_08032025_17_33_45_10050.jpg
/home/nano/Desktop/images/08032025/17/33/image_08032025_17_33_35_10048.jpg
/home/nano/Desktop/images/08032025/17/33/image_08032025_17_33_25_10050.jpg
/home/nano/Desktop/images/08032025/17/33/image_08032025_17_33_15_10063.jpg
/home/nano/Desktop/images/08032025/17/32/image_08032025_17_33_05_10062.jpg
/home/nano/Desktop/images/08032025/17/32/image_08032025_17_32_55_9043.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341935866","1341935949","1341935931","1341935996","1341935975","1341936005"],"photo_ids_order":["1341935866","1341935931","1341935949","1341935975","1341935996","1341936005"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/446d786b93c93c2d33fa65cb5c3ee109.jpg","text":"TemporaryFile(/tmp/multipartBody3746778546453117595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741451703443,"filename":"image_08032025_17_33_45_10050.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/e81320322d50d0b1bc542bdfd294b030.jpg","text":"TemporaryFile(/tmp/multipartBody6498218446732338058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741451703443,"filename":"image_08032025_17_33_25_10050.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/25342c4f170b491b6c614cdbd15fd187.jpg","text":"TemporaryFile(/tmp/multipartBody4396901703148175079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741451703443,"filename":"image_08032025_17_33_35_10048.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/6b4f5bf816baef88772260a62274d1f9.jpg","text":"TemporaryFile(/tmp/multipartBody3245621606807322835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741451703443,"filename":"image_08032025_17_33_05_10062.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/f1c462dc1d04d8c368b8061a1c2e9fe1.jpg","text":"TemporaryFile(/tmp/multipartBody1332087660948412471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741451703443,"filename":"image_08032025_17_33_15_10063.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/e743b472e56fbf39152faf60901f6a92.jpg","text":"TemporaryFile(/tmp/multipartBody6748512903832300483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741451703443,"filename":"image_08032025_17_32_55_9043.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341935949","file1":"1341935931","file0":"1341935866","file4":"1341935996","file5":"1341936005","file3":"1341935975"},"map_files_photo_id_array":[{"photo_id":"1341936005","filename":"file5"},{"photo_id":"1341935949","filename":"file2"},{"photo_id":"1341935996","filename":"file4"},{"photo_id":"1341935931","filename":"file1"},{"photo_id":"1341935866","filename":"file0"},{"photo_id":"1341935975","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341935866":["hashtag1","hashtag2"]},{"1341935949":["hashtag1","hashtag2"]},{"1341935931":["hashtag1","hashtag2"]},{"1341935996":["hashtag1","hashtag2"]},{"1341935975":["hashtag1","hashtag2"]},{"1341936005":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341935866, 1341935949, 1341935931, 1341935996, 1341935975, 1341936005)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.07725405693054 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 17:35:02.886367
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/17/34/image_08032025_17_34_45_10053.jpg', 2), ('/home/nano/Desktop/images/08032025/17/34/image_08032025_17_34_35_10049.jpg', 2), ('/home/nano/Desktop/images/08032025/17/34/image_08032025_17_34_25_10053.jpg', 2), ('/home/nano/Desktop/images/08032025/17/34/image_08032025_17_34_15_10053.jpg', 2), ('/home/nano/Desktop/images/08032025/17/33/image_08032025_17_34_05_10052.jpg', 2), ('/home/nano/Desktop/images/08032025/17/33/image_08032025_17_33_55_10065.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/17/34/image_08032025_17_34_45_10053.jpg', '/home/nano/Desktop/images/08032025/17/34/image_08032025_17_34_35_10049.jpg', '/home/nano/Desktop/images/08032025/17/34/image_08032025_17_34_25_10053.jpg', '/home/nano/Desktop/images/08032025/17/34/image_08032025_17_34_15_10053.jpg', '/home/nano/Desktop/images/08032025/17/33/image_08032025_17_34_05_10052.jpg', '/home/nano/Desktop/images/08032025/17/33/image_08032025_17_33_55_10065.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/17/34/image_08032025_17_34_45_10053.jpg
/home/nano/Desktop/images/08032025/17/34/image_08032025_17_34_35_10049.jpg
/home/nano/Desktop/images/08032025/17/34/image_08032025_17_34_25_10053.jpg
/home/nano/Desktop/images/08032025/17/34/image_08032025_17_34_15_10053.jpg
/home/nano/Desktop/images/08032025/17/33/image_08032025_17_34_05_10052.jpg
/home/nano/Desktop/images/08032025/17/33/image_08032025_17_33_55_10065.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341936502","1341936462","1341936485","1341936437","1341936359","1341936305"],"photo_ids_order":["1341936305","1341936359","1341936437","1341936462","1341936485","1341936502"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/1affd1c2c86e484fa956c8635669daca.jpg","text":"TemporaryFile(/tmp/multipartBody452541144381396782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741451763325,"filename":"image_08032025_17_33_55_10065.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/33d2e52e2ecfdad153da7002c9c4298d.jpg","text":"TemporaryFile(/tmp/multipartBody3202303061166630054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741451763325,"filename":"image_08032025_17_34_15_10053.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/1572fa54df74c399207cc547e3b59205.jpg","text":"TemporaryFile(/tmp/multipartBody2723813418303160198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741451763325,"filename":"image_08032025_17_34_05_10052.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/2f26556aede89617bbbc10da21f6fe34.jpg","text":"TemporaryFile(/tmp/multipartBody681553872358763373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741451763325,"filename":"image_08032025_17_34_25_10053.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/559deb4e463af7809aad4bbed6366a4a.jpg","text":"TemporaryFile(/tmp/multipartBody7460379927144243229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741451763325,"filename":"image_08032025_17_34_35_10049.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/aaf71500b6c28f07f31bb453ef07f80b.jpg","text":"TemporaryFile(/tmp/multipartBody4190913994033315967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741451763325,"filename":"image_08032025_17_34_45_10053.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341936437","file1":"1341936359","file0":"1341936305","file4":"1341936485","file5":"1341936502","file3":"1341936462"},"map_files_photo_id_array":[{"photo_id":"1341936502","filename":"file5"},{"photo_id":"1341936437","filename":"file2"},{"photo_id":"1341936485","filename":"file4"},{"photo_id":"1341936359","filename":"file1"},{"photo_id":"1341936305","filename":"file0"},{"photo_id":"1341936462","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341936502":["hashtag1","hashtag2"]},{"1341936462":["hashtag1","hashtag2"]},{"1341936485":["hashtag1","hashtag2"]},{"1341936437":["hashtag1","hashtag2"]},{"1341936359":["hashtag1","hashtag2"]},{"1341936305":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341936502, 1341936462, 1341936485, 1341936437, 1341936359, 1341936305)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.96695017814636 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 17:36:02.976912
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/17/35/image_08032025_17_35_46_10070.jpg', 2), ('/home/nano/Desktop/images/08032025/17/35/image_08032025_17_35_35_10049.jpg', 2), ('/home/nano/Desktop/images/08032025/17/35/image_08032025_17_35_25_10042.jpg', 2), ('/home/nano/Desktop/images/08032025/17/35/image_08032025_17_35_15_10043.jpg', 2), ('/home/nano/Desktop/images/08032025/17/34/image_08032025_17_35_05_10072.jpg', 2), ('/home/nano/Desktop/images/08032025/17/34/image_08032025_17_34_55_10047.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/17/35/image_08032025_17_35_46_10070.jpg', '/home/nano/Desktop/images/08032025/17/35/image_08032025_17_35_35_10049.jpg', '/home/nano/Desktop/images/08032025/17/35/image_08032025_17_35_25_10042.jpg', '/home/nano/Desktop/images/08032025/17/35/image_08032025_17_35_15_10043.jpg', '/home/nano/Desktop/images/08032025/17/34/image_08032025_17_35_05_10072.jpg', '/home/nano/Desktop/images/08032025/17/34/image_08032025_17_34_55_10047.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/17/35/image_08032025_17_35_46_10070.jpg
/home/nano/Desktop/images/08032025/17/35/image_08032025_17_35_35_10049.jpg
/home/nano/Desktop/images/08032025/17/35/image_08032025_17_35_25_10042.jpg
/home/nano/Desktop/images/08032025/17/35/image_08032025_17_35_15_10043.jpg
/home/nano/Desktop/images/08032025/17/34/image_08032025_17_35_05_10072.jpg
/home/nano/Desktop/images/08032025/17/34/image_08032025_17_34_55_10047.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341936865","1341936730","1341936808","1341936765","1341936752","1341936689"],"photo_ids_order":["1341936689","1341936730","1341936752","1341936765","1341936808","1341936865"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/756aca5f928d0a12500c39a23aa478f9.jpg","text":"TemporaryFile(/tmp/multipartBody1778373908704775301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741451823437,"filename":"image_08032025_17_34_55_10047.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/ed8aa4038f35df1235fc819d69eeee2e.jpg","text":"TemporaryFile(/tmp/multipartBody158644989021882849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741451823437,"filename":"image_08032025_17_35_35_10049.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/2d36c03e77752d6d8c3dd1cf19a78482.jpg","text":"TemporaryFile(/tmp/multipartBody6115157056969444065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741451823437,"filename":"image_08032025_17_35_05_10072.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/0a3525aed469fa852961c8474daac47a.jpg","text":"TemporaryFile(/tmp/multipartBody4160216322868765710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741451823437,"filename":"image_08032025_17_35_15_10043.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/9543f661b778373f7bc05ce5bc5f909c.jpg","text":"TemporaryFile(/tmp/multipartBody7204584984446348983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741451823437,"filename":"image_08032025_17_35_25_10042.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/76e70beff18aa02cfa00b6b023780755.jpg","text":"TemporaryFile(/tmp/multipartBody5534444995704454852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741451823437,"filename":"image_08032025_17_35_46_10070.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341936752","file1":"1341936730","file0":"1341936689","file4":"1341936808","file5":"1341936865","file3":"1341936765"},"map_files_photo_id_array":[{"photo_id":"1341936865","filename":"file5"},{"photo_id":"1341936752","filename":"file2"},{"photo_id":"1341936808","filename":"file4"},{"photo_id":"1341936730","filename":"file1"},{"photo_id":"1341936689","filename":"file0"},{"photo_id":"1341936765","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341936865":["hashtag1","hashtag2"]},{"1341936730":["hashtag1","hashtag2"]},{"1341936808":["hashtag1","hashtag2"]},{"1341936765":["hashtag1","hashtag2"]},{"1341936752":["hashtag1","hashtag2"]},{"1341936689":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341936865, 1341936730, 1341936808, 1341936765, 1341936752, 1341936689)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.16809129714966 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 17:37:03.141763
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/17/36/image_08032025_17_36_55_10042.jpg', 2), ('/home/nano/Desktop/images/08032025/17/36/image_08032025_17_36_35_10046.jpg', 2), ('/home/nano/Desktop/images/08032025/17/36/image_08032025_17_36_25_10046.jpg', 2), ('/home/nano/Desktop/images/08032025/17/36/image_08032025_17_36_15_10073.jpg', 2), ('/home/nano/Desktop/images/08032025/17/35/image_08032025_17_36_05_10052.jpg', 2), ('/home/nano/Desktop/images/08032025/17/35/image_08032025_17_35_55_9038.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/17/36/image_08032025_17_36_55_10042.jpg', '/home/nano/Desktop/images/08032025/17/36/image_08032025_17_36_35_10046.jpg', '/home/nano/Desktop/images/08032025/17/36/image_08032025_17_36_25_10046.jpg', '/home/nano/Desktop/images/08032025/17/36/image_08032025_17_36_15_10073.jpg', '/home/nano/Desktop/images/08032025/17/35/image_08032025_17_36_05_10052.jpg', '/home/nano/Desktop/images/08032025/17/35/image_08032025_17_35_55_9038.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/17/36/image_08032025_17_36_55_10042.jpg
/home/nano/Desktop/images/08032025/17/36/image_08032025_17_36_35_10046.jpg
/home/nano/Desktop/images/08032025/17/36/image_08032025_17_36_25_10046.jpg
/home/nano/Desktop/images/08032025/17/36/image_08032025_17_36_15_10073.jpg
/home/nano/Desktop/images/08032025/17/35/image_08032025_17_36_05_10052.jpg
/home/nano/Desktop/images/08032025/17/35/image_08032025_17_35_55_9038.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341937281","1341937290","1341937397","1341937314","1341937366","1341937273"],"photo_ids_order":["1341937273","1341937281","1341937290","1341937314","1341937366","1341937397"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/7a81cc25184f9f95479231385b4f5790.jpg","text":"TemporaryFile(/tmp/multipartBody2247836574079596340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741451883606,"filename":"image_08032025_17_36_35_10046.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/9f7e20bd95da0a723a9ff6b04d149886.jpg","text":"TemporaryFile(/tmp/multipartBody1218752689291351317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741451883606,"filename":"image_08032025_17_36_25_10046.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/64e5a2d0773fb012b2d327d66621e22b.jpg","text":"TemporaryFile(/tmp/multipartBody4617756593894939414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741451883606,"filename":"image_08032025_17_35_55_9038.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/8a70d8378a4599e03cfcb426fd502c10.jpg","text":"TemporaryFile(/tmp/multipartBody2248219824745479697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741451883606,"filename":"image_08032025_17_36_15_10073.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/bbe7ccc1dbf1e54c522639d9916dc728.jpg","text":"TemporaryFile(/tmp/multipartBody7680639343171563685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741451883606,"filename":"image_08032025_17_36_05_10052.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/ddd2394610d9be53872700a6c869a62a.jpg","text":"TemporaryFile(/tmp/multipartBody2563866246355732064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741451883606,"filename":"image_08032025_17_36_55_10042.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341937290","file1":"1341937281","file0":"1341937273","file4":"1341937366","file5":"1341937397","file3":"1341937314"},"map_files_photo_id_array":[{"photo_id":"1341937397","filename":"file5"},{"photo_id":"1341937290","filename":"file2"},{"photo_id":"1341937366","filename":"file4"},{"photo_id":"1341937281","filename":"file1"},{"photo_id":"1341937273","filename":"file0"},{"photo_id":"1341937314","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341937281":["hashtag1","hashtag2"]},{"1341937290":["hashtag1","hashtag2"]},{"1341937397":["hashtag1","hashtag2"]},{"1341937314":["hashtag1","hashtag2"]},{"1341937366":["hashtag1","hashtag2"]},{"1341937273":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341937281, 1341937290, 1341937397, 1341937314, 1341937366, 1341937273)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.3592312335968 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 17:38:03.336923
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/17/37/image_08032025_17_37_45_10045.jpg', 2), ('/home/nano/Desktop/images/08032025/17/37/image_08032025_17_37_35_10044.jpg', 2), ('/home/nano/Desktop/images/08032025/17/37/image_08032025_17_37_25_10063.jpg', 2), ('/home/nano/Desktop/images/08032025/17/37/image_08032025_17_37_15_10044.jpg', 2), ('/home/nano/Desktop/images/08032025/17/36/image_08032025_17_37_05_10060.jpg', 2), ('/home/nano/Desktop/images/08032025/17/36/image_08032025_17_36_45_10049.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/17/37/image_08032025_17_37_45_10045.jpg', '/home/nano/Desktop/images/08032025/17/37/image_08032025_17_37_35_10044.jpg', '/home/nano/Desktop/images/08032025/17/37/image_08032025_17_37_25_10063.jpg', '/home/nano/Desktop/images/08032025/17/37/image_08032025_17_37_15_10044.jpg', '/home/nano/Desktop/images/08032025/17/36/image_08032025_17_37_05_10060.jpg', '/home/nano/Desktop/images/08032025/17/36/image_08032025_17_36_45_10049.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/17/37/image_08032025_17_37_45_10045.jpg
/home/nano/Desktop/images/08032025/17/37/image_08032025_17_37_35_10044.jpg
/home/nano/Desktop/images/08032025/17/37/image_08032025_17_37_25_10063.jpg
/home/nano/Desktop/images/08032025/17/37/image_08032025_17_37_15_10044.jpg
/home/nano/Desktop/images/08032025/17/36/image_08032025_17_37_05_10060.jpg
/home/nano/Desktop/images/08032025/17/36/image_08032025_17_36_45_10049.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341937732","1341937731","1341937728","1341937787","1341937766","1341937754"],"photo_ids_order":["1341937728","1341937731","1341937732","1341937754","1341937766","1341937787"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/fe41ae15ee2c859f23c6b7dd2aecc09b.jpg","text":"TemporaryFile(/tmp/multipartBody4641276010045235545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741451943922,"filename":"image_08032025_17_37_25_10063.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/891f43c5b5c92bb2661b985c7f0068f2.jpg","text":"TemporaryFile(/tmp/multipartBody7085964533072676949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741451943922,"filename":"image_08032025_17_37_35_10044.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/d123b703f1f9ea47bbc6b2685af00fc2.jpg","text":"TemporaryFile(/tmp/multipartBody4619066398336501386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741451943922,"filename":"image_08032025_17_37_45_10045.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/7a77da6fa103c076aa36d0296978f1df.jpg","text":"TemporaryFile(/tmp/multipartBody2563945532853917917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741451943922,"filename":"image_08032025_17_36_45_10049.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/6428bf224e2e2ee81e0d9eb5915306d3.jpg","text":"TemporaryFile(/tmp/multipartBody45939439170997502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741451943922,"filename":"image_08032025_17_37_05_10060.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/e0a350069aad0c9bc39d0c5783289e2d.jpg","text":"TemporaryFile(/tmp/multipartBody7105346715715969419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741451943922,"filename":"image_08032025_17_37_15_10044.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341937732","file1":"1341937731","file0":"1341937728","file4":"1341937766","file5":"1341937787","file3":"1341937754"},"map_files_photo_id_array":[{"photo_id":"1341937787","filename":"file5"},{"photo_id":"1341937732","filename":"file2"},{"photo_id":"1341937766","filename":"file4"},{"photo_id":"1341937731","filename":"file1"},{"photo_id":"1341937728","filename":"file0"},{"photo_id":"1341937754","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341937732":["hashtag1","hashtag2"]},{"1341937731":["hashtag1","hashtag2"]},{"1341937728":["hashtag1","hashtag2"]},{"1341937787":["hashtag1","hashtag2"]},{"1341937766":["hashtag1","hashtag2"]},{"1341937754":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341937732, 1341937731, 1341937728, 1341937787, 1341937766, 1341937754)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.085609912872314 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 17:39:02.770172
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/17/38/image_08032025_17_38_45_10044.jpg', 2), ('/home/nano/Desktop/images/08032025/17/38/image_08032025_17_38_35_10041.jpg', 2), ('/home/nano/Desktop/images/08032025/17/38/image_08032025_17_38_25_10045.jpg', 2), ('/home/nano/Desktop/images/08032025/17/38/image_08032025_17_38_15_10048.jpg', 2), ('/home/nano/Desktop/images/08032025/17/37/image_08032025_17_38_05_10064.jpg', 2), ('/home/nano/Desktop/images/08032025/17/37/image_08032025_17_37_55_10045.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/17/38/image_08032025_17_38_45_10044.jpg', '/home/nano/Desktop/images/08032025/17/38/image_08032025_17_38_35_10041.jpg', '/home/nano/Desktop/images/08032025/17/38/image_08032025_17_38_25_10045.jpg', '/home/nano/Desktop/images/08032025/17/38/image_08032025_17_38_15_10048.jpg', '/home/nano/Desktop/images/08032025/17/37/image_08032025_17_38_05_10064.jpg', '/home/nano/Desktop/images/08032025/17/37/image_08032025_17_37_55_10045.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/17/38/image_08032025_17_38_45_10044.jpg
/home/nano/Desktop/images/08032025/17/38/image_08032025_17_38_35_10041.jpg
/home/nano/Desktop/images/08032025/17/38/image_08032025_17_38_25_10045.jpg
/home/nano/Desktop/images/08032025/17/38/image_08032025_17_38_15_10048.jpg
/home/nano/Desktop/images/08032025/17/37/image_08032025_17_38_05_10064.jpg
/home/nano/Desktop/images/08032025/17/37/image_08032025_17_37_55_10045.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341937920","1341938060","1341937994","1341937895","1341938138","1341937958"],"photo_ids_order":["1341937895","1341937920","1341937958","1341937994","1341938060","1341938138"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/9e4ce973064e547f64ad36d56c1b16dc.jpg","text":"TemporaryFile(/tmp/multipartBody5165728331804364905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741452003219,"filename":"image_08032025_17_38_35_10041.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/c4e85273f5cd6553c146bd3509c54441.jpg","text":"TemporaryFile(/tmp/multipartBody6740046639544595999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741452003219,"filename":"image_08032025_17_38_05_10064.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/791f525cd63ee7de5dc5b702aa162f66.jpg","text":"TemporaryFile(/tmp/multipartBody1161072002241853515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741452003219,"filename":"image_08032025_17_38_15_10048.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/6511d10ecc43e5276eebf58d151c9597.jpg","text":"TemporaryFile(/tmp/multipartBody2568652551808103232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741452003219,"filename":"image_08032025_17_38_45_10044.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/7c088913af771dbb59c0b5a651c99779.jpg","text":"TemporaryFile(/tmp/multipartBody8612396377996995635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741452003219,"filename":"image_08032025_17_37_55_10045.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/3fcdff635e1fe3b235a486e89485ed50.jpg","text":"TemporaryFile(/tmp/multipartBody804331156797156208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741452003219,"filename":"image_08032025_17_38_25_10045.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341937958","file1":"1341937920","file0":"1341937895","file4":"1341938060","file5":"1341938138","file3":"1341937994"},"map_files_photo_id_array":[{"photo_id":"1341938138","filename":"file5"},{"photo_id":"1341937958","filename":"file2"},{"photo_id":"1341938060","filename":"file4"},{"photo_id":"1341937920","filename":"file1"},{"photo_id":"1341937895","filename":"file0"},{"photo_id":"1341937994","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341937920":["hashtag1","hashtag2"]},{"1341938060":["hashtag1","hashtag2"]},{"1341937994":["hashtag1","hashtag2"]},{"1341937895":["hashtag1","hashtag2"]},{"1341938138":["hashtag1","hashtag2"]},{"1341937958":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341937920, 1341938060, 1341937994, 1341937895, 1341938138, 1341937958)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.70247983932495 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 17:40:02.427147
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/17/39/image_08032025_17_39_45_10050.jpg', 2), ('/home/nano/Desktop/images/08032025/17/39/image_08032025_17_39_35_10053.jpg', 2), ('/home/nano/Desktop/images/08032025/17/39/image_08032025_17_39_25_10073.jpg', 2), ('/home/nano/Desktop/images/08032025/17/39/image_08032025_17_39_15_9053.jpg', 2), ('/home/nano/Desktop/images/08032025/17/38/image_08032025_17_39_06_10053.jpg', 2), ('/home/nano/Desktop/images/08032025/17/38/image_08032025_17_38_55_10040.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/17/39/image_08032025_17_39_45_10050.jpg', '/home/nano/Desktop/images/08032025/17/39/image_08032025_17_39_35_10053.jpg', '/home/nano/Desktop/images/08032025/17/39/image_08032025_17_39_25_10073.jpg', '/home/nano/Desktop/images/08032025/17/39/image_08032025_17_39_15_9053.jpg', '/home/nano/Desktop/images/08032025/17/38/image_08032025_17_39_06_10053.jpg', '/home/nano/Desktop/images/08032025/17/38/image_08032025_17_38_55_10040.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/17/39/image_08032025_17_39_45_10050.jpg
/home/nano/Desktop/images/08032025/17/39/image_08032025_17_39_35_10053.jpg
/home/nano/Desktop/images/08032025/17/39/image_08032025_17_39_25_10073.jpg
/home/nano/Desktop/images/08032025/17/39/image_08032025_17_39_15_9053.jpg
/home/nano/Desktop/images/08032025/17/38/image_08032025_17_39_06_10053.jpg
/home/nano/Desktop/images/08032025/17/38/image_08032025_17_38_55_10040.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341938550","1341938582","1341938674","1341938641","1341938518","1341938506"],"photo_ids_order":["1341938506","1341938518","1341938550","1341938582","1341938641","1341938674"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/31cfe3742ae349be2cc6a7d33448d846.jpg","text":"TemporaryFile(/tmp/multipartBody2850248102726403029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741452062875,"filename":"image_08032025_17_39_25_10073.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/9412ab40e98ce7b981f475244bc88eb5.jpg","text":"TemporaryFile(/tmp/multipartBody3159093629756843287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741452062875,"filename":"image_08032025_17_39_15_9053.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/1487973e40f7b32da01e6e541b23993b.jpg","text":"TemporaryFile(/tmp/multipartBody531710927190228281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741452062875,"filename":"image_08032025_17_38_55_10040.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/ea75e5a479d111eb5c6d4feb064a0aed.jpg","text":"TemporaryFile(/tmp/multipartBody3170597115911345118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741452062875,"filename":"image_08032025_17_39_06_10053.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/6172ea1cea875ec270fa688998dd4b0e.jpg","text":"TemporaryFile(/tmp/multipartBody4221017995422561645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741452062875,"filename":"image_08032025_17_39_35_10053.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/f059810029836706c7113a01a98afcb0.jpg","text":"TemporaryFile(/tmp/multipartBody6989741353108080820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741452062875,"filename":"image_08032025_17_39_45_10050.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341938550","file1":"1341938518","file0":"1341938506","file4":"1341938641","file5":"1341938674","file3":"1341938582"},"map_files_photo_id_array":[{"photo_id":"1341938674","filename":"file5"},{"photo_id":"1341938550","filename":"file2"},{"photo_id":"1341938641","filename":"file4"},{"photo_id":"1341938518","filename":"file1"},{"photo_id":"1341938506","filename":"file0"},{"photo_id":"1341938582","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341938550":["hashtag1","hashtag2"]},{"1341938582":["hashtag1","hashtag2"]},{"1341938674":["hashtag1","hashtag2"]},{"1341938641":["hashtag1","hashtag2"]},{"1341938518":["hashtag1","hashtag2"]},{"1341938506":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341938550, 1341938582, 1341938674, 1341938641, 1341938518, 1341938506)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.4177508354187 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 17:41:02.668963
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/17/40/image_08032025_17_40_45_10042.jpg', 2), ('/home/nano/Desktop/images/08032025/17/40/image_08032025_17_40_35_10043.jpg', 2), ('/home/nano/Desktop/images/08032025/17/40/image_08032025_17_40_25_10042.jpg', 2), ('/home/nano/Desktop/images/08032025/17/40/image_08032025_17_40_15_10048.jpg', 2), ('/home/nano/Desktop/images/08032025/17/39/image_08032025_17_40_05_10078.jpg', 2), ('/home/nano/Desktop/images/08032025/17/39/image_08032025_17_39_55_10047.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/17/40/image_08032025_17_40_45_10042.jpg', '/home/nano/Desktop/images/08032025/17/40/image_08032025_17_40_35_10043.jpg', '/home/nano/Desktop/images/08032025/17/40/image_08032025_17_40_25_10042.jpg', '/home/nano/Desktop/images/08032025/17/40/image_08032025_17_40_15_10048.jpg', '/home/nano/Desktop/images/08032025/17/39/image_08032025_17_40_05_10078.jpg', '/home/nano/Desktop/images/08032025/17/39/image_08032025_17_39_55_10047.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/17/40/image_08032025_17_40_45_10042.jpg
/home/nano/Desktop/images/08032025/17/40/image_08032025_17_40_35_10043.jpg
/home/nano/Desktop/images/08032025/17/40/image_08032025_17_40_25_10042.jpg
/home/nano/Desktop/images/08032025/17/40/image_08032025_17_40_15_10048.jpg
/home/nano/Desktop/images/08032025/17/39/image_08032025_17_40_05_10078.jpg
/home/nano/Desktop/images/08032025/17/39/image_08032025_17_39_55_10047.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341938943","1341938937","1341938963","1341938948","1341938986","1341938947"],"photo_ids_order":["1341938937","1341938943","1341938947","1341938948","1341938963","1341938986"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/93cffb15f26ba2b06e5786f0c7aef07b.jpg","text":"TemporaryFile(/tmp/multipartBody6808925812718999483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741452123107,"filename":"image_08032025_17_40_35_10043.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/80e01649c249ea0abd17b5ca6555e220.jpg","text":"TemporaryFile(/tmp/multipartBody8931592599462599772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741452123107,"filename":"image_08032025_17_40_45_10042.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/96cad2acb79da0f2c3d847bd057a4150.jpg","text":"TemporaryFile(/tmp/multipartBody8669293759818188885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741452123107,"filename":"image_08032025_17_40_05_10078.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/95f9ad73dcf83d0731efa4541a0f355f.jpg","text":"TemporaryFile(/tmp/multipartBody2880407459400760601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741452123107,"filename":"image_08032025_17_40_15_10048.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/33ddb56d1b5deab0b00f47e01b958bb3.jpg","text":"TemporaryFile(/tmp/multipartBody2347755929662198833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741452123107,"filename":"image_08032025_17_39_55_10047.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/0f6300db75e3a78be529e7cf95531161.jpg","text":"TemporaryFile(/tmp/multipartBody5503518492389209016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741452123107,"filename":"image_08032025_17_40_25_10042.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341938947","file1":"1341938943","file0":"1341938937","file4":"1341938963","file5":"1341938986","file3":"1341938948"},"map_files_photo_id_array":[{"photo_id":"1341938986","filename":"file5"},{"photo_id":"1341938947","filename":"file2"},{"photo_id":"1341938963","filename":"file4"},{"photo_id":"1341938943","filename":"file1"},{"photo_id":"1341938937","filename":"file0"},{"photo_id":"1341938948","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341938943":["hashtag1","hashtag2"]},{"1341938937":["hashtag1","hashtag2"]},{"1341938963":["hashtag1","hashtag2"]},{"1341938948":["hashtag1","hashtag2"]},{"1341938986":["hashtag1","hashtag2"]},{"1341938947":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341938943, 1341938937, 1341938963, 1341938948, 1341938986, 1341938947)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.41167664527893 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 17:42:02.659168
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/17/41/image_08032025_17_41_45_10047.jpg', 2), ('/home/nano/Desktop/images/08032025/17/41/image_08032025_17_41_35_10043.jpg', 2), ('/home/nano/Desktop/images/08032025/17/41/image_08032025_17_41_25_10054.jpg', 2), ('/home/nano/Desktop/images/08032025/17/41/image_08032025_17_41_15_10065.jpg', 2), ('/home/nano/Desktop/images/08032025/17/40/image_08032025_17_41_05_10060.jpg', 2), ('/home/nano/Desktop/images/08032025/17/40/image_08032025_17_40_55_10048.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/17/41/image_08032025_17_41_45_10047.jpg', '/home/nano/Desktop/images/08032025/17/41/image_08032025_17_41_35_10043.jpg', '/home/nano/Desktop/images/08032025/17/41/image_08032025_17_41_25_10054.jpg', '/home/nano/Desktop/images/08032025/17/41/image_08032025_17_41_15_10065.jpg', '/home/nano/Desktop/images/08032025/17/40/image_08032025_17_41_05_10060.jpg', '/home/nano/Desktop/images/08032025/17/40/image_08032025_17_40_55_10048.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/17/41/image_08032025_17_41_45_10047.jpg
/home/nano/Desktop/images/08032025/17/41/image_08032025_17_41_35_10043.jpg
/home/nano/Desktop/images/08032025/17/41/image_08032025_17_41_25_10054.jpg
/home/nano/Desktop/images/08032025/17/41/image_08032025_17_41_15_10065.jpg
/home/nano/Desktop/images/08032025/17/40/image_08032025_17_41_05_10060.jpg
/home/nano/Desktop/images/08032025/17/40/image_08032025_17_40_55_10048.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341939030","1341939065","1341939064","1341939031","1341939066","1341939063"],"photo_ids_order":["1341939030","1341939031","1341939063","1341939064","1341939065","1341939066"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/e4dfbefb8ce1b1f78556a1e8ee45bcea.jpg","text":"TemporaryFile(/tmp/multipartBody3422250573776445735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741452183119,"filename":"image_08032025_17_41_45_10047.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/f9952e62153f81f70f961bd68584156a.jpg","text":"TemporaryFile(/tmp/multipartBody7010138500426478185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741452183119,"filename":"image_08032025_17_41_05_10060.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/2cd35c3012b72bb3f852ec34e0cd0510.jpg","text":"TemporaryFile(/tmp/multipartBody1097825641339496486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741452183119,"filename":"image_08032025_17_41_15_10065.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/61a1c4a54eb448ac15fb743973cd5864.jpg","text":"TemporaryFile(/tmp/multipartBody7727549758093522192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741452183119,"filename":"image_08032025_17_41_35_10043.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/9631df87ba6c0e788f2c2536d1d9489e.jpg","text":"TemporaryFile(/tmp/multipartBody8543335095488158334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741452183119,"filename":"image_08032025_17_40_55_10048.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/5ca09630d6fd13f793f89f1c7812227e.jpg","text":"TemporaryFile(/tmp/multipartBody2390899920076052626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741452183119,"filename":"image_08032025_17_41_25_10054.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341939063","file1":"1341939031","file0":"1341939030","file4":"1341939065","file5":"1341939066","file3":"1341939064"},"map_files_photo_id_array":[{"photo_id":"1341939066","filename":"file5"},{"photo_id":"1341939063","filename":"file2"},{"photo_id":"1341939065","filename":"file4"},{"photo_id":"1341939031","filename":"file1"},{"photo_id":"1341939030","filename":"file0"},{"photo_id":"1341939064","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341939030":["hashtag1","hashtag2"]},{"1341939065":["hashtag1","hashtag2"]},{"1341939064":["hashtag1","hashtag2"]},{"1341939031":["hashtag1","hashtag2"]},{"1341939066":["hashtag1","hashtag2"]},{"1341939063":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341939030, 1341939065, 1341939064, 1341939031, 1341939066, 1341939063)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.59153079986572 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 17:43:02.937653
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/17/42/image_08032025_17_42_45_10045.jpg', 2), ('/home/nano/Desktop/images/08032025/17/42/image_08032025_17_42_35_10048.jpg', 2), ('/home/nano/Desktop/images/08032025/17/42/image_08032025_17_42_25_9057.jpg', 2), ('/home/nano/Desktop/images/08032025/17/42/image_08032025_17_42_16_10046.jpg', 2), ('/home/nano/Desktop/images/08032025/17/41/image_08032025_17_42_06_10083.jpg', 2), ('/home/nano/Desktop/images/08032025/17/41/image_08032025_17_41_55_10046.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/17/42/image_08032025_17_42_45_10045.jpg', '/home/nano/Desktop/images/08032025/17/42/image_08032025_17_42_35_10048.jpg', '/home/nano/Desktop/images/08032025/17/42/image_08032025_17_42_25_9057.jpg', '/home/nano/Desktop/images/08032025/17/42/image_08032025_17_42_16_10046.jpg', '/home/nano/Desktop/images/08032025/17/41/image_08032025_17_42_06_10083.jpg', '/home/nano/Desktop/images/08032025/17/41/image_08032025_17_41_55_10046.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/17/42/image_08032025_17_42_45_10045.jpg
/home/nano/Desktop/images/08032025/17/42/image_08032025_17_42_35_10048.jpg
/home/nano/Desktop/images/08032025/17/42/image_08032025_17_42_25_9057.jpg
/home/nano/Desktop/images/08032025/17/42/image_08032025_17_42_16_10046.jpg
/home/nano/Desktop/images/08032025/17/41/image_08032025_17_42_06_10083.jpg
/home/nano/Desktop/images/08032025/17/41/image_08032025_17_41_55_10046.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341939470","1341939371","1341939440","1341939404","1341939294","1341939345"],"photo_ids_order":["1341939294","1341939345","1341939371","1341939404","1341939440","1341939470"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/a4784053433c0a8b749514adbc02d35e.jpg","text":"TemporaryFile(/tmp/multipartBody4697559788049094458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741452243391,"filename":"image_08032025_17_41_55_10046.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/376455d95180c86ab69e7c2167c53ac0.jpg","text":"TemporaryFile(/tmp/multipartBody3570290728923312829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741452243391,"filename":"image_08032025_17_42_25_9057.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/25dfec4da9cf35a075b820d4ebc04d11.jpg","text":"TemporaryFile(/tmp/multipartBody984989450620484126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741452243391,"filename":"image_08032025_17_42_06_10083.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/abdebbf3831bf72fd9e440e2bfad0dd9.jpg","text":"TemporaryFile(/tmp/multipartBody6674844804584047350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741452243391,"filename":"image_08032025_17_42_16_10046.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/3f90b45b9823f38e9959295fb63623df.jpg","text":"TemporaryFile(/tmp/multipartBody5202802377591118409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741452243391,"filename":"image_08032025_17_42_45_10045.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/15e09367080357a456885060d5823b19.jpg","text":"TemporaryFile(/tmp/multipartBody1465032106093399821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741452243391,"filename":"image_08032025_17_42_35_10048.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341939371","file1":"1341939345","file0":"1341939294","file4":"1341939440","file5":"1341939470","file3":"1341939404"},"map_files_photo_id_array":[{"photo_id":"1341939470","filename":"file5"},{"photo_id":"1341939371","filename":"file2"},{"photo_id":"1341939440","filename":"file4"},{"photo_id":"1341939345","filename":"file1"},{"photo_id":"1341939294","filename":"file0"},{"photo_id":"1341939404","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341939470":["hashtag1","hashtag2"]},{"1341939371":["hashtag1","hashtag2"]},{"1341939440":["hashtag1","hashtag2"]},{"1341939404":["hashtag1","hashtag2"]},{"1341939294":["hashtag1","hashtag2"]},{"1341939345":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341939470, 1341939371, 1341939440, 1341939404, 1341939294, 1341939345)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.98613524436951 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 17:44:03.231267
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/17/43/image_08032025_17_43_45_10048.jpg', 2), ('/home/nano/Desktop/images/08032025/17/43/image_08032025_17_43_35_10050.jpg', 2), ('/home/nano/Desktop/images/08032025/17/43/image_08032025_17_43_25_10048.jpg', 2), ('/home/nano/Desktop/images/08032025/17/43/image_08032025_17_43_15_10048.jpg', 2), ('/home/nano/Desktop/images/08032025/17/42/image_08032025_17_43_05_10063.jpg', 2), ('/home/nano/Desktop/images/08032025/17/42/image_08032025_17_42_55_10044.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/17/43/image_08032025_17_43_45_10048.jpg', '/home/nano/Desktop/images/08032025/17/43/image_08032025_17_43_35_10050.jpg', '/home/nano/Desktop/images/08032025/17/43/image_08032025_17_43_25_10048.jpg', '/home/nano/Desktop/images/08032025/17/43/image_08032025_17_43_15_10048.jpg', '/home/nano/Desktop/images/08032025/17/42/image_08032025_17_43_05_10063.jpg', '/home/nano/Desktop/images/08032025/17/42/image_08032025_17_42_55_10044.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/17/43/image_08032025_17_43_45_10048.jpg
/home/nano/Desktop/images/08032025/17/43/image_08032025_17_43_35_10050.jpg
/home/nano/Desktop/images/08032025/17/43/image_08032025_17_43_25_10048.jpg
/home/nano/Desktop/images/08032025/17/43/image_08032025_17_43_15_10048.jpg
/home/nano/Desktop/images/08032025/17/42/image_08032025_17_43_05_10063.jpg
/home/nano/Desktop/images/08032025/17/42/image_08032025_17_42_55_10044.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341939839","1341939982","1341939877","1341939943","1341940063","1341940003"],"photo_ids_order":["1341939839","1341939877","1341939943","1341939982","1341940003","1341940063"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/9d0fea34fd62473b979d0ecab371a0dd.jpg","text":"TemporaryFile(/tmp/multipartBody4313681885138804578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741452303670,"filename":"image_08032025_17_43_45_10048.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/308cddcbf77d80617b45b91f4ae69d5a.jpg","text":"TemporaryFile(/tmp/multipartBody1883976199001093088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741452303670,"filename":"image_08032025_17_43_15_10048.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/8bd60e7d4d028c4b38ec76b925aeee08.jpg","text":"TemporaryFile(/tmp/multipartBody3623076315502893792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741452303670,"filename":"image_08032025_17_43_35_10050.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/890c30bdfa5c48169b4e98bea84df583.jpg","text":"TemporaryFile(/tmp/multipartBody3652421110700450489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741452303670,"filename":"image_08032025_17_43_25_10048.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/c152048229a6fd87082dfaeee6ae7662.jpg","text":"TemporaryFile(/tmp/multipartBody7558460817456471986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741452303670,"filename":"image_08032025_17_42_55_10044.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/59193dccea88f5588694f4de5805568b.jpg","text":"TemporaryFile(/tmp/multipartBody570845434562821945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741452303670,"filename":"image_08032025_17_43_05_10063.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341939943","file1":"1341939877","file0":"1341939839","file4":"1341940003","file5":"1341940063","file3":"1341939982"},"map_files_photo_id_array":[{"photo_id":"1341940063","filename":"file5"},{"photo_id":"1341939943","filename":"file2"},{"photo_id":"1341940003","filename":"file4"},{"photo_id":"1341939877","filename":"file1"},{"photo_id":"1341939839","filename":"file0"},{"photo_id":"1341939982","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341939839":["hashtag1","hashtag2"]},{"1341939982":["hashtag1","hashtag2"]},{"1341939877":["hashtag1","hashtag2"]},{"1341939943":["hashtag1","hashtag2"]},{"1341940063":["hashtag1","hashtag2"]},{"1341940003":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341939839, 1341939982, 1341939877, 1341939943, 1341940063, 1341940003)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.2506947517395 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 17:45:03.052703
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/17/44/image_08032025_17_44_46_10056.jpg', 2), ('/home/nano/Desktop/images/08032025/17/44/image_08032025_17_44_35_10056.jpg', 2), ('/home/nano/Desktop/images/08032025/17/44/image_08032025_17_44_25_10073.jpg', 2), ('/home/nano/Desktop/images/08032025/17/44/image_08032025_17_44_15_10194.jpg', 2), ('/home/nano/Desktop/images/08032025/17/43/image_08032025_17_44_05_10081.jpg', 2), ('/home/nano/Desktop/images/08032025/17/43/image_08032025_17_43_55_10053.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/17/44/image_08032025_17_44_46_10056.jpg', '/home/nano/Desktop/images/08032025/17/44/image_08032025_17_44_35_10056.jpg', '/home/nano/Desktop/images/08032025/17/44/image_08032025_17_44_25_10073.jpg', '/home/nano/Desktop/images/08032025/17/44/image_08032025_17_44_15_10194.jpg', '/home/nano/Desktop/images/08032025/17/43/image_08032025_17_44_05_10081.jpg', '/home/nano/Desktop/images/08032025/17/43/image_08032025_17_43_55_10053.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/17/44/image_08032025_17_44_46_10056.jpg
/home/nano/Desktop/images/08032025/17/44/image_08032025_17_44_35_10056.jpg
/home/nano/Desktop/images/08032025/17/44/image_08032025_17_44_25_10073.jpg
/home/nano/Desktop/images/08032025/17/44/image_08032025_17_44_15_10194.jpg
/home/nano/Desktop/images/08032025/17/43/image_08032025_17_44_05_10081.jpg
/home/nano/Desktop/images/08032025/17/43/image_08032025_17_43_55_10053.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341940581","1341940476","1341940398","1341940623","1341940613","1341940610"],"photo_ids_order":["1341940398","1341940476","1341940581","1341940610","1341940613","1341940623"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/28d9af0e30cad57d9c47357a915cf556.jpg","text":"TemporaryFile(/tmp/multipartBody7621071136955161809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741452363501,"filename":"image_08032025_17_44_25_10073.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/df9643281214993ca9cfb7c39498b83b.jpg","text":"TemporaryFile(/tmp/multipartBody2093170154377599812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741452363501,"filename":"image_08032025_17_44_35_10056.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/dbd65f71a485d225e52c59cd148f1e49.jpg","text":"TemporaryFile(/tmp/multipartBody1939687166785905316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741452363501,"filename":"image_08032025_17_44_46_10056.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/76f244db1c1fae33794559f9532e0aaa.jpg","text":"TemporaryFile(/tmp/multipartBody6246242149315464653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741452363501,"filename":"image_08032025_17_43_55_10053.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/5680c33c55bf6313516f4be1dfc5689a.jpg","text":"TemporaryFile(/tmp/multipartBody1807854331789038673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741452363501,"filename":"image_08032025_17_44_05_10081.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/8cfbd094a35294e2e4dfea4c222c1de2.jpg","text":"TemporaryFile(/tmp/multipartBody1583753530097186516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741452363501,"filename":"image_08032025_17_44_15_10194.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341940581","file1":"1341940476","file0":"1341940398","file4":"1341940613","file5":"1341940623","file3":"1341940610"},"map_files_photo_id_array":[{"photo_id":"1341940623","filename":"file5"},{"photo_id":"1341940581","filename":"file2"},{"photo_id":"1341940613","filename":"file4"},{"photo_id":"1341940476","filename":"file1"},{"photo_id":"1341940398","filename":"file0"},{"photo_id":"1341940610","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341940581":["hashtag1","hashtag2"]},{"1341940476":["hashtag1","hashtag2"]},{"1341940398":["hashtag1","hashtag2"]},{"1341940623":["hashtag1","hashtag2"]},{"1341940613":["hashtag1","hashtag2"]},{"1341940610":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341940581, 1341940476, 1341940398, 1341940623, 1341940613, 1341940610)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.02786374092102 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 17:46:02.864174
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/17/45/image_08032025_17_45_45_10049.jpg', 2), ('/home/nano/Desktop/images/08032025/17/45/image_08032025_17_45_35_10047.jpg', 2), ('/home/nano/Desktop/images/08032025/17/45/image_08032025_17_45_25_10047.jpg', 2), ('/home/nano/Desktop/images/08032025/17/45/image_08032025_17_45_15_10054.jpg', 2), ('/home/nano/Desktop/images/08032025/17/44/image_08032025_17_45_05_10078.jpg', 2), ('/home/nano/Desktop/images/08032025/17/44/image_08032025_17_44_55_9041.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/17/45/image_08032025_17_45_45_10049.jpg', '/home/nano/Desktop/images/08032025/17/45/image_08032025_17_45_35_10047.jpg', '/home/nano/Desktop/images/08032025/17/45/image_08032025_17_45_25_10047.jpg', '/home/nano/Desktop/images/08032025/17/45/image_08032025_17_45_15_10054.jpg', '/home/nano/Desktop/images/08032025/17/44/image_08032025_17_45_05_10078.jpg', '/home/nano/Desktop/images/08032025/17/44/image_08032025_17_44_55_9041.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/17/45/image_08032025_17_45_45_10049.jpg
/home/nano/Desktop/images/08032025/17/45/image_08032025_17_45_35_10047.jpg
/home/nano/Desktop/images/08032025/17/45/image_08032025_17_45_25_10047.jpg
/home/nano/Desktop/images/08032025/17/45/image_08032025_17_45_15_10054.jpg
/home/nano/Desktop/images/08032025/17/44/image_08032025_17_45_05_10078.jpg
/home/nano/Desktop/images/08032025/17/44/image_08032025_17_44_55_9041.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341940986","1341940866","1341940908","1341940955","1341940937","1341940893"],"photo_ids_order":["1341940866","1341940893","1341940908","1341940937","1341940955","1341940986"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/85af5ad586d49ab7b6567de4c7555945.jpg","text":"TemporaryFile(/tmp/multipartBody5895684107934739251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741452423321,"filename":"image_08032025_17_44_55_9041.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/2b086e122c8cdfe53b8b71163d3bb46b.jpg","text":"TemporaryFile(/tmp/multipartBody7122429607038731222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741452423321,"filename":"image_08032025_17_45_45_10049.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/ab18e525e32bf2691c14b700037ca734.jpg","text":"TemporaryFile(/tmp/multipartBody569163757084016266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741452423321,"filename":"image_08032025_17_45_25_10047.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/da4196a37788be1afd48de9a14e711ba.jpg","text":"TemporaryFile(/tmp/multipartBody7724452862343825758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741452423321,"filename":"image_08032025_17_45_05_10078.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/c51fb968699e908fbfa722c8e6d4b710.jpg","text":"TemporaryFile(/tmp/multipartBody2931166355328245949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741452423321,"filename":"image_08032025_17_45_15_10054.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/197e38feeaf69269c0cfd97190af6188.jpg","text":"TemporaryFile(/tmp/multipartBody343507253134370404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741452423321,"filename":"image_08032025_17_45_35_10047.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341940908","file1":"1341940893","file0":"1341940866","file4":"1341940955","file5":"1341940986","file3":"1341940937"},"map_files_photo_id_array":[{"photo_id":"1341940986","filename":"file5"},{"photo_id":"1341940908","filename":"file2"},{"photo_id":"1341940955","filename":"file4"},{"photo_id":"1341940893","filename":"file1"},{"photo_id":"1341940866","filename":"file0"},{"photo_id":"1341940937","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341940986":["hashtag1","hashtag2"]},{"1341940866":["hashtag1","hashtag2"]},{"1341940908":["hashtag1","hashtag2"]},{"1341940955":["hashtag1","hashtag2"]},{"1341940937":["hashtag1","hashtag2"]},{"1341940893":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341940986, 1341940866, 1341940908, 1341940955, 1341940937, 1341940893)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.47114562988281 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 17:47:03.275539
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/17/46/image_08032025_17_46_45_10045.jpg', 2), ('/home/nano/Desktop/images/08032025/17/46/image_08032025_17_46_35_10044.jpg', 2), ('/home/nano/Desktop/images/08032025/17/46/image_08032025_17_46_25_10051.jpg', 2), ('/home/nano/Desktop/images/08032025/17/46/image_08032025_17_46_15_10053.jpg', 2), ('/home/nano/Desktop/images/08032025/17/45/image_08032025_17_46_05_10057.jpg', 2), ('/home/nano/Desktop/images/08032025/17/45/image_08032025_17_45_55_10052.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/17/46/image_08032025_17_46_45_10045.jpg', '/home/nano/Desktop/images/08032025/17/46/image_08032025_17_46_35_10044.jpg', '/home/nano/Desktop/images/08032025/17/46/image_08032025_17_46_25_10051.jpg', '/home/nano/Desktop/images/08032025/17/46/image_08032025_17_46_15_10053.jpg', '/home/nano/Desktop/images/08032025/17/45/image_08032025_17_46_05_10057.jpg', '/home/nano/Desktop/images/08032025/17/45/image_08032025_17_45_55_10052.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/17/46/image_08032025_17_46_45_10045.jpg
/home/nano/Desktop/images/08032025/17/46/image_08032025_17_46_35_10044.jpg
/home/nano/Desktop/images/08032025/17/46/image_08032025_17_46_25_10051.jpg
/home/nano/Desktop/images/08032025/17/46/image_08032025_17_46_15_10053.jpg
/home/nano/Desktop/images/08032025/17/45/image_08032025_17_46_05_10057.jpg
/home/nano/Desktop/images/08032025/17/45/image_08032025_17_45_55_10052.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341941195","1341941229","1341941186","1341941222","1341941209","1341941199"],"photo_ids_order":["1341941186","1341941195","1341941199","1341941209","1341941222","1341941229"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/3f6250b6d85eeff9a06f335b19e7a114.jpg","text":"TemporaryFile(/tmp/multipartBody4234951934787033478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741452483730,"filename":"image_08032025_17_46_35_10044.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/937eeeab21ed5785575c31f11d0956a4.jpg","text":"TemporaryFile(/tmp/multipartBody24751762749611240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741452483730,"filename":"image_08032025_17_45_55_10052.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/7ef2d7e19f37ad762aadc7cd8bfc4ee7.jpg","text":"TemporaryFile(/tmp/multipartBody6585086599413579410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741452483730,"filename":"image_08032025_17_46_45_10045.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/d0bc993e403a4ef36c404a6a4f8822ea.jpg","text":"TemporaryFile(/tmp/multipartBody6661712063623919563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741452483730,"filename":"image_08032025_17_46_05_10057.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/953ab3c77b7b9b04e1cab54f45dd4c51.jpg","text":"TemporaryFile(/tmp/multipartBody1726291990233590045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741452483730,"filename":"image_08032025_17_46_15_10053.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/3d4c32c20e1fe3b3e1e9ff6ebb48a5e0.jpg","text":"TemporaryFile(/tmp/multipartBody797452164990358421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741452483730,"filename":"image_08032025_17_46_25_10051.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341941199","file1":"1341941195","file0":"1341941186","file4":"1341941222","file5":"1341941229","file3":"1341941209"},"map_files_photo_id_array":[{"photo_id":"1341941229","filename":"file5"},{"photo_id":"1341941199","filename":"file2"},{"photo_id":"1341941222","filename":"file4"},{"photo_id":"1341941195","filename":"file1"},{"photo_id":"1341941186","filename":"file0"},{"photo_id":"1341941209","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341941195":["hashtag1","hashtag2"]},{"1341941229":["hashtag1","hashtag2"]},{"1341941186":["hashtag1","hashtag2"]},{"1341941222":["hashtag1","hashtag2"]},{"1341941209":["hashtag1","hashtag2"]},{"1341941199":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341941195, 1341941229, 1341941186, 1341941222, 1341941209, 1341941199)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.85812950134277 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 17:48:02.261899
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/17/47/image_08032025_17_47_45_10049.jpg', 2), ('/home/nano/Desktop/images/08032025/17/47/image_08032025_17_47_35_10053.jpg', 2), ('/home/nano/Desktop/images/08032025/17/47/image_08032025_17_47_25_10048.jpg', 2), ('/home/nano/Desktop/images/08032025/17/47/image_08032025_17_47_15_10072.jpg', 2), ('/home/nano/Desktop/images/08032025/17/46/image_08032025_17_47_05_10055.jpg', 2), ('/home/nano/Desktop/images/08032025/17/46/image_08032025_17_46_55_10047.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/17/47/image_08032025_17_47_45_10049.jpg', '/home/nano/Desktop/images/08032025/17/47/image_08032025_17_47_35_10053.jpg', '/home/nano/Desktop/images/08032025/17/47/image_08032025_17_47_25_10048.jpg', '/home/nano/Desktop/images/08032025/17/47/image_08032025_17_47_15_10072.jpg', '/home/nano/Desktop/images/08032025/17/46/image_08032025_17_47_05_10055.jpg', '/home/nano/Desktop/images/08032025/17/46/image_08032025_17_46_55_10047.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/17/47/image_08032025_17_47_45_10049.jpg
/home/nano/Desktop/images/08032025/17/47/image_08032025_17_47_35_10053.jpg
/home/nano/Desktop/images/08032025/17/47/image_08032025_17_47_25_10048.jpg
/home/nano/Desktop/images/08032025/17/47/image_08032025_17_47_15_10072.jpg
/home/nano/Desktop/images/08032025/17/46/image_08032025_17_47_05_10055.jpg
/home/nano/Desktop/images/08032025/17/46/image_08032025_17_46_55_10047.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341941418","1341941403","1341941462","1341941636","1341941486","1341941440"],"photo_ids_order":["1341941403","1341941418","1341941440","1341941462","1341941486","1341941636"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/ba3af8a85100d569ef86e5470baad87c.jpg","text":"TemporaryFile(/tmp/multipartBody9168250989304184357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741452542704,"filename":"image_08032025_17_47_35_10053.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/9950aaafd297d491cb62a22f5ea2e9a7.jpg","text":"TemporaryFile(/tmp/multipartBody4417360960750619126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741452542704,"filename":"image_08032025_17_47_45_10049.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/d23c866d93b9d2312086a530ad8a4b05.jpg","text":"TemporaryFile(/tmp/multipartBody6056119940153521757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741452542704,"filename":"image_08032025_17_47_15_10072.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/fc3c9f7d9ea459586aebe1fe4685eb92.jpg","text":"TemporaryFile(/tmp/multipartBody3653419513299612105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741452542704,"filename":"image_08032025_17_46_55_10047.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/ae50dd808e37f4550ae8c613b1a3abbf.jpg","text":"TemporaryFile(/tmp/multipartBody8855398969851969476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741452542704,"filename":"image_08032025_17_47_05_10055.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/75b51843ebc9a6a5fc48af4e4a025085.jpg","text":"TemporaryFile(/tmp/multipartBody7042450908008786688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741452542704,"filename":"image_08032025_17_47_25_10048.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341941440","file1":"1341941418","file0":"1341941403","file4":"1341941486","file5":"1341941636","file3":"1341941462"},"map_files_photo_id_array":[{"photo_id":"1341941636","filename":"file5"},{"photo_id":"1341941440","filename":"file2"},{"photo_id":"1341941486","filename":"file4"},{"photo_id":"1341941418","filename":"file1"},{"photo_id":"1341941403","filename":"file0"},{"photo_id":"1341941462","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341941418":["hashtag1","hashtag2"]},{"1341941403":["hashtag1","hashtag2"]},{"1341941462":["hashtag1","hashtag2"]},{"1341941636":["hashtag1","hashtag2"]},{"1341941486":["hashtag1","hashtag2"]},{"1341941440":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341941418, 1341941403, 1341941462, 1341941636, 1341941486, 1341941440)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.02389454841614 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 17:49:02.741828
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/17/48/image_08032025_17_48_45_10050.jpg', 2), ('/home/nano/Desktop/images/08032025/17/48/image_08032025_17_48_35_10042.jpg', 2), ('/home/nano/Desktop/images/08032025/17/48/image_08032025_17_48_25_10048.jpg', 2), ('/home/nano/Desktop/images/08032025/17/48/image_08032025_17_48_15_10049.jpg', 2), ('/home/nano/Desktop/images/08032025/17/47/image_08032025_17_48_05_9054.jpg', 2), ('/home/nano/Desktop/images/08032025/17/47/image_08032025_17_47_56_10045.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/17/48/image_08032025_17_48_45_10050.jpg', '/home/nano/Desktop/images/08032025/17/48/image_08032025_17_48_35_10042.jpg', '/home/nano/Desktop/images/08032025/17/48/image_08032025_17_48_25_10048.jpg', '/home/nano/Desktop/images/08032025/17/48/image_08032025_17_48_15_10049.jpg', '/home/nano/Desktop/images/08032025/17/47/image_08032025_17_48_05_9054.jpg', '/home/nano/Desktop/images/08032025/17/47/image_08032025_17_47_56_10045.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/17/48/image_08032025_17_48_45_10050.jpg
/home/nano/Desktop/images/08032025/17/48/image_08032025_17_48_35_10042.jpg
/home/nano/Desktop/images/08032025/17/48/image_08032025_17_48_25_10048.jpg
/home/nano/Desktop/images/08032025/17/48/image_08032025_17_48_15_10049.jpg
/home/nano/Desktop/images/08032025/17/47/image_08032025_17_48_05_9054.jpg
/home/nano/Desktop/images/08032025/17/47/image_08032025_17_47_56_10045.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341941829","1341941810","1341941812","1341941809","1341941832","1341941811"],"photo_ids_order":["1341941809","1341941810","1341941811","1341941812","1341941829","1341941832"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/3ab152913b915e0ee983221ea422b0b7.jpg","text":"TemporaryFile(/tmp/multipartBody7619393675190909346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741452603183,"filename":"image_08032025_17_48_05_9054.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/035cb8dee4886619ed44da4f9b094da9.jpg","text":"TemporaryFile(/tmp/multipartBody3311607328949190707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741452603183,"filename":"image_08032025_17_48_35_10042.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/614ea36b56f8ae7a0025e154df8dec13.jpg","text":"TemporaryFile(/tmp/multipartBody3232175273901050469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741452603183,"filename":"image_08032025_17_48_15_10049.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/c04c3f1c5d594c0b661222d272dc0728.jpg","text":"TemporaryFile(/tmp/multipartBody8900903279865079025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741452603183,"filename":"image_08032025_17_48_45_10050.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/efcacb346037d8f00809d56c4902d547.jpg","text":"TemporaryFile(/tmp/multipartBody3002931210282751763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741452603183,"filename":"image_08032025_17_47_56_10045.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/c0cc14a3bcde2eb84e818306df74ccd9.jpg","text":"TemporaryFile(/tmp/multipartBody7770464283878441776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741452603183,"filename":"image_08032025_17_48_25_10048.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341941811","file1":"1341941810","file0":"1341941809","file4":"1341941829","file5":"1341941832","file3":"1341941812"},"map_files_photo_id_array":[{"photo_id":"1341941832","filename":"file5"},{"photo_id":"1341941811","filename":"file2"},{"photo_id":"1341941829","filename":"file4"},{"photo_id":"1341941810","filename":"file1"},{"photo_id":"1341941809","filename":"file0"},{"photo_id":"1341941812","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341941829":["hashtag1","hashtag2"]},{"1341941810":["hashtag1","hashtag2"]},{"1341941812":["hashtag1","hashtag2"]},{"1341941809":["hashtag1","hashtag2"]},{"1341941832":["hashtag1","hashtag2"]},{"1341941811":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341941829, 1341941810, 1341941812, 1341941809, 1341941832, 1341941811)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.48800206184387 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 17:50:02.632283
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/17/49/image_08032025_17_49_45_10050.jpg', 2), ('/home/nano/Desktop/images/08032025/17/49/image_08032025_17_49_35_10056.jpg', 2), ('/home/nano/Desktop/images/08032025/17/49/image_08032025_17_49_25_10085.jpg', 2), ('/home/nano/Desktop/images/08032025/17/49/image_08032025_17_49_15_10048.jpg', 2), ('/home/nano/Desktop/images/08032025/17/48/image_08032025_17_49_05_10061.jpg', 2), ('/home/nano/Desktop/images/08032025/17/48/image_08032025_17_48_55_10049.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/17/49/image_08032025_17_49_45_10050.jpg', '/home/nano/Desktop/images/08032025/17/49/image_08032025_17_49_35_10056.jpg', '/home/nano/Desktop/images/08032025/17/49/image_08032025_17_49_25_10085.jpg', '/home/nano/Desktop/images/08032025/17/49/image_08032025_17_49_15_10048.jpg', '/home/nano/Desktop/images/08032025/17/48/image_08032025_17_49_05_10061.jpg', '/home/nano/Desktop/images/08032025/17/48/image_08032025_17_48_55_10049.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/17/49/image_08032025_17_49_45_10050.jpg
/home/nano/Desktop/images/08032025/17/49/image_08032025_17_49_35_10056.jpg
/home/nano/Desktop/images/08032025/17/49/image_08032025_17_49_25_10085.jpg
/home/nano/Desktop/images/08032025/17/49/image_08032025_17_49_15_10048.jpg
/home/nano/Desktop/images/08032025/17/48/image_08032025_17_49_05_10061.jpg
/home/nano/Desktop/images/08032025/17/48/image_08032025_17_48_55_10049.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341941870","1341941872","1341941848","1341941883","1341941871","1341941850"],"photo_ids_order":["1341941848","1341941850","1341941870","1341941871","1341941872","1341941883"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/f76bfb6242a936cbdafbb1f7976145b0.jpg","text":"TemporaryFile(/tmp/multipartBody7020116701186240290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741452663125,"filename":"image_08032025_17_49_25_10085.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/2bff4fef199ea2d9d3e6e6d90043aca2.jpg","text":"TemporaryFile(/tmp/multipartBody494903843801452142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741452663125,"filename":"image_08032025_17_49_05_10061.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/f4dacc5c55927fccbe662a7875e041e1.jpg","text":"TemporaryFile(/tmp/multipartBody2874314088960124926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741452663125,"filename":"image_08032025_17_49_45_10050.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/37baa649420952ff024ac32cc8a7c534.jpg","text":"TemporaryFile(/tmp/multipartBody4257280539699756852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741452663125,"filename":"image_08032025_17_48_55_10049.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/3ef38a7e7aabd705f44fc1ac6062dd7a.jpg","text":"TemporaryFile(/tmp/multipartBody4399893237800730561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741452663125,"filename":"image_08032025_17_49_15_10048.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/31bdd21f4a6c2f4cabf2e2858ac3a663.jpg","text":"TemporaryFile(/tmp/multipartBody6468850826538691781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741452663125,"filename":"image_08032025_17_49_35_10056.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341941870","file1":"1341941850","file0":"1341941848","file4":"1341941872","file5":"1341941883","file3":"1341941871"},"map_files_photo_id_array":[{"photo_id":"1341941883","filename":"file5"},{"photo_id":"1341941870","filename":"file2"},{"photo_id":"1341941872","filename":"file4"},{"photo_id":"1341941850","filename":"file1"},{"photo_id":"1341941848","filename":"file0"},{"photo_id":"1341941871","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341941870":["hashtag1","hashtag2"]},{"1341941872":["hashtag1","hashtag2"]},{"1341941848":["hashtag1","hashtag2"]},{"1341941883":["hashtag1","hashtag2"]},{"1341941871":["hashtag1","hashtag2"]},{"1341941850":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341941870, 1341941872, 1341941848, 1341941883, 1341941871, 1341941850)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.98119330406189 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 17:51:02.657731
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/17/50/image_08032025_17_50_45_10051.jpg', 2), ('/home/nano/Desktop/images/08032025/17/50/image_08032025_17_50_35_10054.jpg', 2), ('/home/nano/Desktop/images/08032025/17/50/image_08032025_17_50_25_10042.jpg', 2), ('/home/nano/Desktop/images/08032025/17/50/image_08032025_17_50_15_10048.jpg', 2), ('/home/nano/Desktop/images/08032025/17/49/image_08032025_17_50_05_10054.jpg', 2), ('/home/nano/Desktop/images/08032025/17/49/image_08032025_17_49_55_10049.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/17/50/image_08032025_17_50_45_10051.jpg', '/home/nano/Desktop/images/08032025/17/50/image_08032025_17_50_35_10054.jpg', '/home/nano/Desktop/images/08032025/17/50/image_08032025_17_50_25_10042.jpg', '/home/nano/Desktop/images/08032025/17/50/image_08032025_17_50_15_10048.jpg', '/home/nano/Desktop/images/08032025/17/49/image_08032025_17_50_05_10054.jpg', '/home/nano/Desktop/images/08032025/17/49/image_08032025_17_49_55_10049.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/17/50/image_08032025_17_50_45_10051.jpg
/home/nano/Desktop/images/08032025/17/50/image_08032025_17_50_35_10054.jpg
/home/nano/Desktop/images/08032025/17/50/image_08032025_17_50_25_10042.jpg
/home/nano/Desktop/images/08032025/17/50/image_08032025_17_50_15_10048.jpg
/home/nano/Desktop/images/08032025/17/49/image_08032025_17_50_05_10054.jpg
/home/nano/Desktop/images/08032025/17/49/image_08032025_17_49_55_10049.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341942223","1341942753","1341942762","1341942657","1341942387","1341942488"],"photo_ids_order":["1341942223","1341942387","1341942488","1341942657","1341942753","1341942762"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/8a4393b8d50a303c3a3ae4a6f502a347.jpg","text":"TemporaryFile(/tmp/multipartBody3557376393955630126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741452723114,"filename":"image_08032025_17_50_45_10051.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/14a5384c07898ea39c25d00775194773.jpg","text":"TemporaryFile(/tmp/multipartBody2448584130328572381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741452723114,"filename":"image_08032025_17_50_05_10054.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/1e3c1f05c30dfe725df62d8a5ae0c1d7.jpg","text":"TemporaryFile(/tmp/multipartBody37187242616510057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741452723114,"filename":"image_08032025_17_49_55_10049.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/96b975d660cd6fabac0ab9a737b7184a.jpg","text":"TemporaryFile(/tmp/multipartBody5483722959953464646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741452723114,"filename":"image_08032025_17_50_15_10048.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/71f9899ad42010cc1e282b334fddaca1.jpg","text":"TemporaryFile(/tmp/multipartBody3784136408814535118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741452723114,"filename":"image_08032025_17_50_35_10054.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/ab06c5a3f2c5817245494729b872d9c9.jpg","text":"TemporaryFile(/tmp/multipartBody5599617438412446918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741452723114,"filename":"image_08032025_17_50_25_10042.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341942488","file1":"1341942387","file0":"1341942223","file4":"1341942753","file5":"1341942762","file3":"1341942657"},"map_files_photo_id_array":[{"photo_id":"1341942762","filename":"file5"},{"photo_id":"1341942488","filename":"file2"},{"photo_id":"1341942753","filename":"file4"},{"photo_id":"1341942387","filename":"file1"},{"photo_id":"1341942223","filename":"file0"},{"photo_id":"1341942657","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341942223":["hashtag1","hashtag2"]},{"1341942753":["hashtag1","hashtag2"]},{"1341942762":["hashtag1","hashtag2"]},{"1341942657":["hashtag1","hashtag2"]},{"1341942387":["hashtag1","hashtag2"]},{"1341942488":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341942223, 1341942753, 1341942762, 1341942657, 1341942387, 1341942488)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.38889288902283 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 17:52:02.737667
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/17/51/image_08032025_17_51_45_10047.jpg', 2), ('/home/nano/Desktop/images/08032025/17/51/image_08032025_17_51_35_10040.jpg', 2), ('/home/nano/Desktop/images/08032025/17/51/image_08032025_17_51_25_10039.jpg', 2), ('/home/nano/Desktop/images/08032025/17/51/image_08032025_17_51_15_9035.jpg', 2), ('/home/nano/Desktop/images/08032025/17/50/image_08032025_17_51_06_10065.jpg', 2), ('/home/nano/Desktop/images/08032025/17/50/image_08032025_17_50_55_10046.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/17/51/image_08032025_17_51_45_10047.jpg', '/home/nano/Desktop/images/08032025/17/51/image_08032025_17_51_35_10040.jpg', '/home/nano/Desktop/images/08032025/17/51/image_08032025_17_51_25_10039.jpg', '/home/nano/Desktop/images/08032025/17/51/image_08032025_17_51_15_9035.jpg', '/home/nano/Desktop/images/08032025/17/50/image_08032025_17_51_06_10065.jpg', '/home/nano/Desktop/images/08032025/17/50/image_08032025_17_50_55_10046.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/17/51/image_08032025_17_51_45_10047.jpg
/home/nano/Desktop/images/08032025/17/51/image_08032025_17_51_35_10040.jpg
/home/nano/Desktop/images/08032025/17/51/image_08032025_17_51_25_10039.jpg
/home/nano/Desktop/images/08032025/17/51/image_08032025_17_51_15_9035.jpg
/home/nano/Desktop/images/08032025/17/50/image_08032025_17_51_06_10065.jpg
/home/nano/Desktop/images/08032025/17/50/image_08032025_17_50_55_10046.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341942952","1341943243","1341943062","1341943178","1341943157","1341943139"],"photo_ids_order":["1341942952","1341943062","1341943139","1341943157","1341943178","1341943243"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/0d117dbf509f072cd36168cae179b87b.jpg","text":"TemporaryFile(/tmp/multipartBody1351050437557714802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741452783207,"filename":"image_08032025_17_51_45_10047.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/5472d5fb2ec572c6ebf3e90809a96592.jpg","text":"TemporaryFile(/tmp/multipartBody7585637259351243777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741452783207,"filename":"image_08032025_17_50_55_10046.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/ffbd4760c53481d7016aeb940de082ad.jpg","text":"TemporaryFile(/tmp/multipartBody8151146023529200332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741452783207,"filename":"image_08032025_17_51_35_10040.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/291dc906e5068bb931c3dbce0c4a2061.jpg","text":"TemporaryFile(/tmp/multipartBody4545538975120415394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741452783207,"filename":"image_08032025_17_51_06_10065.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/d7b1df9952eac7617211d8f32ce04db6.jpg","text":"TemporaryFile(/tmp/multipartBody6650202965746954932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741452783207,"filename":"image_08032025_17_51_15_9035.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/8be9cd20e6348e8f60a5cdc5d66ba554.jpg","text":"TemporaryFile(/tmp/multipartBody1771027079159867535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741452783207,"filename":"image_08032025_17_51_25_10039.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341943139","file1":"1341943062","file0":"1341942952","file4":"1341943178","file5":"1341943243","file3":"1341943157"},"map_files_photo_id_array":[{"photo_id":"1341943243","filename":"file5"},{"photo_id":"1341943139","filename":"file2"},{"photo_id":"1341943178","filename":"file4"},{"photo_id":"1341943062","filename":"file1"},{"photo_id":"1341942952","filename":"file0"},{"photo_id":"1341943157","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341942952":["hashtag1","hashtag2"]},{"1341943243":["hashtag1","hashtag2"]},{"1341943062":["hashtag1","hashtag2"]},{"1341943178":["hashtag1","hashtag2"]},{"1341943157":["hashtag1","hashtag2"]},{"1341943139":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341942952, 1341943243, 1341943062, 1341943178, 1341943157, 1341943139)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.552966594696045 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 17:53:02.859889
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/17/52/image_08032025_17_52_45_10045.jpg', 2), ('/home/nano/Desktop/images/08032025/17/52/image_08032025_17_52_35_10065.jpg', 2), ('/home/nano/Desktop/images/08032025/17/52/image_08032025_17_52_25_10045.jpg', 2), ('/home/nano/Desktop/images/08032025/17/52/image_08032025_17_52_15_10044.jpg', 2), ('/home/nano/Desktop/images/08032025/17/51/image_08032025_17_52_05_10059.jpg', 2), ('/home/nano/Desktop/images/08032025/17/51/image_08032025_17_51_55_10036.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/17/52/image_08032025_17_52_45_10045.jpg', '/home/nano/Desktop/images/08032025/17/52/image_08032025_17_52_35_10065.jpg', '/home/nano/Desktop/images/08032025/17/52/image_08032025_17_52_25_10045.jpg', '/home/nano/Desktop/images/08032025/17/52/image_08032025_17_52_15_10044.jpg', '/home/nano/Desktop/images/08032025/17/51/image_08032025_17_52_05_10059.jpg', '/home/nano/Desktop/images/08032025/17/51/image_08032025_17_51_55_10036.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/17/52/image_08032025_17_52_45_10045.jpg
/home/nano/Desktop/images/08032025/17/52/image_08032025_17_52_35_10065.jpg
/home/nano/Desktop/images/08032025/17/52/image_08032025_17_52_25_10045.jpg
/home/nano/Desktop/images/08032025/17/52/image_08032025_17_52_15_10044.jpg
/home/nano/Desktop/images/08032025/17/51/image_08032025_17_52_05_10059.jpg
/home/nano/Desktop/images/08032025/17/51/image_08032025_17_51_55_10036.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341943492","1341943430","1341943398","1341943496","1341943490","1341943493"],"photo_ids_order":["1341943398","1341943430","1341943490","1341943492","1341943493","1341943496"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/2b436b7224d9867a90dd8b882ed4edb5.jpg","text":"TemporaryFile(/tmp/multipartBody5187078515078828013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741452843300,"filename":"image_08032025_17_52_15_10044.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/461cfb5b65be83f3c5bd97b9d673b28b.jpg","text":"TemporaryFile(/tmp/multipartBody6260850347178768937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741452843300,"filename":"image_08032025_17_52_35_10065.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/594ef5784aaee14aa1ab90b343b0eb95.jpg","text":"TemporaryFile(/tmp/multipartBody5053332129009736327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741452843300,"filename":"image_08032025_17_52_45_10045.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/a78da1f1b8c31820ad39f0e1d69039a6.jpg","text":"TemporaryFile(/tmp/multipartBody2427891680512101575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741452843300,"filename":"image_08032025_17_51_55_10036.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/22db5c36b02ca35eb23a17247b7fa4a4.jpg","text":"TemporaryFile(/tmp/multipartBody2311203018862899061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741452843300,"filename":"image_08032025_17_52_25_10045.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/1cd206cac2a20abd51e205d2c8b20e64.jpg","text":"TemporaryFile(/tmp/multipartBody1636101863045332174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741452843300,"filename":"image_08032025_17_52_05_10059.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341943490","file1":"1341943430","file0":"1341943398","file4":"1341943493","file5":"1341943496","file3":"1341943492"},"map_files_photo_id_array":[{"photo_id":"1341943496","filename":"file5"},{"photo_id":"1341943490","filename":"file2"},{"photo_id":"1341943493","filename":"file4"},{"photo_id":"1341943430","filename":"file1"},{"photo_id":"1341943398","filename":"file0"},{"photo_id":"1341943492","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341943492":["hashtag1","hashtag2"]},{"1341943430":["hashtag1","hashtag2"]},{"1341943398":["hashtag1","hashtag2"]},{"1341943496":["hashtag1","hashtag2"]},{"1341943490":["hashtag1","hashtag2"]},{"1341943493":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341943492, 1341943430, 1341943398, 1341943496, 1341943490, 1341943493)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.172712087631226 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 17:54:03.135974
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/17/53/image_08032025_17_53_45_10050.jpg', 2), ('/home/nano/Desktop/images/08032025/17/53/image_08032025_17_53_35_10074.jpg', 2), ('/home/nano/Desktop/images/08032025/17/53/image_08032025_17_53_25_10049.jpg', 2), ('/home/nano/Desktop/images/08032025/17/53/image_08032025_17_53_15_10058.jpg', 2), ('/home/nano/Desktop/images/08032025/17/52/image_08032025_17_53_05_10073.jpg', 2), ('/home/nano/Desktop/images/08032025/17/52/image_08032025_17_52_55_10050.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/17/53/image_08032025_17_53_45_10050.jpg', '/home/nano/Desktop/images/08032025/17/53/image_08032025_17_53_35_10074.jpg', '/home/nano/Desktop/images/08032025/17/53/image_08032025_17_53_25_10049.jpg', '/home/nano/Desktop/images/08032025/17/53/image_08032025_17_53_15_10058.jpg', '/home/nano/Desktop/images/08032025/17/52/image_08032025_17_53_05_10073.jpg', '/home/nano/Desktop/images/08032025/17/52/image_08032025_17_52_55_10050.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/17/53/image_08032025_17_53_45_10050.jpg
/home/nano/Desktop/images/08032025/17/53/image_08032025_17_53_35_10074.jpg
/home/nano/Desktop/images/08032025/17/53/image_08032025_17_53_25_10049.jpg
/home/nano/Desktop/images/08032025/17/53/image_08032025_17_53_15_10058.jpg
/home/nano/Desktop/images/08032025/17/52/image_08032025_17_53_05_10073.jpg
/home/nano/Desktop/images/08032025/17/52/image_08032025_17_52_55_10050.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341943591","1341943594","1341943597","1341943593","1341943592","1341943595"],"photo_ids_order":["1341943591","1341943592","1341943593","1341943594","1341943595","1341943597"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/f0d310b28273532aed237740ac6d3f40.jpg","text":"TemporaryFile(/tmp/multipartBody7359886613998106673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741452903624,"filename":"image_08032025_17_53_45_10050.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/2e3cd11ce34ae1c90c879f8f3744759a.jpg","text":"TemporaryFile(/tmp/multipartBody1267460482199413913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741452903624,"filename":"image_08032025_17_53_15_10058.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/c590eac429a13edfee909d3c7999a212.jpg","text":"TemporaryFile(/tmp/multipartBody2105966138275626374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741452903624,"filename":"image_08032025_17_52_55_10050.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/7d33a080477ebf0c856babda631538cf.jpg","text":"TemporaryFile(/tmp/multipartBody7036672942200116175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741452903624,"filename":"image_08032025_17_53_25_10049.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/a8458c2d0640e8cd2f5f96f6e6272a15.jpg","text":"TemporaryFile(/tmp/multipartBody2660117529885585994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741452903624,"filename":"image_08032025_17_53_35_10074.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/85b595d28841a668da71ad5e74f0a779.jpg","text":"TemporaryFile(/tmp/multipartBody4712340434514387501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741452903624,"filename":"image_08032025_17_53_05_10073.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341943593","file1":"1341943592","file0":"1341943591","file4":"1341943595","file5":"1341943597","file3":"1341943594"},"map_files_photo_id_array":[{"photo_id":"1341943597","filename":"file5"},{"photo_id":"1341943593","filename":"file2"},{"photo_id":"1341943595","filename":"file4"},{"photo_id":"1341943592","filename":"file1"},{"photo_id":"1341943591","filename":"file0"},{"photo_id":"1341943594","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341943591":["hashtag1","hashtag2"]},{"1341943594":["hashtag1","hashtag2"]},{"1341943597":["hashtag1","hashtag2"]},{"1341943593":["hashtag1","hashtag2"]},{"1341943592":["hashtag1","hashtag2"]},{"1341943595":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341943591, 1341943594, 1341943597, 1341943593, 1341943592, 1341943595)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.192704916000366 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 17:55:03.125860
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/17/54/image_08032025_17_54_45_10049.jpg', 2), ('/home/nano/Desktop/images/08032025/17/54/image_08032025_17_54_35_9039.jpg', 2), ('/home/nano/Desktop/images/08032025/17/54/image_08032025_17_54_26_10053.jpg', 2), ('/home/nano/Desktop/images/08032025/17/54/image_08032025_17_54_16_10054.jpg', 2), ('/home/nano/Desktop/images/08032025/17/53/image_08032025_17_54_05_10066.jpg', 2), ('/home/nano/Desktop/images/08032025/17/53/image_08032025_17_53_55_10047.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/17/54/image_08032025_17_54_45_10049.jpg', '/home/nano/Desktop/images/08032025/17/54/image_08032025_17_54_35_9039.jpg', '/home/nano/Desktop/images/08032025/17/54/image_08032025_17_54_26_10053.jpg', '/home/nano/Desktop/images/08032025/17/54/image_08032025_17_54_16_10054.jpg', '/home/nano/Desktop/images/08032025/17/53/image_08032025_17_54_05_10066.jpg', '/home/nano/Desktop/images/08032025/17/53/image_08032025_17_53_55_10047.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/17/54/image_08032025_17_54_45_10049.jpg
/home/nano/Desktop/images/08032025/17/54/image_08032025_17_54_35_9039.jpg
/home/nano/Desktop/images/08032025/17/54/image_08032025_17_54_26_10053.jpg
/home/nano/Desktop/images/08032025/17/54/image_08032025_17_54_16_10054.jpg
/home/nano/Desktop/images/08032025/17/53/image_08032025_17_54_05_10066.jpg
/home/nano/Desktop/images/08032025/17/53/image_08032025_17_53_55_10047.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341943621","1341943615","1341943635","1341943623","1341943617","1341943619"],"photo_ids_order":["1341943615","1341943617","1341943619","1341943621","1341943623","1341943635"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/3378636ba5c78c6f9868cf944adc7dea.jpg","text":"TemporaryFile(/tmp/multipartBody6334061379162786121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741452963585,"filename":"image_08032025_17_54_16_10054.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/55d005c099b6f4bf3a5c7814b9a73e23.jpg","text":"TemporaryFile(/tmp/multipartBody3687288662317140145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741452963585,"filename":"image_08032025_17_54_45_10049.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/bf95ef99511b752d22aeac53da4c1e23.jpg","text":"TemporaryFile(/tmp/multipartBody3298324761535070231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741452963585,"filename":"image_08032025_17_53_55_10047.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/aaa8b7e8de85ccc952af807e91a6933d.jpg","text":"TemporaryFile(/tmp/multipartBody3799426032081431861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741452963585,"filename":"image_08032025_17_54_05_10066.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/2ab66cbcd4c2d9a3b4ef123e92dd33ce.jpg","text":"TemporaryFile(/tmp/multipartBody3501693231272435981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741452963585,"filename":"image_08032025_17_54_35_9039.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/d85e167f1d53a6990ec1f92e681ce0c0.jpg","text":"TemporaryFile(/tmp/multipartBody363754618074965541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741452963585,"filename":"image_08032025_17_54_26_10053.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341943619","file1":"1341943617","file0":"1341943615","file4":"1341943623","file5":"1341943635","file3":"1341943621"},"map_files_photo_id_array":[{"photo_id":"1341943635","filename":"file5"},{"photo_id":"1341943619","filename":"file2"},{"photo_id":"1341943623","filename":"file4"},{"photo_id":"1341943617","filename":"file1"},{"photo_id":"1341943615","filename":"file0"},{"photo_id":"1341943621","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341943621":["hashtag1","hashtag2"]},{"1341943615":["hashtag1","hashtag2"]},{"1341943635":["hashtag1","hashtag2"]},{"1341943623":["hashtag1","hashtag2"]},{"1341943617":["hashtag1","hashtag2"]},{"1341943619":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341943621, 1341943615, 1341943635, 1341943623, 1341943617, 1341943619)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.374175310134888 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 17:56:03.275909
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/17/55/image_08032025_17_55_45_10054.jpg', 2), ('/home/nano/Desktop/images/08032025/17/55/image_08032025_17_55_35_10052.jpg', 2), ('/home/nano/Desktop/images/08032025/17/55/image_08032025_17_55_25_10054.jpg', 2), ('/home/nano/Desktop/images/08032025/17/55/image_08032025_17_55_15_10049.jpg', 2), ('/home/nano/Desktop/images/08032025/17/54/image_08032025_17_55_05_10059.jpg', 2), ('/home/nano/Desktop/images/08032025/17/54/image_08032025_17_54_55_10051.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/17/55/image_08032025_17_55_45_10054.jpg', '/home/nano/Desktop/images/08032025/17/55/image_08032025_17_55_35_10052.jpg', '/home/nano/Desktop/images/08032025/17/55/image_08032025_17_55_25_10054.jpg', '/home/nano/Desktop/images/08032025/17/55/image_08032025_17_55_15_10049.jpg', '/home/nano/Desktop/images/08032025/17/54/image_08032025_17_55_05_10059.jpg', '/home/nano/Desktop/images/08032025/17/54/image_08032025_17_54_55_10051.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/17/55/image_08032025_17_55_45_10054.jpg
/home/nano/Desktop/images/08032025/17/55/image_08032025_17_55_35_10052.jpg
/home/nano/Desktop/images/08032025/17/55/image_08032025_17_55_25_10054.jpg
/home/nano/Desktop/images/08032025/17/55/image_08032025_17_55_15_10049.jpg
/home/nano/Desktop/images/08032025/17/54/image_08032025_17_55_05_10059.jpg
/home/nano/Desktop/images/08032025/17/54/image_08032025_17_54_55_10051.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341943771","1341943780","1341943762","1341943735","1341943810","1341943778"],"photo_ids_order":["1341943735","1341943762","1341943771","1341943778","1341943780","1341943810"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/aca64c9132ef66990e5214a244a2e337.jpg","text":"TemporaryFile(/tmp/multipartBody833413713144836199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741453023727,"filename":"image_08032025_17_55_25_10054.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/0d6ec2ae821e13cc8a28bde06d72ab1d.jpg","text":"TemporaryFile(/tmp/multipartBody390347257843464677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741453023727,"filename":"image_08032025_17_55_05_10059.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/3b26b0f7b51a14df002d1f3981759ed6.jpg","text":"TemporaryFile(/tmp/multipartBody1714689120988663926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741453023727,"filename":"image_08032025_17_55_35_10052.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/64fc8e5ca66d81e9a83256fa22c550e6.jpg","text":"TemporaryFile(/tmp/multipartBody8575782879625753192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741453023727,"filename":"image_08032025_17_55_45_10054.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/ab9bf78780e92fca96c545d400c27902.jpg","text":"TemporaryFile(/tmp/multipartBody4461394760824923747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741453023727,"filename":"image_08032025_17_54_55_10051.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/5095e3e3f8df726d07a96b7a8faa636d.jpg","text":"TemporaryFile(/tmp/multipartBody4795498672060833382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741453023727,"filename":"image_08032025_17_55_15_10049.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341943771","file1":"1341943762","file0":"1341943735","file4":"1341943780","file5":"1341943810","file3":"1341943778"},"map_files_photo_id_array":[{"photo_id":"1341943810","filename":"file5"},{"photo_id":"1341943771","filename":"file2"},{"photo_id":"1341943780","filename":"file4"},{"photo_id":"1341943762","filename":"file1"},{"photo_id":"1341943735","filename":"file0"},{"photo_id":"1341943778","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341943771":["hashtag1","hashtag2"]},{"1341943780":["hashtag1","hashtag2"]},{"1341943762":["hashtag1","hashtag2"]},{"1341943735":["hashtag1","hashtag2"]},{"1341943810":["hashtag1","hashtag2"]},{"1341943778":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341943771, 1341943780, 1341943762, 1341943735, 1341943810, 1341943778)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.89427089691162 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 17:57:02.378426
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/17/56/image_08032025_17_56_45_10046.jpg', 2), ('/home/nano/Desktop/images/08032025/17/56/image_08032025_17_56_35_10048.jpg', 2), ('/home/nano/Desktop/images/08032025/17/56/image_08032025_17_56_25_10047.jpg', 2), ('/home/nano/Desktop/images/08032025/17/56/image_08032025_17_56_15_10054.jpg', 2), ('/home/nano/Desktop/images/08032025/17/55/image_08032025_17_56_05_10063.jpg', 2), ('/home/nano/Desktop/images/08032025/17/55/image_08032025_17_55_55_10056.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/17/56/image_08032025_17_56_45_10046.jpg', '/home/nano/Desktop/images/08032025/17/56/image_08032025_17_56_35_10048.jpg', '/home/nano/Desktop/images/08032025/17/56/image_08032025_17_56_25_10047.jpg', '/home/nano/Desktop/images/08032025/17/56/image_08032025_17_56_15_10054.jpg', '/home/nano/Desktop/images/08032025/17/55/image_08032025_17_56_05_10063.jpg', '/home/nano/Desktop/images/08032025/17/55/image_08032025_17_55_55_10056.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/17/56/image_08032025_17_56_45_10046.jpg
/home/nano/Desktop/images/08032025/17/56/image_08032025_17_56_35_10048.jpg
/home/nano/Desktop/images/08032025/17/56/image_08032025_17_56_25_10047.jpg
/home/nano/Desktop/images/08032025/17/56/image_08032025_17_56_15_10054.jpg
/home/nano/Desktop/images/08032025/17/55/image_08032025_17_56_05_10063.jpg
/home/nano/Desktop/images/08032025/17/55/image_08032025_17_55_55_10056.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341944044","1341944047","1341943924","1341944022","1341943983","1341943964"],"photo_ids_order":["1341943924","1341943964","1341943983","1341944022","1341944044","1341944047"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/2c91d167ca3cc7b7eed3e98ba0bca310.jpg","text":"TemporaryFile(/tmp/multipartBody8553213689644960135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741453082829,"filename":"image_08032025_17_56_05_10063.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/15194eb2581e4c31ead9f9dfdf9c123a.jpg","text":"TemporaryFile(/tmp/multipartBody5842091983092251755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741453082829,"filename":"image_08032025_17_55_55_10056.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/173c98a34d408a88ba2797c126f15b13.jpg","text":"TemporaryFile(/tmp/multipartBody1408430125770993076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741453082829,"filename":"image_08032025_17_56_45_10046.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/1846053aabd47574616b1fa4eff021ab.jpg","text":"TemporaryFile(/tmp/multipartBody3728026896526828735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741453082829,"filename":"image_08032025_17_56_15_10054.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/5f0a25cea8c820a0526984c9ad766285.jpg","text":"TemporaryFile(/tmp/multipartBody413960683174800230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741453082829,"filename":"image_08032025_17_56_25_10047.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/d0942f0ad70dfc7d47a24b6fc6e1e2cf.jpg","text":"TemporaryFile(/tmp/multipartBody7694114921079212546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741453082829,"filename":"image_08032025_17_56_35_10048.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341943983","file1":"1341943964","file0":"1341943924","file4":"1341944044","file5":"1341944047","file3":"1341944022"},"map_files_photo_id_array":[{"photo_id":"1341944047","filename":"file5"},{"photo_id":"1341943983","filename":"file2"},{"photo_id":"1341944044","filename":"file4"},{"photo_id":"1341943964","filename":"file1"},{"photo_id":"1341943924","filename":"file0"},{"photo_id":"1341944022","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341944044":["hashtag1","hashtag2"]},{"1341944047":["hashtag1","hashtag2"]},{"1341943924":["hashtag1","hashtag2"]},{"1341944022":["hashtag1","hashtag2"]},{"1341943983":["hashtag1","hashtag2"]},{"1341943964":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341944044, 1341944047, 1341943924, 1341944022, 1341943983, 1341943964)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.97419238090515 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 17:58:02.376501
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/17/57/image_08032025_17_57_45_9040.jpg', 2), ('/home/nano/Desktop/images/08032025/17/57/image_08032025_17_57_36_10055.jpg', 2), ('/home/nano/Desktop/images/08032025/17/57/image_08032025_17_57_26_10046.jpg', 2), ('/home/nano/Desktop/images/08032025/17/57/image_08032025_17_57_15_10043.jpg', 2), ('/home/nano/Desktop/images/08032025/17/56/image_08032025_17_57_05_10051.jpg', 2), ('/home/nano/Desktop/images/08032025/17/56/image_08032025_17_56_55_10054.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/17/57/image_08032025_17_57_45_9040.jpg', '/home/nano/Desktop/images/08032025/17/57/image_08032025_17_57_36_10055.jpg', '/home/nano/Desktop/images/08032025/17/57/image_08032025_17_57_26_10046.jpg', '/home/nano/Desktop/images/08032025/17/57/image_08032025_17_57_15_10043.jpg', '/home/nano/Desktop/images/08032025/17/56/image_08032025_17_57_05_10051.jpg', '/home/nano/Desktop/images/08032025/17/56/image_08032025_17_56_55_10054.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/17/57/image_08032025_17_57_45_9040.jpg
/home/nano/Desktop/images/08032025/17/57/image_08032025_17_57_36_10055.jpg
/home/nano/Desktop/images/08032025/17/57/image_08032025_17_57_26_10046.jpg
/home/nano/Desktop/images/08032025/17/57/image_08032025_17_57_15_10043.jpg
/home/nano/Desktop/images/08032025/17/56/image_08032025_17_57_05_10051.jpg
/home/nano/Desktop/images/08032025/17/56/image_08032025_17_56_55_10054.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341944476","1341944515","1341944556","1341944523","1341944579","1341944531"],"photo_ids_order":["1341944476","1341944515","1341944523","1341944531","1341944556","1341944579"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/e1517d689f455c948d7745a448d133da.jpg","text":"TemporaryFile(/tmp/multipartBody979873923122507269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741453142835,"filename":"image_08032025_17_57_45_9040.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/828657524b794111bd4ff2c750a7c872.jpg","text":"TemporaryFile(/tmp/multipartBody8254052600855740951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741453142835,"filename":"image_08032025_17_57_36_10055.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/5424b488f9badd402421a3575eebe697.jpg","text":"TemporaryFile(/tmp/multipartBody411501704377797238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741453142835,"filename":"image_08032025_17_57_05_10051.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/fd065b2f086361a24c2b955d0193a0a7.jpg","text":"TemporaryFile(/tmp/multipartBody6696828173546459630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741453142835,"filename":"image_08032025_17_57_26_10046.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/e9c23e2fd9c9810d500046f907f3bc4a.jpg","text":"TemporaryFile(/tmp/multipartBody1429625380742516220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741453142835,"filename":"image_08032025_17_56_55_10054.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/9a8b47cde434374a6fb8f9e2bc87fa35.jpg","text":"TemporaryFile(/tmp/multipartBody8984945282971940103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741453142835,"filename":"image_08032025_17_57_15_10043.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341944523","file1":"1341944515","file0":"1341944476","file4":"1341944556","file5":"1341944579","file3":"1341944531"},"map_files_photo_id_array":[{"photo_id":"1341944579","filename":"file5"},{"photo_id":"1341944523","filename":"file2"},{"photo_id":"1341944556","filename":"file4"},{"photo_id":"1341944515","filename":"file1"},{"photo_id":"1341944476","filename":"file0"},{"photo_id":"1341944531","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341944476":["hashtag1","hashtag2"]},{"1341944515":["hashtag1","hashtag2"]},{"1341944556":["hashtag1","hashtag2"]},{"1341944523":["hashtag1","hashtag2"]},{"1341944579":["hashtag1","hashtag2"]},{"1341944531":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341944476, 1341944515, 1341944556, 1341944523, 1341944579, 1341944531)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.4103524684906 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 17:59:02.763379
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/17/58/image_08032025_17_58_45_10074.jpg', 2), ('/home/nano/Desktop/images/08032025/17/58/image_08032025_17_58_35_10075.jpg', 2), ('/home/nano/Desktop/images/08032025/17/58/image_08032025_17_58_25_10048.jpg', 2), ('/home/nano/Desktop/images/08032025/17/58/image_08032025_17_58_15_10055.jpg', 2), ('/home/nano/Desktop/images/08032025/17/57/image_08032025_17_58_05_10073.jpg', 2), ('/home/nano/Desktop/images/08032025/17/57/image_08032025_17_57_55_10073.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/17/58/image_08032025_17_58_45_10074.jpg', '/home/nano/Desktop/images/08032025/17/58/image_08032025_17_58_35_10075.jpg', '/home/nano/Desktop/images/08032025/17/58/image_08032025_17_58_25_10048.jpg', '/home/nano/Desktop/images/08032025/17/58/image_08032025_17_58_15_10055.jpg', '/home/nano/Desktop/images/08032025/17/57/image_08032025_17_58_05_10073.jpg', '/home/nano/Desktop/images/08032025/17/57/image_08032025_17_57_55_10073.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/17/58/image_08032025_17_58_45_10074.jpg
/home/nano/Desktop/images/08032025/17/58/image_08032025_17_58_35_10075.jpg
/home/nano/Desktop/images/08032025/17/58/image_08032025_17_58_25_10048.jpg
/home/nano/Desktop/images/08032025/17/58/image_08032025_17_58_15_10055.jpg
/home/nano/Desktop/images/08032025/17/57/image_08032025_17_58_05_10073.jpg
/home/nano/Desktop/images/08032025/17/57/image_08032025_17_57_55_10073.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341944632","1341944641","1341944655","1341944646","1341944610","1341944618"],"photo_ids_order":["1341944610","1341944618","1341944632","1341944641","1341944646","1341944655"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/2192fceb14f7809a9b5b8a57c5cc7539.jpg","text":"TemporaryFile(/tmp/multipartBody2062277311130686121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741453203649,"filename":"image_08032025_17_58_25_10048.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/2e14c3be0e4500c630637ba47123bfbc.jpg","text":"TemporaryFile(/tmp/multipartBody5735172494996424407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741453203649,"filename":"image_08032025_17_58_15_10055.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/3f60221eb80368ab2cbad5a83f787f7c.jpg","text":"TemporaryFile(/tmp/multipartBody8127812242080409259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741453203649,"filename":"image_08032025_17_57_55_10073.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/ac45b024c90fbec6747f8bf8c87f5bc0.jpg","text":"TemporaryFile(/tmp/multipartBody7919508916067564834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741453203649,"filename":"image_08032025_17_58_05_10073.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/c355c9c310a31d8c3a406ed123bc6355.jpg","text":"TemporaryFile(/tmp/multipartBody6142343426505868167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741453203649,"filename":"image_08032025_17_58_45_10074.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/34b8f8e57e129295ed93da744381786a.jpg","text":"TemporaryFile(/tmp/multipartBody8632639725039012539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741453203649,"filename":"image_08032025_17_58_35_10075.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341944632","file1":"1341944618","file0":"1341944610","file4":"1341944646","file5":"1341944655","file3":"1341944641"},"map_files_photo_id_array":[{"photo_id":"1341944655","filename":"file5"},{"photo_id":"1341944632","filename":"file2"},{"photo_id":"1341944646","filename":"file4"},{"photo_id":"1341944618","filename":"file1"},{"photo_id":"1341944610","filename":"file0"},{"photo_id":"1341944641","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341944632":["hashtag1","hashtag2"]},{"1341944641":["hashtag1","hashtag2"]},{"1341944655":["hashtag1","hashtag2"]},{"1341944646":["hashtag1","hashtag2"]},{"1341944610":["hashtag1","hashtag2"]},{"1341944618":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341944632, 1341944641, 1341944655, 1341944646, 1341944610, 1341944618)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.41958260536194 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 18:00:02.624030
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/17/59/image_08032025_17_59_46_10102.jpg', 2), ('/home/nano/Desktop/images/08032025/17/59/image_08032025_17_59_35_10079.jpg', 2), ('/home/nano/Desktop/images/08032025/17/59/image_08032025_17_59_25_10083.jpg', 2), ('/home/nano/Desktop/images/08032025/17/59/image_08032025_17_59_15_10107.jpg', 2), ('/home/nano/Desktop/images/08032025/17/58/image_08032025_17_59_05_10098.jpg', 2), ('/home/nano/Desktop/images/08032025/17/58/image_08032025_17_58_55_10074.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/17/59/image_08032025_17_59_46_10102.jpg', '/home/nano/Desktop/images/08032025/17/59/image_08032025_17_59_35_10079.jpg', '/home/nano/Desktop/images/08032025/17/59/image_08032025_17_59_25_10083.jpg', '/home/nano/Desktop/images/08032025/17/59/image_08032025_17_59_15_10107.jpg', '/home/nano/Desktop/images/08032025/17/58/image_08032025_17_59_05_10098.jpg', '/home/nano/Desktop/images/08032025/17/58/image_08032025_17_58_55_10074.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/17/59/image_08032025_17_59_46_10102.jpg
/home/nano/Desktop/images/08032025/17/59/image_08032025_17_59_35_10079.jpg
/home/nano/Desktop/images/08032025/17/59/image_08032025_17_59_25_10083.jpg
/home/nano/Desktop/images/08032025/17/59/image_08032025_17_59_15_10107.jpg
/home/nano/Desktop/images/08032025/17/58/image_08032025_17_59_05_10098.jpg
/home/nano/Desktop/images/08032025/17/58/image_08032025_17_58_55_10074.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341944818","1341944739","1341944712","1341944700","1341944695","1341944791"],"photo_ids_order":["1341944695","1341944700","1341944712","1341944739","1341944791","1341944818"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/fcae8673f2f7f3a79d3f2e89c649acee.jpg","text":"TemporaryFile(/tmp/multipartBody5230523426440732104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741453263109,"filename":"image_08032025_17_58_55_10074.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/a41ce7548479f42b4d20ce716041e848.jpg","text":"TemporaryFile(/tmp/multipartBody7885650712739352376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741453263109,"filename":"image_08032025_17_59_15_10107.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/de3817260ac2b8d81141d52728ed92bc.jpg","text":"TemporaryFile(/tmp/multipartBody8711706668337823001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741453263109,"filename":"image_08032025_17_59_25_10083.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/5266311ad37da13effd8adfa9b55c536.jpg","text":"TemporaryFile(/tmp/multipartBody8533358603299437864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741453263109,"filename":"image_08032025_17_59_35_10079.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/2350883652e08351e49ab4b366a228cc.jpg","text":"TemporaryFile(/tmp/multipartBody2733901849272535975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741453263109,"filename":"image_08032025_17_59_46_10102.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/512e6b7f0bce1ce64d4e699c7f3b1a74.jpg","text":"TemporaryFile(/tmp/multipartBody4742532736831651224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741453263109,"filename":"image_08032025_17_59_05_10098.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341944712","file1":"1341944700","file0":"1341944695","file4":"1341944791","file5":"1341944818","file3":"1341944739"},"map_files_photo_id_array":[{"photo_id":"1341944818","filename":"file5"},{"photo_id":"1341944712","filename":"file2"},{"photo_id":"1341944791","filename":"file4"},{"photo_id":"1341944700","filename":"file1"},{"photo_id":"1341944695","filename":"file0"},{"photo_id":"1341944739","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341944818":["hashtag1","hashtag2"]},{"1341944739":["hashtag1","hashtag2"]},{"1341944712":["hashtag1","hashtag2"]},{"1341944700":["hashtag1","hashtag2"]},{"1341944695":["hashtag1","hashtag2"]},{"1341944791":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341944818, 1341944739, 1341944712, 1341944700, 1341944695, 1341944791)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.47883176803589 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 18:01:02.745903
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/18/00/image_08032025_18_00_45_10074.jpg', 2), ('/home/nano/Desktop/images/08032025/18/00/image_08032025_18_00_35_10076.jpg', 2), ('/home/nano/Desktop/images/08032025/18/00/image_08032025_18_00_25_10078.jpg', 2), ('/home/nano/Desktop/images/08032025/18/00/image_08032025_18_00_15_10083.jpg', 2), ('/home/nano/Desktop/images/08032025/17/59/image_08032025_18_00_05_10079.jpg', 2), ('/home/nano/Desktop/images/08032025/17/59/image_08032025_17_59_55_9070.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/18/00/image_08032025_18_00_45_10074.jpg', '/home/nano/Desktop/images/08032025/18/00/image_08032025_18_00_35_10076.jpg', '/home/nano/Desktop/images/08032025/18/00/image_08032025_18_00_25_10078.jpg', '/home/nano/Desktop/images/08032025/18/00/image_08032025_18_00_15_10083.jpg', '/home/nano/Desktop/images/08032025/17/59/image_08032025_18_00_05_10079.jpg', '/home/nano/Desktop/images/08032025/17/59/image_08032025_17_59_55_9070.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/18/00/image_08032025_18_00_45_10074.jpg
/home/nano/Desktop/images/08032025/18/00/image_08032025_18_00_35_10076.jpg
/home/nano/Desktop/images/08032025/18/00/image_08032025_18_00_25_10078.jpg
/home/nano/Desktop/images/08032025/18/00/image_08032025_18_00_15_10083.jpg
/home/nano/Desktop/images/08032025/17/59/image_08032025_18_00_05_10079.jpg
/home/nano/Desktop/images/08032025/17/59/image_08032025_17_59_55_9070.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341945095","1341945158","1341944996","1341945128","1341945020","1341945076"],"photo_ids_order":["1341944996","1341945020","1341945076","1341945095","1341945128","1341945158"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/284c345fac00f54612c34b53092623ee.jpg","text":"TemporaryFile(/tmp/multipartBody8446491633250076838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741453323206,"filename":"image_08032025_18_00_15_10083.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/ff7bd6c4a930165211c9b8cc061f2066.jpg","text":"TemporaryFile(/tmp/multipartBody8021778534956526648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741453323206,"filename":"image_08032025_17_59_55_9070.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/3b2ef4a2594f3878d140771004a82548.jpg","text":"TemporaryFile(/tmp/multipartBody1012077458606934435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741453323206,"filename":"image_08032025_18_00_45_10074.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/69ecec37629d037acedf96e35eb72307.jpg","text":"TemporaryFile(/tmp/multipartBody7495513414090592893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741453323206,"filename":"image_08032025_18_00_05_10079.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/44c796ed76841a284bcdc7686602e47f.jpg","text":"TemporaryFile(/tmp/multipartBody7627256925420973721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741453323206,"filename":"image_08032025_18_00_35_10076.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/727cc2624bb28f7f78c5c6231c0a601e.jpg","text":"TemporaryFile(/tmp/multipartBody3398314775476466173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741453323206,"filename":"image_08032025_18_00_25_10078.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341945076","file1":"1341945020","file0":"1341944996","file4":"1341945128","file5":"1341945158","file3":"1341945095"},"map_files_photo_id_array":[{"photo_id":"1341945158","filename":"file5"},{"photo_id":"1341945076","filename":"file2"},{"photo_id":"1341945128","filename":"file4"},{"photo_id":"1341945020","filename":"file1"},{"photo_id":"1341944996","filename":"file0"},{"photo_id":"1341945095","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341945095":["hashtag1","hashtag2"]},{"1341945158":["hashtag1","hashtag2"]},{"1341944996":["hashtag1","hashtag2"]},{"1341945128":["hashtag1","hashtag2"]},{"1341945020":["hashtag1","hashtag2"]},{"1341945076":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341945095, 1341945158, 1341944996, 1341945128, 1341945020, 1341945076)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.24911594390869 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 18:02:02.834208
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/18/01/image_08032025_18_01_46_10095.jpg', 2), ('/home/nano/Desktop/images/08032025/18/01/image_08032025_18_01_35_10074.jpg', 2), ('/home/nano/Desktop/images/08032025/18/01/image_08032025_18_01_25_10078.jpg', 2), ('/home/nano/Desktop/images/08032025/18/01/image_08032025_18_01_15_10073.jpg', 2), ('/home/nano/Desktop/images/08032025/18/00/image_08032025_18_01_05_10131.jpg', 2), ('/home/nano/Desktop/images/08032025/18/00/image_08032025_18_00_55_10081.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/18/01/image_08032025_18_01_46_10095.jpg', '/home/nano/Desktop/images/08032025/18/01/image_08032025_18_01_35_10074.jpg', '/home/nano/Desktop/images/08032025/18/01/image_08032025_18_01_25_10078.jpg', '/home/nano/Desktop/images/08032025/18/01/image_08032025_18_01_15_10073.jpg', '/home/nano/Desktop/images/08032025/18/00/image_08032025_18_01_05_10131.jpg', '/home/nano/Desktop/images/08032025/18/00/image_08032025_18_00_55_10081.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/18/01/image_08032025_18_01_46_10095.jpg
/home/nano/Desktop/images/08032025/18/01/image_08032025_18_01_35_10074.jpg
/home/nano/Desktop/images/08032025/18/01/image_08032025_18_01_25_10078.jpg
/home/nano/Desktop/images/08032025/18/01/image_08032025_18_01_15_10073.jpg
/home/nano/Desktop/images/08032025/18/00/image_08032025_18_01_05_10131.jpg
/home/nano/Desktop/images/08032025/18/00/image_08032025_18_00_55_10081.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341945459","1341945531","1341945435","1341945557","1341945404","1341945496"],"photo_ids_order":["1341945404","1341945435","1341945459","1341945496","1341945531","1341945557"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/f695f9301fb229ac6f837cf5970dc6f5.jpg","text":"TemporaryFile(/tmp/multipartBody8650028679119007704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741453383329,"filename":"image_08032025_18_01_25_10078.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/bbc8952e79625d39d4abf5a834d480cf.jpg","text":"TemporaryFile(/tmp/multipartBody7814951790980233775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741453383329,"filename":"image_08032025_18_01_05_10131.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/ee1a9b9ad5d168b06cf663be74359727.jpg","text":"TemporaryFile(/tmp/multipartBody5989856738250244915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741453383329,"filename":"image_08032025_18_01_35_10074.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/c3152a0d7b4fd962496063b28a01d7fc.jpg","text":"TemporaryFile(/tmp/multipartBody3639461799398788044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741453383329,"filename":"image_08032025_18_00_55_10081.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/affdcb5da41686c982da9311bea4b820.jpg","text":"TemporaryFile(/tmp/multipartBody8181904230082345892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741453383329,"filename":"image_08032025_18_01_46_10095.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/668273a452b1babaddaedd9a4117d1dd.jpg","text":"TemporaryFile(/tmp/multipartBody2297276681809037724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741453383329,"filename":"image_08032025_18_01_15_10073.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341945459","file1":"1341945435","file0":"1341945404","file4":"1341945531","file5":"1341945557","file3":"1341945496"},"map_files_photo_id_array":[{"photo_id":"1341945557","filename":"file5"},{"photo_id":"1341945459","filename":"file2"},{"photo_id":"1341945531","filename":"file4"},{"photo_id":"1341945435","filename":"file1"},{"photo_id":"1341945404","filename":"file0"},{"photo_id":"1341945496","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341945459":["hashtag1","hashtag2"]},{"1341945531":["hashtag1","hashtag2"]},{"1341945435":["hashtag1","hashtag2"]},{"1341945557":["hashtag1","hashtag2"]},{"1341945404":["hashtag1","hashtag2"]},{"1341945496":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341945459, 1341945531, 1341945435, 1341945557, 1341945404, 1341945496)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.98236346244812 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 18:03:03.184896
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/18/02/image_08032025_18_02_45_10079.jpg', 2), ('/home/nano/Desktop/images/08032025/18/02/image_08032025_18_02_35_10076.jpg', 2), ('/home/nano/Desktop/images/08032025/18/02/image_08032025_18_02_25_10083.jpg', 2), ('/home/nano/Desktop/images/08032025/18/02/image_08032025_18_02_15_10084.jpg', 2), ('/home/nano/Desktop/images/08032025/18/01/image_08032025_18_02_05_10083.jpg', 2), ('/home/nano/Desktop/images/08032025/18/01/image_08032025_18_01_55_9060.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/18/02/image_08032025_18_02_45_10079.jpg', '/home/nano/Desktop/images/08032025/18/02/image_08032025_18_02_35_10076.jpg', '/home/nano/Desktop/images/08032025/18/02/image_08032025_18_02_25_10083.jpg', '/home/nano/Desktop/images/08032025/18/02/image_08032025_18_02_15_10084.jpg', '/home/nano/Desktop/images/08032025/18/01/image_08032025_18_02_05_10083.jpg', '/home/nano/Desktop/images/08032025/18/01/image_08032025_18_01_55_9060.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/18/02/image_08032025_18_02_45_10079.jpg
/home/nano/Desktop/images/08032025/18/02/image_08032025_18_02_35_10076.jpg
/home/nano/Desktop/images/08032025/18/02/image_08032025_18_02_25_10083.jpg
/home/nano/Desktop/images/08032025/18/02/image_08032025_18_02_15_10084.jpg
/home/nano/Desktop/images/08032025/18/01/image_08032025_18_02_05_10083.jpg
/home/nano/Desktop/images/08032025/18/01/image_08032025_18_01_55_9060.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341945753","1341945804","1341945779","1341945728","1341945704","1341945796"],"photo_ids_order":["1341945704","1341945728","1341945753","1341945779","1341945796","1341945804"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/df02bf842ffb66db53159662cdf54c57.jpg","text":"TemporaryFile(/tmp/multipartBody2590163261862895147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741453443627,"filename":"image_08032025_18_02_25_10083.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/cc54767bfee31fa6f90fa6517dbb4da8.jpg","text":"TemporaryFile(/tmp/multipartBody4497489026545153020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741453443627,"filename":"image_08032025_18_01_55_9060.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/5f810ede27b5c5b859cb6124f4c628bb.jpg","text":"TemporaryFile(/tmp/multipartBody1703121688758203208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741453443627,"filename":"image_08032025_18_02_15_10084.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/3804592ae502cc3e14e56f13d9d9e713.jpg","text":"TemporaryFile(/tmp/multipartBody5802744711732375464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741453443627,"filename":"image_08032025_18_02_35_10076.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/18025183db978914cbb3edae1afc50cf.jpg","text":"TemporaryFile(/tmp/multipartBody6265490796674450636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741453443627,"filename":"image_08032025_18_02_45_10079.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/a95a20383fad1d72a0fcf6ff9fa4f0d3.jpg","text":"TemporaryFile(/tmp/multipartBody839818444049183771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741453443627,"filename":"image_08032025_18_02_05_10083.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341945753","file1":"1341945728","file0":"1341945704","file4":"1341945796","file5":"1341945804","file3":"1341945779"},"map_files_photo_id_array":[{"photo_id":"1341945804","filename":"file5"},{"photo_id":"1341945753","filename":"file2"},{"photo_id":"1341945796","filename":"file4"},{"photo_id":"1341945728","filename":"file1"},{"photo_id":"1341945704","filename":"file0"},{"photo_id":"1341945779","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341945753":["hashtag1","hashtag2"]},{"1341945804":["hashtag1","hashtag2"]},{"1341945779":["hashtag1","hashtag2"]},{"1341945728":["hashtag1","hashtag2"]},{"1341945704":["hashtag1","hashtag2"]},{"1341945796":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341945753, 1341945804, 1341945779, 1341945728, 1341945704, 1341945796)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.311070680618286 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 18:04:03.600867
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/18/03/image_08032025_18_03_46_10077.jpg', 2), ('/home/nano/Desktop/images/08032025/18/03/image_08032025_18_03_35_10080.jpg', 2), ('/home/nano/Desktop/images/08032025/18/03/image_08032025_18_03_25_10078.jpg', 2), ('/home/nano/Desktop/images/08032025/18/03/image_08032025_18_03_15_10078.jpg', 2), ('/home/nano/Desktop/images/08032025/18/02/image_08032025_18_03_05_10090.jpg', 2), ('/home/nano/Desktop/images/08032025/18/02/image_08032025_18_02_55_10080.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/18/03/image_08032025_18_03_46_10077.jpg', '/home/nano/Desktop/images/08032025/18/03/image_08032025_18_03_35_10080.jpg', '/home/nano/Desktop/images/08032025/18/03/image_08032025_18_03_25_10078.jpg', '/home/nano/Desktop/images/08032025/18/03/image_08032025_18_03_15_10078.jpg', '/home/nano/Desktop/images/08032025/18/02/image_08032025_18_03_05_10090.jpg', '/home/nano/Desktop/images/08032025/18/02/image_08032025_18_02_55_10080.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/18/03/image_08032025_18_03_46_10077.jpg
/home/nano/Desktop/images/08032025/18/03/image_08032025_18_03_35_10080.jpg
/home/nano/Desktop/images/08032025/18/03/image_08032025_18_03_25_10078.jpg
/home/nano/Desktop/images/08032025/18/03/image_08032025_18_03_15_10078.jpg
/home/nano/Desktop/images/08032025/18/02/image_08032025_18_03_05_10090.jpg
/home/nano/Desktop/images/08032025/18/02/image_08032025_18_02_55_10080.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341946239","1341946221","1341946381","1341946186","1341946432","1341946389"],"photo_ids_order":["1341946186","1341946221","1341946239","1341946381","1341946389","1341946432"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/9b946fa2074d47ed94b3831ed431a8d7.jpg","text":"TemporaryFile(/tmp/multipartBody1095213156274400313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741453504061,"filename":"image_08032025_18_03_25_10078.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/893897974869b73bc190accf8655aca0.jpg","text":"TemporaryFile(/tmp/multipartBody9174194552837554416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741453504061,"filename":"image_08032025_18_03_35_10080.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/77c937db6109775f4032404bab4e4702.jpg","text":"TemporaryFile(/tmp/multipartBody5336478362766036653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741453504061,"filename":"image_08032025_18_03_15_10078.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/e0be5a038059f1131f3a30f486799795.jpg","text":"TemporaryFile(/tmp/multipartBody1575507291760886030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741453504061,"filename":"image_08032025_18_03_46_10077.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/f99ae6bc39d2c4880490ac021361534a.jpg","text":"TemporaryFile(/tmp/multipartBody2393431363780244377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741453504061,"filename":"image_08032025_18_02_55_10080.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/22c32e541118b9d2092c753d10000de2.jpg","text":"TemporaryFile(/tmp/multipartBody4236376389807046111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741453504061,"filename":"image_08032025_18_03_05_10090.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341946239","file1":"1341946221","file0":"1341946186","file4":"1341946389","file5":"1341946432","file3":"1341946381"},"map_files_photo_id_array":[{"photo_id":"1341946432","filename":"file5"},{"photo_id":"1341946239","filename":"file2"},{"photo_id":"1341946389","filename":"file4"},{"photo_id":"1341946221","filename":"file1"},{"photo_id":"1341946186","filename":"file0"},{"photo_id":"1341946381","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341946239":["hashtag1","hashtag2"]},{"1341946221":["hashtag1","hashtag2"]},{"1341946381":["hashtag1","hashtag2"]},{"1341946186":["hashtag1","hashtag2"]},{"1341946432":["hashtag1","hashtag2"]},{"1341946389":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341946239, 1341946221, 1341946381, 1341946186, 1341946432, 1341946389)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.901307821273804 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 18:05:03.351612
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/18/04/image_08032025_18_04_45_10081.jpg', 2), ('/home/nano/Desktop/images/08032025/18/04/image_08032025_18_04_35_10094.jpg', 2), ('/home/nano/Desktop/images/08032025/18/04/image_08032025_18_04_25_10077.jpg', 2), ('/home/nano/Desktop/images/08032025/18/04/image_08032025_18_04_15_10081.jpg', 2), ('/home/nano/Desktop/images/08032025/18/03/image_08032025_18_04_05_9077.jpg', 2), ('/home/nano/Desktop/images/08032025/18/03/image_08032025_18_03_56_10078.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/18/04/image_08032025_18_04_45_10081.jpg', '/home/nano/Desktop/images/08032025/18/04/image_08032025_18_04_35_10094.jpg', '/home/nano/Desktop/images/08032025/18/04/image_08032025_18_04_25_10077.jpg', '/home/nano/Desktop/images/08032025/18/04/image_08032025_18_04_15_10081.jpg', '/home/nano/Desktop/images/08032025/18/03/image_08032025_18_04_05_9077.jpg', '/home/nano/Desktop/images/08032025/18/03/image_08032025_18_03_56_10078.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/18/04/image_08032025_18_04_45_10081.jpg
/home/nano/Desktop/images/08032025/18/04/image_08032025_18_04_35_10094.jpg
/home/nano/Desktop/images/08032025/18/04/image_08032025_18_04_25_10077.jpg
/home/nano/Desktop/images/08032025/18/04/image_08032025_18_04_15_10081.jpg
/home/nano/Desktop/images/08032025/18/03/image_08032025_18_04_05_9077.jpg
/home/nano/Desktop/images/08032025/18/03/image_08032025_18_03_56_10078.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341946455","1341946589","1341946580","1341946585","1341946549","1341946446"],"photo_ids_order":["1341946446","1341946455","1341946549","1341946580","1341946585","1341946589"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/7da3435c341ca52f67faf754c698f4f7.jpg","text":"TemporaryFile(/tmp/multipartBody6503016665058396636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741453563881,"filename":"image_08032025_18_04_35_10094.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/e2dcbe24714e461135dcc19b5b49b69b.jpg","text":"TemporaryFile(/tmp/multipartBody794557620435206939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741453563881,"filename":"image_08032025_18_03_56_10078.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/c254bf1c6f28da55ced7d5eb156a38c7.jpg","text":"TemporaryFile(/tmp/multipartBody4578168258912846186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741453563881,"filename":"image_08032025_18_04_15_10081.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/3b620ff396fb94e97f5b959f0c20b2c7.jpg","text":"TemporaryFile(/tmp/multipartBody1383371474792532013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741453563881,"filename":"image_08032025_18_04_05_9077.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/22fc671b318418abeecd2eed818017f2.jpg","text":"TemporaryFile(/tmp/multipartBody3721284855337687015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741453563881,"filename":"image_08032025_18_04_25_10077.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/f9d81dedf70bcc799002a0cba198a1fe.jpg","text":"TemporaryFile(/tmp/multipartBody3651485181716194442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741453563881,"filename":"image_08032025_18_04_45_10081.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341946549","file1":"1341946455","file0":"1341946446","file4":"1341946585","file5":"1341946589","file3":"1341946580"},"map_files_photo_id_array":[{"photo_id":"1341946589","filename":"file5"},{"photo_id":"1341946549","filename":"file2"},{"photo_id":"1341946585","filename":"file4"},{"photo_id":"1341946455","filename":"file1"},{"photo_id":"1341946446","filename":"file0"},{"photo_id":"1341946580","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341946455":["hashtag1","hashtag2"]},{"1341946589":["hashtag1","hashtag2"]},{"1341946580":["hashtag1","hashtag2"]},{"1341946585":["hashtag1","hashtag2"]},{"1341946549":["hashtag1","hashtag2"]},{"1341946446":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341946455, 1341946589, 1341946580, 1341946585, 1341946549, 1341946446)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.02430582046509 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 18:06:02.398331
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/18/05/image_08032025_18_05_46_10082.jpg', 2), ('/home/nano/Desktop/images/08032025/18/05/image_08032025_18_05_35_10075.jpg', 2), ('/home/nano/Desktop/images/08032025/18/05/image_08032025_18_05_25_10080.jpg', 2), ('/home/nano/Desktop/images/08032025/18/05/image_08032025_18_05_15_10103.jpg', 2), ('/home/nano/Desktop/images/08032025/18/04/image_08032025_18_05_05_10095.jpg', 2), ('/home/nano/Desktop/images/08032025/18/04/image_08032025_18_04_55_10086.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/18/05/image_08032025_18_05_46_10082.jpg', '/home/nano/Desktop/images/08032025/18/05/image_08032025_18_05_35_10075.jpg', '/home/nano/Desktop/images/08032025/18/05/image_08032025_18_05_25_10080.jpg', '/home/nano/Desktop/images/08032025/18/05/image_08032025_18_05_15_10103.jpg', '/home/nano/Desktop/images/08032025/18/04/image_08032025_18_05_05_10095.jpg', '/home/nano/Desktop/images/08032025/18/04/image_08032025_18_04_55_10086.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/18/05/image_08032025_18_05_46_10082.jpg
/home/nano/Desktop/images/08032025/18/05/image_08032025_18_05_35_10075.jpg
/home/nano/Desktop/images/08032025/18/05/image_08032025_18_05_25_10080.jpg
/home/nano/Desktop/images/08032025/18/05/image_08032025_18_05_15_10103.jpg
/home/nano/Desktop/images/08032025/18/04/image_08032025_18_05_05_10095.jpg
/home/nano/Desktop/images/08032025/18/04/image_08032025_18_04_55_10086.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341946676","1341946859","1341946756","1341946657","1341946788","1341946705"],"photo_ids_order":["1341946657","1341946676","1341946705","1341946756","1341946788","1341946859"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/4062d558b36b8bb3d9df2b509a1a667e.jpg","text":"TemporaryFile(/tmp/multipartBody5212380598235610414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741453622847,"filename":"image_08032025_18_05_35_10075.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/a0771a2cbb054839a220e58058e40bb1.jpg","text":"TemporaryFile(/tmp/multipartBody7517480626400690226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741453622847,"filename":"image_08032025_18_04_55_10086.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/2ae4d7b8749532cf4a5aeba6097d9afc.jpg","text":"TemporaryFile(/tmp/multipartBody987705785710009456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741453622847,"filename":"image_08032025_18_05_15_10103.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/0bd4634037cd3eefb2e92942019f9bb0.jpg","text":"TemporaryFile(/tmp/multipartBody8701878929649756401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741453622847,"filename":"image_08032025_18_05_46_10082.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/7134612395bc960e8e6282bf9d4d93b7.jpg","text":"TemporaryFile(/tmp/multipartBody6099450796187128221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741453622847,"filename":"image_08032025_18_05_05_10095.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/928ad8d3f81861b5ec479d7ed4dfe36b.jpg","text":"TemporaryFile(/tmp/multipartBody4861151928841664944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741453622847,"filename":"image_08032025_18_05_25_10080.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341946705","file1":"1341946676","file0":"1341946657","file4":"1341946788","file5":"1341946859","file3":"1341946756"},"map_files_photo_id_array":[{"photo_id":"1341946859","filename":"file5"},{"photo_id":"1341946705","filename":"file2"},{"photo_id":"1341946788","filename":"file4"},{"photo_id":"1341946676","filename":"file1"},{"photo_id":"1341946657","filename":"file0"},{"photo_id":"1341946756","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341946676":["hashtag1","hashtag2"]},{"1341946859":["hashtag1","hashtag2"]},{"1341946756":["hashtag1","hashtag2"]},{"1341946657":["hashtag1","hashtag2"]},{"1341946788":["hashtag1","hashtag2"]},{"1341946705":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341946676, 1341946859, 1341946756, 1341946657, 1341946788, 1341946705)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.55509376525879 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 18:07:02.505322
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/18/06/image_08032025_18_06_45_10078.jpg', 2), ('/home/nano/Desktop/images/08032025/18/06/image_08032025_18_06_35_10077.jpg', 2), ('/home/nano/Desktop/images/08032025/18/06/image_08032025_18_06_25_10094.jpg', 2), ('/home/nano/Desktop/images/08032025/18/06/image_08032025_18_06_15_10107.jpg', 2), ('/home/nano/Desktop/images/08032025/18/05/image_08032025_18_06_05_10099.jpg', 2), ('/home/nano/Desktop/images/08032025/18/05/image_08032025_18_05_55_9063.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/18/06/image_08032025_18_06_45_10078.jpg', '/home/nano/Desktop/images/08032025/18/06/image_08032025_18_06_35_10077.jpg', '/home/nano/Desktop/images/08032025/18/06/image_08032025_18_06_25_10094.jpg', '/home/nano/Desktop/images/08032025/18/06/image_08032025_18_06_15_10107.jpg', '/home/nano/Desktop/images/08032025/18/05/image_08032025_18_06_05_10099.jpg', '/home/nano/Desktop/images/08032025/18/05/image_08032025_18_05_55_9063.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/18/06/image_08032025_18_06_45_10078.jpg
/home/nano/Desktop/images/08032025/18/06/image_08032025_18_06_35_10077.jpg
/home/nano/Desktop/images/08032025/18/06/image_08032025_18_06_25_10094.jpg
/home/nano/Desktop/images/08032025/18/06/image_08032025_18_06_15_10107.jpg
/home/nano/Desktop/images/08032025/18/05/image_08032025_18_06_05_10099.jpg
/home/nano/Desktop/images/08032025/18/05/image_08032025_18_05_55_9063.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341947360","1341947372","1341947324","1341947207","1341947309","1341947355"],"photo_ids_order":["1341947207","1341947309","1341947324","1341947355","1341947360","1341947372"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/33baa9969a9fa55b18fc14a7b97499e5.jpg","text":"TemporaryFile(/tmp/multipartBody7692449143477546919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741453682950,"filename":"image_08032025_18_06_05_10099.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/c01e2ada4cf52e7bbca6117bc60ea673.jpg","text":"TemporaryFile(/tmp/multipartBody8403375008816225564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741453682950,"filename":"image_08032025_18_05_55_9063.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/50e05d2bc23750c287bc8f55454f8a75.jpg","text":"TemporaryFile(/tmp/multipartBody3533986373180278029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741453682950,"filename":"image_08032025_18_06_25_10094.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/efa51ddaa35d21319d2993ab1e8f9030.jpg","text":"TemporaryFile(/tmp/multipartBody6728363951382453924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741453682950,"filename":"image_08032025_18_06_45_10078.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/de610aa734de717238ec9cf08a83ccf9.jpg","text":"TemporaryFile(/tmp/multipartBody2825187117880007312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741453682950,"filename":"image_08032025_18_06_35_10077.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/a522214b6e626f9eddf7787118a761f1.jpg","text":"TemporaryFile(/tmp/multipartBody9172695475736030450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741453682950,"filename":"image_08032025_18_06_15_10107.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341947324","file1":"1341947309","file0":"1341947207","file4":"1341947360","file5":"1341947372","file3":"1341947355"},"map_files_photo_id_array":[{"photo_id":"1341947372","filename":"file5"},{"photo_id":"1341947324","filename":"file2"},{"photo_id":"1341947360","filename":"file4"},{"photo_id":"1341947309","filename":"file1"},{"photo_id":"1341947207","filename":"file0"},{"photo_id":"1341947355","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341947360":["hashtag1","hashtag2"]},{"1341947372":["hashtag1","hashtag2"]},{"1341947324":["hashtag1","hashtag2"]},{"1341947207":["hashtag1","hashtag2"]},{"1341947309":["hashtag1","hashtag2"]},{"1341947355":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341947360, 1341947372, 1341947324, 1341947207, 1341947309, 1341947355)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.805317878723145 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 18:08:02.582382
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/18/07/image_08032025_18_07_46_10078.jpg', 2), ('/home/nano/Desktop/images/08032025/18/07/image_08032025_18_07_35_10070.jpg', 2), ('/home/nano/Desktop/images/08032025/18/07/image_08032025_18_07_25_10087.jpg', 2), ('/home/nano/Desktop/images/08032025/18/07/image_08032025_18_07_15_10083.jpg', 2), ('/home/nano/Desktop/images/08032025/18/06/image_08032025_18_07_05_10082.jpg', 2), ('/home/nano/Desktop/images/08032025/18/06/image_08032025_18_06_55_10081.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/18/07/image_08032025_18_07_46_10078.jpg', '/home/nano/Desktop/images/08032025/18/07/image_08032025_18_07_35_10070.jpg', '/home/nano/Desktop/images/08032025/18/07/image_08032025_18_07_25_10087.jpg', '/home/nano/Desktop/images/08032025/18/07/image_08032025_18_07_15_10083.jpg', '/home/nano/Desktop/images/08032025/18/06/image_08032025_18_07_05_10082.jpg', '/home/nano/Desktop/images/08032025/18/06/image_08032025_18_06_55_10081.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/18/07/image_08032025_18_07_46_10078.jpg
/home/nano/Desktop/images/08032025/18/07/image_08032025_18_07_35_10070.jpg
/home/nano/Desktop/images/08032025/18/07/image_08032025_18_07_25_10087.jpg
/home/nano/Desktop/images/08032025/18/07/image_08032025_18_07_15_10083.jpg
/home/nano/Desktop/images/08032025/18/06/image_08032025_18_07_05_10082.jpg
/home/nano/Desktop/images/08032025/18/06/image_08032025_18_06_55_10081.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341947785","1341947773","1341947746","1341947757","1341947724","1341947795"],"photo_ids_order":["1341947724","1341947746","1341947757","1341947773","1341947785","1341947795"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/5303161ca8dff32d206bef6b5e5ce41e.jpg","text":"TemporaryFile(/tmp/multipartBody3218608769636371982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741453743088,"filename":"image_08032025_18_07_05_10082.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/452e6f9384d03c8fd0e41078b4b28254.jpg","text":"TemporaryFile(/tmp/multipartBody5996326421986176184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741453743088,"filename":"image_08032025_18_07_15_10083.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/d5d0d9ce6b32053b66aa379b429dc38c.jpg","text":"TemporaryFile(/tmp/multipartBody1369234673506427359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741453743088,"filename":"image_08032025_18_07_35_10070.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/f6abac164e9c3a887b4c2cda25e11010.jpg","text":"TemporaryFile(/tmp/multipartBody938809700873872188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741453743088,"filename":"image_08032025_18_07_25_10087.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/467adfbb190875d310d4aa047867206f.jpg","text":"TemporaryFile(/tmp/multipartBody7807855921688519632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741453743088,"filename":"image_08032025_18_07_46_10078.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/5ee8948fabf854e894411ba148d9c0ca.jpg","text":"TemporaryFile(/tmp/multipartBody2792796941142118372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741453743088,"filename":"image_08032025_18_06_55_10081.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341947757","file1":"1341947746","file0":"1341947724","file4":"1341947785","file5":"1341947795","file3":"1341947773"},"map_files_photo_id_array":[{"photo_id":"1341947795","filename":"file5"},{"photo_id":"1341947757","filename":"file2"},{"photo_id":"1341947785","filename":"file4"},{"photo_id":"1341947746","filename":"file1"},{"photo_id":"1341947724","filename":"file0"},{"photo_id":"1341947773","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341947785":["hashtag1","hashtag2"]},{"1341947773":["hashtag1","hashtag2"]},{"1341947746":["hashtag1","hashtag2"]},{"1341947757":["hashtag1","hashtag2"]},{"1341947724":["hashtag1","hashtag2"]},{"1341947795":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341947785, 1341947773, 1341947746, 1341947757, 1341947724, 1341947795)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.17308020591736 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 18:09:02.877561
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/18/08/image_08032025_18_08_45_10071.jpg', 2), ('/home/nano/Desktop/images/08032025/18/08/image_08032025_18_08_35_10075.jpg', 2), ('/home/nano/Desktop/images/08032025/18/08/image_08032025_18_08_25_10078.jpg', 2), ('/home/nano/Desktop/images/08032025/18/08/image_08032025_18_08_15_10086.jpg', 2), ('/home/nano/Desktop/images/08032025/18/07/image_08032025_18_08_05_10086.jpg', 2), ('/home/nano/Desktop/images/08032025/18/07/image_08032025_18_07_55_9085.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/18/08/image_08032025_18_08_45_10071.jpg', '/home/nano/Desktop/images/08032025/18/08/image_08032025_18_08_35_10075.jpg', '/home/nano/Desktop/images/08032025/18/08/image_08032025_18_08_25_10078.jpg', '/home/nano/Desktop/images/08032025/18/08/image_08032025_18_08_15_10086.jpg', '/home/nano/Desktop/images/08032025/18/07/image_08032025_18_08_05_10086.jpg', '/home/nano/Desktop/images/08032025/18/07/image_08032025_18_07_55_9085.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/18/08/image_08032025_18_08_45_10071.jpg
/home/nano/Desktop/images/08032025/18/08/image_08032025_18_08_35_10075.jpg
/home/nano/Desktop/images/08032025/18/08/image_08032025_18_08_25_10078.jpg
/home/nano/Desktop/images/08032025/18/08/image_08032025_18_08_15_10086.jpg
/home/nano/Desktop/images/08032025/18/07/image_08032025_18_08_05_10086.jpg
/home/nano/Desktop/images/08032025/18/07/image_08032025_18_07_55_9085.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341947858","1341947861","1341947875","1341947869","1341947863","1341947866"],"photo_ids_order":["1341947858","1341947861","1341947863","1341947866","1341947869","1341947875"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/78438e27523ab79f197d9f30891d5c8f.jpg","text":"TemporaryFile(/tmp/multipartBody4245915896888484534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741453803362,"filename":"image_08032025_18_08_45_10071.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/d8a30b3059cb453e45ec773a70c336e0.jpg","text":"TemporaryFile(/tmp/multipartBody3892776094447157992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741453803362,"filename":"image_08032025_18_08_35_10075.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/eeea80a3ae8c5fe67f976bdaff84b0db.jpg","text":"TemporaryFile(/tmp/multipartBody7312744039011472660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741453803362,"filename":"image_08032025_18_07_55_9085.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/99c089c989e53c85961bbd64c18f107b.jpg","text":"TemporaryFile(/tmp/multipartBody5131831195142412013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741453803362,"filename":"image_08032025_18_08_05_10086.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/7870f644c6f7cd8b63842cdceb4141eb.jpg","text":"TemporaryFile(/tmp/multipartBody8765714014920389956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741453803362,"filename":"image_08032025_18_08_25_10078.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/69617f642ef6af8e234f8b1c04ef8333.jpg","text":"TemporaryFile(/tmp/multipartBody2039081858585139364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741453803362,"filename":"image_08032025_18_08_15_10086.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341947863","file1":"1341947861","file0":"1341947858","file4":"1341947869","file5":"1341947875","file3":"1341947866"},"map_files_photo_id_array":[{"photo_id":"1341947875","filename":"file5"},{"photo_id":"1341947863","filename":"file2"},{"photo_id":"1341947869","filename":"file4"},{"photo_id":"1341947861","filename":"file1"},{"photo_id":"1341947858","filename":"file0"},{"photo_id":"1341947866","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341947858":["hashtag1","hashtag2"]},{"1341947861":["hashtag1","hashtag2"]},{"1341947875":["hashtag1","hashtag2"]},{"1341947869":["hashtag1","hashtag2"]},{"1341947863":["hashtag1","hashtag2"]},{"1341947866":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341947858, 1341947861, 1341947875, 1341947869, 1341947863, 1341947866)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.30426549911499 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 18:10:02.934178
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/18/09/image_08032025_18_09_45_10077.jpg', 2), ('/home/nano/Desktop/images/08032025/18/09/image_08032025_18_09_35_10070.jpg', 2), ('/home/nano/Desktop/images/08032025/18/09/image_08032025_18_09_25_10079.jpg', 2), ('/home/nano/Desktop/images/08032025/18/09/image_08032025_18_09_15_10076.jpg', 2), ('/home/nano/Desktop/images/08032025/18/08/image_08032025_18_09_05_10090.jpg', 2), ('/home/nano/Desktop/images/08032025/18/08/image_08032025_18_08_55_10073.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/18/09/image_08032025_18_09_45_10077.jpg', '/home/nano/Desktop/images/08032025/18/09/image_08032025_18_09_35_10070.jpg', '/home/nano/Desktop/images/08032025/18/09/image_08032025_18_09_25_10079.jpg', '/home/nano/Desktop/images/08032025/18/09/image_08032025_18_09_15_10076.jpg', '/home/nano/Desktop/images/08032025/18/08/image_08032025_18_09_05_10090.jpg', '/home/nano/Desktop/images/08032025/18/08/image_08032025_18_08_55_10073.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/18/09/image_08032025_18_09_45_10077.jpg
/home/nano/Desktop/images/08032025/18/09/image_08032025_18_09_35_10070.jpg
/home/nano/Desktop/images/08032025/18/09/image_08032025_18_09_25_10079.jpg
/home/nano/Desktop/images/08032025/18/09/image_08032025_18_09_15_10076.jpg
/home/nano/Desktop/images/08032025/18/08/image_08032025_18_09_05_10090.jpg
/home/nano/Desktop/images/08032025/18/08/image_08032025_18_08_55_10073.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341948239","1341948277","1341948209","1341948100","1341948129","1341948216"],"photo_ids_order":["1341948100","1341948129","1341948209","1341948216","1341948239","1341948277"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/38ba8ee6f783debf96c92c2444fb169f.jpg","text":"TemporaryFile(/tmp/multipartBody5019199178632097956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741453863398,"filename":"image_08032025_18_09_05_10090.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/380c7298aeda8695819ed4886b7fe832.jpg","text":"TemporaryFile(/tmp/multipartBody2046153769954746705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741453863398,"filename":"image_08032025_18_08_55_10073.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/b2341509efacc170d2652f5ca7c67dab.jpg","text":"TemporaryFile(/tmp/multipartBody7507544850075547686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741453863398,"filename":"image_08032025_18_09_25_10079.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/3a4bfa54a20107931e9bc9401a5ef0ff.jpg","text":"TemporaryFile(/tmp/multipartBody6864890639950916112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741453863398,"filename":"image_08032025_18_09_45_10077.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/d958d8def689413e49bc385e44ad6892.jpg","text":"TemporaryFile(/tmp/multipartBody4709468066772800807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741453863398,"filename":"image_08032025_18_09_35_10070.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/11dc3bcbb31404952dd41d1f06b0614d.jpg","text":"TemporaryFile(/tmp/multipartBody3569520632966561343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741453863398,"filename":"image_08032025_18_09_15_10076.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341948209","file1":"1341948129","file0":"1341948100","file4":"1341948239","file5":"1341948277","file3":"1341948216"},"map_files_photo_id_array":[{"photo_id":"1341948277","filename":"file5"},{"photo_id":"1341948209","filename":"file2"},{"photo_id":"1341948239","filename":"file4"},{"photo_id":"1341948129","filename":"file1"},{"photo_id":"1341948100","filename":"file0"},{"photo_id":"1341948216","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341948239":["hashtag1","hashtag2"]},{"1341948277":["hashtag1","hashtag2"]},{"1341948209":["hashtag1","hashtag2"]},{"1341948100":["hashtag1","hashtag2"]},{"1341948129":["hashtag1","hashtag2"]},{"1341948216":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341948239, 1341948277, 1341948209, 1341948100, 1341948129, 1341948216)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.49513053894043 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 18:11:02.845033
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/18/10/image_08032025_18_10_45_10102.jpg', 2), ('/home/nano/Desktop/images/08032025/18/10/image_08032025_18_10_35_10079.jpg', 2), ('/home/nano/Desktop/images/08032025/18/10/image_08032025_18_10_25_10063.jpg', 2), ('/home/nano/Desktop/images/08032025/18/10/image_08032025_18_10_15_10081.jpg', 2), ('/home/nano/Desktop/images/08032025/18/09/image_08032025_18_10_05_9090.jpg', 2), ('/home/nano/Desktop/images/08032025/18/09/image_08032025_18_09_56_10074.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/18/10/image_08032025_18_10_45_10102.jpg', '/home/nano/Desktop/images/08032025/18/10/image_08032025_18_10_35_10079.jpg', '/home/nano/Desktop/images/08032025/18/10/image_08032025_18_10_25_10063.jpg', '/home/nano/Desktop/images/08032025/18/10/image_08032025_18_10_15_10081.jpg', '/home/nano/Desktop/images/08032025/18/09/image_08032025_18_10_05_9090.jpg', '/home/nano/Desktop/images/08032025/18/09/image_08032025_18_09_56_10074.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/18/10/image_08032025_18_10_45_10102.jpg
/home/nano/Desktop/images/08032025/18/10/image_08032025_18_10_35_10079.jpg
/home/nano/Desktop/images/08032025/18/10/image_08032025_18_10_25_10063.jpg
/home/nano/Desktop/images/08032025/18/10/image_08032025_18_10_15_10081.jpg
/home/nano/Desktop/images/08032025/18/09/image_08032025_18_10_05_9090.jpg
/home/nano/Desktop/images/08032025/18/09/image_08032025_18_09_56_10074.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341948569","1341948623","1341948688","1341948637","1341948522","1341948600"],"photo_ids_order":["1341948522","1341948569","1341948600","1341948623","1341948637","1341948688"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/fcec9023fab32cbf9836a685bcbe8662.jpg","text":"TemporaryFile(/tmp/multipartBody6352074025671204811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741453923292,"filename":"image_08032025_18_10_35_10079.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/b7e92cb9adf2b2cf4e5fdeeb90c9e0df.jpg","text":"TemporaryFile(/tmp/multipartBody7119029966501243006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741453923292,"filename":"image_08032025_18_10_15_10081.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/792368ad35cac17705546cd97410e17c.jpg","text":"TemporaryFile(/tmp/multipartBody2305398733844541591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741453923292,"filename":"image_08032025_18_09_56_10074.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/b34803e59e8eddec51550cdab12cd0a3.jpg","text":"TemporaryFile(/tmp/multipartBody4492439495644059676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741453923292,"filename":"image_08032025_18_10_05_9090.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/fad40e535f36e394d29274e84b702705.jpg","text":"TemporaryFile(/tmp/multipartBody7256860774423209466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741453923292,"filename":"image_08032025_18_10_45_10102.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/dcb42d6443ebd850ade500e70ffc052b.jpg","text":"TemporaryFile(/tmp/multipartBody5799381361763310415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741453923292,"filename":"image_08032025_18_10_25_10063.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341948600","file1":"1341948569","file0":"1341948522","file4":"1341948637","file5":"1341948688","file3":"1341948623"},"map_files_photo_id_array":[{"photo_id":"1341948688","filename":"file5"},{"photo_id":"1341948600","filename":"file2"},{"photo_id":"1341948637","filename":"file4"},{"photo_id":"1341948569","filename":"file1"},{"photo_id":"1341948522","filename":"file0"},{"photo_id":"1341948623","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341948569":["hashtag1","hashtag2"]},{"1341948623":["hashtag1","hashtag2"]},{"1341948688":["hashtag1","hashtag2"]},{"1341948637":["hashtag1","hashtag2"]},{"1341948522":["hashtag1","hashtag2"]},{"1341948600":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341948569, 1341948623, 1341948688, 1341948637, 1341948522, 1341948600)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.693886280059814 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 18:12:03.091886
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/18/11/image_08032025_18_11_45_10078.jpg', 2), ('/home/nano/Desktop/images/08032025/18/11/image_08032025_18_11_35_10078.jpg', 2), ('/home/nano/Desktop/images/08032025/18/11/image_08032025_18_11_25_10075.jpg', 2), ('/home/nano/Desktop/images/08032025/18/11/image_08032025_18_11_15_10080.jpg', 2), ('/home/nano/Desktop/images/08032025/18/10/image_08032025_18_11_05_10086.jpg', 2), ('/home/nano/Desktop/images/08032025/18/10/image_08032025_18_10_55_10079.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/18/11/image_08032025_18_11_45_10078.jpg', '/home/nano/Desktop/images/08032025/18/11/image_08032025_18_11_35_10078.jpg', '/home/nano/Desktop/images/08032025/18/11/image_08032025_18_11_25_10075.jpg', '/home/nano/Desktop/images/08032025/18/11/image_08032025_18_11_15_10080.jpg', '/home/nano/Desktop/images/08032025/18/10/image_08032025_18_11_05_10086.jpg', '/home/nano/Desktop/images/08032025/18/10/image_08032025_18_10_55_10079.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/18/11/image_08032025_18_11_45_10078.jpg
/home/nano/Desktop/images/08032025/18/11/image_08032025_18_11_35_10078.jpg
/home/nano/Desktop/images/08032025/18/11/image_08032025_18_11_25_10075.jpg
/home/nano/Desktop/images/08032025/18/11/image_08032025_18_11_15_10080.jpg
/home/nano/Desktop/images/08032025/18/10/image_08032025_18_11_05_10086.jpg
/home/nano/Desktop/images/08032025/18/10/image_08032025_18_10_55_10079.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341949066","1341948982","1341949120","1341949021","1341949050","1341949037"],"photo_ids_order":["1341948982","1341949021","1341949037","1341949050","1341949066","1341949120"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/8a47259c5a58e977da99ec61a094f7cb.jpg","text":"TemporaryFile(/tmp/multipartBody4190801864279257626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741453983550,"filename":"image_08032025_18_11_05_10086.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/fb55d4d08efedc11808cf251d1393626.jpg","text":"TemporaryFile(/tmp/multipartBody7175179718482384037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741453983550,"filename":"image_08032025_18_11_45_10078.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/3fc0dcaa75b51a1c076dd0cc5afa7194.jpg","text":"TemporaryFile(/tmp/multipartBody5543785622908036820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741453983550,"filename":"image_08032025_18_10_55_10079.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/30c88f0fe79e2a0f3271dc6986e36586.jpg","text":"TemporaryFile(/tmp/multipartBody5705579840848287877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741453983550,"filename":"image_08032025_18_11_35_10078.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/16aa3ba486bc4050189839346f1d8d19.jpg","text":"TemporaryFile(/tmp/multipartBody1735308726718059275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741453983550,"filename":"image_08032025_18_11_15_10080.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/e27d022016b3b65dd6b77c8ff97bbab8.jpg","text":"TemporaryFile(/tmp/multipartBody3706742305383432886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741453983550,"filename":"image_08032025_18_11_25_10075.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341949037","file1":"1341949021","file0":"1341948982","file4":"1341949066","file5":"1341949120","file3":"1341949050"},"map_files_photo_id_array":[{"photo_id":"1341949120","filename":"file5"},{"photo_id":"1341949037","filename":"file2"},{"photo_id":"1341949066","filename":"file4"},{"photo_id":"1341949021","filename":"file1"},{"photo_id":"1341948982","filename":"file0"},{"photo_id":"1341949050","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341949066":["hashtag1","hashtag2"]},{"1341948982":["hashtag1","hashtag2"]},{"1341949120":["hashtag1","hashtag2"]},{"1341949021":["hashtag1","hashtag2"]},{"1341949050":["hashtag1","hashtag2"]},{"1341949037":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341949066, 1341948982, 1341949120, 1341949021, 1341949050, 1341949037)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.758662939071655 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 18:13:03.303932
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/18/12/image_08032025_18_12_45_10078.jpg', 2), ('/home/nano/Desktop/images/08032025/18/12/image_08032025_18_12_35_10078.jpg', 2), ('/home/nano/Desktop/images/08032025/18/12/image_08032025_18_12_25_10077.jpg', 2), ('/home/nano/Desktop/images/08032025/18/12/image_08032025_18_12_15_10080.jpg', 2), ('/home/nano/Desktop/images/08032025/18/11/image_08032025_18_12_05_9079.jpg', 2), ('/home/nano/Desktop/images/08032025/18/11/image_08032025_18_11_56_10076.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/18/12/image_08032025_18_12_45_10078.jpg', '/home/nano/Desktop/images/08032025/18/12/image_08032025_18_12_35_10078.jpg', '/home/nano/Desktop/images/08032025/18/12/image_08032025_18_12_25_10077.jpg', '/home/nano/Desktop/images/08032025/18/12/image_08032025_18_12_15_10080.jpg', '/home/nano/Desktop/images/08032025/18/11/image_08032025_18_12_05_9079.jpg', '/home/nano/Desktop/images/08032025/18/11/image_08032025_18_11_56_10076.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/18/12/image_08032025_18_12_45_10078.jpg
/home/nano/Desktop/images/08032025/18/12/image_08032025_18_12_35_10078.jpg
/home/nano/Desktop/images/08032025/18/12/image_08032025_18_12_25_10077.jpg
/home/nano/Desktop/images/08032025/18/12/image_08032025_18_12_15_10080.jpg
/home/nano/Desktop/images/08032025/18/11/image_08032025_18_12_05_9079.jpg
/home/nano/Desktop/images/08032025/18/11/image_08032025_18_11_56_10076.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341949294","1341949288","1341949219","1341949221","1341949218","1341949220"],"photo_ids_order":["1341949218","1341949219","1341949220","1341949221","1341949288","1341949294"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/15c919e74c4dd63367b467523b54fe16.jpg","text":"TemporaryFile(/tmp/multipartBody2323978417288325015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741454043746,"filename":"image_08032025_18_11_56_10076.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/6885f217f1ff1424d69e26cb0c11b610.jpg","text":"TemporaryFile(/tmp/multipartBody5023918719067662229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741454043746,"filename":"image_08032025_18_12_05_9079.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/c17b745b543b0344e42105e808c8e016.jpg","text":"TemporaryFile(/tmp/multipartBody8102444978936515153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741454043746,"filename":"image_08032025_18_12_35_10078.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/43b56f6830f4553afc7975f61f09d6f3.jpg","text":"TemporaryFile(/tmp/multipartBody1228158766085233213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741454043746,"filename":"image_08032025_18_12_15_10080.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/8beac81fd105345c5952e1aea37e4838.jpg","text":"TemporaryFile(/tmp/multipartBody3355619624350081413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741454043746,"filename":"image_08032025_18_12_45_10078.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/a40bbb64a676721bcfcf3b9128155469.jpg","text":"TemporaryFile(/tmp/multipartBody2126884358573818535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741454043746,"filename":"image_08032025_18_12_25_10077.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341949220","file1":"1341949219","file0":"1341949218","file4":"1341949288","file5":"1341949294","file3":"1341949221"},"map_files_photo_id_array":[{"photo_id":"1341949294","filename":"file5"},{"photo_id":"1341949220","filename":"file2"},{"photo_id":"1341949288","filename":"file4"},{"photo_id":"1341949219","filename":"file1"},{"photo_id":"1341949218","filename":"file0"},{"photo_id":"1341949221","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341949294":["hashtag1","hashtag2"]},{"1341949288":["hashtag1","hashtag2"]},{"1341949219":["hashtag1","hashtag2"]},{"1341949221":["hashtag1","hashtag2"]},{"1341949218":["hashtag1","hashtag2"]},{"1341949220":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341949294, 1341949288, 1341949219, 1341949221, 1341949218, 1341949220)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.676093339920044 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 18:14:03.485490
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/18/13/image_08032025_18_13_45_10082.jpg', 2), ('/home/nano/Desktop/images/08032025/18/13/image_08032025_18_13_35_10079.jpg', 2), ('/home/nano/Desktop/images/08032025/18/13/image_08032025_18_13_25_10078.jpg', 2), ('/home/nano/Desktop/images/08032025/18/13/image_08032025_18_13_15_10084.jpg', 2), ('/home/nano/Desktop/images/08032025/18/12/image_08032025_18_13_05_10112.jpg', 2), ('/home/nano/Desktop/images/08032025/18/12/image_08032025_18_12_55_10081.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/18/13/image_08032025_18_13_45_10082.jpg', '/home/nano/Desktop/images/08032025/18/13/image_08032025_18_13_35_10079.jpg', '/home/nano/Desktop/images/08032025/18/13/image_08032025_18_13_25_10078.jpg', '/home/nano/Desktop/images/08032025/18/13/image_08032025_18_13_15_10084.jpg', '/home/nano/Desktop/images/08032025/18/12/image_08032025_18_13_05_10112.jpg', '/home/nano/Desktop/images/08032025/18/12/image_08032025_18_12_55_10081.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/18/13/image_08032025_18_13_45_10082.jpg
/home/nano/Desktop/images/08032025/18/13/image_08032025_18_13_35_10079.jpg
/home/nano/Desktop/images/08032025/18/13/image_08032025_18_13_25_10078.jpg
/home/nano/Desktop/images/08032025/18/13/image_08032025_18_13_15_10084.jpg
/home/nano/Desktop/images/08032025/18/12/image_08032025_18_13_05_10112.jpg
/home/nano/Desktop/images/08032025/18/12/image_08032025_18_12_55_10081.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341949502","1341949486","1341949525","1341949512","1341949526","1341949535"],"photo_ids_order":["1341949486","1341949502","1341949512","1341949525","1341949526","1341949535"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/c3b9044150ae403753fc15dbc8e21221.jpg","text":"TemporaryFile(/tmp/multipartBody7413038914315791230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741454103964,"filename":"image_08032025_18_13_35_10079.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/3426965877171e9ce50bb3612b06419f.jpg","text":"TemporaryFile(/tmp/multipartBody822851738111541560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741454103964,"filename":"image_08032025_18_13_45_10082.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/caeed8c9d14cb77c0ed978df44640a3a.jpg","text":"TemporaryFile(/tmp/multipartBody8018806431414127018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741454103964,"filename":"image_08032025_18_13_15_10084.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/12ca1a2cba6e1b9e70a99d3ed76865e6.jpg","text":"TemporaryFile(/tmp/multipartBody7703508917900667447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741454103964,"filename":"image_08032025_18_13_25_10078.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/e60c7b1cad4692767c0326bf6b5a7e96.jpg","text":"TemporaryFile(/tmp/multipartBody163036200859029106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741454103964,"filename":"image_08032025_18_13_05_10112.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/8c9ea6084b360de0aebb233c0df1259e.jpg","text":"TemporaryFile(/tmp/multipartBody359698299110449898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741454103964,"filename":"image_08032025_18_12_55_10081.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341949512","file1":"1341949502","file0":"1341949486","file4":"1341949526","file5":"1341949535","file3":"1341949525"},"map_files_photo_id_array":[{"photo_id":"1341949535","filename":"file5"},{"photo_id":"1341949512","filename":"file2"},{"photo_id":"1341949526","filename":"file4"},{"photo_id":"1341949502","filename":"file1"},{"photo_id":"1341949486","filename":"file0"},{"photo_id":"1341949525","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341949502":["hashtag1","hashtag2"]},{"1341949486":["hashtag1","hashtag2"]},{"1341949525":["hashtag1","hashtag2"]},{"1341949512":["hashtag1","hashtag2"]},{"1341949526":["hashtag1","hashtag2"]},{"1341949535":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341949502, 1341949486, 1341949525, 1341949512, 1341949526, 1341949535)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.12953758239746 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 18:15:02.328670
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/18/14/image_08032025_18_14_45_10085.jpg', 2), ('/home/nano/Desktop/images/08032025/18/14/image_08032025_18_14_35_10077.jpg', 2), ('/home/nano/Desktop/images/08032025/18/14/image_08032025_18_14_25_10084.jpg', 2), ('/home/nano/Desktop/images/08032025/18/14/image_08032025_18_14_15_10077.jpg', 2), ('/home/nano/Desktop/images/08032025/18/13/image_08032025_18_14_05_9115.jpg', 2), ('/home/nano/Desktop/images/08032025/18/13/image_08032025_18_13_56_10090.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/18/14/image_08032025_18_14_45_10085.jpg', '/home/nano/Desktop/images/08032025/18/14/image_08032025_18_14_35_10077.jpg', '/home/nano/Desktop/images/08032025/18/14/image_08032025_18_14_25_10084.jpg', '/home/nano/Desktop/images/08032025/18/14/image_08032025_18_14_15_10077.jpg', '/home/nano/Desktop/images/08032025/18/13/image_08032025_18_14_05_9115.jpg', '/home/nano/Desktop/images/08032025/18/13/image_08032025_18_13_56_10090.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/18/14/image_08032025_18_14_45_10085.jpg
/home/nano/Desktop/images/08032025/18/14/image_08032025_18_14_35_10077.jpg
/home/nano/Desktop/images/08032025/18/14/image_08032025_18_14_25_10084.jpg
/home/nano/Desktop/images/08032025/18/14/image_08032025_18_14_15_10077.jpg
/home/nano/Desktop/images/08032025/18/13/image_08032025_18_14_05_9115.jpg
/home/nano/Desktop/images/08032025/18/13/image_08032025_18_13_56_10090.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341949715","1341949755","1341949983","1341949848","1341950078","1341949925"],"photo_ids_order":["1341949715","1341949755","1341949848","1341949925","1341949983","1341950078"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/ede61e7f5e300a9ae238860523aa70cf.jpg","text":"TemporaryFile(/tmp/multipartBody5464251122985819348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741454162778,"filename":"image_08032025_18_14_45_10085.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/a9975c435d74aa388f004022b2fd3cda.jpg","text":"TemporaryFile(/tmp/multipartBody8036323265743263599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741454162778,"filename":"image_08032025_18_14_35_10077.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/238ef6bc99fb1ac75de44bb6dc653921.jpg","text":"TemporaryFile(/tmp/multipartBody3560570457397940046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741454162778,"filename":"image_08032025_18_14_05_9115.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/9d21bb00e10db207cd67262185be7a51.jpg","text":"TemporaryFile(/tmp/multipartBody6456264547820608570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741454162778,"filename":"image_08032025_18_14_25_10084.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/203f26654d655fa173a1a1a4699e56b5.jpg","text":"TemporaryFile(/tmp/multipartBody1379177592531652650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741454162778,"filename":"image_08032025_18_13_56_10090.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/e1fe6fbfef499895cea33ca9d0b6ec04.jpg","text":"TemporaryFile(/tmp/multipartBody1748115905234041454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741454162778,"filename":"image_08032025_18_14_15_10077.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341949848","file1":"1341949755","file0":"1341949715","file4":"1341949983","file5":"1341950078","file3":"1341949925"},"map_files_photo_id_array":[{"photo_id":"1341950078","filename":"file5"},{"photo_id":"1341949848","filename":"file2"},{"photo_id":"1341949983","filename":"file4"},{"photo_id":"1341949755","filename":"file1"},{"photo_id":"1341949715","filename":"file0"},{"photo_id":"1341949925","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341949715":["hashtag1","hashtag2"]},{"1341949755":["hashtag1","hashtag2"]},{"1341949983":["hashtag1","hashtag2"]},{"1341949848":["hashtag1","hashtag2"]},{"1341950078":["hashtag1","hashtag2"]},{"1341949925":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341949715, 1341949755, 1341949983, 1341949848, 1341950078, 1341949925)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.23380184173584 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 18:16:02.496922
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/18/15/image_08032025_18_15_45_10081.jpg', 2), ('/home/nano/Desktop/images/08032025/18/15/image_08032025_18_15_35_10073.jpg', 2), ('/home/nano/Desktop/images/08032025/18/15/image_08032025_18_15_25_10076.jpg', 2), ('/home/nano/Desktop/images/08032025/18/15/image_08032025_18_15_15_10088.jpg', 2), ('/home/nano/Desktop/images/08032025/18/14/image_08032025_18_15_05_10103.jpg', 2), ('/home/nano/Desktop/images/08032025/18/14/image_08032025_18_14_55_10076.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/18/15/image_08032025_18_15_45_10081.jpg', '/home/nano/Desktop/images/08032025/18/15/image_08032025_18_15_35_10073.jpg', '/home/nano/Desktop/images/08032025/18/15/image_08032025_18_15_25_10076.jpg', '/home/nano/Desktop/images/08032025/18/15/image_08032025_18_15_15_10088.jpg', '/home/nano/Desktop/images/08032025/18/14/image_08032025_18_15_05_10103.jpg', '/home/nano/Desktop/images/08032025/18/14/image_08032025_18_14_55_10076.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/18/15/image_08032025_18_15_45_10081.jpg
/home/nano/Desktop/images/08032025/18/15/image_08032025_18_15_35_10073.jpg
/home/nano/Desktop/images/08032025/18/15/image_08032025_18_15_25_10076.jpg
/home/nano/Desktop/images/08032025/18/15/image_08032025_18_15_15_10088.jpg
/home/nano/Desktop/images/08032025/18/14/image_08032025_18_15_05_10103.jpg
/home/nano/Desktop/images/08032025/18/14/image_08032025_18_14_55_10076.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341950411","1341950428","1341950377","1341950425","1341950376","1341950289"],"photo_ids_order":["1341950289","1341950376","1341950377","1341950411","1341950425","1341950428"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/73bb17f97be55bd08b2926d7a362c9b0.jpg","text":"TemporaryFile(/tmp/multipartBody4750455646628443766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741454222961,"filename":"image_08032025_18_15_15_10088.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/e65d57048639c6085d0659623bf27629.jpg","text":"TemporaryFile(/tmp/multipartBody2407071861905043183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741454222961,"filename":"image_08032025_18_14_55_10076.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/0c4015f48b84423bf0bdbf17e77efbf3.jpg","text":"TemporaryFile(/tmp/multipartBody8082872254482714799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741454222961,"filename":"image_08032025_18_15_25_10076.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/c49a11cd5e375a085190ea04cf3f0ea4.jpg","text":"TemporaryFile(/tmp/multipartBody2902552824047630099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741454222961,"filename":"image_08032025_18_15_05_10103.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/d85cebdc0227fbdb8337803ea9be361e.jpg","text":"TemporaryFile(/tmp/multipartBody5251273116927683482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741454222961,"filename":"image_08032025_18_15_35_10073.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/6d00ce968fbccfeec7240a681d6fae04.jpg","text":"TemporaryFile(/tmp/multipartBody155307249098461067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741454222961,"filename":"image_08032025_18_15_45_10081.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341950377","file1":"1341950376","file0":"1341950289","file4":"1341950425","file5":"1341950428","file3":"1341950411"},"map_files_photo_id_array":[{"photo_id":"1341950428","filename":"file5"},{"photo_id":"1341950377","filename":"file2"},{"photo_id":"1341950425","filename":"file4"},{"photo_id":"1341950376","filename":"file1"},{"photo_id":"1341950289","filename":"file0"},{"photo_id":"1341950411","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341950411":["hashtag1","hashtag2"]},{"1341950428":["hashtag1","hashtag2"]},{"1341950377":["hashtag1","hashtag2"]},{"1341950425":["hashtag1","hashtag2"]},{"1341950376":["hashtag1","hashtag2"]},{"1341950289":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341950411, 1341950428, 1341950377, 1341950425, 1341950376, 1341950289)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.25209403038025 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 18:17:02.624865
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/18/16/image_08032025_18_16_45_10077.jpg', 2), ('/home/nano/Desktop/images/08032025/18/16/image_08032025_18_16_35_10079.jpg', 2), ('/home/nano/Desktop/images/08032025/18/16/image_08032025_18_16_25_10081.jpg', 2), ('/home/nano/Desktop/images/08032025/18/16/image_08032025_18_16_15_10078.jpg', 2), ('/home/nano/Desktop/images/08032025/18/15/image_08032025_18_16_05_9071.jpg', 2), ('/home/nano/Desktop/images/08032025/18/15/image_08032025_18_15_56_10078.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/18/16/image_08032025_18_16_45_10077.jpg', '/home/nano/Desktop/images/08032025/18/16/image_08032025_18_16_35_10079.jpg', '/home/nano/Desktop/images/08032025/18/16/image_08032025_18_16_25_10081.jpg', '/home/nano/Desktop/images/08032025/18/16/image_08032025_18_16_15_10078.jpg', '/home/nano/Desktop/images/08032025/18/15/image_08032025_18_16_05_9071.jpg', '/home/nano/Desktop/images/08032025/18/15/image_08032025_18_15_56_10078.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/18/16/image_08032025_18_16_45_10077.jpg
/home/nano/Desktop/images/08032025/18/16/image_08032025_18_16_35_10079.jpg
/home/nano/Desktop/images/08032025/18/16/image_08032025_18_16_25_10081.jpg
/home/nano/Desktop/images/08032025/18/16/image_08032025_18_16_15_10078.jpg
/home/nano/Desktop/images/08032025/18/15/image_08032025_18_16_05_9071.jpg
/home/nano/Desktop/images/08032025/18/15/image_08032025_18_15_56_10078.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341950522","1341950525","1341950527","1341950530","1341950524","1341950526"],"photo_ids_order":["1341950522","1341950524","1341950525","1341950526","1341950527","1341950530"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/10f270ebad708cf01c43cad1a4427fb9.jpg","text":"TemporaryFile(/tmp/multipartBody4921012484094892557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741454283071,"filename":"image_08032025_18_16_45_10077.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/795bc1ef2e2339df63a4ff846ed56791.jpg","text":"TemporaryFile(/tmp/multipartBody3927778356732392262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741454283071,"filename":"image_08032025_18_16_25_10081.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/35ee0ad49997016cdf2f0b4760bcb02c.jpg","text":"TemporaryFile(/tmp/multipartBody7001173615654867643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741454283071,"filename":"image_08032025_18_16_05_9071.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/78d1870133f5562696ead93088b1fbf0.jpg","text":"TemporaryFile(/tmp/multipartBody3764315557946299389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741454283071,"filename":"image_08032025_18_15_56_10078.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/feb8f16c86d05cd235f4e7ba54670da8.jpg","text":"TemporaryFile(/tmp/multipartBody3387114439109444118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741454283071,"filename":"image_08032025_18_16_35_10079.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/7ab2e77240f4f8965dd4a80b06798806.jpg","text":"TemporaryFile(/tmp/multipartBody9124198113783785174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741454283071,"filename":"image_08032025_18_16_15_10078.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341950525","file1":"1341950524","file0":"1341950522","file4":"1341950527","file5":"1341950530","file3":"1341950526"},"map_files_photo_id_array":[{"photo_id":"1341950530","filename":"file5"},{"photo_id":"1341950525","filename":"file2"},{"photo_id":"1341950527","filename":"file4"},{"photo_id":"1341950524","filename":"file1"},{"photo_id":"1341950522","filename":"file0"},{"photo_id":"1341950526","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341950522":["hashtag1","hashtag2"]},{"1341950525":["hashtag1","hashtag2"]},{"1341950527":["hashtag1","hashtag2"]},{"1341950530":["hashtag1","hashtag2"]},{"1341950524":["hashtag1","hashtag2"]},{"1341950526":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341950522, 1341950525, 1341950527, 1341950530, 1341950524, 1341950526)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.501624584198 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 18:18:02.788309
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/18/17/image_08032025_18_17_45_10084.jpg', 2), ('/home/nano/Desktop/images/08032025/18/17/image_08032025_18_17_35_10081.jpg', 2), ('/home/nano/Desktop/images/08032025/18/17/image_08032025_18_17_25_10083.jpg', 2), ('/home/nano/Desktop/images/08032025/18/17/image_08032025_18_17_15_10077.jpg', 2), ('/home/nano/Desktop/images/08032025/18/16/image_08032025_18_17_05_10090.jpg', 2), ('/home/nano/Desktop/images/08032025/18/16/image_08032025_18_16_55_10078.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/18/17/image_08032025_18_17_45_10084.jpg', '/home/nano/Desktop/images/08032025/18/17/image_08032025_18_17_35_10081.jpg', '/home/nano/Desktop/images/08032025/18/17/image_08032025_18_17_25_10083.jpg', '/home/nano/Desktop/images/08032025/18/17/image_08032025_18_17_15_10077.jpg', '/home/nano/Desktop/images/08032025/18/16/image_08032025_18_17_05_10090.jpg', '/home/nano/Desktop/images/08032025/18/16/image_08032025_18_16_55_10078.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/18/17/image_08032025_18_17_45_10084.jpg
/home/nano/Desktop/images/08032025/18/17/image_08032025_18_17_35_10081.jpg
/home/nano/Desktop/images/08032025/18/17/image_08032025_18_17_25_10083.jpg
/home/nano/Desktop/images/08032025/18/17/image_08032025_18_17_15_10077.jpg
/home/nano/Desktop/images/08032025/18/16/image_08032025_18_17_05_10090.jpg
/home/nano/Desktop/images/08032025/18/16/image_08032025_18_16_55_10078.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341950621","1341950624","1341950627","1341950623","1341950625","1341950622"],"photo_ids_order":["1341950621","1341950622","1341950623","1341950624","1341950625","1341950627"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/26fb13e1ae6e2c649909c96a0797d5ca.jpg","text":"TemporaryFile(/tmp/multipartBody4975366280432382753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741454343254,"filename":"image_08032025_18_17_45_10084.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/3035f7e59f6bdcdddc78a6f205fd8218.jpg","text":"TemporaryFile(/tmp/multipartBody5067914847243105299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741454343254,"filename":"image_08032025_18_17_15_10077.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/9149a32038fc1905a08dd701838f379e.jpg","text":"TemporaryFile(/tmp/multipartBody2909160892475738264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741454343254,"filename":"image_08032025_18_16_55_10078.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/45481a30930f292c2dada325b7fa082d.jpg","text":"TemporaryFile(/tmp/multipartBody4911810609284032816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741454343254,"filename":"image_08032025_18_17_25_10083.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/8b93cda3d9662fb511c56696e0e956aa.jpg","text":"TemporaryFile(/tmp/multipartBody7146917795669587295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741454343254,"filename":"image_08032025_18_17_05_10090.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/201da607c171c6fb655869b674e88ef6.jpg","text":"TemporaryFile(/tmp/multipartBody4369131992203075579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741454343254,"filename":"image_08032025_18_17_35_10081.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341950623","file1":"1341950622","file0":"1341950621","file4":"1341950625","file5":"1341950627","file3":"1341950624"},"map_files_photo_id_array":[{"photo_id":"1341950627","filename":"file5"},{"photo_id":"1341950623","filename":"file2"},{"photo_id":"1341950625","filename":"file4"},{"photo_id":"1341950622","filename":"file1"},{"photo_id":"1341950621","filename":"file0"},{"photo_id":"1341950624","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341950621":["hashtag1","hashtag2"]},{"1341950624":["hashtag1","hashtag2"]},{"1341950627":["hashtag1","hashtag2"]},{"1341950623":["hashtag1","hashtag2"]},{"1341950625":["hashtag1","hashtag2"]},{"1341950622":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341950621, 1341950624, 1341950627, 1341950623, 1341950625, 1341950622)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.06122970581055 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 18:19:03.238700
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/18/18/image_08032025_18_18_45_10072.jpg', 2), ('/home/nano/Desktop/images/08032025/18/18/image_08032025_18_18_35_10075.jpg', 2), ('/home/nano/Desktop/images/08032025/18/18/image_08032025_18_18_25_10078.jpg', 2), ('/home/nano/Desktop/images/08032025/18/18/image_08032025_18_18_15_10103.jpg', 2), ('/home/nano/Desktop/images/08032025/18/17/image_08032025_18_18_05_9080.jpg', 2), ('/home/nano/Desktop/images/08032025/18/17/image_08032025_18_17_56_10088.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/18/18/image_08032025_18_18_45_10072.jpg', '/home/nano/Desktop/images/08032025/18/18/image_08032025_18_18_35_10075.jpg', '/home/nano/Desktop/images/08032025/18/18/image_08032025_18_18_25_10078.jpg', '/home/nano/Desktop/images/08032025/18/18/image_08032025_18_18_15_10103.jpg', '/home/nano/Desktop/images/08032025/18/17/image_08032025_18_18_05_9080.jpg', '/home/nano/Desktop/images/08032025/18/17/image_08032025_18_17_56_10088.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/18/18/image_08032025_18_18_45_10072.jpg
/home/nano/Desktop/images/08032025/18/18/image_08032025_18_18_35_10075.jpg
/home/nano/Desktop/images/08032025/18/18/image_08032025_18_18_25_10078.jpg
/home/nano/Desktop/images/08032025/18/18/image_08032025_18_18_15_10103.jpg
/home/nano/Desktop/images/08032025/18/17/image_08032025_18_18_05_9080.jpg
/home/nano/Desktop/images/08032025/18/17/image_08032025_18_17_56_10088.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341950659","1341950653","1341950656","1341950655","1341950652","1341950654"],"photo_ids_order":["1341950652","1341950653","1341950654","1341950655","1341950656","1341950659"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/4909749e69ba479d7b758233a269d2f6.jpg","text":"TemporaryFile(/tmp/multipartBody7363075521352653674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741454403683,"filename":"image_08032025_18_17_56_10088.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/1fdc38b338595e73d6d0fdc929fd45a9.jpg","text":"TemporaryFile(/tmp/multipartBody5973174794958847580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741454403683,"filename":"image_08032025_18_18_35_10075.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/7f369c368abbcc57bb64983cd96da855.jpg","text":"TemporaryFile(/tmp/multipartBody5739104973515789324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741454403683,"filename":"image_08032025_18_18_05_9080.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/289ae0f7c7f189e72a272e4b3503df9a.jpg","text":"TemporaryFile(/tmp/multipartBody1324052089902864432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741454403683,"filename":"image_08032025_18_18_15_10103.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/0c4109d303e0f7443d8f65acb2efcd62.jpg","text":"TemporaryFile(/tmp/multipartBody2352667127692788430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741454403683,"filename":"image_08032025_18_18_45_10072.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/2f3e37c4859213dea83ad8398125ea2f.jpg","text":"TemporaryFile(/tmp/multipartBody5495713689088792798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741454403683,"filename":"image_08032025_18_18_25_10078.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341950654","file1":"1341950653","file0":"1341950652","file4":"1341950656","file5":"1341950659","file3":"1341950655"},"map_files_photo_id_array":[{"photo_id":"1341950659","filename":"file5"},{"photo_id":"1341950654","filename":"file2"},{"photo_id":"1341950656","filename":"file4"},{"photo_id":"1341950653","filename":"file1"},{"photo_id":"1341950652","filename":"file0"},{"photo_id":"1341950655","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341950659":["hashtag1","hashtag2"]},{"1341950653":["hashtag1","hashtag2"]},{"1341950656":["hashtag1","hashtag2"]},{"1341950655":["hashtag1","hashtag2"]},{"1341950652":["hashtag1","hashtag2"]},{"1341950654":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341950659, 1341950653, 1341950656, 1341950655, 1341950652, 1341950654)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.18848729133606 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 18:20:03.085502
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/18/19/image_08032025_18_19_45_10080.jpg', 2), ('/home/nano/Desktop/images/08032025/18/19/image_08032025_18_19_35_10079.jpg', 2), ('/home/nano/Desktop/images/08032025/18/19/image_08032025_18_19_25_10075.jpg', 2), ('/home/nano/Desktop/images/08032025/18/19/image_08032025_18_19_15_10077.jpg', 2), ('/home/nano/Desktop/images/08032025/18/18/image_08032025_18_19_05_10089.jpg', 2), ('/home/nano/Desktop/images/08032025/18/18/image_08032025_18_18_55_10075.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/18/19/image_08032025_18_19_45_10080.jpg', '/home/nano/Desktop/images/08032025/18/19/image_08032025_18_19_35_10079.jpg', '/home/nano/Desktop/images/08032025/18/19/image_08032025_18_19_25_10075.jpg', '/home/nano/Desktop/images/08032025/18/19/image_08032025_18_19_15_10077.jpg', '/home/nano/Desktop/images/08032025/18/18/image_08032025_18_19_05_10089.jpg', '/home/nano/Desktop/images/08032025/18/18/image_08032025_18_18_55_10075.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/18/19/image_08032025_18_19_45_10080.jpg
/home/nano/Desktop/images/08032025/18/19/image_08032025_18_19_35_10079.jpg
/home/nano/Desktop/images/08032025/18/19/image_08032025_18_19_25_10075.jpg
/home/nano/Desktop/images/08032025/18/19/image_08032025_18_19_15_10077.jpg
/home/nano/Desktop/images/08032025/18/18/image_08032025_18_19_05_10089.jpg
/home/nano/Desktop/images/08032025/18/18/image_08032025_18_18_55_10075.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341950683","1341950686","1341950685","1341950690","1341950684","1341950687"],"photo_ids_order":["1341950683","1341950684","1341950685","1341950686","1341950687","1341950690"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/2ea92421738cb2ea834208fc6670c305.jpg","text":"TemporaryFile(/tmp/multipartBody4454325669128614947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741454463531,"filename":"image_08032025_18_19_45_10080.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/b5c03be23bbef54f555343a4bd8834a1.jpg","text":"TemporaryFile(/tmp/multipartBody963763139074684459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741454463531,"filename":"image_08032025_18_19_15_10077.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/e86bf826399297c1bcf4976d585dd7df.jpg","text":"TemporaryFile(/tmp/multipartBody8821844080199095758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741454463531,"filename":"image_08032025_18_19_25_10075.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/f4f96ab6d0e1e3e74bad643639bb08db.jpg","text":"TemporaryFile(/tmp/multipartBody6027262799439239059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741454463531,"filename":"image_08032025_18_18_55_10075.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/a1066aa6f1f9953d1e8163a9b19ddb7c.jpg","text":"TemporaryFile(/tmp/multipartBody4117790338001645687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741454463531,"filename":"image_08032025_18_19_35_10079.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/55a948c32d7e81a4576954f4a5186617.jpg","text":"TemporaryFile(/tmp/multipartBody3324956497774189805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741454463531,"filename":"image_08032025_18_19_05_10089.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341950685","file1":"1341950684","file0":"1341950683","file4":"1341950687","file5":"1341950690","file3":"1341950686"},"map_files_photo_id_array":[{"photo_id":"1341950690","filename":"file5"},{"photo_id":"1341950685","filename":"file2"},{"photo_id":"1341950687","filename":"file4"},{"photo_id":"1341950684","filename":"file1"},{"photo_id":"1341950683","filename":"file0"},{"photo_id":"1341950686","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341950683":["hashtag1","hashtag2"]},{"1341950686":["hashtag1","hashtag2"]},{"1341950685":["hashtag1","hashtag2"]},{"1341950690":["hashtag1","hashtag2"]},{"1341950684":["hashtag1","hashtag2"]},{"1341950687":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341950683, 1341950686, 1341950685, 1341950690, 1341950684, 1341950687)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.350122690200806 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 18:21:03.181311
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/18/20/image_08032025_18_20_45_10089.jpg', 2), ('/home/nano/Desktop/images/08032025/18/20/image_08032025_18_20_35_10073.jpg', 2), ('/home/nano/Desktop/images/08032025/18/20/image_08032025_18_20_25_10078.jpg', 2), ('/home/nano/Desktop/images/08032025/18/20/image_08032025_18_20_15_9073.jpg', 2), ('/home/nano/Desktop/images/08032025/18/19/image_08032025_18_20_06_10094.jpg', 2), ('/home/nano/Desktop/images/08032025/18/19/image_08032025_18_19_55_10074.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/18/20/image_08032025_18_20_45_10089.jpg', '/home/nano/Desktop/images/08032025/18/20/image_08032025_18_20_35_10073.jpg', '/home/nano/Desktop/images/08032025/18/20/image_08032025_18_20_25_10078.jpg', '/home/nano/Desktop/images/08032025/18/20/image_08032025_18_20_15_9073.jpg', '/home/nano/Desktop/images/08032025/18/19/image_08032025_18_20_06_10094.jpg', '/home/nano/Desktop/images/08032025/18/19/image_08032025_18_19_55_10074.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/18/20/image_08032025_18_20_45_10089.jpg
/home/nano/Desktop/images/08032025/18/20/image_08032025_18_20_35_10073.jpg
/home/nano/Desktop/images/08032025/18/20/image_08032025_18_20_25_10078.jpg
/home/nano/Desktop/images/08032025/18/20/image_08032025_18_20_15_9073.jpg
/home/nano/Desktop/images/08032025/18/19/image_08032025_18_20_06_10094.jpg
/home/nano/Desktop/images/08032025/18/19/image_08032025_18_19_55_10074.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341950849","1341950845","1341950731","1341950806","1341950749","1341950728"],"photo_ids_order":["1341950728","1341950731","1341950749","1341950806","1341950845","1341950849"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/65624759ea0c89544c6002667b6b2b75.jpg","text":"TemporaryFile(/tmp/multipartBody3272799309172605430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741454523655,"filename":"image_08032025_18_19_55_10074.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/c4596fdeed4f52593939b25da92f606c.jpg","text":"TemporaryFile(/tmp/multipartBody4161503307221467862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741454523655,"filename":"image_08032025_18_20_06_10094.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/1bda4c06c8819912f8e6faee82e1cec6.jpg","text":"TemporaryFile(/tmp/multipartBody9057010174470123734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741454523655,"filename":"image_08032025_18_20_35_10073.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/67a98495b22a49d2bb4ae883a327bb3d.jpg","text":"TemporaryFile(/tmp/multipartBody215809745430737680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741454523655,"filename":"image_08032025_18_20_15_9073.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/74cfb1a0f533f58df115d934af7ab94f.jpg","text":"TemporaryFile(/tmp/multipartBody6883742219704241896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741454523655,"filename":"image_08032025_18_20_25_10078.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/80c0be4a521575282a71509e4e820c98.jpg","text":"TemporaryFile(/tmp/multipartBody580207405384789060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741454523655,"filename":"image_08032025_18_20_45_10089.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341950749","file1":"1341950731","file0":"1341950728","file4":"1341950845","file5":"1341950849","file3":"1341950806"},"map_files_photo_id_array":[{"photo_id":"1341950849","filename":"file5"},{"photo_id":"1341950749","filename":"file2"},{"photo_id":"1341950845","filename":"file4"},{"photo_id":"1341950731","filename":"file1"},{"photo_id":"1341950728","filename":"file0"},{"photo_id":"1341950806","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341950849":["hashtag1","hashtag2"]},{"1341950845":["hashtag1","hashtag2"]},{"1341950731":["hashtag1","hashtag2"]},{"1341950806":["hashtag1","hashtag2"]},{"1341950749":["hashtag1","hashtag2"]},{"1341950728":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341950849, 1341950845, 1341950731, 1341950806, 1341950749, 1341950728)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.665130615234375 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 18:22:03.218980
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/18/21/image_08032025_18_21_45_10098.jpg', 2), ('/home/nano/Desktop/images/08032025/18/21/image_08032025_18_21_35_10084.jpg', 2), ('/home/nano/Desktop/images/08032025/18/21/image_08032025_18_21_15_10080.jpg', 2), ('/home/nano/Desktop/images/08032025/18/20/image_08032025_18_21_05_10097.jpg', 2), ('/home/nano/Desktop/images/08032025/18/20/image_08032025_18_20_55_10081.jpg', 2), ('/home/nano/Desktop/images/08032025/17/09/image_08032025_17_09_45_10064.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/18/21/image_08032025_18_21_45_10098.jpg', '/home/nano/Desktop/images/08032025/18/21/image_08032025_18_21_35_10084.jpg', '/home/nano/Desktop/images/08032025/18/21/image_08032025_18_21_15_10080.jpg', '/home/nano/Desktop/images/08032025/18/20/image_08032025_18_21_05_10097.jpg', '/home/nano/Desktop/images/08032025/18/20/image_08032025_18_20_55_10081.jpg', '/home/nano/Desktop/images/08032025/17/09/image_08032025_17_09_45_10064.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/18/21/image_08032025_18_21_45_10098.jpg
/home/nano/Desktop/images/08032025/18/21/image_08032025_18_21_35_10084.jpg
/home/nano/Desktop/images/08032025/18/21/image_08032025_18_21_15_10080.jpg
/home/nano/Desktop/images/08032025/18/20/image_08032025_18_21_05_10097.jpg
/home/nano/Desktop/images/08032025/18/20/image_08032025_18_20_55_10081.jpg
/home/nano/Desktop/images/08032025/17/09/image_08032025_17_09_45_10064.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341951052","1341951037","1341951072","1341951051","1341951065","1341951053"],"photo_ids_order":["1341951037","1341951051","1341951052","1341951053","1341951065","1341951072"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/441aaaff4b3cabfca547106a18db8e20.jpg","text":"TemporaryFile(/tmp/multipartBody7416128674204753251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741454583677,"filename":"image_08032025_18_21_15_10080.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/b27ccbbbffdddb9857af39d3c5f6bf41.jpg","text":"TemporaryFile(/tmp/multipartBody7822799318441970001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741454583677,"filename":"image_08032025_18_21_45_10098.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/887a9d8ec1242f4a8b0ccfe8daf9b40f.jpg","text":"TemporaryFile(/tmp/multipartBody3020101994426709277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741454583677,"filename":"image_08032025_17_09_45_10064.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/d6df430ecf10eee6b9fe51a50baa6677.jpg","text":"TemporaryFile(/tmp/multipartBody5057221946875832906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741454583677,"filename":"image_08032025_18_21_35_10084.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/91efb5d62490b4cb535308d1bee04e55.jpg","text":"TemporaryFile(/tmp/multipartBody6685777021023458310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741454583677,"filename":"image_08032025_18_20_55_10081.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/872f1544470fefa82b1a13df808532be.jpg","text":"TemporaryFile(/tmp/multipartBody3663168271030011175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741454583677,"filename":"image_08032025_18_21_05_10097.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341951052","file1":"1341951051","file0":"1341951037","file4":"1341951065","file5":"1341951072","file3":"1341951053"},"map_files_photo_id_array":[{"photo_id":"1341951072","filename":"file5"},{"photo_id":"1341951052","filename":"file2"},{"photo_id":"1341951065","filename":"file4"},{"photo_id":"1341951051","filename":"file1"},{"photo_id":"1341951037","filename":"file0"},{"photo_id":"1341951053","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341951052":["hashtag1","hashtag2"]},{"1341951037":["hashtag1","hashtag2"]},{"1341951072":["hashtag1","hashtag2"]},{"1341951051":["hashtag1","hashtag2"]},{"1341951065":["hashtag1","hashtag2"]},{"1341951053":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341951052, 1341951037, 1341951072, 1341951051, 1341951065, 1341951053)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.70651960372925 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 18:23:02.403890
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/18/22/image_08032025_18_22_45_10068.jpg', 2), ('/home/nano/Desktop/images/08032025/18/22/image_08032025_18_22_35_10064.jpg', 2), ('/home/nano/Desktop/images/08032025/18/22/image_08032025_18_22_25_10059.jpg', 2), ('/home/nano/Desktop/images/08032025/18/22/image_08032025_18_22_15_10060.jpg', 2), ('/home/nano/Desktop/images/08032025/18/21/image_08032025_18_22_05_9073.jpg', 2), ('/home/nano/Desktop/images/08032025/18/21/image_08032025_18_21_56_10091.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/18/22/image_08032025_18_22_45_10068.jpg', '/home/nano/Desktop/images/08032025/18/22/image_08032025_18_22_35_10064.jpg', '/home/nano/Desktop/images/08032025/18/22/image_08032025_18_22_25_10059.jpg', '/home/nano/Desktop/images/08032025/18/22/image_08032025_18_22_15_10060.jpg', '/home/nano/Desktop/images/08032025/18/21/image_08032025_18_22_05_9073.jpg', '/home/nano/Desktop/images/08032025/18/21/image_08032025_18_21_56_10091.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/18/22/image_08032025_18_22_45_10068.jpg
/home/nano/Desktop/images/08032025/18/22/image_08032025_18_22_35_10064.jpg
/home/nano/Desktop/images/08032025/18/22/image_08032025_18_22_25_10059.jpg
/home/nano/Desktop/images/08032025/18/22/image_08032025_18_22_15_10060.jpg
/home/nano/Desktop/images/08032025/18/21/image_08032025_18_22_05_9073.jpg
/home/nano/Desktop/images/08032025/18/21/image_08032025_18_21_56_10091.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341951163","1341951159","1341951146","1341951131","1341951134","1341951128"],"photo_ids_order":["1341951128","1341951131","1341951134","1341951146","1341951159","1341951163"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/5772a3d39a0bff51f0375de439a3d129.jpg","text":"TemporaryFile(/tmp/multipartBody6382507922716574419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741454643124,"filename":"image_08032025_18_21_56_10091.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/2e32d0936deb78ae00ad28a15b7602cd.jpg","text":"TemporaryFile(/tmp/multipartBody4455951612377046024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741454643124,"filename":"image_08032025_18_22_05_9073.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/9616efa3f5aeb1a7ec504a60b9dd2433.jpg","text":"TemporaryFile(/tmp/multipartBody3413223373271343969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741454643124,"filename":"image_08032025_18_22_15_10060.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/d69e0b04a600df1323ac3e7ac14f19d7.jpg","text":"TemporaryFile(/tmp/multipartBody8899652083095112508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741454643124,"filename":"image_08032025_18_22_35_10064.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/f419c72ccf38fc12d62556c47f334e79.jpg","text":"TemporaryFile(/tmp/multipartBody2799531477989374182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741454643124,"filename":"image_08032025_18_22_25_10059.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/ae1cddef673515f1809cad0160bf3d8b.jpg","text":"TemporaryFile(/tmp/multipartBody8136662558745276882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741454643124,"filename":"image_08032025_18_22_45_10068.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341951134","file1":"1341951131","file0":"1341951128","file4":"1341951159","file5":"1341951163","file3":"1341951146"},"map_files_photo_id_array":[{"photo_id":"1341951163","filename":"file5"},{"photo_id":"1341951134","filename":"file2"},{"photo_id":"1341951159","filename":"file4"},{"photo_id":"1341951131","filename":"file1"},{"photo_id":"1341951128","filename":"file0"},{"photo_id":"1341951146","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341951163":["hashtag1","hashtag2"]},{"1341951159":["hashtag1","hashtag2"]},{"1341951146":["hashtag1","hashtag2"]},{"1341951131":["hashtag1","hashtag2"]},{"1341951134":["hashtag1","hashtag2"]},{"1341951128":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341951163, 1341951159, 1341951146, 1341951131, 1341951134, 1341951128)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.781447410583496 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 18:24:02.672510
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/18/23/image_08032025_18_23_45_10065.jpg', 2), ('/home/nano/Desktop/images/08032025/18/23/image_08032025_18_23_35_10083.jpg', 2), ('/home/nano/Desktop/images/08032025/18/23/image_08032025_18_23_25_10069.jpg', 2), ('/home/nano/Desktop/images/08032025/18/23/image_08032025_18_23_15_10079.jpg', 2), ('/home/nano/Desktop/images/08032025/18/22/image_08032025_18_23_05_10081.jpg', 2), ('/home/nano/Desktop/images/08032025/18/22/image_08032025_18_22_55_10069.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/18/23/image_08032025_18_23_45_10065.jpg', '/home/nano/Desktop/images/08032025/18/23/image_08032025_18_23_35_10083.jpg', '/home/nano/Desktop/images/08032025/18/23/image_08032025_18_23_25_10069.jpg', '/home/nano/Desktop/images/08032025/18/23/image_08032025_18_23_15_10079.jpg', '/home/nano/Desktop/images/08032025/18/22/image_08032025_18_23_05_10081.jpg', '/home/nano/Desktop/images/08032025/18/22/image_08032025_18_22_55_10069.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/18/23/image_08032025_18_23_45_10065.jpg
/home/nano/Desktop/images/08032025/18/23/image_08032025_18_23_35_10083.jpg
/home/nano/Desktop/images/08032025/18/23/image_08032025_18_23_25_10069.jpg
/home/nano/Desktop/images/08032025/18/23/image_08032025_18_23_15_10079.jpg
/home/nano/Desktop/images/08032025/18/22/image_08032025_18_23_05_10081.jpg
/home/nano/Desktop/images/08032025/18/22/image_08032025_18_22_55_10069.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341951247","1341951235","1341951244","1341951243","1341951234","1341951237"],"photo_ids_order":["1341951234","1341951235","1341951237","1341951243","1341951244","1341951247"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/046b5b7dd184a4ef1a9be8180aa4472c.jpg","text":"TemporaryFile(/tmp/multipartBody444760369784402773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741454703149,"filename":"image_08032025_18_22_55_10069.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/1b3f25d337225afd650fc1033ddd2153.jpg","text":"TemporaryFile(/tmp/multipartBody6717602190385547660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741454703149,"filename":"image_08032025_18_23_35_10083.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/e09a55c5a63a2c9e6fb31331a0012709.jpg","text":"TemporaryFile(/tmp/multipartBody5368098415976040530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741454703149,"filename":"image_08032025_18_23_05_10081.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/98d20f9b594e30292dffa37b26864f6f.jpg","text":"TemporaryFile(/tmp/multipartBody7804522138331318563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741454703149,"filename":"image_08032025_18_23_15_10079.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/ff70774141a1b3292110e169923462ef.jpg","text":"TemporaryFile(/tmp/multipartBody6312193433885191031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741454703149,"filename":"image_08032025_18_23_45_10065.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/717a2a9c9c8ce80019c520216d8a0d9f.jpg","text":"TemporaryFile(/tmp/multipartBody2229279424908567174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741454703149,"filename":"image_08032025_18_23_25_10069.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341951237","file1":"1341951235","file0":"1341951234","file4":"1341951244","file5":"1341951247","file3":"1341951243"},"map_files_photo_id_array":[{"photo_id":"1341951247","filename":"file5"},{"photo_id":"1341951237","filename":"file2"},{"photo_id":"1341951244","filename":"file4"},{"photo_id":"1341951235","filename":"file1"},{"photo_id":"1341951234","filename":"file0"},{"photo_id":"1341951243","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341951247":["hashtag1","hashtag2"]},{"1341951235":["hashtag1","hashtag2"]},{"1341951244":["hashtag1","hashtag2"]},{"1341951243":["hashtag1","hashtag2"]},{"1341951234":["hashtag1","hashtag2"]},{"1341951237":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341951247, 1341951235, 1341951244, 1341951243, 1341951234, 1341951237)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.40573000907898 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 18:25:02.599769
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/18/24/image_08032025_18_24_45_10070.jpg', 2), ('/home/nano/Desktop/images/08032025/18/24/image_08032025_18_24_35_9074.jpg', 2), ('/home/nano/Desktop/images/08032025/18/24/image_08032025_18_24_26_10061.jpg', 2), ('/home/nano/Desktop/images/08032025/18/24/image_08032025_18_24_16_10063.jpg', 2), ('/home/nano/Desktop/images/08032025/18/23/image_08032025_18_24_05_10070.jpg', 2), ('/home/nano/Desktop/images/08032025/18/23/image_08032025_18_23_55_10080.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/18/24/image_08032025_18_24_45_10070.jpg', '/home/nano/Desktop/images/08032025/18/24/image_08032025_18_24_35_9074.jpg', '/home/nano/Desktop/images/08032025/18/24/image_08032025_18_24_26_10061.jpg', '/home/nano/Desktop/images/08032025/18/24/image_08032025_18_24_16_10063.jpg', '/home/nano/Desktop/images/08032025/18/23/image_08032025_18_24_05_10070.jpg', '/home/nano/Desktop/images/08032025/18/23/image_08032025_18_23_55_10080.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/18/24/image_08032025_18_24_45_10070.jpg
/home/nano/Desktop/images/08032025/18/24/image_08032025_18_24_35_9074.jpg
/home/nano/Desktop/images/08032025/18/24/image_08032025_18_24_26_10061.jpg
/home/nano/Desktop/images/08032025/18/24/image_08032025_18_24_16_10063.jpg
/home/nano/Desktop/images/08032025/18/23/image_08032025_18_24_05_10070.jpg
/home/nano/Desktop/images/08032025/18/23/image_08032025_18_23_55_10080.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341951319","1341951372","1341951321","1341951318","1341951320","1341951317"],"photo_ids_order":["1341951317","1341951318","1341951319","1341951320","1341951321","1341951372"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/96dc2c08fe54c2df65aa29eceaf37e63.jpg","text":"TemporaryFile(/tmp/multipartBody4700027587462145017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741454763055,"filename":"image_08032025_18_24_26_10061.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/f47496c4ee7fabc5c9c2b084fa697b72.jpg","text":"TemporaryFile(/tmp/multipartBody401673360373137642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741454763055,"filename":"image_08032025_18_23_55_10080.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/56c4691b55832486aea258a20ecb3246.jpg","text":"TemporaryFile(/tmp/multipartBody4248899298554198740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741454763055,"filename":"image_08032025_18_24_05_10070.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/c1b3b33aa880c4dd0bdfc84e49fe8d2b.jpg","text":"TemporaryFile(/tmp/multipartBody1460783163144287004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741454763055,"filename":"image_08032025_18_24_35_9074.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/6506a528da720f9ff7b3369cfc994a3c.jpg","text":"TemporaryFile(/tmp/multipartBody5746741942928285174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741454763055,"filename":"image_08032025_18_24_16_10063.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/9068e8ede522485bc12789e280141f90.jpg","text":"TemporaryFile(/tmp/multipartBody8304572592537148471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741454763055,"filename":"image_08032025_18_24_45_10070.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341951319","file1":"1341951318","file0":"1341951317","file4":"1341951321","file5":"1341951372","file3":"1341951320"},"map_files_photo_id_array":[{"photo_id":"1341951372","filename":"file5"},{"photo_id":"1341951319","filename":"file2"},{"photo_id":"1341951321","filename":"file4"},{"photo_id":"1341951318","filename":"file1"},{"photo_id":"1341951317","filename":"file0"},{"photo_id":"1341951320","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341951319":["hashtag1","hashtag2"]},{"1341951372":["hashtag1","hashtag2"]},{"1341951321":["hashtag1","hashtag2"]},{"1341951318":["hashtag1","hashtag2"]},{"1341951320":["hashtag1","hashtag2"]},{"1341951317":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341951319, 1341951372, 1341951321, 1341951318, 1341951320, 1341951317)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.55467462539673 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 18:26:02.644931
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/18/25/image_08032025_18_25_45_10063.jpg', 2), ('/home/nano/Desktop/images/08032025/18/25/image_08032025_18_25_35_10067.jpg', 2), ('/home/nano/Desktop/images/08032025/18/25/image_08032025_18_25_25_10070.jpg', 2), ('/home/nano/Desktop/images/08032025/18/25/image_08032025_18_25_15_10067.jpg', 2), ('/home/nano/Desktop/images/08032025/18/24/image_08032025_18_25_05_10069.jpg', 2), ('/home/nano/Desktop/images/08032025/18/24/image_08032025_18_24_55_10061.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/18/25/image_08032025_18_25_45_10063.jpg', '/home/nano/Desktop/images/08032025/18/25/image_08032025_18_25_35_10067.jpg', '/home/nano/Desktop/images/08032025/18/25/image_08032025_18_25_25_10070.jpg', '/home/nano/Desktop/images/08032025/18/25/image_08032025_18_25_15_10067.jpg', '/home/nano/Desktop/images/08032025/18/24/image_08032025_18_25_05_10069.jpg', '/home/nano/Desktop/images/08032025/18/24/image_08032025_18_24_55_10061.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/18/25/image_08032025_18_25_45_10063.jpg
/home/nano/Desktop/images/08032025/18/25/image_08032025_18_25_35_10067.jpg
/home/nano/Desktop/images/08032025/18/25/image_08032025_18_25_25_10070.jpg
/home/nano/Desktop/images/08032025/18/25/image_08032025_18_25_15_10067.jpg
/home/nano/Desktop/images/08032025/18/24/image_08032025_18_25_05_10069.jpg
/home/nano/Desktop/images/08032025/18/24/image_08032025_18_24_55_10061.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341951502","1341951501","1341951527","1341951449","1341951503","1341951487"],"photo_ids_order":["1341951449","1341951487","1341951501","1341951502","1341951503","1341951527"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/f34932909d84d0aae8c4ba293931be27.jpg","text":"TemporaryFile(/tmp/multipartBody6481007343131094984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741454823100,"filename":"image_08032025_18_25_15_10067.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/f7c4fa860beb6a02e2e1ed3e56a9a8c9.jpg","text":"TemporaryFile(/tmp/multipartBody7025086765319600083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741454823100,"filename":"image_08032025_18_25_25_10070.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/79d3b502906614b933910c9a1518d75d.jpg","text":"TemporaryFile(/tmp/multipartBody5984954956449178458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741454823100,"filename":"image_08032025_18_24_55_10061.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/c0ea2fd40f22f947cc93ead30e13d898.jpg","text":"TemporaryFile(/tmp/multipartBody2785419822724376921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741454823100,"filename":"image_08032025_18_25_45_10063.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/86be81db2cd26226d60aae832033d284.jpg","text":"TemporaryFile(/tmp/multipartBody1521575064151823375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741454823100,"filename":"image_08032025_18_25_05_10069.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/3a8cf2939b6f6d1c0f5d7414e2da2ed0.jpg","text":"TemporaryFile(/tmp/multipartBody556560080425782193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741454823100,"filename":"image_08032025_18_25_35_10067.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341951501","file1":"1341951487","file0":"1341951449","file4":"1341951503","file5":"1341951527","file3":"1341951502"},"map_files_photo_id_array":[{"photo_id":"1341951527","filename":"file5"},{"photo_id":"1341951501","filename":"file2"},{"photo_id":"1341951503","filename":"file4"},{"photo_id":"1341951487","filename":"file1"},{"photo_id":"1341951449","filename":"file0"},{"photo_id":"1341951502","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341951502":["hashtag1","hashtag2"]},{"1341951501":["hashtag1","hashtag2"]},{"1341951527":["hashtag1","hashtag2"]},{"1341951449":["hashtag1","hashtag2"]},{"1341951503":["hashtag1","hashtag2"]},{"1341951487":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341951502, 1341951501, 1341951527, 1341951449, 1341951503, 1341951487)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.28433394432068 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 18:27:02.711122
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/18/26/image_08032025_18_26_46_10070.jpg', 2), ('/home/nano/Desktop/images/08032025/18/26/image_08032025_18_26_35_10074.jpg', 2), ('/home/nano/Desktop/images/08032025/18/26/image_08032025_18_26_25_10069.jpg', 2), ('/home/nano/Desktop/images/08032025/18/26/image_08032025_18_26_15_10071.jpg', 2), ('/home/nano/Desktop/images/08032025/18/25/image_08032025_18_26_05_10094.jpg', 2), ('/home/nano/Desktop/images/08032025/18/25/image_08032025_18_25_55_10063.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/18/26/image_08032025_18_26_46_10070.jpg', '/home/nano/Desktop/images/08032025/18/26/image_08032025_18_26_35_10074.jpg', '/home/nano/Desktop/images/08032025/18/26/image_08032025_18_26_25_10069.jpg', '/home/nano/Desktop/images/08032025/18/26/image_08032025_18_26_15_10071.jpg', '/home/nano/Desktop/images/08032025/18/25/image_08032025_18_26_05_10094.jpg', '/home/nano/Desktop/images/08032025/18/25/image_08032025_18_25_55_10063.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/18/26/image_08032025_18_26_46_10070.jpg
/home/nano/Desktop/images/08032025/18/26/image_08032025_18_26_35_10074.jpg
/home/nano/Desktop/images/08032025/18/26/image_08032025_18_26_25_10069.jpg
/home/nano/Desktop/images/08032025/18/26/image_08032025_18_26_15_10071.jpg
/home/nano/Desktop/images/08032025/18/25/image_08032025_18_26_05_10094.jpg
/home/nano/Desktop/images/08032025/18/25/image_08032025_18_25_55_10063.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341951661","1341951598","1341951646","1341951619","1341951597","1341951604"],"photo_ids_order":["1341951597","1341951598","1341951604","1341951619","1341951646","1341951661"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/6c561e2880124b805b7cddb8c40e0716.jpg","text":"TemporaryFile(/tmp/multipartBody2785624205066270268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741454883171,"filename":"image_08032025_18_25_55_10063.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/80cb929558148de0107da525022f1eb1.jpg","text":"TemporaryFile(/tmp/multipartBody1387316670349762427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741454883171,"filename":"image_08032025_18_26_35_10074.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/1083d174b18f0774cbd0e72f3306c116.jpg","text":"TemporaryFile(/tmp/multipartBody2905661917273006339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741454883171,"filename":"image_08032025_18_26_05_10094.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/958c6140f08c6aec101cc3df459e6f8a.jpg","text":"TemporaryFile(/tmp/multipartBody8748071383970120314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741454883171,"filename":"image_08032025_18_26_15_10071.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/9c9dc10dea2914b36f144fc88abe41b4.jpg","text":"TemporaryFile(/tmp/multipartBody4681396094035424853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741454883171,"filename":"image_08032025_18_26_46_10070.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/f8ab72c6e4959c8b7c4518e7a5ef3e65.jpg","text":"TemporaryFile(/tmp/multipartBody1403392114673163610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741454883171,"filename":"image_08032025_18_26_25_10069.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341951604","file1":"1341951598","file0":"1341951597","file4":"1341951646","file5":"1341951661","file3":"1341951619"},"map_files_photo_id_array":[{"photo_id":"1341951661","filename":"file5"},{"photo_id":"1341951604","filename":"file2"},{"photo_id":"1341951646","filename":"file4"},{"photo_id":"1341951598","filename":"file1"},{"photo_id":"1341951597","filename":"file0"},{"photo_id":"1341951619","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341951661":["hashtag1","hashtag2"]},{"1341951598":["hashtag1","hashtag2"]},{"1341951646":["hashtag1","hashtag2"]},{"1341951619":["hashtag1","hashtag2"]},{"1341951597":["hashtag1","hashtag2"]},{"1341951604":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341951661, 1341951598, 1341951646, 1341951619, 1341951597, 1341951604)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.1507043838501 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 18:28:02.843037
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/18/27/image_08032025_18_27_45_10066.jpg', 2), ('/home/nano/Desktop/images/08032025/18/27/image_08032025_18_27_35_10074.jpg', 2), ('/home/nano/Desktop/images/08032025/18/27/image_08032025_18_27_25_10068.jpg', 2), ('/home/nano/Desktop/images/08032025/18/27/image_08032025_18_27_15_10086.jpg', 2), ('/home/nano/Desktop/images/08032025/18/26/image_08032025_18_27_05_10101.jpg', 2), ('/home/nano/Desktop/images/08032025/18/26/image_08032025_18_26_55_9077.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/18/27/image_08032025_18_27_45_10066.jpg', '/home/nano/Desktop/images/08032025/18/27/image_08032025_18_27_35_10074.jpg', '/home/nano/Desktop/images/08032025/18/27/image_08032025_18_27_25_10068.jpg', '/home/nano/Desktop/images/08032025/18/27/image_08032025_18_27_15_10086.jpg', '/home/nano/Desktop/images/08032025/18/26/image_08032025_18_27_05_10101.jpg', '/home/nano/Desktop/images/08032025/18/26/image_08032025_18_26_55_9077.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/18/27/image_08032025_18_27_45_10066.jpg
/home/nano/Desktop/images/08032025/18/27/image_08032025_18_27_35_10074.jpg
/home/nano/Desktop/images/08032025/18/27/image_08032025_18_27_25_10068.jpg
/home/nano/Desktop/images/08032025/18/27/image_08032025_18_27_15_10086.jpg
/home/nano/Desktop/images/08032025/18/26/image_08032025_18_27_05_10101.jpg
/home/nano/Desktop/images/08032025/18/26/image_08032025_18_26_55_9077.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341951754","1341951748","1341951751","1341951750","1341951746","1341951749"],"photo_ids_order":["1341951746","1341951748","1341951749","1341951750","1341951751","1341951754"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/183d564b6bd245e1745704cd7da6dfc9.jpg","text":"TemporaryFile(/tmp/multipartBody2339583185746980321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741454943308,"filename":"image_08032025_18_26_55_9077.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/a8a463f665a961c558a09ad7577bf99e.jpg","text":"TemporaryFile(/tmp/multipartBody1999849364694195577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741454943308,"filename":"image_08032025_18_27_35_10074.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/376ae735f0a9910d95b35ba92d7aa333.jpg","text":"TemporaryFile(/tmp/multipartBody8870594598612584403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741454943308,"filename":"image_08032025_18_27_05_10101.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/4f453effb449472801fd3dce4a24de9f.jpg","text":"TemporaryFile(/tmp/multipartBody5261759714338779193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741454943308,"filename":"image_08032025_18_27_15_10086.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/c73496da959542d8e5d966f76eb0bea0.jpg","text":"TemporaryFile(/tmp/multipartBody1213789587003799421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741454943308,"filename":"image_08032025_18_27_45_10066.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/ae76e8c81920de33ed2836be5b5879df.jpg","text":"TemporaryFile(/tmp/multipartBody247221521931647998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741454943308,"filename":"image_08032025_18_27_25_10068.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341951749","file1":"1341951748","file0":"1341951746","file4":"1341951751","file5":"1341951754","file3":"1341951750"},"map_files_photo_id_array":[{"photo_id":"1341951754","filename":"file5"},{"photo_id":"1341951749","filename":"file2"},{"photo_id":"1341951751","filename":"file4"},{"photo_id":"1341951748","filename":"file1"},{"photo_id":"1341951746","filename":"file0"},{"photo_id":"1341951750","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341951754":["hashtag1","hashtag2"]},{"1341951748":["hashtag1","hashtag2"]},{"1341951751":["hashtag1","hashtag2"]},{"1341951750":["hashtag1","hashtag2"]},{"1341951746":["hashtag1","hashtag2"]},{"1341951749":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341951754, 1341951748, 1341951751, 1341951750, 1341951746, 1341951749)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.665667295455933 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 18:29:03.371096
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/18/28/image_08032025_18_28_45_10071.jpg', 2), ('/home/nano/Desktop/images/08032025/18/28/image_08032025_18_28_35_10075.jpg', 2), ('/home/nano/Desktop/images/08032025/18/28/image_08032025_18_28_25_10071.jpg', 2), ('/home/nano/Desktop/images/08032025/18/28/image_08032025_18_28_15_10074.jpg', 2), ('/home/nano/Desktop/images/08032025/18/27/image_08032025_18_28_05_10094.jpg', 2), ('/home/nano/Desktop/images/08032025/18/27/image_08032025_18_27_55_10065.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/18/28/image_08032025_18_28_45_10071.jpg', '/home/nano/Desktop/images/08032025/18/28/image_08032025_18_28_35_10075.jpg', '/home/nano/Desktop/images/08032025/18/28/image_08032025_18_28_25_10071.jpg', '/home/nano/Desktop/images/08032025/18/28/image_08032025_18_28_15_10074.jpg', '/home/nano/Desktop/images/08032025/18/27/image_08032025_18_28_05_10094.jpg', '/home/nano/Desktop/images/08032025/18/27/image_08032025_18_27_55_10065.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/18/28/image_08032025_18_28_45_10071.jpg
/home/nano/Desktop/images/08032025/18/28/image_08032025_18_28_35_10075.jpg
/home/nano/Desktop/images/08032025/18/28/image_08032025_18_28_25_10071.jpg
/home/nano/Desktop/images/08032025/18/28/image_08032025_18_28_15_10074.jpg
/home/nano/Desktop/images/08032025/18/27/image_08032025_18_28_05_10094.jpg
/home/nano/Desktop/images/08032025/18/27/image_08032025_18_27_55_10065.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341951808","1341951777","1341951801","1341951804","1341951785","1341951799"],"photo_ids_order":["1341951777","1341951785","1341951799","1341951801","1341951804","1341951808"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/2d5a9ad07d35ac001b7994903536360e.jpg","text":"TemporaryFile(/tmp/multipartBody8718748204991828467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741455003833,"filename":"image_08032025_18_27_55_10065.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/c6b0d8300a37afc716c428c4231e3e2a.jpg","text":"TemporaryFile(/tmp/multipartBody5840136282700074697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741455003833,"filename":"image_08032025_18_28_45_10071.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/138d11c67e631a50ec697ced998699c8.jpg","text":"TemporaryFile(/tmp/multipartBody8139741423310382731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741455003833,"filename":"image_08032025_18_28_15_10074.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/e18e748decba20d7be6465bb2806addc.jpg","text":"TemporaryFile(/tmp/multipartBody8206533758234572805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741455003833,"filename":"image_08032025_18_28_05_10094.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/633aba94530fecf09b987fb2475901ab.jpg","text":"TemporaryFile(/tmp/multipartBody8420822122741564487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741455003833,"filename":"image_08032025_18_28_35_10075.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/3bf4dd40b021c4030bbfc77394a65d33.jpg","text":"TemporaryFile(/tmp/multipartBody6338787968081396955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741455003833,"filename":"image_08032025_18_28_25_10071.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341951799","file1":"1341951785","file0":"1341951777","file4":"1341951804","file5":"1341951808","file3":"1341951801"},"map_files_photo_id_array":[{"photo_id":"1341951808","filename":"file5"},{"photo_id":"1341951799","filename":"file2"},{"photo_id":"1341951804","filename":"file4"},{"photo_id":"1341951785","filename":"file1"},{"photo_id":"1341951777","filename":"file0"},{"photo_id":"1341951801","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341951808":["hashtag1","hashtag2"]},{"1341951777":["hashtag1","hashtag2"]},{"1341951801":["hashtag1","hashtag2"]},{"1341951804":["hashtag1","hashtag2"]},{"1341951785":["hashtag1","hashtag2"]},{"1341951799":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341951808, 1341951777, 1341951801, 1341951804, 1341951785, 1341951799)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.52623748779297 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 18:30:03.289081
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/18/29/image_08032025_18_29_45_10070.jpg', 2), ('/home/nano/Desktop/images/08032025/18/29/image_08032025_18_29_35_10074.jpg', 2), ('/home/nano/Desktop/images/08032025/18/29/image_08032025_18_29_25_10067.jpg', 2), ('/home/nano/Desktop/images/08032025/18/29/image_08032025_18_29_15_10070.jpg', 2), ('/home/nano/Desktop/images/08032025/18/28/image_08032025_18_29_05_9080.jpg', 2), ('/home/nano/Desktop/images/08032025/18/28/image_08032025_18_28_56_10066.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/18/29/image_08032025_18_29_45_10070.jpg', '/home/nano/Desktop/images/08032025/18/29/image_08032025_18_29_35_10074.jpg', '/home/nano/Desktop/images/08032025/18/29/image_08032025_18_29_25_10067.jpg', '/home/nano/Desktop/images/08032025/18/29/image_08032025_18_29_15_10070.jpg', '/home/nano/Desktop/images/08032025/18/28/image_08032025_18_29_05_9080.jpg', '/home/nano/Desktop/images/08032025/18/28/image_08032025_18_28_56_10066.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/18/29/image_08032025_18_29_45_10070.jpg
/home/nano/Desktop/images/08032025/18/29/image_08032025_18_29_35_10074.jpg
/home/nano/Desktop/images/08032025/18/29/image_08032025_18_29_25_10067.jpg
/home/nano/Desktop/images/08032025/18/29/image_08032025_18_29_15_10070.jpg
/home/nano/Desktop/images/08032025/18/28/image_08032025_18_29_05_9080.jpg
/home/nano/Desktop/images/08032025/18/28/image_08032025_18_28_56_10066.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341951952","1341952044","1341951978","1341951927","1341951887","1341952019"],"photo_ids_order":["1341951887","1341951927","1341951952","1341951978","1341952019","1341952044"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/34e73bab375e4ba34b708132d2bf5c47.jpg","text":"TemporaryFile(/tmp/multipartBody5205355232787288070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741455063739,"filename":"image_08032025_18_29_25_10067.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/c6afe2af5891292176b9a3e136283240.jpg","text":"TemporaryFile(/tmp/multipartBody2707063696834575886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741455063739,"filename":"image_08032025_18_28_56_10066.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/059b6508d001cf3e9f4cd5ed486471b1.jpg","text":"TemporaryFile(/tmp/multipartBody2160014672147131812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741455063739,"filename":"image_08032025_18_29_15_10070.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/345341787f0517820b04f038d0f39d38.jpg","text":"TemporaryFile(/tmp/multipartBody4672289822862297598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741455063739,"filename":"image_08032025_18_29_35_10074.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/c280f81adb46d9c0cbd7eacc4e1d0e8b.jpg","text":"TemporaryFile(/tmp/multipartBody8816361939432377939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741455063739,"filename":"image_08032025_18_29_45_10070.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/8646d42346fa87a4aceb5cc88cc68fa6.jpg","text":"TemporaryFile(/tmp/multipartBody927133113397492641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741455063739,"filename":"image_08032025_18_29_05_9080.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341951952","file1":"1341951927","file0":"1341951887","file4":"1341952019","file5":"1341952044","file3":"1341951978"},"map_files_photo_id_array":[{"photo_id":"1341952044","filename":"file5"},{"photo_id":"1341951952","filename":"file2"},{"photo_id":"1341952019","filename":"file4"},{"photo_id":"1341951927","filename":"file1"},{"photo_id":"1341951887","filename":"file0"},{"photo_id":"1341951978","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341951952":["hashtag1","hashtag2"]},{"1341952044":["hashtag1","hashtag2"]},{"1341951978":["hashtag1","hashtag2"]},{"1341951927":["hashtag1","hashtag2"]},{"1341951887":["hashtag1","hashtag2"]},{"1341952019":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341951952, 1341952044, 1341951978, 1341951927, 1341951887, 1341952019)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.14555072784424 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 18:31:02.313800
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/18/30/image_08032025_18_31_06_10094.jpg', 2), ('/home/nano/Desktop/images/08032025/18/30/image_08032025_18_30_45_10071.jpg', 2), ('/home/nano/Desktop/images/08032025/18/30/image_08032025_18_30_35_10071.jpg', 2), ('/home/nano/Desktop/images/08032025/18/30/image_08032025_18_30_25_10067.jpg', 2), ('/home/nano/Desktop/images/08032025/18/30/image_08032025_18_30_15_10073.jpg', 2), ('/home/nano/Desktop/images/08032025/18/29/image_08032025_18_30_05_10086.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/18/30/image_08032025_18_31_06_10094.jpg', '/home/nano/Desktop/images/08032025/18/30/image_08032025_18_30_45_10071.jpg', '/home/nano/Desktop/images/08032025/18/30/image_08032025_18_30_35_10071.jpg', '/home/nano/Desktop/images/08032025/18/30/image_08032025_18_30_25_10067.jpg', '/home/nano/Desktop/images/08032025/18/30/image_08032025_18_30_15_10073.jpg', '/home/nano/Desktop/images/08032025/18/29/image_08032025_18_30_05_10086.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/18/30/image_08032025_18_31_06_10094.jpg
/home/nano/Desktop/images/08032025/18/30/image_08032025_18_30_45_10071.jpg
/home/nano/Desktop/images/08032025/18/30/image_08032025_18_30_35_10071.jpg
/home/nano/Desktop/images/08032025/18/30/image_08032025_18_30_25_10067.jpg
/home/nano/Desktop/images/08032025/18/30/image_08032025_18_30_15_10073.jpg
/home/nano/Desktop/images/08032025/18/29/image_08032025_18_30_05_10086.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341952215","1341952200","1341952229","1341952202","1341952211","1341952205"],"photo_ids_order":["1341952200","1341952202","1341952205","1341952211","1341952215","1341952229"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/eab2c4252706e5e9750318afdae5385d.jpg","text":"TemporaryFile(/tmp/multipartBody5681424609471411340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741455122783,"filename":"image_08032025_18_30_15_10073.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/7c15b7ac14f1519c4f04e04ab171a471.jpg","text":"TemporaryFile(/tmp/multipartBody9052883254062969168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741455122783,"filename":"image_08032025_18_31_06_10094.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/f148d974dc97297de85f11e632b560e9.jpg","text":"TemporaryFile(/tmp/multipartBody4662632112454461234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741455122783,"filename":"image_08032025_18_30_05_10086.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/d27dc9e38e1eb93b091b5ef9ec8be42d.jpg","text":"TemporaryFile(/tmp/multipartBody1557703215172269328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741455122783,"filename":"image_08032025_18_30_45_10071.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/5372f29a843cdca538d3da66afda3f23.jpg","text":"TemporaryFile(/tmp/multipartBody6607236225613608095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741455122783,"filename":"image_08032025_18_30_25_10067.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/a2925382a2d26f219f5b43f0c8aa1e03.jpg","text":"TemporaryFile(/tmp/multipartBody4791092802435010576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741455122783,"filename":"image_08032025_18_30_35_10071.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341952205","file1":"1341952202","file0":"1341952200","file4":"1341952215","file5":"1341952229","file3":"1341952211"},"map_files_photo_id_array":[{"photo_id":"1341952229","filename":"file5"},{"photo_id":"1341952205","filename":"file2"},{"photo_id":"1341952215","filename":"file4"},{"photo_id":"1341952202","filename":"file1"},{"photo_id":"1341952200","filename":"file0"},{"photo_id":"1341952211","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341952215":["hashtag1","hashtag2"]},{"1341952200":["hashtag1","hashtag2"]},{"1341952229":["hashtag1","hashtag2"]},{"1341952202":["hashtag1","hashtag2"]},{"1341952211":["hashtag1","hashtag2"]},{"1341952205":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341952215, 1341952200, 1341952229, 1341952202, 1341952211, 1341952205)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.763503313064575 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 18:32:02.365343
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/18/31/image_08032025_18_31_45_10076.jpg', 2), ('/home/nano/Desktop/images/08032025/18/31/image_08032025_18_31_35_10076.jpg', 2), ('/home/nano/Desktop/images/08032025/18/31/image_08032025_18_31_25_10075.jpg', 2), ('/home/nano/Desktop/images/08032025/18/31/image_08032025_18_31_15_9067.jpg', 2), ('/home/nano/Desktop/images/08032025/18/30/image_08032025_18_30_55_10072.jpg', 2), ('/home/nano/Desktop/images/08032025/18/29/image_08032025_18_29_55_10068.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/18/31/image_08032025_18_31_45_10076.jpg', '/home/nano/Desktop/images/08032025/18/31/image_08032025_18_31_35_10076.jpg', '/home/nano/Desktop/images/08032025/18/31/image_08032025_18_31_25_10075.jpg', '/home/nano/Desktop/images/08032025/18/31/image_08032025_18_31_15_9067.jpg', '/home/nano/Desktop/images/08032025/18/30/image_08032025_18_30_55_10072.jpg', '/home/nano/Desktop/images/08032025/18/29/image_08032025_18_29_55_10068.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/18/31/image_08032025_18_31_45_10076.jpg
/home/nano/Desktop/images/08032025/18/31/image_08032025_18_31_35_10076.jpg
/home/nano/Desktop/images/08032025/18/31/image_08032025_18_31_25_10075.jpg
/home/nano/Desktop/images/08032025/18/31/image_08032025_18_31_15_9067.jpg
/home/nano/Desktop/images/08032025/18/30/image_08032025_18_30_55_10072.jpg
/home/nano/Desktop/images/08032025/18/29/image_08032025_18_29_55_10068.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341952281","1341952275","1341952283","1341952277","1341952286","1341952279"],"photo_ids_order":["1341952275","1341952277","1341952279","1341952281","1341952283","1341952286"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/2186e3d2d7b7e53c040509be6983109c.jpg","text":"TemporaryFile(/tmp/multipartBody8047970526819734166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741455182817,"filename":"image_08032025_18_31_15_9067.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/c17b80c74c4bd20c4ba4f054306f771c.jpg","text":"TemporaryFile(/tmp/multipartBody1634830139855675107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741455182817,"filename":"image_08032025_18_31_45_10076.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/f3b3b5e96a9177ab31aa9b909afda82d.jpg","text":"TemporaryFile(/tmp/multipartBody299973943867809614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741455182817,"filename":"image_08032025_18_30_55_10072.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/92c767f62db122faf36c1d56c252803a.jpg","text":"TemporaryFile(/tmp/multipartBody8658789191109477811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741455182817,"filename":"image_08032025_18_31_35_10076.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/617ee81fa3b6f5b40300689a978d0757.jpg","text":"TemporaryFile(/tmp/multipartBody1305617953582711220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741455182817,"filename":"image_08032025_18_29_55_10068.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/718dbc7d089974f51443f1152c04e4c6.jpg","text":"TemporaryFile(/tmp/multipartBody4056721970472752947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741455182817,"filename":"image_08032025_18_31_25_10075.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341952279","file1":"1341952277","file0":"1341952275","file4":"1341952283","file5":"1341952286","file3":"1341952281"},"map_files_photo_id_array":[{"photo_id":"1341952286","filename":"file5"},{"photo_id":"1341952279","filename":"file2"},{"photo_id":"1341952283","filename":"file4"},{"photo_id":"1341952277","filename":"file1"},{"photo_id":"1341952275","filename":"file0"},{"photo_id":"1341952281","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341952281":["hashtag1","hashtag2"]},{"1341952275":["hashtag1","hashtag2"]},{"1341952283":["hashtag1","hashtag2"]},{"1341952277":["hashtag1","hashtag2"]},{"1341952286":["hashtag1","hashtag2"]},{"1341952279":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341952281, 1341952275, 1341952283, 1341952277, 1341952286, 1341952279)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.71863389015198 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 18:33:02.589842
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/18/32/image_08032025_18_32_45_10069.jpg', 2), ('/home/nano/Desktop/images/08032025/18/32/image_08032025_18_32_35_10071.jpg', 2), ('/home/nano/Desktop/images/08032025/18/32/image_08032025_18_32_25_10079.jpg', 2), ('/home/nano/Desktop/images/08032025/18/32/image_08032025_18_32_15_10082.jpg', 2), ('/home/nano/Desktop/images/08032025/18/31/image_08032025_18_32_05_10090.jpg', 2), ('/home/nano/Desktop/images/08032025/18/31/image_08032025_18_31_55_10076.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/18/32/image_08032025_18_32_45_10069.jpg', '/home/nano/Desktop/images/08032025/18/32/image_08032025_18_32_35_10071.jpg', '/home/nano/Desktop/images/08032025/18/32/image_08032025_18_32_25_10079.jpg', '/home/nano/Desktop/images/08032025/18/32/image_08032025_18_32_15_10082.jpg', '/home/nano/Desktop/images/08032025/18/31/image_08032025_18_32_05_10090.jpg', '/home/nano/Desktop/images/08032025/18/31/image_08032025_18_31_55_10076.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/18/32/image_08032025_18_32_45_10069.jpg
/home/nano/Desktop/images/08032025/18/32/image_08032025_18_32_35_10071.jpg
/home/nano/Desktop/images/08032025/18/32/image_08032025_18_32_25_10079.jpg
/home/nano/Desktop/images/08032025/18/32/image_08032025_18_32_15_10082.jpg
/home/nano/Desktop/images/08032025/18/31/image_08032025_18_32_05_10090.jpg
/home/nano/Desktop/images/08032025/18/31/image_08032025_18_31_55_10076.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341952438","1341952434","1341952425","1341952499","1341952439","1341952460"],"photo_ids_order":["1341952425","1341952434","1341952438","1341952439","1341952460","1341952499"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/6e1f68ac82cdd4d42ff61ae0bd57c72c.jpg","text":"TemporaryFile(/tmp/multipartBody3816008228957290921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741455243094,"filename":"image_08032025_18_32_25_10079.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/9812d7783d695047b432d5f14a24a7fc.jpg","text":"TemporaryFile(/tmp/multipartBody5158391180493350176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741455243094,"filename":"image_08032025_18_32_35_10071.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/4373af777d3109357ae315be9a7ede60.jpg","text":"TemporaryFile(/tmp/multipartBody2549366824529949763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741455243094,"filename":"image_08032025_18_32_45_10069.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/5ed2b5b34156da1bd49b2576d107383d.jpg","text":"TemporaryFile(/tmp/multipartBody1117657825132195770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741455243094,"filename":"image_08032025_18_31_55_10076.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/90462c6d187502d0782f0a74f2bf1ab0.jpg","text":"TemporaryFile(/tmp/multipartBody2002771920674721816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741455243094,"filename":"image_08032025_18_32_15_10082.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/941913de7420f573b1d43ddacd274c8e.jpg","text":"TemporaryFile(/tmp/multipartBody6834474351547297544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741455243094,"filename":"image_08032025_18_32_05_10090.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341952438","file1":"1341952434","file0":"1341952425","file4":"1341952460","file5":"1341952499","file3":"1341952439"},"map_files_photo_id_array":[{"photo_id":"1341952499","filename":"file5"},{"photo_id":"1341952438","filename":"file2"},{"photo_id":"1341952460","filename":"file4"},{"photo_id":"1341952434","filename":"file1"},{"photo_id":"1341952425","filename":"file0"},{"photo_id":"1341952439","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341952438":["hashtag1","hashtag2"]},{"1341952434":["hashtag1","hashtag2"]},{"1341952425":["hashtag1","hashtag2"]},{"1341952499":["hashtag1","hashtag2"]},{"1341952439":["hashtag1","hashtag2"]},{"1341952460":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341952438, 1341952434, 1341952425, 1341952499, 1341952439, 1341952460)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.292598247528076 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 18:34:02.857453
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/18/33/image_08032025_18_33_45_10070.jpg', 2), ('/home/nano/Desktop/images/08032025/18/33/image_08032025_18_33_35_9061.jpg', 2), ('/home/nano/Desktop/images/08032025/18/33/image_08032025_18_33_26_10070.jpg', 2), ('/home/nano/Desktop/images/08032025/18/33/image_08032025_18_33_16_10072.jpg', 2), ('/home/nano/Desktop/images/08032025/18/32/image_08032025_18_33_05_10092.jpg', 2), ('/home/nano/Desktop/images/08032025/18/32/image_08032025_18_32_55_10073.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/18/33/image_08032025_18_33_45_10070.jpg', '/home/nano/Desktop/images/08032025/18/33/image_08032025_18_33_35_9061.jpg', '/home/nano/Desktop/images/08032025/18/33/image_08032025_18_33_26_10070.jpg', '/home/nano/Desktop/images/08032025/18/33/image_08032025_18_33_16_10072.jpg', '/home/nano/Desktop/images/08032025/18/32/image_08032025_18_33_05_10092.jpg', '/home/nano/Desktop/images/08032025/18/32/image_08032025_18_32_55_10073.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/18/33/image_08032025_18_33_45_10070.jpg
/home/nano/Desktop/images/08032025/18/33/image_08032025_18_33_35_9061.jpg
/home/nano/Desktop/images/08032025/18/33/image_08032025_18_33_26_10070.jpg
/home/nano/Desktop/images/08032025/18/33/image_08032025_18_33_16_10072.jpg
/home/nano/Desktop/images/08032025/18/32/image_08032025_18_33_05_10092.jpg
/home/nano/Desktop/images/08032025/18/32/image_08032025_18_32_55_10073.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341953148","1341953061","1341953406","1341953516","1341953306","1341953476"],"photo_ids_order":["1341953061","1341953148","1341953306","1341953406","1341953476","1341953516"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/90c1ac76cfe823eda51d09e957ac19f4.jpg","text":"TemporaryFile(/tmp/multipartBody4609488873091441532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741455303316,"filename":"image_08032025_18_33_35_9061.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/2c308e0e22752d3b5d4ec070959bc8cf.jpg","text":"TemporaryFile(/tmp/multipartBody1400207720603622949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741455303316,"filename":"image_08032025_18_33_45_10070.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/8cf888f513c91b57f76304697e58ba0c.jpg","text":"TemporaryFile(/tmp/multipartBody1578437443134243833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741455303316,"filename":"image_08032025_18_33_16_10072.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/c3a6e63e607a8dc6ccd4debd0608dd12.jpg","text":"TemporaryFile(/tmp/multipartBody7061831037331314471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741455303316,"filename":"image_08032025_18_32_55_10073.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/4906a7fb4c8b8e898d4d502e5407fc24.jpg","text":"TemporaryFile(/tmp/multipartBody8026487956184598367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741455303316,"filename":"image_08032025_18_33_26_10070.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/d9a5cf81f29f16a07f8f66f2acf7c04b.jpg","text":"TemporaryFile(/tmp/multipartBody7391109112495693918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741455303316,"filename":"image_08032025_18_33_05_10092.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341953306","file1":"1341953148","file0":"1341953061","file4":"1341953476","file5":"1341953516","file3":"1341953406"},"map_files_photo_id_array":[{"photo_id":"1341953516","filename":"file5"},{"photo_id":"1341953306","filename":"file2"},{"photo_id":"1341953476","filename":"file4"},{"photo_id":"1341953148","filename":"file1"},{"photo_id":"1341953061","filename":"file0"},{"photo_id":"1341953406","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341953148":["hashtag1","hashtag2"]},{"1341953061":["hashtag1","hashtag2"]},{"1341953406":["hashtag1","hashtag2"]},{"1341953516":["hashtag1","hashtag2"]},{"1341953306":["hashtag1","hashtag2"]},{"1341953476":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341953148, 1341953061, 1341953406, 1341953516, 1341953306, 1341953476)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.59018540382385 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 18:35:02.824918
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/18/34/image_08032025_18_34_45_10073.jpg', 2), ('/home/nano/Desktop/images/08032025/18/34/image_08032025_18_34_35_10072.jpg', 2), ('/home/nano/Desktop/images/08032025/18/34/image_08032025_18_34_25_10094.jpg', 2), ('/home/nano/Desktop/images/08032025/18/34/image_08032025_18_34_15_10074.jpg', 2), ('/home/nano/Desktop/images/08032025/18/33/image_08032025_18_34_05_10091.jpg', 2), ('/home/nano/Desktop/images/08032025/18/33/image_08032025_18_33_55_10068.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/18/34/image_08032025_18_34_45_10073.jpg', '/home/nano/Desktop/images/08032025/18/34/image_08032025_18_34_35_10072.jpg', '/home/nano/Desktop/images/08032025/18/34/image_08032025_18_34_25_10094.jpg', '/home/nano/Desktop/images/08032025/18/34/image_08032025_18_34_15_10074.jpg', '/home/nano/Desktop/images/08032025/18/33/image_08032025_18_34_05_10091.jpg', '/home/nano/Desktop/images/08032025/18/33/image_08032025_18_33_55_10068.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/18/34/image_08032025_18_34_45_10073.jpg
/home/nano/Desktop/images/08032025/18/34/image_08032025_18_34_35_10072.jpg
/home/nano/Desktop/images/08032025/18/34/image_08032025_18_34_25_10094.jpg
/home/nano/Desktop/images/08032025/18/34/image_08032025_18_34_15_10074.jpg
/home/nano/Desktop/images/08032025/18/33/image_08032025_18_34_05_10091.jpg
/home/nano/Desktop/images/08032025/18/33/image_08032025_18_33_55_10068.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341953874","1341953760","1341953763","1341953762","1341953870","1341953764"],"photo_ids_order":["1341953760","1341953762","1341953763","1341953764","1341953870","1341953874"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/a020d0180b1d527dbd6c4e871b3e7dc9.jpg","text":"TemporaryFile(/tmp/multipartBody8600972331732269300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741455363317,"filename":"image_08032025_18_33_55_10068.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/7c64f066434806aec9c7f71c62deaec6.jpg","text":"TemporaryFile(/tmp/multipartBody2945001619701770951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741455363317,"filename":"image_08032025_18_34_45_10073.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/4f6b46ccda2db7d9bbfb3caf11449eb8.jpg","text":"TemporaryFile(/tmp/multipartBody3638221010806324495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741455363317,"filename":"image_08032025_18_34_25_10094.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/519aaf3b16a566b91f5a754bd287ba3e.jpg","text":"TemporaryFile(/tmp/multipartBody2444817569968235337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741455363317,"filename":"image_08032025_18_34_35_10072.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/5472eecd1e2f62d54c89bfcabe1b73be.jpg","text":"TemporaryFile(/tmp/multipartBody2660306619449711846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741455363317,"filename":"image_08032025_18_34_05_10091.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/9e8057b8ca023fc197fe3765ba1c4a25.jpg","text":"TemporaryFile(/tmp/multipartBody698668200211235531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741455363317,"filename":"image_08032025_18_34_15_10074.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341953763","file1":"1341953762","file0":"1341953760","file4":"1341953870","file5":"1341953874","file3":"1341953764"},"map_files_photo_id_array":[{"photo_id":"1341953874","filename":"file5"},{"photo_id":"1341953763","filename":"file2"},{"photo_id":"1341953870","filename":"file4"},{"photo_id":"1341953762","filename":"file1"},{"photo_id":"1341953760","filename":"file0"},{"photo_id":"1341953764","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341953874":["hashtag1","hashtag2"]},{"1341953760":["hashtag1","hashtag2"]},{"1341953763":["hashtag1","hashtag2"]},{"1341953762":["hashtag1","hashtag2"]},{"1341953870":["hashtag1","hashtag2"]},{"1341953764":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341953874, 1341953760, 1341953763, 1341953762, 1341953870, 1341953764)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.336366415023804 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 18:36:02.805160
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/18/35/image_08032025_18_35_45_10068.jpg', 2), ('/home/nano/Desktop/images/08032025/18/35/image_08032025_18_35_35_9085.jpg', 2), ('/home/nano/Desktop/images/08032025/18/35/image_08032025_18_35_26_10104.jpg', 2), ('/home/nano/Desktop/images/08032025/18/35/image_08032025_18_35_15_10073.jpg', 2), ('/home/nano/Desktop/images/08032025/18/34/image_08032025_18_35_05_10086.jpg', 2), ('/home/nano/Desktop/images/08032025/18/34/image_08032025_18_34_55_10077.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/18/35/image_08032025_18_35_45_10068.jpg', '/home/nano/Desktop/images/08032025/18/35/image_08032025_18_35_35_9085.jpg', '/home/nano/Desktop/images/08032025/18/35/image_08032025_18_35_26_10104.jpg', '/home/nano/Desktop/images/08032025/18/35/image_08032025_18_35_15_10073.jpg', '/home/nano/Desktop/images/08032025/18/34/image_08032025_18_35_05_10086.jpg', '/home/nano/Desktop/images/08032025/18/34/image_08032025_18_34_55_10077.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/18/35/image_08032025_18_35_45_10068.jpg
/home/nano/Desktop/images/08032025/18/35/image_08032025_18_35_35_9085.jpg
/home/nano/Desktop/images/08032025/18/35/image_08032025_18_35_26_10104.jpg
/home/nano/Desktop/images/08032025/18/35/image_08032025_18_35_15_10073.jpg
/home/nano/Desktop/images/08032025/18/34/image_08032025_18_35_05_10086.jpg
/home/nano/Desktop/images/08032025/18/34/image_08032025_18_34_55_10077.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341954137","1341954002","1341954067","1341954145","1341954118","1341953962"],"photo_ids_order":["1341953962","1341954002","1341954067","1341954118","1341954137","1341954145"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/83dde3d75c7bca90cedb4a35a21fe6b8.jpg","text":"TemporaryFile(/tmp/multipartBody160309774409722092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741455423275,"filename":"image_08032025_18_35_05_10086.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/e34ef5203782401e3fb499887fd2aab1.jpg","text":"TemporaryFile(/tmp/multipartBody7145386349673962432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741455423275,"filename":"image_08032025_18_35_35_9085.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/5d793fd710961f608ebdebcb33dbe64d.jpg","text":"TemporaryFile(/tmp/multipartBody2892858072081902621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741455423275,"filename":"image_08032025_18_35_26_10104.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/7f8563567e895eb926014ffddf43da44.jpg","text":"TemporaryFile(/tmp/multipartBody6015449450833315273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741455423275,"filename":"image_08032025_18_34_55_10077.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/275235b90217d9dff003123f788d5248.jpg","text":"TemporaryFile(/tmp/multipartBody6230662112452578044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741455423275,"filename":"image_08032025_18_35_15_10073.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/e0d834173b2cdc17ee9a49955c0dd4b2.jpg","text":"TemporaryFile(/tmp/multipartBody7045816966333381003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741455423275,"filename":"image_08032025_18_35_45_10068.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341954067","file1":"1341954002","file0":"1341953962","file4":"1341954137","file5":"1341954145","file3":"1341954118"},"map_files_photo_id_array":[{"photo_id":"1341954145","filename":"file5"},{"photo_id":"1341954067","filename":"file2"},{"photo_id":"1341954137","filename":"file4"},{"photo_id":"1341954002","filename":"file1"},{"photo_id":"1341953962","filename":"file0"},{"photo_id":"1341954118","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341954137":["hashtag1","hashtag2"]},{"1341954002":["hashtag1","hashtag2"]},{"1341954067":["hashtag1","hashtag2"]},{"1341954145":["hashtag1","hashtag2"]},{"1341954118":["hashtag1","hashtag2"]},{"1341953962":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341954137, 1341954002, 1341954067, 1341954145, 1341954118, 1341953962)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.91173529624939 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 18:37:02.951387
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/18/36/image_08032025_18_36_45_10077.jpg', 2), ('/home/nano/Desktop/images/08032025/18/36/image_08032025_18_36_35_10111.jpg', 2), ('/home/nano/Desktop/images/08032025/18/36/image_08032025_18_36_25_10074.jpg', 2), ('/home/nano/Desktop/images/08032025/18/36/image_08032025_18_36_15_10070.jpg', 2), ('/home/nano/Desktop/images/08032025/18/35/image_08032025_18_36_05_10079.jpg', 2), ('/home/nano/Desktop/images/08032025/18/35/image_08032025_18_35_55_10073.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/18/36/image_08032025_18_36_45_10077.jpg', '/home/nano/Desktop/images/08032025/18/36/image_08032025_18_36_35_10111.jpg', '/home/nano/Desktop/images/08032025/18/36/image_08032025_18_36_25_10074.jpg', '/home/nano/Desktop/images/08032025/18/36/image_08032025_18_36_15_10070.jpg', '/home/nano/Desktop/images/08032025/18/35/image_08032025_18_36_05_10079.jpg', '/home/nano/Desktop/images/08032025/18/35/image_08032025_18_35_55_10073.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/18/36/image_08032025_18_36_45_10077.jpg
/home/nano/Desktop/images/08032025/18/36/image_08032025_18_36_35_10111.jpg
/home/nano/Desktop/images/08032025/18/36/image_08032025_18_36_25_10074.jpg
/home/nano/Desktop/images/08032025/18/36/image_08032025_18_36_15_10070.jpg
/home/nano/Desktop/images/08032025/18/35/image_08032025_18_36_05_10079.jpg
/home/nano/Desktop/images/08032025/18/35/image_08032025_18_35_55_10073.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341954324","1341954320","1341954323","1341954328","1341954322","1341954291"],"photo_ids_order":["1341954291","1341954320","1341954322","1341954323","1341954324","1341954328"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/ec4e210ee5d4fa61b9a81bc82b991e65.jpg","text":"TemporaryFile(/tmp/multipartBody2491623416496525536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741455483417,"filename":"image_08032025_18_36_05_10079.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/f1f09e62330cb894756b99353bb2482d.jpg","text":"TemporaryFile(/tmp/multipartBody5640387531985208311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741455483417,"filename":"image_08032025_18_36_35_10111.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/19c75e85603ed36c36f7b5ea756ad886.jpg","text":"TemporaryFile(/tmp/multipartBody4603721538730404162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741455483417,"filename":"image_08032025_18_36_15_10070.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/9055a473474a64c9604d2b6a24c62b4f.jpg","text":"TemporaryFile(/tmp/multipartBody2683413200011786518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741455483417,"filename":"image_08032025_18_35_55_10073.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/66224072e3876e1ecc1c20de45addd3b.jpg","text":"TemporaryFile(/tmp/multipartBody6739119485479204421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741455483417,"filename":"image_08032025_18_36_25_10074.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/d75bc174af2a18016543f70f66057f84.jpg","text":"TemporaryFile(/tmp/multipartBody6027331980936637474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741455483417,"filename":"image_08032025_18_36_45_10077.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341954322","file1":"1341954320","file0":"1341954291","file4":"1341954324","file5":"1341954328","file3":"1341954323"},"map_files_photo_id_array":[{"photo_id":"1341954328","filename":"file5"},{"photo_id":"1341954322","filename":"file2"},{"photo_id":"1341954324","filename":"file4"},{"photo_id":"1341954320","filename":"file1"},{"photo_id":"1341954291","filename":"file0"},{"photo_id":"1341954323","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341954324":["hashtag1","hashtag2"]},{"1341954320":["hashtag1","hashtag2"]},{"1341954323":["hashtag1","hashtag2"]},{"1341954328":["hashtag1","hashtag2"]},{"1341954322":["hashtag1","hashtag2"]},{"1341954291":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341954324, 1341954320, 1341954323, 1341954328, 1341954322, 1341954291)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.50324010848999 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 18:38:03.041134
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/18/37/image_08032025_18_37_45_9060.jpg', 2), ('/home/nano/Desktop/images/08032025/18/37/image_08032025_18_37_36_10078.jpg', 2), ('/home/nano/Desktop/images/08032025/18/37/image_08032025_18_37_26_10074.jpg', 2), ('/home/nano/Desktop/images/08032025/18/37/image_08032025_18_37_15_10071.jpg', 2), ('/home/nano/Desktop/images/08032025/18/36/image_08032025_18_37_05_10098.jpg', 2), ('/home/nano/Desktop/images/08032025/18/36/image_08032025_18_36_55_10084.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/18/37/image_08032025_18_37_45_9060.jpg', '/home/nano/Desktop/images/08032025/18/37/image_08032025_18_37_36_10078.jpg', '/home/nano/Desktop/images/08032025/18/37/image_08032025_18_37_26_10074.jpg', '/home/nano/Desktop/images/08032025/18/37/image_08032025_18_37_15_10071.jpg', '/home/nano/Desktop/images/08032025/18/36/image_08032025_18_37_05_10098.jpg', '/home/nano/Desktop/images/08032025/18/36/image_08032025_18_36_55_10084.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/18/37/image_08032025_18_37_45_9060.jpg
/home/nano/Desktop/images/08032025/18/37/image_08032025_18_37_36_10078.jpg
/home/nano/Desktop/images/08032025/18/37/image_08032025_18_37_26_10074.jpg
/home/nano/Desktop/images/08032025/18/37/image_08032025_18_37_15_10071.jpg
/home/nano/Desktop/images/08032025/18/36/image_08032025_18_37_05_10098.jpg
/home/nano/Desktop/images/08032025/18/36/image_08032025_18_36_55_10084.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341954566","1341954611","1341954629","1341954685","1341954718","1341954651"],"photo_ids_order":["1341954566","1341954611","1341954629","1341954651","1341954685","1341954718"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/98b5bedf8721fa49a923f4e1a309ca45.jpg","text":"TemporaryFile(/tmp/multipartBody6403138143465037943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741455543490,"filename":"image_08032025_18_37_45_9060.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/a0f41709487ad4b8ecbc52ab4141de3d.jpg","text":"TemporaryFile(/tmp/multipartBody379600802806407937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741455543490,"filename":"image_08032025_18_37_36_10078.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/624d6946865418c8a160b0033e193c0e.jpg","text":"TemporaryFile(/tmp/multipartBody7464151971314980263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741455543490,"filename":"image_08032025_18_37_26_10074.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/3cd22cfb45929b0798cae2d907c79ef0.jpg","text":"TemporaryFile(/tmp/multipartBody4972252954546002014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741455543490,"filename":"image_08032025_18_37_05_10098.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/e04c294435169410250e16eb4a5d3e08.jpg","text":"TemporaryFile(/tmp/multipartBody8310409017663490485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741455543490,"filename":"image_08032025_18_36_55_10084.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/2e753913721f80ed61682440832b40a5.jpg","text":"TemporaryFile(/tmp/multipartBody2487196380918897077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741455543490,"filename":"image_08032025_18_37_15_10071.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341954629","file1":"1341954611","file0":"1341954566","file4":"1341954685","file5":"1341954718","file3":"1341954651"},"map_files_photo_id_array":[{"photo_id":"1341954718","filename":"file5"},{"photo_id":"1341954629","filename":"file2"},{"photo_id":"1341954685","filename":"file4"},{"photo_id":"1341954611","filename":"file1"},{"photo_id":"1341954566","filename":"file0"},{"photo_id":"1341954651","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341954566":["hashtag1","hashtag2"]},{"1341954611":["hashtag1","hashtag2"]},{"1341954629":["hashtag1","hashtag2"]},{"1341954685":["hashtag1","hashtag2"]},{"1341954718":["hashtag1","hashtag2"]},{"1341954651":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341954566, 1341954611, 1341954629, 1341954685, 1341954718, 1341954651)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.7527973651886 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 18:39:03.424176
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/18/38/image_08032025_18_38_45_10079.jpg', 2), ('/home/nano/Desktop/images/08032025/18/38/image_08032025_18_38_35_10074.jpg', 2), ('/home/nano/Desktop/images/08032025/18/38/image_08032025_18_38_25_10066.jpg', 2), ('/home/nano/Desktop/images/08032025/18/38/image_08032025_18_38_15_10077.jpg', 2), ('/home/nano/Desktop/images/08032025/18/37/image_08032025_18_38_05_10077.jpg', 2), ('/home/nano/Desktop/images/08032025/18/37/image_08032025_18_37_55_10085.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/18/38/image_08032025_18_38_45_10079.jpg', '/home/nano/Desktop/images/08032025/18/38/image_08032025_18_38_35_10074.jpg', '/home/nano/Desktop/images/08032025/18/38/image_08032025_18_38_25_10066.jpg', '/home/nano/Desktop/images/08032025/18/38/image_08032025_18_38_15_10077.jpg', '/home/nano/Desktop/images/08032025/18/37/image_08032025_18_38_05_10077.jpg', '/home/nano/Desktop/images/08032025/18/37/image_08032025_18_37_55_10085.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/18/38/image_08032025_18_38_45_10079.jpg
/home/nano/Desktop/images/08032025/18/38/image_08032025_18_38_35_10074.jpg
/home/nano/Desktop/images/08032025/18/38/image_08032025_18_38_25_10066.jpg
/home/nano/Desktop/images/08032025/18/38/image_08032025_18_38_15_10077.jpg
/home/nano/Desktop/images/08032025/18/37/image_08032025_18_38_05_10077.jpg
/home/nano/Desktop/images/08032025/18/37/image_08032025_18_37_55_10085.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341955172","1341955235","1341955381","1341955300","1341955266","1341955338"],"photo_ids_order":["1341955172","1341955235","1341955266","1341955300","1341955338","1341955381"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/e4601d00b52646e77cc28a5755d2d9cd.jpg","text":"TemporaryFile(/tmp/multipartBody8234966891391522649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741455603873,"filename":"image_08032025_18_38_45_10079.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/79627723d74ca73b1ec50cb1fb2bfb77.jpg","text":"TemporaryFile(/tmp/multipartBody8261846351029746369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741455603873,"filename":"image_08032025_18_38_35_10074.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/06da14c5e1f1eed456ae4d23a5c9318f.jpg","text":"TemporaryFile(/tmp/multipartBody1675681647975002326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741455603873,"filename":"image_08032025_18_37_55_10085.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/f6184eaa4ebe365d55abbc7e57f8fb43.jpg","text":"TemporaryFile(/tmp/multipartBody4615250523068707271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741455603873,"filename":"image_08032025_18_38_15_10077.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/b237ebb956419702d2405da9ed08d738.jpg","text":"TemporaryFile(/tmp/multipartBody4065620759451041500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741455603873,"filename":"image_08032025_18_38_25_10066.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/9da73cc4f4c9e007366be6162d54de85.jpg","text":"TemporaryFile(/tmp/multipartBody3541664367448288162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741455603873,"filename":"image_08032025_18_38_05_10077.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341955266","file1":"1341955235","file0":"1341955172","file4":"1341955338","file5":"1341955381","file3":"1341955300"},"map_files_photo_id_array":[{"photo_id":"1341955381","filename":"file5"},{"photo_id":"1341955266","filename":"file2"},{"photo_id":"1341955338","filename":"file4"},{"photo_id":"1341955235","filename":"file1"},{"photo_id":"1341955172","filename":"file0"},{"photo_id":"1341955300","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341955172":["hashtag1","hashtag2"]},{"1341955235":["hashtag1","hashtag2"]},{"1341955381":["hashtag1","hashtag2"]},{"1341955300":["hashtag1","hashtag2"]},{"1341955266":["hashtag1","hashtag2"]},{"1341955338":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341955172, 1341955235, 1341955381, 1341955300, 1341955266, 1341955338)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.737982988357544 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 18:40:03.265914
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/18/40/image_08032025_18_40_15_10092.jpg', 2), ('/home/nano/Desktop/images/08032025/18/39/image_08032025_18_39_46_10074.jpg', 2), ('/home/nano/Desktop/images/08032025/18/39/image_08032025_18_39_35_10073.jpg', 2), ('/home/nano/Desktop/images/08032025/18/39/image_08032025_18_39_25_10073.jpg', 2), ('/home/nano/Desktop/images/08032025/18/39/image_08032025_18_39_15_10071.jpg', 2), ('/home/nano/Desktop/images/08032025/18/38/image_08032025_18_39_05_10081.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/18/40/image_08032025_18_40_15_10092.jpg', '/home/nano/Desktop/images/08032025/18/39/image_08032025_18_39_46_10074.jpg', '/home/nano/Desktop/images/08032025/18/39/image_08032025_18_39_35_10073.jpg', '/home/nano/Desktop/images/08032025/18/39/image_08032025_18_39_25_10073.jpg', '/home/nano/Desktop/images/08032025/18/39/image_08032025_18_39_15_10071.jpg', '/home/nano/Desktop/images/08032025/18/38/image_08032025_18_39_05_10081.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/18/40/image_08032025_18_40_15_10092.jpg
/home/nano/Desktop/images/08032025/18/39/image_08032025_18_39_46_10074.jpg
/home/nano/Desktop/images/08032025/18/39/image_08032025_18_39_35_10073.jpg
/home/nano/Desktop/images/08032025/18/39/image_08032025_18_39_25_10073.jpg
/home/nano/Desktop/images/08032025/18/39/image_08032025_18_39_15_10071.jpg
/home/nano/Desktop/images/08032025/18/38/image_08032025_18_39_05_10081.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.3764810562133789 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 marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 18:40:32.761159
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/18/40/image_08032025_18_40_45_10063.jpg', 2), ('/home/nano/Desktop/images/08032025/18/40/image_08032025_18_40_35_10064.jpg', 2), ('/home/nano/Desktop/images/08032025/18/40/image_08032025_18_40_25_10066.jpg', 2), ('/home/nano/Desktop/images/08032025/18/40/image_08032025_18_40_15_10092.jpg', 2), ('/home/nano/Desktop/images/08032025/18/39/image_08032025_18_40_05_10079.jpg', 2), ('/home/nano/Desktop/images/08032025/18/39/image_08032025_18_39_55_9061.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/18/40/image_08032025_18_40_45_10063.jpg', '/home/nano/Desktop/images/08032025/18/40/image_08032025_18_40_35_10064.jpg', '/home/nano/Desktop/images/08032025/18/40/image_08032025_18_40_25_10066.jpg', '/home/nano/Desktop/images/08032025/18/40/image_08032025_18_40_15_10092.jpg', '/home/nano/Desktop/images/08032025/18/39/image_08032025_18_40_05_10079.jpg', '/home/nano/Desktop/images/08032025/18/39/image_08032025_18_39_55_9061.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/18/40/image_08032025_18_40_45_10063.jpg
/home/nano/Desktop/images/08032025/18/40/image_08032025_18_40_35_10064.jpg
/home/nano/Desktop/images/08032025/18/40/image_08032025_18_40_25_10066.jpg
/home/nano/Desktop/images/08032025/18/40/image_08032025_18_40_15_10092.jpg
/home/nano/Desktop/images/08032025/18/39/image_08032025_18_40_05_10079.jpg
/home/nano/Desktop/images/08032025/18/39/image_08032025_18_39_55_9061.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341955868","1341956201","1341956145","1341956037","1341955977","1341955908"],"photo_ids_order":["1341955868","1341955908","1341955977","1341956037","1341956145","1341956201"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/9f46e02d67058504c308affc4e566459.jpg","text":"TemporaryFile(/tmp/multipartBody760240516362440621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741455693277,"filename":"image_08032025_18_40_45_10063.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/2c1ac8f909a47fddb342dbf1a71fa3e2.jpg","text":"TemporaryFile(/tmp/multipartBody1361509583222236318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741455693277,"filename":"image_08032025_18_39_55_9061.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/00f95ee6c64f9ccd8fd7dab5abfc7826.jpg","text":"TemporaryFile(/tmp/multipartBody8101759675284301807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741455693277,"filename":"image_08032025_18_40_05_10079.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/09c9cc577c84528770c70f2cf366d361.jpg","text":"TemporaryFile(/tmp/multipartBody1046043848570809722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741455693277,"filename":"image_08032025_18_40_15_10092.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/bdd0911f3f7f986206ad187f21324529.jpg","text":"TemporaryFile(/tmp/multipartBody3627628188762331532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741455693277,"filename":"image_08032025_18_40_25_10066.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/79a9d4dc10282ea9fea097823ab59066.jpg","text":"TemporaryFile(/tmp/multipartBody2009976742557939068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741455693277,"filename":"image_08032025_18_40_35_10064.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341955977","file1":"1341955908","file0":"1341955868","file4":"1341956145","file5":"1341956201","file3":"1341956037"},"map_files_photo_id_array":[{"photo_id":"1341956201","filename":"file5"},{"photo_id":"1341955977","filename":"file2"},{"photo_id":"1341956145","filename":"file4"},{"photo_id":"1341955908","filename":"file1"},{"photo_id":"1341955868","filename":"file0"},{"photo_id":"1341956037","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341955868":["hashtag1","hashtag2"]},{"1341956201":["hashtag1","hashtag2"]},{"1341956145":["hashtag1","hashtag2"]},{"1341956037":["hashtag1","hashtag2"]},{"1341955977":["hashtag1","hashtag2"]},{"1341955908":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341955868, 1341956201, 1341956145, 1341956037, 1341955977, 1341955908)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.43324160575867 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 18:41:31.864479
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/18/41/image_08032025_18_41_45_10067.jpg', 2), ('/home/nano/Desktop/images/08032025/18/41/image_08032025_18_41_35_10068.jpg', 2), ('/home/nano/Desktop/images/08032025/18/41/image_08032025_18_41_25_10087.jpg', 2), ('/home/nano/Desktop/images/08032025/18/41/image_08032025_18_41_15_10085.jpg', 2), ('/home/nano/Desktop/images/08032025/18/40/image_08032025_18_41_05_10086.jpg', 2), ('/home/nano/Desktop/images/08032025/18/40/image_08032025_18_40_55_10091.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/18/41/image_08032025_18_41_45_10067.jpg', '/home/nano/Desktop/images/08032025/18/41/image_08032025_18_41_35_10068.jpg', '/home/nano/Desktop/images/08032025/18/41/image_08032025_18_41_25_10087.jpg', '/home/nano/Desktop/images/08032025/18/41/image_08032025_18_41_15_10085.jpg', '/home/nano/Desktop/images/08032025/18/40/image_08032025_18_41_05_10086.jpg', '/home/nano/Desktop/images/08032025/18/40/image_08032025_18_40_55_10091.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/18/41/image_08032025_18_41_45_10067.jpg
/home/nano/Desktop/images/08032025/18/41/image_08032025_18_41_35_10068.jpg
/home/nano/Desktop/images/08032025/18/41/image_08032025_18_41_25_10087.jpg
/home/nano/Desktop/images/08032025/18/41/image_08032025_18_41_15_10085.jpg
/home/nano/Desktop/images/08032025/18/40/image_08032025_18_41_05_10086.jpg
/home/nano/Desktop/images/08032025/18/40/image_08032025_18_40_55_10091.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341956849","1341956677","1341956608","1341956712","1341956777","1341956645"],"photo_ids_order":["1341956608","1341956645","1341956677","1341956712","1341956777","1341956849"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/15841066da2e0fda208cebae2fdded96.jpg","text":"TemporaryFile(/tmp/multipartBody916395327406848266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741455752325,"filename":"image_08032025_18_40_55_10091.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/75f607d36f848ebb81f5f00001706438.jpg","text":"TemporaryFile(/tmp/multipartBody6187600971294931894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741455752325,"filename":"image_08032025_18_41_25_10087.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/f09626545e56a55af08a736567fd3fbc.jpg","text":"TemporaryFile(/tmp/multipartBody6845023138400454548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741455752325,"filename":"image_08032025_18_41_45_10067.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/a6c80a0f791973d5bb4415f12352b09d.jpg","text":"TemporaryFile(/tmp/multipartBody7711764379766625694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741455752325,"filename":"image_08032025_18_41_15_10085.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/3a337ec24f2038bc6e9bea78f9105156.jpg","text":"TemporaryFile(/tmp/multipartBody7708467547536879405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741455752325,"filename":"image_08032025_18_41_05_10086.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/cd09133f36674bc4c3547d4b9b4789e4.jpg","text":"TemporaryFile(/tmp/multipartBody1048674338996551116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741455752325,"filename":"image_08032025_18_41_35_10068.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341956677","file1":"1341956645","file0":"1341956608","file4":"1341956777","file5":"1341956849","file3":"1341956712"},"map_files_photo_id_array":[{"photo_id":"1341956849","filename":"file5"},{"photo_id":"1341956677","filename":"file2"},{"photo_id":"1341956777","filename":"file4"},{"photo_id":"1341956645","filename":"file1"},{"photo_id":"1341956608","filename":"file0"},{"photo_id":"1341956712","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341956849":["hashtag1","hashtag2"]},{"1341956677":["hashtag1","hashtag2"]},{"1341956608":["hashtag1","hashtag2"]},{"1341956712":["hashtag1","hashtag2"]},{"1341956777":["hashtag1","hashtag2"]},{"1341956645":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341956849, 1341956677, 1341956608, 1341956712, 1341956777, 1341956645)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.21589922904968 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 18:42:31.996311
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/18/42/image_08032025_18_42_45_10076.jpg', 2), ('/home/nano/Desktop/images/08032025/18/42/image_08032025_18_42_35_10074.jpg', 2), ('/home/nano/Desktop/images/08032025/18/42/image_08032025_18_42_25_10095.jpg', 2), ('/home/nano/Desktop/images/08032025/18/42/image_08032025_18_42_15_10066.jpg', 2), ('/home/nano/Desktop/images/08032025/18/41/image_08032025_18_42_05_9065.jpg', 2), ('/home/nano/Desktop/images/08032025/18/41/image_08032025_18_41_56_10068.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/18/42/image_08032025_18_42_45_10076.jpg', '/home/nano/Desktop/images/08032025/18/42/image_08032025_18_42_35_10074.jpg', '/home/nano/Desktop/images/08032025/18/42/image_08032025_18_42_25_10095.jpg', '/home/nano/Desktop/images/08032025/18/42/image_08032025_18_42_15_10066.jpg', '/home/nano/Desktop/images/08032025/18/41/image_08032025_18_42_05_9065.jpg', '/home/nano/Desktop/images/08032025/18/41/image_08032025_18_41_56_10068.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/18/42/image_08032025_18_42_45_10076.jpg
/home/nano/Desktop/images/08032025/18/42/image_08032025_18_42_35_10074.jpg
/home/nano/Desktop/images/08032025/18/42/image_08032025_18_42_25_10095.jpg
/home/nano/Desktop/images/08032025/18/42/image_08032025_18_42_15_10066.jpg
/home/nano/Desktop/images/08032025/18/41/image_08032025_18_42_05_9065.jpg
/home/nano/Desktop/images/08032025/18/41/image_08032025_18_41_56_10068.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341957052","1341957057","1341957237","1341957048","1341957044","1341957020"],"photo_ids_order":["1341957020","1341957044","1341957048","1341957052","1341957057","1341957237"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/6038143599e4e4df740999d3b83c23d9.jpg","text":"TemporaryFile(/tmp/multipartBody4064678966801784590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741455812434,"filename":"image_08032025_18_42_15_10066.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/5544ad013801383effbd67afc07b57d0.jpg","text":"TemporaryFile(/tmp/multipartBody6633703640761111640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741455812434,"filename":"image_08032025_18_42_05_9065.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/702f54faec13366e3f3b7400eb34dbee.jpg","text":"TemporaryFile(/tmp/multipartBody7342537395344680988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741455812434,"filename":"image_08032025_18_41_56_10068.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/0071a74494b35986bb122b6de95911de.jpg","text":"TemporaryFile(/tmp/multipartBody4810331845039337361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741455812434,"filename":"image_08032025_18_42_25_10095.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/3b6f2f6836f4a7560a933178c612de12.jpg","text":"TemporaryFile(/tmp/multipartBody1556898278874224017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741455812434,"filename":"image_08032025_18_42_35_10074.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/03b1a2e9c9bf44f7acda04314192b843.jpg","text":"TemporaryFile(/tmp/multipartBody3460048665372614346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741455812434,"filename":"image_08032025_18_42_45_10076.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341957048","file1":"1341957044","file0":"1341957020","file4":"1341957057","file5":"1341957237","file3":"1341957052"},"map_files_photo_id_array":[{"photo_id":"1341957237","filename":"file5"},{"photo_id":"1341957048","filename":"file2"},{"photo_id":"1341957057","filename":"file4"},{"photo_id":"1341957044","filename":"file1"},{"photo_id":"1341957020","filename":"file0"},{"photo_id":"1341957052","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341957052":["hashtag1","hashtag2"]},{"1341957057":["hashtag1","hashtag2"]},{"1341957237":["hashtag1","hashtag2"]},{"1341957048":["hashtag1","hashtag2"]},{"1341957044":["hashtag1","hashtag2"]},{"1341957020":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341957052, 1341957057, 1341957237, 1341957048, 1341957044, 1341957020)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.889670848846436 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 18:43:32.081144
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/18/43/image_08032025_18_43_45_10100.jpg', 2), ('/home/nano/Desktop/images/08032025/18/43/image_08032025_18_43_35_10099.jpg', 2), ('/home/nano/Desktop/images/08032025/18/43/image_08032025_18_43_25_10070.jpg', 2), ('/home/nano/Desktop/images/08032025/18/43/image_08032025_18_43_15_10072.jpg', 2), ('/home/nano/Desktop/images/08032025/18/42/image_08032025_18_43_05_10080.jpg', 2), ('/home/nano/Desktop/images/08032025/18/42/image_08032025_18_42_55_10061.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/18/43/image_08032025_18_43_45_10100.jpg', '/home/nano/Desktop/images/08032025/18/43/image_08032025_18_43_35_10099.jpg', '/home/nano/Desktop/images/08032025/18/43/image_08032025_18_43_25_10070.jpg', '/home/nano/Desktop/images/08032025/18/43/image_08032025_18_43_15_10072.jpg', '/home/nano/Desktop/images/08032025/18/42/image_08032025_18_43_05_10080.jpg', '/home/nano/Desktop/images/08032025/18/42/image_08032025_18_42_55_10061.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/18/43/image_08032025_18_43_45_10100.jpg
/home/nano/Desktop/images/08032025/18/43/image_08032025_18_43_35_10099.jpg
/home/nano/Desktop/images/08032025/18/43/image_08032025_18_43_25_10070.jpg
/home/nano/Desktop/images/08032025/18/43/image_08032025_18_43_15_10072.jpg
/home/nano/Desktop/images/08032025/18/42/image_08032025_18_43_05_10080.jpg
/home/nano/Desktop/images/08032025/18/42/image_08032025_18_42_55_10061.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341957595","1341957724","1341957514","1341957897","1341957660","1341957804"],"photo_ids_order":["1341957514","1341957595","1341957660","1341957724","1341957804","1341957897"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/0b14adf79cf157407ba74de21c1fc9bb.jpg","text":"TemporaryFile(/tmp/multipartBody2269102897268005789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741455872557,"filename":"image_08032025_18_43_35_10099.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/efe008d8462f741034b03d7347a1a464.jpg","text":"TemporaryFile(/tmp/multipartBody418021886496834527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741455872557,"filename":"image_08032025_18_43_15_10072.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/618b25ceaf59fa8aabe2adcffcd15934.jpg","text":"TemporaryFile(/tmp/multipartBody2749374297036872094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741455872557,"filename":"image_08032025_18_43_45_10100.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/dd3294e0125dcee2d8da4f6b7c45fe3c.jpg","text":"TemporaryFile(/tmp/multipartBody2424490186877676016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741455872557,"filename":"image_08032025_18_42_55_10061.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/ac1d80a564f97e22753e2072329db731.jpg","text":"TemporaryFile(/tmp/multipartBody6583475095020133773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741455872557,"filename":"image_08032025_18_43_25_10070.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/0876f71aa94433c5176c61b31a4f0ab9.jpg","text":"TemporaryFile(/tmp/multipartBody1696833224327673898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741455872557,"filename":"image_08032025_18_43_05_10080.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341957660","file1":"1341957595","file0":"1341957514","file4":"1341957804","file5":"1341957897","file3":"1341957724"},"map_files_photo_id_array":[{"photo_id":"1341957897","filename":"file5"},{"photo_id":"1341957660","filename":"file2"},{"photo_id":"1341957804","filename":"file4"},{"photo_id":"1341957595","filename":"file1"},{"photo_id":"1341957514","filename":"file0"},{"photo_id":"1341957724","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341957595":["hashtag1","hashtag2"]},{"1341957724":["hashtag1","hashtag2"]},{"1341957514":["hashtag1","hashtag2"]},{"1341957897":["hashtag1","hashtag2"]},{"1341957660":["hashtag1","hashtag2"]},{"1341957804":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341957595, 1341957724, 1341957514, 1341957897, 1341957660, 1341957804)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.446954011917114 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 18:44:32.185463
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/18/44/image_08032025_18_44_45_10071.jpg', 2), ('/home/nano/Desktop/images/08032025/18/44/image_08032025_18_44_35_10067.jpg', 2), ('/home/nano/Desktop/images/08032025/18/44/image_08032025_18_44_25_10070.jpg', 2), ('/home/nano/Desktop/images/08032025/18/44/image_08032025_18_44_15_9059.jpg', 2), ('/home/nano/Desktop/images/08032025/18/43/image_08032025_18_44_06_10069.jpg', 2), ('/home/nano/Desktop/images/08032025/18/43/image_08032025_18_43_55_10067.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/18/44/image_08032025_18_44_45_10071.jpg', '/home/nano/Desktop/images/08032025/18/44/image_08032025_18_44_35_10067.jpg', '/home/nano/Desktop/images/08032025/18/44/image_08032025_18_44_25_10070.jpg', '/home/nano/Desktop/images/08032025/18/44/image_08032025_18_44_15_9059.jpg', '/home/nano/Desktop/images/08032025/18/43/image_08032025_18_44_06_10069.jpg', '/home/nano/Desktop/images/08032025/18/43/image_08032025_18_43_55_10067.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/18/44/image_08032025_18_44_45_10071.jpg
/home/nano/Desktop/images/08032025/18/44/image_08032025_18_44_35_10067.jpg
/home/nano/Desktop/images/08032025/18/44/image_08032025_18_44_25_10070.jpg
/home/nano/Desktop/images/08032025/18/44/image_08032025_18_44_15_9059.jpg
/home/nano/Desktop/images/08032025/18/43/image_08032025_18_44_06_10069.jpg
/home/nano/Desktop/images/08032025/18/43/image_08032025_18_43_55_10067.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341958618","1341958665","1341958413","1341958388","1341958556","1341958486"],"photo_ids_order":["1341958388","1341958413","1341958486","1341958556","1341958618","1341958665"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/a49762d7924cbdcdec18cc4555601bb1.jpg","text":"TemporaryFile(/tmp/multipartBody7076828167266395084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741455932640,"filename":"image_08032025_18_44_06_10069.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/62af7185ab1f7435ff1f3913054cea1d.jpg","text":"TemporaryFile(/tmp/multipartBody9074057230704891623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741455932640,"filename":"image_08032025_18_43_55_10067.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/94d32101de71f70eb32b988d2982dc7c.jpg","text":"TemporaryFile(/tmp/multipartBody2649678955350127255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741455932640,"filename":"image_08032025_18_44_35_10067.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/6de217ece0c9fb45fe27a5a705f65a65.jpg","text":"TemporaryFile(/tmp/multipartBody2812132679284527062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741455932640,"filename":"image_08032025_18_44_45_10071.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/41e0750a3b0952f1c5990a887b0d33fd.jpg","text":"TemporaryFile(/tmp/multipartBody7033487979254234877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741455932640,"filename":"image_08032025_18_44_15_9059.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/0678abe1a31ad516eabce8a7a653ca01.jpg","text":"TemporaryFile(/tmp/multipartBody7140424703909680693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741455932640,"filename":"image_08032025_18_44_25_10070.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341958486","file1":"1341958413","file0":"1341958388","file4":"1341958618","file5":"1341958665","file3":"1341958556"},"map_files_photo_id_array":[{"photo_id":"1341958665","filename":"file5"},{"photo_id":"1341958486","filename":"file2"},{"photo_id":"1341958618","filename":"file4"},{"photo_id":"1341958413","filename":"file1"},{"photo_id":"1341958388","filename":"file0"},{"photo_id":"1341958556","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341958618":["hashtag1","hashtag2"]},{"1341958665":["hashtag1","hashtag2"]},{"1341958413":["hashtag1","hashtag2"]},{"1341958388":["hashtag1","hashtag2"]},{"1341958556":["hashtag1","hashtag2"]},{"1341958486":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341958618, 1341958665, 1341958413, 1341958388, 1341958556, 1341958486)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.8986132144928 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 18:45:32.302055
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/18/45/image_08032025_18_45_45_10071.jpg', 2), ('/home/nano/Desktop/images/08032025/18/45/image_08032025_18_45_35_10075.jpg', 2), ('/home/nano/Desktop/images/08032025/18/45/image_08032025_18_45_25_10063.jpg', 2), ('/home/nano/Desktop/images/08032025/18/45/image_08032025_18_45_15_10067.jpg', 2), ('/home/nano/Desktop/images/08032025/18/44/image_08032025_18_45_05_10086.jpg', 2), ('/home/nano/Desktop/images/08032025/18/44/image_08032025_18_44_55_10068.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/18/45/image_08032025_18_45_45_10071.jpg', '/home/nano/Desktop/images/08032025/18/45/image_08032025_18_45_35_10075.jpg', '/home/nano/Desktop/images/08032025/18/45/image_08032025_18_45_25_10063.jpg', '/home/nano/Desktop/images/08032025/18/45/image_08032025_18_45_15_10067.jpg', '/home/nano/Desktop/images/08032025/18/44/image_08032025_18_45_05_10086.jpg', '/home/nano/Desktop/images/08032025/18/44/image_08032025_18_44_55_10068.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/18/45/image_08032025_18_45_45_10071.jpg
/home/nano/Desktop/images/08032025/18/45/image_08032025_18_45_35_10075.jpg
/home/nano/Desktop/images/08032025/18/45/image_08032025_18_45_25_10063.jpg
/home/nano/Desktop/images/08032025/18/45/image_08032025_18_45_15_10067.jpg
/home/nano/Desktop/images/08032025/18/44/image_08032025_18_45_05_10086.jpg
/home/nano/Desktop/images/08032025/18/44/image_08032025_18_44_55_10068.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341959100","1341959217","1341959129","1341959290","1341959293","1341959149"],"photo_ids_order":["1341959100","1341959129","1341959149","1341959217","1341959290","1341959293"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/94918d56d81a14bc25783879bda63fb8.jpg","text":"TemporaryFile(/tmp/multipartBody4755470304326646187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741455992757,"filename":"image_08032025_18_45_45_10071.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/fa67a9eb7848c1ee9947b026e3b776ec.jpg","text":"TemporaryFile(/tmp/multipartBody8047305571218488757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741455992757,"filename":"image_08032025_18_45_15_10067.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/47aa4e4d7cdc21df3bf7c8d0829cb8a3.jpg","text":"TemporaryFile(/tmp/multipartBody7522970102850847472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741455992757,"filename":"image_08032025_18_45_35_10075.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/943c6fdb206a0faae8c3dcfca277d506.jpg","text":"TemporaryFile(/tmp/multipartBody4080787265802825472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741455992757,"filename":"image_08032025_18_45_05_10086.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/12e60e99d7120bc56a2e98828a5c9c73.jpg","text":"TemporaryFile(/tmp/multipartBody8864313727104003574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741455992757,"filename":"image_08032025_18_44_55_10068.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/ec8f37a362cc0bcf4b1d247e76008054.jpg","text":"TemporaryFile(/tmp/multipartBody416043902522389932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741455992757,"filename":"image_08032025_18_45_25_10063.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341959149","file1":"1341959129","file0":"1341959100","file4":"1341959290","file5":"1341959293","file3":"1341959217"},"map_files_photo_id_array":[{"photo_id":"1341959293","filename":"file5"},{"photo_id":"1341959149","filename":"file2"},{"photo_id":"1341959290","filename":"file4"},{"photo_id":"1341959129","filename":"file1"},{"photo_id":"1341959100","filename":"file0"},{"photo_id":"1341959217","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341959100":["hashtag1","hashtag2"]},{"1341959217":["hashtag1","hashtag2"]},{"1341959129":["hashtag1","hashtag2"]},{"1341959290":["hashtag1","hashtag2"]},{"1341959293":["hashtag1","hashtag2"]},{"1341959149":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341959100, 1341959217, 1341959129, 1341959290, 1341959293, 1341959149)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.97716498374939 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 18:46:32.400480
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/18/46/image_08032025_18_46_45_10066.jpg', 2), ('/home/nano/Desktop/images/08032025/18/46/image_08032025_18_46_35_9081.jpg', 2), ('/home/nano/Desktop/images/08032025/18/46/image_08032025_18_46_26_10095.jpg', 2), ('/home/nano/Desktop/images/08032025/18/46/image_08032025_18_46_15_10071.jpg', 2), ('/home/nano/Desktop/images/08032025/18/45/image_08032025_18_46_05_10073.jpg', 2), ('/home/nano/Desktop/images/08032025/18/45/image_08032025_18_45_55_10079.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/18/46/image_08032025_18_46_45_10066.jpg', '/home/nano/Desktop/images/08032025/18/46/image_08032025_18_46_35_9081.jpg', '/home/nano/Desktop/images/08032025/18/46/image_08032025_18_46_26_10095.jpg', '/home/nano/Desktop/images/08032025/18/46/image_08032025_18_46_15_10071.jpg', '/home/nano/Desktop/images/08032025/18/45/image_08032025_18_46_05_10073.jpg', '/home/nano/Desktop/images/08032025/18/45/image_08032025_18_45_55_10079.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/18/46/image_08032025_18_46_45_10066.jpg
/home/nano/Desktop/images/08032025/18/46/image_08032025_18_46_35_9081.jpg
/home/nano/Desktop/images/08032025/18/46/image_08032025_18_46_26_10095.jpg
/home/nano/Desktop/images/08032025/18/46/image_08032025_18_46_15_10071.jpg
/home/nano/Desktop/images/08032025/18/45/image_08032025_18_46_05_10073.jpg
/home/nano/Desktop/images/08032025/18/45/image_08032025_18_45_55_10079.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341959469","1341959543","1341959501","1341959461","1341959443","1341959521"],"photo_ids_order":["1341959443","1341959461","1341959469","1341959501","1341959521","1341959543"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/9f5eff5976d81512ae9504d05083bfbd.jpg","text":"TemporaryFile(/tmp/multipartBody9084223683353569339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741456052857,"filename":"image_08032025_18_46_26_10095.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/83cf39a940f41a7e4b541abd359b5395.jpg","text":"TemporaryFile(/tmp/multipartBody7195422283066236575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741456052857,"filename":"image_08032025_18_45_55_10079.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/0b6e4a5560a34cbff7d628cb421b9e8c.jpg","text":"TemporaryFile(/tmp/multipartBody1406799970518471547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741456052857,"filename":"image_08032025_18_46_15_10071.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/a40c34d592bd32833558387904bcb38e.jpg","text":"TemporaryFile(/tmp/multipartBody2173399591958640217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741456052857,"filename":"image_08032025_18_46_35_9081.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/7a2669f66801404b5077e878838bb68d.jpg","text":"TemporaryFile(/tmp/multipartBody4626559375760525014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741456052857,"filename":"image_08032025_18_46_45_10066.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/76e8ffa5ea4350d75407c22defe642b3.jpg","text":"TemporaryFile(/tmp/multipartBody7443400018904916451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741456052857,"filename":"image_08032025_18_46_05_10073.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341959469","file1":"1341959461","file0":"1341959443","file4":"1341959521","file5":"1341959543","file3":"1341959501"},"map_files_photo_id_array":[{"photo_id":"1341959543","filename":"file5"},{"photo_id":"1341959469","filename":"file2"},{"photo_id":"1341959521","filename":"file4"},{"photo_id":"1341959461","filename":"file1"},{"photo_id":"1341959443","filename":"file0"},{"photo_id":"1341959501","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341959469":["hashtag1","hashtag2"]},{"1341959543":["hashtag1","hashtag2"]},{"1341959501":["hashtag1","hashtag2"]},{"1341959461":["hashtag1","hashtag2"]},{"1341959443":["hashtag1","hashtag2"]},{"1341959521":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341959469, 1341959543, 1341959501, 1341959461, 1341959443, 1341959521)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.31371283531189 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 18:47:32.530914
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/18/47/image_08032025_18_47_45_10067.jpg', 2), ('/home/nano/Desktop/images/08032025/18/47/image_08032025_18_47_35_10057.jpg', 2), ('/home/nano/Desktop/images/08032025/18/47/image_08032025_18_47_25_10068.jpg', 2), ('/home/nano/Desktop/images/08032025/18/47/image_08032025_18_47_15_10081.jpg', 2), ('/home/nano/Desktop/images/08032025/18/46/image_08032025_18_47_05_10076.jpg', 2), ('/home/nano/Desktop/images/08032025/18/46/image_08032025_18_46_55_10083.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/18/47/image_08032025_18_47_45_10067.jpg', '/home/nano/Desktop/images/08032025/18/47/image_08032025_18_47_35_10057.jpg', '/home/nano/Desktop/images/08032025/18/47/image_08032025_18_47_25_10068.jpg', '/home/nano/Desktop/images/08032025/18/47/image_08032025_18_47_15_10081.jpg', '/home/nano/Desktop/images/08032025/18/46/image_08032025_18_47_05_10076.jpg', '/home/nano/Desktop/images/08032025/18/46/image_08032025_18_46_55_10083.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/18/47/image_08032025_18_47_45_10067.jpg
/home/nano/Desktop/images/08032025/18/47/image_08032025_18_47_35_10057.jpg
/home/nano/Desktop/images/08032025/18/47/image_08032025_18_47_25_10068.jpg
/home/nano/Desktop/images/08032025/18/47/image_08032025_18_47_15_10081.jpg
/home/nano/Desktop/images/08032025/18/46/image_08032025_18_47_05_10076.jpg
/home/nano/Desktop/images/08032025/18/46/image_08032025_18_46_55_10083.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341959904","1341959843","1341959867","1341959880","1341959796","1341959883"],"photo_ids_order":["1341959796","1341959843","1341959867","1341959880","1341959883","1341959904"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/d07ad271e4f9e71e08d0e66680f7d4ac.jpg","text":"TemporaryFile(/tmp/multipartBody7814105823420828733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741456112982,"filename":"image_08032025_18_46_55_10083.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/e64daacfab2bf8ac0a337c606e762120.jpg","text":"TemporaryFile(/tmp/multipartBody3394277650364850601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741456112982,"filename":"image_08032025_18_47_35_10057.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/5d2f73f271eb4699b7a55076d53698ff.jpg","text":"TemporaryFile(/tmp/multipartBody1067111157763810840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741456112982,"filename":"image_08032025_18_47_25_10068.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/8f04294cf5439f003874c70c6358c753.jpg","text":"TemporaryFile(/tmp/multipartBody3122779727187626988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741456112982,"filename":"image_08032025_18_47_15_10081.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/e1c54bc142e435c2b27d241a7519f206.jpg","text":"TemporaryFile(/tmp/multipartBody3052839824767319752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741456112982,"filename":"image_08032025_18_47_45_10067.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/21e5e91061e7db420811ba188e64ef23.jpg","text":"TemporaryFile(/tmp/multipartBody1304368751646435565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741456112982,"filename":"image_08032025_18_47_05_10076.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341959867","file1":"1341959843","file0":"1341959796","file4":"1341959883","file5":"1341959904","file3":"1341959880"},"map_files_photo_id_array":[{"photo_id":"1341959904","filename":"file5"},{"photo_id":"1341959867","filename":"file2"},{"photo_id":"1341959883","filename":"file4"},{"photo_id":"1341959843","filename":"file1"},{"photo_id":"1341959796","filename":"file0"},{"photo_id":"1341959880","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341959904":["hashtag1","hashtag2"]},{"1341959843":["hashtag1","hashtag2"]},{"1341959867":["hashtag1","hashtag2"]},{"1341959880":["hashtag1","hashtag2"]},{"1341959796":["hashtag1","hashtag2"]},{"1341959883":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341959904, 1341959843, 1341959867, 1341959880, 1341959796, 1341959883)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.02448296546936 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 18:48:32.619909
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/18/48/image_08032025_18_48_46_10059.jpg', 2), ('/home/nano/Desktop/images/08032025/18/48/image_08032025_18_48_35_10058.jpg', 2), ('/home/nano/Desktop/images/08032025/18/48/image_08032025_18_48_25_10059.jpg', 2), ('/home/nano/Desktop/images/08032025/18/48/image_08032025_18_48_15_10059.jpg', 2), ('/home/nano/Desktop/images/08032025/18/47/image_08032025_18_48_05_10084.jpg', 2), ('/home/nano/Desktop/images/08032025/18/47/image_08032025_18_47_55_10059.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/18/48/image_08032025_18_48_46_10059.jpg', '/home/nano/Desktop/images/08032025/18/48/image_08032025_18_48_35_10058.jpg', '/home/nano/Desktop/images/08032025/18/48/image_08032025_18_48_25_10059.jpg', '/home/nano/Desktop/images/08032025/18/48/image_08032025_18_48_15_10059.jpg', '/home/nano/Desktop/images/08032025/18/47/image_08032025_18_48_05_10084.jpg', '/home/nano/Desktop/images/08032025/18/47/image_08032025_18_47_55_10059.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/18/48/image_08032025_18_48_46_10059.jpg
/home/nano/Desktop/images/08032025/18/48/image_08032025_18_48_35_10058.jpg
/home/nano/Desktop/images/08032025/18/48/image_08032025_18_48_25_10059.jpg
/home/nano/Desktop/images/08032025/18/48/image_08032025_18_48_15_10059.jpg
/home/nano/Desktop/images/08032025/18/47/image_08032025_18_48_05_10084.jpg
/home/nano/Desktop/images/08032025/18/47/image_08032025_18_47_55_10059.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341960205","1341960231","1341960098","1341960176","1341960046","1341960148"],"photo_ids_order":["1341960046","1341960098","1341960148","1341960176","1341960205","1341960231"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/2598ba13b7106ef766964880eb77fff3.jpg","text":"TemporaryFile(/tmp/multipartBody585608240185792398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741456173055,"filename":"image_08032025_18_48_05_10084.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/1e2df1dbc199b59ac66af68ba1430cac.jpg","text":"TemporaryFile(/tmp/multipartBody5289013739531409548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741456173055,"filename":"image_08032025_18_47_55_10059.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/4ca12d746daeef11d28587fa566589c5.jpg","text":"TemporaryFile(/tmp/multipartBody4972620219433499324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741456173055,"filename":"image_08032025_18_48_35_10058.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/afbbf98a54902ce381751c0740e9941a.jpg","text":"TemporaryFile(/tmp/multipartBody1092980080476206173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741456173055,"filename":"image_08032025_18_48_15_10059.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/f54856292365ef96c0f510130cda547a.jpg","text":"TemporaryFile(/tmp/multipartBody2634585217235571738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741456173055,"filename":"image_08032025_18_48_46_10059.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/ca4ae483fd833e22d127b7c6ed8c2008.jpg","text":"TemporaryFile(/tmp/multipartBody2578351952072795022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741456173055,"filename":"image_08032025_18_48_25_10059.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341960148","file1":"1341960098","file0":"1341960046","file4":"1341960205","file5":"1341960231","file3":"1341960176"},"map_files_photo_id_array":[{"photo_id":"1341960231","filename":"file5"},{"photo_id":"1341960148","filename":"file2"},{"photo_id":"1341960205","filename":"file4"},{"photo_id":"1341960098","filename":"file1"},{"photo_id":"1341960046","filename":"file0"},{"photo_id":"1341960176","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341960205":["hashtag1","hashtag2"]},{"1341960231":["hashtag1","hashtag2"]},{"1341960098":["hashtag1","hashtag2"]},{"1341960176":["hashtag1","hashtag2"]},{"1341960046":["hashtag1","hashtag2"]},{"1341960148":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341960205, 1341960231, 1341960098, 1341960176, 1341960046, 1341960148)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.7972993850708 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 18:49:32.721352
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/18/49/image_08032025_18_49_45_10061.jpg', 2), ('/home/nano/Desktop/images/08032025/18/49/image_08032025_18_49_35_10061.jpg', 2), ('/home/nano/Desktop/images/08032025/18/49/image_08032025_18_49_25_10094.jpg', 2), ('/home/nano/Desktop/images/08032025/18/49/image_08032025_18_49_15_10067.jpg', 2), ('/home/nano/Desktop/images/08032025/18/48/image_08032025_18_49_05_10064.jpg', 2), ('/home/nano/Desktop/images/08032025/18/48/image_08032025_18_48_55_9063.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/18/49/image_08032025_18_49_45_10061.jpg', '/home/nano/Desktop/images/08032025/18/49/image_08032025_18_49_35_10061.jpg', '/home/nano/Desktop/images/08032025/18/49/image_08032025_18_49_25_10094.jpg', '/home/nano/Desktop/images/08032025/18/49/image_08032025_18_49_15_10067.jpg', '/home/nano/Desktop/images/08032025/18/48/image_08032025_18_49_05_10064.jpg', '/home/nano/Desktop/images/08032025/18/48/image_08032025_18_48_55_9063.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/18/49/image_08032025_18_49_45_10061.jpg
/home/nano/Desktop/images/08032025/18/49/image_08032025_18_49_35_10061.jpg
/home/nano/Desktop/images/08032025/18/49/image_08032025_18_49_25_10094.jpg
/home/nano/Desktop/images/08032025/18/49/image_08032025_18_49_15_10067.jpg
/home/nano/Desktop/images/08032025/18/48/image_08032025_18_49_05_10064.jpg
/home/nano/Desktop/images/08032025/18/48/image_08032025_18_48_55_9063.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341960804","1341960707","1341960629","1341960602","1341960760","1341960544"],"photo_ids_order":["1341960544","1341960602","1341960629","1341960707","1341960760","1341960804"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/3722a6fe11093c3942876a07d1517d2b.jpg","text":"TemporaryFile(/tmp/multipartBody343064742620926319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741456233181,"filename":"image_08032025_18_48_55_9063.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/3504617106398ea6b39e907a0a290341.jpg","text":"TemporaryFile(/tmp/multipartBody3467546376023178185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741456233181,"filename":"image_08032025_18_49_15_10067.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/5a17b04ad193660cbd62e8df5eb16f00.jpg","text":"TemporaryFile(/tmp/multipartBody7859822687457046651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741456233181,"filename":"image_08032025_18_49_25_10094.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/6b1e7b0dfca3d0c48a23adb166e243b8.jpg","text":"TemporaryFile(/tmp/multipartBody6867394702368654576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741456233181,"filename":"image_08032025_18_49_35_10061.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/5df5415a716f472b3609e48db5892eaa.jpg","text":"TemporaryFile(/tmp/multipartBody2272444112295570488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741456233181,"filename":"image_08032025_18_49_05_10064.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/db6851fd2d8a9ab10a61272a5a0fa4a8.jpg","text":"TemporaryFile(/tmp/multipartBody3327572413953070623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741456233181,"filename":"image_08032025_18_49_45_10061.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341960629","file1":"1341960602","file0":"1341960544","file4":"1341960760","file5":"1341960804","file3":"1341960707"},"map_files_photo_id_array":[{"photo_id":"1341960804","filename":"file5"},{"photo_id":"1341960629","filename":"file2"},{"photo_id":"1341960760","filename":"file4"},{"photo_id":"1341960602","filename":"file1"},{"photo_id":"1341960544","filename":"file0"},{"photo_id":"1341960707","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341960804":["hashtag1","hashtag2"]},{"1341960707":["hashtag1","hashtag2"]},{"1341960629":["hashtag1","hashtag2"]},{"1341960602":["hashtag1","hashtag2"]},{"1341960760":["hashtag1","hashtag2"]},{"1341960544":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341960804, 1341960707, 1341960629, 1341960602, 1341960760, 1341960544)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.32930326461792 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 18:50:31.814564
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/18/50/image_08032025_18_50_45_10067.jpg', 2), ('/home/nano/Desktop/images/08032025/18/50/image_08032025_18_50_35_10057.jpg', 2), ('/home/nano/Desktop/images/08032025/18/50/image_08032025_18_50_25_10096.jpg', 2), ('/home/nano/Desktop/images/08032025/18/50/image_08032025_18_50_15_10055.jpg', 2), ('/home/nano/Desktop/images/08032025/18/49/image_08032025_18_50_05_10068.jpg', 2), ('/home/nano/Desktop/images/08032025/18/49/image_08032025_18_49_55_10063.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/18/50/image_08032025_18_50_45_10067.jpg', '/home/nano/Desktop/images/08032025/18/50/image_08032025_18_50_35_10057.jpg', '/home/nano/Desktop/images/08032025/18/50/image_08032025_18_50_25_10096.jpg', '/home/nano/Desktop/images/08032025/18/50/image_08032025_18_50_15_10055.jpg', '/home/nano/Desktop/images/08032025/18/49/image_08032025_18_50_05_10068.jpg', '/home/nano/Desktop/images/08032025/18/49/image_08032025_18_49_55_10063.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/18/50/image_08032025_18_50_45_10067.jpg
/home/nano/Desktop/images/08032025/18/50/image_08032025_18_50_35_10057.jpg
/home/nano/Desktop/images/08032025/18/50/image_08032025_18_50_25_10096.jpg
/home/nano/Desktop/images/08032025/18/50/image_08032025_18_50_15_10055.jpg
/home/nano/Desktop/images/08032025/18/49/image_08032025_18_50_05_10068.jpg
/home/nano/Desktop/images/08032025/18/49/image_08032025_18_49_55_10063.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341961224","1341961412","1341961202","1341961360","1341961261","1341961290"],"photo_ids_order":["1341961202","1341961224","1341961261","1341961290","1341961360","1341961412"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/88eb866edc6919bf8d050486dfdd661d.jpg","text":"TemporaryFile(/tmp/multipartBody1779825828197605978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741456292267,"filename":"image_08032025_18_50_35_10057.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/3bc18645031c9ee07b9d9022bfc31642.jpg","text":"TemporaryFile(/tmp/multipartBody7135122467733188983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741456292267,"filename":"image_08032025_18_49_55_10063.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/b35b4268a7a0eb49cc750edc8f9a726e.jpg","text":"TemporaryFile(/tmp/multipartBody3818458413365443931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741456292267,"filename":"image_08032025_18_50_45_10067.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/e8d7798d493916cb96b0c1cc17a87077.jpg","text":"TemporaryFile(/tmp/multipartBody3358391713996110743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741456292267,"filename":"image_08032025_18_50_05_10068.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/2a7d5323e9a99e9ae18aed7f9248d182.jpg","text":"TemporaryFile(/tmp/multipartBody7440851355702039948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741456292267,"filename":"image_08032025_18_50_25_10096.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/6aa81c86084a9d44d9f8e2f971e1c47c.jpg","text":"TemporaryFile(/tmp/multipartBody8925189309249439030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741456292267,"filename":"image_08032025_18_50_15_10055.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341961261","file1":"1341961224","file0":"1341961202","file4":"1341961360","file5":"1341961412","file3":"1341961290"},"map_files_photo_id_array":[{"photo_id":"1341961412","filename":"file5"},{"photo_id":"1341961261","filename":"file2"},{"photo_id":"1341961360","filename":"file4"},{"photo_id":"1341961224","filename":"file1"},{"photo_id":"1341961202","filename":"file0"},{"photo_id":"1341961290","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341961224":["hashtag1","hashtag2"]},{"1341961412":["hashtag1","hashtag2"]},{"1341961202":["hashtag1","hashtag2"]},{"1341961360":["hashtag1","hashtag2"]},{"1341961261":["hashtag1","hashtag2"]},{"1341961290":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341961224, 1341961412, 1341961202, 1341961360, 1341961261, 1341961290)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.85557246208191 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 18:51:31.945642
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/18/51/image_08032025_18_51_45_10055.jpg', 2), ('/home/nano/Desktop/images/08032025/18/51/image_08032025_18_51_35_10059.jpg', 2), ('/home/nano/Desktop/images/08032025/18/51/image_08032025_18_51_25_9046.jpg', 2), ('/home/nano/Desktop/images/08032025/18/51/image_08032025_18_51_16_10053.jpg', 2), ('/home/nano/Desktop/images/08032025/18/50/image_08032025_18_51_06_10076.jpg', 2), ('/home/nano/Desktop/images/08032025/18/50/image_08032025_18_50_55_10062.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/18/51/image_08032025_18_51_45_10055.jpg', '/home/nano/Desktop/images/08032025/18/51/image_08032025_18_51_35_10059.jpg', '/home/nano/Desktop/images/08032025/18/51/image_08032025_18_51_25_9046.jpg', '/home/nano/Desktop/images/08032025/18/51/image_08032025_18_51_16_10053.jpg', '/home/nano/Desktop/images/08032025/18/50/image_08032025_18_51_06_10076.jpg', '/home/nano/Desktop/images/08032025/18/50/image_08032025_18_50_55_10062.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/18/51/image_08032025_18_51_45_10055.jpg
/home/nano/Desktop/images/08032025/18/51/image_08032025_18_51_35_10059.jpg
/home/nano/Desktop/images/08032025/18/51/image_08032025_18_51_25_9046.jpg
/home/nano/Desktop/images/08032025/18/51/image_08032025_18_51_16_10053.jpg
/home/nano/Desktop/images/08032025/18/50/image_08032025_18_51_06_10076.jpg
/home/nano/Desktop/images/08032025/18/50/image_08032025_18_50_55_10062.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341961758","1341961693","1341961811","1341961642","1341961717","1341961668"],"photo_ids_order":["1341961642","1341961668","1341961693","1341961717","1341961758","1341961811"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/4db221cffaaf8b3c0b54330d3b254b5f.jpg","text":"TemporaryFile(/tmp/multipartBody6258714556068690943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741456352387,"filename":"image_08032025_18_51_06_10076.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/3f9a2625adeff3aeb3246b45aadacca0.jpg","text":"TemporaryFile(/tmp/multipartBody5356081314048122021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741456352387,"filename":"image_08032025_18_51_25_9046.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/4a6431a23b793c04111f74fc90141906.jpg","text":"TemporaryFile(/tmp/multipartBody4860814887702136487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741456352387,"filename":"image_08032025_18_50_55_10062.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/f60204af68e6053ec42b454eb5ee6e6f.jpg","text":"TemporaryFile(/tmp/multipartBody2914742213342188586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741456352387,"filename":"image_08032025_18_51_45_10055.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/8df33b9e4981c2e1b1e701de9ed0504d.jpg","text":"TemporaryFile(/tmp/multipartBody8860234870291932717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741456352387,"filename":"image_08032025_18_51_16_10053.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/4577c3bb884d661dddea9ae241576366.jpg","text":"TemporaryFile(/tmp/multipartBody6849981061258007655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741456352387,"filename":"image_08032025_18_51_35_10059.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341961693","file1":"1341961668","file0":"1341961642","file4":"1341961758","file5":"1341961811","file3":"1341961717"},"map_files_photo_id_array":[{"photo_id":"1341961811","filename":"file5"},{"photo_id":"1341961693","filename":"file2"},{"photo_id":"1341961758","filename":"file4"},{"photo_id":"1341961668","filename":"file1"},{"photo_id":"1341961642","filename":"file0"},{"photo_id":"1341961717","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341961758":["hashtag1","hashtag2"]},{"1341961693":["hashtag1","hashtag2"]},{"1341961811":["hashtag1","hashtag2"]},{"1341961642":["hashtag1","hashtag2"]},{"1341961717":["hashtag1","hashtag2"]},{"1341961668":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341961758, 1341961693, 1341961811, 1341961642, 1341961717, 1341961668)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.224066972732544 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 18:52:32.052524
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/18/52/image_08032025_18_52_45_10059.jpg', 2), ('/home/nano/Desktop/images/08032025/18/52/image_08032025_18_52_35_10060.jpg', 2), ('/home/nano/Desktop/images/08032025/18/52/image_08032025_18_52_25_10054.jpg', 2), ('/home/nano/Desktop/images/08032025/18/52/image_08032025_18_52_15_10055.jpg', 2), ('/home/nano/Desktop/images/08032025/18/51/image_08032025_18_52_05_10094.jpg', 2), ('/home/nano/Desktop/images/08032025/18/51/image_08032025_18_51_55_10075.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/18/52/image_08032025_18_52_45_10059.jpg', '/home/nano/Desktop/images/08032025/18/52/image_08032025_18_52_35_10060.jpg', '/home/nano/Desktop/images/08032025/18/52/image_08032025_18_52_25_10054.jpg', '/home/nano/Desktop/images/08032025/18/52/image_08032025_18_52_15_10055.jpg', '/home/nano/Desktop/images/08032025/18/51/image_08032025_18_52_05_10094.jpg', '/home/nano/Desktop/images/08032025/18/51/image_08032025_18_51_55_10075.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/18/52/image_08032025_18_52_45_10059.jpg
/home/nano/Desktop/images/08032025/18/52/image_08032025_18_52_35_10060.jpg
/home/nano/Desktop/images/08032025/18/52/image_08032025_18_52_25_10054.jpg
/home/nano/Desktop/images/08032025/18/52/image_08032025_18_52_15_10055.jpg
/home/nano/Desktop/images/08032025/18/51/image_08032025_18_52_05_10094.jpg
/home/nano/Desktop/images/08032025/18/51/image_08032025_18_51_55_10075.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341962657","1341962618","1341962778","1341962679","1341962602","1341962637"],"photo_ids_order":["1341962602","1341962618","1341962637","1341962657","1341962679","1341962778"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/44b6e0acf8d0c9f95eb65e0fd95e51a1.jpg","text":"TemporaryFile(/tmp/multipartBody8981080613939412169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741456412502,"filename":"image_08032025_18_52_15_10055.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/1fd594142c4019455ac730a04439f9a7.jpg","text":"TemporaryFile(/tmp/multipartBody2569286456543420848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741456412502,"filename":"image_08032025_18_52_35_10060.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/52f9ecb68434840b34e65df88c5eccdc.jpg","text":"TemporaryFile(/tmp/multipartBody987653400976550239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741456412502,"filename":"image_08032025_18_51_55_10075.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/e6362fffa98df70bf02d4186a798efa7.jpg","text":"TemporaryFile(/tmp/multipartBody5456090605399760982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741456412502,"filename":"image_08032025_18_52_05_10094.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/11bcbe65e12cf88a683d9978dad04903.jpg","text":"TemporaryFile(/tmp/multipartBody9204543324713096847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741456412502,"filename":"image_08032025_18_52_45_10059.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/f49fe18dd893c5206292c95e357e404a.jpg","text":"TemporaryFile(/tmp/multipartBody4231036183736407801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741456412502,"filename":"image_08032025_18_52_25_10054.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341962637","file1":"1341962618","file0":"1341962602","file4":"1341962679","file5":"1341962778","file3":"1341962657"},"map_files_photo_id_array":[{"photo_id":"1341962778","filename":"file5"},{"photo_id":"1341962637","filename":"file2"},{"photo_id":"1341962679","filename":"file4"},{"photo_id":"1341962618","filename":"file1"},{"photo_id":"1341962602","filename":"file0"},{"photo_id":"1341962657","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341962657":["hashtag1","hashtag2"]},{"1341962618":["hashtag1","hashtag2"]},{"1341962778":["hashtag1","hashtag2"]},{"1341962679":["hashtag1","hashtag2"]},{"1341962602":["hashtag1","hashtag2"]},{"1341962637":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341962657, 1341962618, 1341962778, 1341962679, 1341962602, 1341962637)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.96012997627258 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 18:53:32.167660
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/18/53/image_08032025_18_53_45_10056.jpg', 2), ('/home/nano/Desktop/images/08032025/18/53/image_08032025_18_53_35_10055.jpg', 2), ('/home/nano/Desktop/images/08032025/18/53/image_08032025_18_53_25_10054.jpg', 2), ('/home/nano/Desktop/images/08032025/18/53/image_08032025_18_53_15_10057.jpg', 2), ('/home/nano/Desktop/images/08032025/18/52/image_08032025_18_53_05_10078.jpg', 2), ('/home/nano/Desktop/images/08032025/18/52/image_08032025_18_52_55_10055.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/18/53/image_08032025_18_53_45_10056.jpg', '/home/nano/Desktop/images/08032025/18/53/image_08032025_18_53_35_10055.jpg', '/home/nano/Desktop/images/08032025/18/53/image_08032025_18_53_25_10054.jpg', '/home/nano/Desktop/images/08032025/18/53/image_08032025_18_53_15_10057.jpg', '/home/nano/Desktop/images/08032025/18/52/image_08032025_18_53_05_10078.jpg', '/home/nano/Desktop/images/08032025/18/52/image_08032025_18_52_55_10055.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/18/53/image_08032025_18_53_45_10056.jpg
/home/nano/Desktop/images/08032025/18/53/image_08032025_18_53_35_10055.jpg
/home/nano/Desktop/images/08032025/18/53/image_08032025_18_53_25_10054.jpg
/home/nano/Desktop/images/08032025/18/53/image_08032025_18_53_15_10057.jpg
/home/nano/Desktop/images/08032025/18/52/image_08032025_18_53_05_10078.jpg
/home/nano/Desktop/images/08032025/18/52/image_08032025_18_52_55_10055.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341962846","1341962831","1341962828","1341962839","1341962853","1341962835"],"photo_ids_order":["1341962828","1341962831","1341962835","1341962839","1341962846","1341962853"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/1c793ec06eceec35815e24c357e7f627.jpg","text":"TemporaryFile(/tmp/multipartBody5804564556547620404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741456472603,"filename":"image_08032025_18_53_05_10078.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/3bf723535c22b4ae5a068a7039772cd6.jpg","text":"TemporaryFile(/tmp/multipartBody2392951296763465240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741456472603,"filename":"image_08032025_18_53_35_10055.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/97a44cdf5de82ff83887db975125a8b1.jpg","text":"TemporaryFile(/tmp/multipartBody8817441375300350457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741456472603,"filename":"image_08032025_18_53_45_10056.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/ad460fd390d5c5dc5514d17293c000f9.jpg","text":"TemporaryFile(/tmp/multipartBody2661020432975732017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741456472603,"filename":"image_08032025_18_53_15_10057.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/cf6d008c2596d1cc68bdaedaaecda8d0.jpg","text":"TemporaryFile(/tmp/multipartBody6721771973810065226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741456472603,"filename":"image_08032025_18_52_55_10055.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/7931b7f6e50e0c8dc1ba11eca0d8b99d.jpg","text":"TemporaryFile(/tmp/multipartBody857144286176317055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741456472603,"filename":"image_08032025_18_53_25_10054.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341962835","file1":"1341962831","file0":"1341962828","file4":"1341962846","file5":"1341962853","file3":"1341962839"},"map_files_photo_id_array":[{"photo_id":"1341962853","filename":"file5"},{"photo_id":"1341962835","filename":"file2"},{"photo_id":"1341962846","filename":"file4"},{"photo_id":"1341962831","filename":"file1"},{"photo_id":"1341962828","filename":"file0"},{"photo_id":"1341962839","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341962846":["hashtag1","hashtag2"]},{"1341962831":["hashtag1","hashtag2"]},{"1341962828":["hashtag1","hashtag2"]},{"1341962839":["hashtag1","hashtag2"]},{"1341962853":["hashtag1","hashtag2"]},{"1341962835":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341962846, 1341962831, 1341962828, 1341962839, 1341962853, 1341962835)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.265185832977295 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 18:54:32.333651
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/18/54/image_08032025_18_54_45_10052.jpg', 2), ('/home/nano/Desktop/images/08032025/18/54/image_08032025_18_54_35_10044.jpg', 2), ('/home/nano/Desktop/images/08032025/18/54/image_08032025_18_54_25_10048.jpg', 2), ('/home/nano/Desktop/images/08032025/18/54/image_08032025_18_54_15_10052.jpg', 2), ('/home/nano/Desktop/images/08032025/18/53/image_08032025_18_54_05_9046.jpg', 2), ('/home/nano/Desktop/images/08032025/18/53/image_08032025_18_53_56_10084.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/18/54/image_08032025_18_54_45_10052.jpg', '/home/nano/Desktop/images/08032025/18/54/image_08032025_18_54_35_10044.jpg', '/home/nano/Desktop/images/08032025/18/54/image_08032025_18_54_25_10048.jpg', '/home/nano/Desktop/images/08032025/18/54/image_08032025_18_54_15_10052.jpg', '/home/nano/Desktop/images/08032025/18/53/image_08032025_18_54_05_9046.jpg', '/home/nano/Desktop/images/08032025/18/53/image_08032025_18_53_56_10084.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/18/54/image_08032025_18_54_45_10052.jpg
/home/nano/Desktop/images/08032025/18/54/image_08032025_18_54_35_10044.jpg
/home/nano/Desktop/images/08032025/18/54/image_08032025_18_54_25_10048.jpg
/home/nano/Desktop/images/08032025/18/54/image_08032025_18_54_15_10052.jpg
/home/nano/Desktop/images/08032025/18/53/image_08032025_18_54_05_9046.jpg
/home/nano/Desktop/images/08032025/18/53/image_08032025_18_53_56_10084.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341963076","1341963002","1341963051","1341963030","1341962973","1341962946"],"photo_ids_order":["1341962946","1341962973","1341963002","1341963030","1341963051","1341963076"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/c29f1e88898ff206c276c7ed6ef1de26.jpg","text":"TemporaryFile(/tmp/multipartBody3891466189079313445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741456532779,"filename":"image_08032025_18_53_56_10084.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/5a6cf812582e2342d0f2790a1565b73f.jpg","text":"TemporaryFile(/tmp/multipartBody5062112564250243292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741456532779,"filename":"image_08032025_18_54_25_10048.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/bef25e63bbbbbc72ee4bf50b2d6f586e.jpg","text":"TemporaryFile(/tmp/multipartBody6272324777625718918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741456532779,"filename":"image_08032025_18_54_05_9046.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/e1ec2dd8eecf161fd28f73b848c0b0f0.jpg","text":"TemporaryFile(/tmp/multipartBody4784255171091072051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741456532779,"filename":"image_08032025_18_54_15_10052.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/c8d9d14b3f537d28db56f7d65da0798c.jpg","text":"TemporaryFile(/tmp/multipartBody7264713200528303873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741456532779,"filename":"image_08032025_18_54_35_10044.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/15a1c77f631a4d7a8238e266ff70609c.jpg","text":"TemporaryFile(/tmp/multipartBody6449046373747733818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741456532779,"filename":"image_08032025_18_54_45_10052.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341963002","file1":"1341962973","file0":"1341962946","file4":"1341963051","file5":"1341963076","file3":"1341963030"},"map_files_photo_id_array":[{"photo_id":"1341963076","filename":"file5"},{"photo_id":"1341963002","filename":"file2"},{"photo_id":"1341963051","filename":"file4"},{"photo_id":"1341962973","filename":"file1"},{"photo_id":"1341962946","filename":"file0"},{"photo_id":"1341963030","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341963076":["hashtag1","hashtag2"]},{"1341963002":["hashtag1","hashtag2"]},{"1341963051":["hashtag1","hashtag2"]},{"1341963030":["hashtag1","hashtag2"]},{"1341962973":["hashtag1","hashtag2"]},{"1341962946":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341963076, 1341963002, 1341963051, 1341963030, 1341962973, 1341962946)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.47088408470154 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 18:55:32.457863
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/18/55/image_08032025_18_55_45_10055.jpg', 2), ('/home/nano/Desktop/images/08032025/18/55/image_08032025_18_55_35_10051.jpg', 2), ('/home/nano/Desktop/images/08032025/18/55/image_08032025_18_55_25_10061.jpg', 2), ('/home/nano/Desktop/images/08032025/18/55/image_08032025_18_55_15_10051.jpg', 2), ('/home/nano/Desktop/images/08032025/18/54/image_08032025_18_55_05_10056.jpg', 2), ('/home/nano/Desktop/images/08032025/18/54/image_08032025_18_54_55_10049.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/18/55/image_08032025_18_55_45_10055.jpg', '/home/nano/Desktop/images/08032025/18/55/image_08032025_18_55_35_10051.jpg', '/home/nano/Desktop/images/08032025/18/55/image_08032025_18_55_25_10061.jpg', '/home/nano/Desktop/images/08032025/18/55/image_08032025_18_55_15_10051.jpg', '/home/nano/Desktop/images/08032025/18/54/image_08032025_18_55_05_10056.jpg', '/home/nano/Desktop/images/08032025/18/54/image_08032025_18_54_55_10049.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/18/55/image_08032025_18_55_45_10055.jpg
/home/nano/Desktop/images/08032025/18/55/image_08032025_18_55_35_10051.jpg
/home/nano/Desktop/images/08032025/18/55/image_08032025_18_55_25_10061.jpg
/home/nano/Desktop/images/08032025/18/55/image_08032025_18_55_15_10051.jpg
/home/nano/Desktop/images/08032025/18/54/image_08032025_18_55_05_10056.jpg
/home/nano/Desktop/images/08032025/18/54/image_08032025_18_54_55_10049.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341963386","1341963275","1341963242","1341963330","1341963207","1341963362"],"photo_ids_order":["1341963207","1341963242","1341963275","1341963330","1341963362","1341963386"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/d41ef4970447c78a7f895c4ad44782c3.jpg","text":"TemporaryFile(/tmp/multipartBody7499588837836348536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741456592909,"filename":"image_08032025_18_54_55_10049.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/f95e9f5d93d2091f16d3b9a5a46b6ee0.jpg","text":"TemporaryFile(/tmp/multipartBody2796991878894249053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741456592909,"filename":"image_08032025_18_55_25_10061.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/ffab45a9a58e80580e0092dfb0c20a97.jpg","text":"TemporaryFile(/tmp/multipartBody1450619840449031434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741456592909,"filename":"image_08032025_18_55_35_10051.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/0363a81ed7d7eea5d7ff3a65f8b79fd1.jpg","text":"TemporaryFile(/tmp/multipartBody2716283922832126489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741456592909,"filename":"image_08032025_18_55_15_10051.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/e9087cb928a37dc6f4aabdbe2788863e.jpg","text":"TemporaryFile(/tmp/multipartBody5821803728375666958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741456592909,"filename":"image_08032025_18_55_45_10055.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/edee976ccb7260c8a227ac02790e17b7.jpg","text":"TemporaryFile(/tmp/multipartBody8499001309776974124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741456592909,"filename":"image_08032025_18_55_05_10056.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341963275","file1":"1341963242","file0":"1341963207","file4":"1341963362","file5":"1341963386","file3":"1341963330"},"map_files_photo_id_array":[{"photo_id":"1341963386","filename":"file5"},{"photo_id":"1341963275","filename":"file2"},{"photo_id":"1341963362","filename":"file4"},{"photo_id":"1341963242","filename":"file1"},{"photo_id":"1341963207","filename":"file0"},{"photo_id":"1341963330","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341963386":["hashtag1","hashtag2"]},{"1341963275":["hashtag1","hashtag2"]},{"1341963242":["hashtag1","hashtag2"]},{"1341963330":["hashtag1","hashtag2"]},{"1341963207":["hashtag1","hashtag2"]},{"1341963362":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341963386, 1341963275, 1341963242, 1341963330, 1341963207, 1341963362)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.98664927482605 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 18:56:32.572374
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/18/56/image_08032025_18_56_45_10050.jpg', 2), ('/home/nano/Desktop/images/08032025/18/56/image_08032025_18_56_35_10047.jpg', 2), ('/home/nano/Desktop/images/08032025/18/56/image_08032025_18_56_25_10060.jpg', 2), ('/home/nano/Desktop/images/08032025/18/56/image_08032025_18_56_15_10049.jpg', 2), ('/home/nano/Desktop/images/08032025/18/55/image_08032025_18_56_05_10061.jpg', 2), ('/home/nano/Desktop/images/08032025/18/55/image_08032025_18_55_55_10055.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/18/56/image_08032025_18_56_45_10050.jpg', '/home/nano/Desktop/images/08032025/18/56/image_08032025_18_56_35_10047.jpg', '/home/nano/Desktop/images/08032025/18/56/image_08032025_18_56_25_10060.jpg', '/home/nano/Desktop/images/08032025/18/56/image_08032025_18_56_15_10049.jpg', '/home/nano/Desktop/images/08032025/18/55/image_08032025_18_56_05_10061.jpg', '/home/nano/Desktop/images/08032025/18/55/image_08032025_18_55_55_10055.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/18/56/image_08032025_18_56_45_10050.jpg
/home/nano/Desktop/images/08032025/18/56/image_08032025_18_56_35_10047.jpg
/home/nano/Desktop/images/08032025/18/56/image_08032025_18_56_25_10060.jpg
/home/nano/Desktop/images/08032025/18/56/image_08032025_18_56_15_10049.jpg
/home/nano/Desktop/images/08032025/18/55/image_08032025_18_56_05_10061.jpg
/home/nano/Desktop/images/08032025/18/55/image_08032025_18_55_55_10055.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341963761","1341963842","1341963784","1341963865","1341963817","1341963893"],"photo_ids_order":["1341963761","1341963784","1341963817","1341963842","1341963865","1341963893"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/25899e3d79c1b8ae234a7f8644aa6364.jpg","text":"TemporaryFile(/tmp/multipartBody1076842884731727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741456653010,"filename":"image_08032025_18_56_45_10050.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/6e2019a76760f3373144fb40bea5a3a9.jpg","text":"TemporaryFile(/tmp/multipartBody9096832270721018253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741456653010,"filename":"image_08032025_18_56_15_10049.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/2335575a48a63108772edf58d13cabd8.jpg","text":"TemporaryFile(/tmp/multipartBody470892261613668967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741456653010,"filename":"image_08032025_18_56_35_10047.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/a1ce04afa568acedc49564475c14be2f.jpg","text":"TemporaryFile(/tmp/multipartBody4941493549634568736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741456653010,"filename":"image_08032025_18_56_05_10061.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/92002eb3660bbbcbb4f192a653305b6b.jpg","text":"TemporaryFile(/tmp/multipartBody2219548633534443270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741456653010,"filename":"image_08032025_18_56_25_10060.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/761b40b796e48439d82d2fd233f58c68.jpg","text":"TemporaryFile(/tmp/multipartBody4561127575578910244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741456653010,"filename":"image_08032025_18_55_55_10055.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341963817","file1":"1341963784","file0":"1341963761","file4":"1341963865","file5":"1341963893","file3":"1341963842"},"map_files_photo_id_array":[{"photo_id":"1341963893","filename":"file5"},{"photo_id":"1341963817","filename":"file2"},{"photo_id":"1341963865","filename":"file4"},{"photo_id":"1341963784","filename":"file1"},{"photo_id":"1341963761","filename":"file0"},{"photo_id":"1341963842","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341963761":["hashtag1","hashtag2"]},{"1341963842":["hashtag1","hashtag2"]},{"1341963784":["hashtag1","hashtag2"]},{"1341963865":["hashtag1","hashtag2"]},{"1341963817":["hashtag1","hashtag2"]},{"1341963893":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341963761, 1341963842, 1341963784, 1341963865, 1341963817, 1341963893)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.07851696014404 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 18:57:32.696425
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/18/57/image_08032025_18_57_45_10052.jpg', 2), ('/home/nano/Desktop/images/08032025/18/57/image_08032025_18_57_35_10052.jpg', 2), ('/home/nano/Desktop/images/08032025/18/57/image_08032025_18_57_25_10057.jpg', 2), ('/home/nano/Desktop/images/08032025/18/57/image_08032025_18_57_15_9039.jpg', 2), ('/home/nano/Desktop/images/08032025/18/56/image_08032025_18_57_06_10063.jpg', 2), ('/home/nano/Desktop/images/08032025/18/56/image_08032025_18_56_55_10041.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/18/57/image_08032025_18_57_45_10052.jpg', '/home/nano/Desktop/images/08032025/18/57/image_08032025_18_57_35_10052.jpg', '/home/nano/Desktop/images/08032025/18/57/image_08032025_18_57_25_10057.jpg', '/home/nano/Desktop/images/08032025/18/57/image_08032025_18_57_15_9039.jpg', '/home/nano/Desktop/images/08032025/18/56/image_08032025_18_57_06_10063.jpg', '/home/nano/Desktop/images/08032025/18/56/image_08032025_18_56_55_10041.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/18/57/image_08032025_18_57_45_10052.jpg
/home/nano/Desktop/images/08032025/18/57/image_08032025_18_57_35_10052.jpg
/home/nano/Desktop/images/08032025/18/57/image_08032025_18_57_25_10057.jpg
/home/nano/Desktop/images/08032025/18/57/image_08032025_18_57_15_9039.jpg
/home/nano/Desktop/images/08032025/18/56/image_08032025_18_57_06_10063.jpg
/home/nano/Desktop/images/08032025/18/56/image_08032025_18_56_55_10041.jpg
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 18:58:02.371014
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/18/58/image_08032025_18_58_35_10045.jpg', 2), ('/home/nano/Desktop/images/08032025/18/57/image_08032025_18_57_45_10052.jpg', 2), ('/home/nano/Desktop/images/08032025/18/57/image_08032025_18_57_35_10052.jpg', 2), ('/home/nano/Desktop/images/08032025/18/57/image_08032025_18_57_25_10057.jpg', 2), ('/home/nano/Desktop/images/08032025/18/57/image_08032025_18_57_15_9039.jpg', 2), ('/home/nano/Desktop/images/08032025/18/56/image_08032025_18_57_06_10063.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/18/58/image_08032025_18_58_35_10045.jpg', '/home/nano/Desktop/images/08032025/18/57/image_08032025_18_57_45_10052.jpg', '/home/nano/Desktop/images/08032025/18/57/image_08032025_18_57_35_10052.jpg', '/home/nano/Desktop/images/08032025/18/57/image_08032025_18_57_25_10057.jpg', '/home/nano/Desktop/images/08032025/18/57/image_08032025_18_57_15_9039.jpg', '/home/nano/Desktop/images/08032025/18/56/image_08032025_18_57_06_10063.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/18/58/image_08032025_18_58_35_10045.jpg
/home/nano/Desktop/images/08032025/18/57/image_08032025_18_57_45_10052.jpg
/home/nano/Desktop/images/08032025/18/57/image_08032025_18_57_35_10052.jpg
/home/nano/Desktop/images/08032025/18/57/image_08032025_18_57_25_10057.jpg
/home/nano/Desktop/images/08032025/18/57/image_08032025_18_57_15_9039.jpg
/home/nano/Desktop/images/08032025/18/56/image_08032025_18_57_06_10063.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341964495","1341964576","1341964645","1341964432","1341964528","1341964618"],"photo_ids_order":["1341964432","1341964495","1341964528","1341964576","1341964618","1341964645"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/0e15cb0d08053bb705210c0f588b4f19.jpg","text":"TemporaryFile(/tmp/multipartBody41166676689906670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741456742848,"filename":"image_08032025_18_57_45_10052.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/9ef614417c6e9d6b756f15bd70b3aa9a.jpg","text":"TemporaryFile(/tmp/multipartBody5343689334223415775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741456742848,"filename":"image_08032025_18_57_25_10057.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/c8ae0c8d1ccfdd33495b0c1a026a64f3.jpg","text":"TemporaryFile(/tmp/multipartBody1861960668614412067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741456742848,"filename":"image_08032025_18_57_06_10063.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/0497b297707ccf731208723666327804.jpg","text":"TemporaryFile(/tmp/multipartBody518847846069354971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741456742848,"filename":"image_08032025_18_58_35_10045.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/b59c7d6a218c484b32198e8d88d84f4a.jpg","text":"TemporaryFile(/tmp/multipartBody6405990895431121032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741456742848,"filename":"image_08032025_18_57_35_10052.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/f8cbee7cdf50939c1b396d5bb8006a83.jpg","text":"TemporaryFile(/tmp/multipartBody8144391524570505488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741456742848,"filename":"image_08032025_18_57_15_9039.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341964528","file1":"1341964495","file0":"1341964432","file4":"1341964618","file5":"1341964645","file3":"1341964576"},"map_files_photo_id_array":[{"photo_id":"1341964645","filename":"file5"},{"photo_id":"1341964528","filename":"file2"},{"photo_id":"1341964618","filename":"file4"},{"photo_id":"1341964495","filename":"file1"},{"photo_id":"1341964432","filename":"file0"},{"photo_id":"1341964576","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341964495":["hashtag1","hashtag2"]},{"1341964576":["hashtag1","hashtag2"]},{"1341964645":["hashtag1","hashtag2"]},{"1341964432":["hashtag1","hashtag2"]},{"1341964528":["hashtag1","hashtag2"]},{"1341964618":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341964495, 1341964576, 1341964645, 1341964432, 1341964528, 1341964618)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.073988914489746 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 18:59:02.937188
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/18/58/image_08032025_18_58_45_10048.jpg', 2), ('/home/nano/Desktop/images/08032025/18/58/image_08032025_18_58_25_10078.jpg', 2), ('/home/nano/Desktop/images/08032025/18/58/image_08032025_18_58_15_10072.jpg', 2), ('/home/nano/Desktop/images/08032025/18/57/image_08032025_18_58_05_10054.jpg', 2), ('/home/nano/Desktop/images/08032025/18/57/image_08032025_18_57_55_10047.jpg', 2), ('/home/nano/Desktop/images/08032025/18/56/image_08032025_18_56_55_10041.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/18/58/image_08032025_18_58_45_10048.jpg', '/home/nano/Desktop/images/08032025/18/58/image_08032025_18_58_25_10078.jpg', '/home/nano/Desktop/images/08032025/18/58/image_08032025_18_58_15_10072.jpg', '/home/nano/Desktop/images/08032025/18/57/image_08032025_18_58_05_10054.jpg', '/home/nano/Desktop/images/08032025/18/57/image_08032025_18_57_55_10047.jpg', '/home/nano/Desktop/images/08032025/18/56/image_08032025_18_56_55_10041.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/18/58/image_08032025_18_58_45_10048.jpg
/home/nano/Desktop/images/08032025/18/58/image_08032025_18_58_25_10078.jpg
/home/nano/Desktop/images/08032025/18/58/image_08032025_18_58_15_10072.jpg
/home/nano/Desktop/images/08032025/18/57/image_08032025_18_58_05_10054.jpg
/home/nano/Desktop/images/08032025/18/57/image_08032025_18_57_55_10047.jpg
/home/nano/Desktop/images/08032025/18/56/image_08032025_18_56_55_10041.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341965167","1341965062","1341965242","1341965345","1341965405","1341965296"],"photo_ids_order":["1341965062","1341965167","1341965242","1341965296","1341965345","1341965405"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/a7137141f4feb2b1b41d2098bc94aaad.jpg","text":"TemporaryFile(/tmp/multipartBody2064398943997871035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741456803387,"filename":"image_08032025_18_58_25_10078.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/9ce760d62345d20bcad9f4000186c624.jpg","text":"TemporaryFile(/tmp/multipartBody838192732193724673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741456803387,"filename":"image_08032025_18_58_45_10048.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/40cf7ba8cd81f6f9ed72cd77c97561bc.jpg","text":"TemporaryFile(/tmp/multipartBody4747595281950962179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741456803387,"filename":"image_08032025_18_58_15_10072.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/387247033b8b9b8537d29de6ac2c73b6.jpg","text":"TemporaryFile(/tmp/multipartBody7086272905004002343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741456803387,"filename":"image_08032025_18_57_55_10047.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/ae7747f7eabcfbde865f5ebaa5bf587a.jpg","text":"TemporaryFile(/tmp/multipartBody55303458740218625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741456803387,"filename":"image_08032025_18_56_55_10041.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/f0d969279e0a1a9ea8dfc637fbe39eb7.jpg","text":"TemporaryFile(/tmp/multipartBody1382227492548603380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741456803387,"filename":"image_08032025_18_58_05_10054.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341965242","file1":"1341965167","file0":"1341965062","file4":"1341965345","file5":"1341965405","file3":"1341965296"},"map_files_photo_id_array":[{"photo_id":"1341965405","filename":"file5"},{"photo_id":"1341965242","filename":"file2"},{"photo_id":"1341965345","filename":"file4"},{"photo_id":"1341965167","filename":"file1"},{"photo_id":"1341965062","filename":"file0"},{"photo_id":"1341965296","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341965167":["hashtag1","hashtag2"]},{"1341965062":["hashtag1","hashtag2"]},{"1341965242":["hashtag1","hashtag2"]},{"1341965345":["hashtag1","hashtag2"]},{"1341965405":["hashtag1","hashtag2"]},{"1341965296":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341965167, 1341965062, 1341965242, 1341965345, 1341965405, 1341965296)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.262221813201904 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 19:00:02.689824
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/18/59/image_08032025_18_59_45_10043.jpg', 2), ('/home/nano/Desktop/images/08032025/18/59/image_08032025_18_59_35_10045.jpg', 2), ('/home/nano/Desktop/images/08032025/18/59/image_08032025_18_59_25_10045.jpg', 2), ('/home/nano/Desktop/images/08032025/18/59/image_08032025_18_59_15_10041.jpg', 2), ('/home/nano/Desktop/images/08032025/18/58/image_08032025_18_59_05_10048.jpg', 2), ('/home/nano/Desktop/images/08032025/18/58/image_08032025_18_58_55_10072.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/18/59/image_08032025_18_59_45_10043.jpg', '/home/nano/Desktop/images/08032025/18/59/image_08032025_18_59_35_10045.jpg', '/home/nano/Desktop/images/08032025/18/59/image_08032025_18_59_25_10045.jpg', '/home/nano/Desktop/images/08032025/18/59/image_08032025_18_59_15_10041.jpg', '/home/nano/Desktop/images/08032025/18/58/image_08032025_18_59_05_10048.jpg', '/home/nano/Desktop/images/08032025/18/58/image_08032025_18_58_55_10072.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/18/59/image_08032025_18_59_45_10043.jpg
/home/nano/Desktop/images/08032025/18/59/image_08032025_18_59_35_10045.jpg
/home/nano/Desktop/images/08032025/18/59/image_08032025_18_59_25_10045.jpg
/home/nano/Desktop/images/08032025/18/59/image_08032025_18_59_15_10041.jpg
/home/nano/Desktop/images/08032025/18/58/image_08032025_18_59_05_10048.jpg
/home/nano/Desktop/images/08032025/18/58/image_08032025_18_58_55_10072.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.38254761695861816 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 marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 19:00:32.096078
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/19/00/image_08032025_19_00_45_10063.jpg', 2), ('/home/nano/Desktop/images/08032025/19/00/image_08032025_19_00_35_10045.jpg', 2), ('/home/nano/Desktop/images/08032025/19/00/image_08032025_19_00_25_9036.jpg', 2), ('/home/nano/Desktop/images/08032025/19/00/image_08032025_19_00_16_10044.jpg', 2), ('/home/nano/Desktop/images/08032025/18/59/image_08032025_19_00_06_10056.jpg', 2), ('/home/nano/Desktop/images/08032025/18/59/image_08032025_18_59_55_10049.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/19/00/image_08032025_19_00_45_10063.jpg', '/home/nano/Desktop/images/08032025/19/00/image_08032025_19_00_35_10045.jpg', '/home/nano/Desktop/images/08032025/19/00/image_08032025_19_00_25_9036.jpg', '/home/nano/Desktop/images/08032025/19/00/image_08032025_19_00_16_10044.jpg', '/home/nano/Desktop/images/08032025/18/59/image_08032025_19_00_06_10056.jpg', '/home/nano/Desktop/images/08032025/18/59/image_08032025_18_59_55_10049.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/19/00/image_08032025_19_00_45_10063.jpg
/home/nano/Desktop/images/08032025/19/00/image_08032025_19_00_35_10045.jpg
/home/nano/Desktop/images/08032025/19/00/image_08032025_19_00_25_9036.jpg
/home/nano/Desktop/images/08032025/19/00/image_08032025_19_00_16_10044.jpg
/home/nano/Desktop/images/08032025/18/59/image_08032025_19_00_06_10056.jpg
/home/nano/Desktop/images/08032025/18/59/image_08032025_18_59_55_10049.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341966195","1341966075","1341966161","1341966193","1341966166","1341966046"],"photo_ids_order":["1341966046","1341966075","1341966161","1341966166","1341966193","1341966195"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/669049053cf2fea3378b555d23ba1104.jpg","text":"TemporaryFile(/tmp/multipartBody1423052124056411153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741456892524,"filename":"image_08032025_18_59_55_10049.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/2203b421c669731d7b9bf639db69e226.jpg","text":"TemporaryFile(/tmp/multipartBody2464536165345559316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741456892524,"filename":"image_08032025_19_00_35_10045.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/1e49f2a2a91f1de4b98e1cd1bf75efac.jpg","text":"TemporaryFile(/tmp/multipartBody2197302438333712224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741456892524,"filename":"image_08032025_19_00_25_9036.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/491191fb739a6b6086efdef7bf58a2f6.jpg","text":"TemporaryFile(/tmp/multipartBody2104224873349973511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741456892524,"filename":"image_08032025_19_00_06_10056.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/05332c1d2864379b1e1cb10e397cbd8f.jpg","text":"TemporaryFile(/tmp/multipartBody3830166575465016013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741456892524,"filename":"image_08032025_19_00_16_10044.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/78bc46615c1076d5f2efd9e2f4c8e848.jpg","text":"TemporaryFile(/tmp/multipartBody3234828987551325125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741456892524,"filename":"image_08032025_19_00_45_10063.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341966161","file1":"1341966075","file0":"1341966046","file4":"1341966193","file5":"1341966195","file3":"1341966166"},"map_files_photo_id_array":[{"photo_id":"1341966195","filename":"file5"},{"photo_id":"1341966161","filename":"file2"},{"photo_id":"1341966193","filename":"file4"},{"photo_id":"1341966075","filename":"file1"},{"photo_id":"1341966046","filename":"file0"},{"photo_id":"1341966166","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341966195":["hashtag1","hashtag2"]},{"1341966075":["hashtag1","hashtag2"]},{"1341966161":["hashtag1","hashtag2"]},{"1341966193":["hashtag1","hashtag2"]},{"1341966166":["hashtag1","hashtag2"]},{"1341966046":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341966195, 1341966075, 1341966161, 1341966193, 1341966166, 1341966046)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.213356733322144 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 19:01:32.208904
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/19/01/image_08032025_19_01_45_10043.jpg', 2), ('/home/nano/Desktop/images/08032025/19/01/image_08032025_19_01_35_10038.jpg', 2), ('/home/nano/Desktop/images/08032025/19/01/image_08032025_19_01_25_10040.jpg', 2), ('/home/nano/Desktop/images/08032025/19/01/image_08032025_19_01_15_10046.jpg', 2), ('/home/nano/Desktop/images/08032025/19/00/image_08032025_19_01_05_10053.jpg', 2), ('/home/nano/Desktop/images/08032025/19/00/image_08032025_19_00_55_10050.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/19/01/image_08032025_19_01_45_10043.jpg', '/home/nano/Desktop/images/08032025/19/01/image_08032025_19_01_35_10038.jpg', '/home/nano/Desktop/images/08032025/19/01/image_08032025_19_01_25_10040.jpg', '/home/nano/Desktop/images/08032025/19/01/image_08032025_19_01_15_10046.jpg', '/home/nano/Desktop/images/08032025/19/00/image_08032025_19_01_05_10053.jpg', '/home/nano/Desktop/images/08032025/19/00/image_08032025_19_00_55_10050.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/19/01/image_08032025_19_01_45_10043.jpg
/home/nano/Desktop/images/08032025/19/01/image_08032025_19_01_35_10038.jpg
/home/nano/Desktop/images/08032025/19/01/image_08032025_19_01_25_10040.jpg
/home/nano/Desktop/images/08032025/19/01/image_08032025_19_01_15_10046.jpg
/home/nano/Desktop/images/08032025/19/00/image_08032025_19_01_05_10053.jpg
/home/nano/Desktop/images/08032025/19/00/image_08032025_19_00_55_10050.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341966474","1341966456","1341966491","1341966482","1341966408","1341966434"],"photo_ids_order":["1341966408","1341966434","1341966456","1341966474","1341966482","1341966491"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/0037d7252974325144c430da6bbbed63.jpg","text":"TemporaryFile(/tmp/multipartBody7839290753579334528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741456952643,"filename":"image_08032025_19_01_15_10046.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/e866964ef23b345546d7610612a4e444.jpg","text":"TemporaryFile(/tmp/multipartBody1470754954124288750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741456952643,"filename":"image_08032025_19_01_25_10040.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/e8807dd8d8e2c58840457b1f592a59b9.jpg","text":"TemporaryFile(/tmp/multipartBody3266206258756243447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741456952643,"filename":"image_08032025_19_00_55_10050.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/6aa3f277aa37f2a2e2be6343fffa2fa6.jpg","text":"TemporaryFile(/tmp/multipartBody5591463929636056089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741456952643,"filename":"image_08032025_19_01_05_10053.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/90d6bd551b6bbf428210ca4b8060cd94.jpg","text":"TemporaryFile(/tmp/multipartBody7212969578967395373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741456952643,"filename":"image_08032025_19_01_45_10043.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/5e1e9782f8ea14055e77650262c28fd1.jpg","text":"TemporaryFile(/tmp/multipartBody3771520891022221085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741456952643,"filename":"image_08032025_19_01_35_10038.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341966456","file1":"1341966434","file0":"1341966408","file4":"1341966482","file5":"1341966491","file3":"1341966474"},"map_files_photo_id_array":[{"photo_id":"1341966491","filename":"file5"},{"photo_id":"1341966456","filename":"file2"},{"photo_id":"1341966482","filename":"file4"},{"photo_id":"1341966434","filename":"file1"},{"photo_id":"1341966408","filename":"file0"},{"photo_id":"1341966474","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341966474":["hashtag1","hashtag2"]},{"1341966456":["hashtag1","hashtag2"]},{"1341966491":["hashtag1","hashtag2"]},{"1341966482":["hashtag1","hashtag2"]},{"1341966408":["hashtag1","hashtag2"]},{"1341966434":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341966474, 1341966456, 1341966491, 1341966482, 1341966408, 1341966434)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.57313013076782 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 19:02:32.308873
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/19/02/image_08032025_19_02_45_10058.jpg', 2), ('/home/nano/Desktop/images/08032025/19/02/image_08032025_19_02_35_10043.jpg', 2), ('/home/nano/Desktop/images/08032025/19/02/image_08032025_19_02_25_10033.jpg', 2), ('/home/nano/Desktop/images/08032025/19/02/image_08032025_19_02_15_10040.jpg', 2), ('/home/nano/Desktop/images/08032025/19/01/image_08032025_19_02_05_10059.jpg', 2), ('/home/nano/Desktop/images/08032025/19/01/image_08032025_19_01_55_10034.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/19/02/image_08032025_19_02_45_10058.jpg', '/home/nano/Desktop/images/08032025/19/02/image_08032025_19_02_35_10043.jpg', '/home/nano/Desktop/images/08032025/19/02/image_08032025_19_02_25_10033.jpg', '/home/nano/Desktop/images/08032025/19/02/image_08032025_19_02_15_10040.jpg', '/home/nano/Desktop/images/08032025/19/01/image_08032025_19_02_05_10059.jpg', '/home/nano/Desktop/images/08032025/19/01/image_08032025_19_01_55_10034.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/19/02/image_08032025_19_02_45_10058.jpg
/home/nano/Desktop/images/08032025/19/02/image_08032025_19_02_35_10043.jpg
/home/nano/Desktop/images/08032025/19/02/image_08032025_19_02_25_10033.jpg
/home/nano/Desktop/images/08032025/19/02/image_08032025_19_02_15_10040.jpg
/home/nano/Desktop/images/08032025/19/01/image_08032025_19_02_05_10059.jpg
/home/nano/Desktop/images/08032025/19/01/image_08032025_19_01_55_10034.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341966631","1341966678","1341966585","1341966758","1341966719","1341966556"],"photo_ids_order":["1341966556","1341966585","1341966631","1341966678","1341966719","1341966758"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/ff9c39465819ecb37963cf3131261408.jpg","text":"TemporaryFile(/tmp/multipartBody5481582334844168935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741457012753,"filename":"image_08032025_19_02_25_10033.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/aa818b6f07983252f4467df2bbab71a9.jpg","text":"TemporaryFile(/tmp/multipartBody6402635026912670476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741457012753,"filename":"image_08032025_19_02_15_10040.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/e410f811fb8f1b823770ed24156b4455.jpg","text":"TemporaryFile(/tmp/multipartBody4797516394028151132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741457012753,"filename":"image_08032025_19_02_35_10043.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/010326e4d9c8e713953d94d6ad68ace1.jpg","text":"TemporaryFile(/tmp/multipartBody3085238987589153584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741457012753,"filename":"image_08032025_19_01_55_10034.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/10d6084943543bc53b19cfa9635e9d6e.jpg","text":"TemporaryFile(/tmp/multipartBody5103080958176519394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741457012753,"filename":"image_08032025_19_02_05_10059.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/9fddd8efa55c9fc4fef790a4f87bd7ce.jpg","text":"TemporaryFile(/tmp/multipartBody8933412738872926696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741457012753,"filename":"image_08032025_19_02_45_10058.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341966631","file1":"1341966585","file0":"1341966556","file4":"1341966719","file5":"1341966758","file3":"1341966678"},"map_files_photo_id_array":[{"photo_id":"1341966758","filename":"file5"},{"photo_id":"1341966631","filename":"file2"},{"photo_id":"1341966719","filename":"file4"},{"photo_id":"1341966585","filename":"file1"},{"photo_id":"1341966556","filename":"file0"},{"photo_id":"1341966678","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341966631":["hashtag1","hashtag2"]},{"1341966678":["hashtag1","hashtag2"]},{"1341966585":["hashtag1","hashtag2"]},{"1341966758":["hashtag1","hashtag2"]},{"1341966719":["hashtag1","hashtag2"]},{"1341966556":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341966631, 1341966678, 1341966585, 1341966758, 1341966719, 1341966556)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.518898725509644 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 19:03:32.404278
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/19/03/image_08032025_19_03_46_10043.jpg', 2), ('/home/nano/Desktop/images/08032025/19/03/image_08032025_19_03_36_10061.jpg', 2), ('/home/nano/Desktop/images/08032025/19/03/image_08032025_19_03_25_10058.jpg', 2), ('/home/nano/Desktop/images/08032025/19/03/image_08032025_19_03_15_10047.jpg', 2), ('/home/nano/Desktop/images/08032025/19/02/image_08032025_19_03_05_10057.jpg', 2), ('/home/nano/Desktop/images/08032025/19/02/image_08032025_19_02_55_10038.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/19/03/image_08032025_19_03_46_10043.jpg', '/home/nano/Desktop/images/08032025/19/03/image_08032025_19_03_36_10061.jpg', '/home/nano/Desktop/images/08032025/19/03/image_08032025_19_03_25_10058.jpg', '/home/nano/Desktop/images/08032025/19/03/image_08032025_19_03_15_10047.jpg', '/home/nano/Desktop/images/08032025/19/02/image_08032025_19_03_05_10057.jpg', '/home/nano/Desktop/images/08032025/19/02/image_08032025_19_02_55_10038.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/19/03/image_08032025_19_03_46_10043.jpg
/home/nano/Desktop/images/08032025/19/03/image_08032025_19_03_36_10061.jpg
/home/nano/Desktop/images/08032025/19/03/image_08032025_19_03_25_10058.jpg
/home/nano/Desktop/images/08032025/19/03/image_08032025_19_03_15_10047.jpg
/home/nano/Desktop/images/08032025/19/02/image_08032025_19_03_05_10057.jpg
/home/nano/Desktop/images/08032025/19/02/image_08032025_19_02_55_10038.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341967188","1341967089","1341967236","1341967367","1341967142","1341967455"],"photo_ids_order":["1341967089","1341967142","1341967188","1341967236","1341967367","1341967455"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/39e9cb0584513b64d120626d13242fac.jpg","text":"TemporaryFile(/tmp/multipartBody6705637742645587881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741457072852,"filename":"image_08032025_19_03_25_10058.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/758faa3261f0b4034ea8081dc94e13c0.jpg","text":"TemporaryFile(/tmp/multipartBody7968325563610286880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741457072852,"filename":"image_08032025_19_03_46_10043.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/88d0730293fd52d9b828ad09d490ce93.jpg","text":"TemporaryFile(/tmp/multipartBody2573268783310349106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741457072852,"filename":"image_08032025_19_03_15_10047.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/f6306b81d2e6f8a6e53d7f98c109e3db.jpg","text":"TemporaryFile(/tmp/multipartBody2487426797033880738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741457072852,"filename":"image_08032025_19_03_05_10057.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/48fe8b3b0fea4f093b83d789e62c3c4b.jpg","text":"TemporaryFile(/tmp/multipartBody6653343000581571124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741457072852,"filename":"image_08032025_19_03_36_10061.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/8eb38820023ceeec7f1bf0229e2f0241.jpg","text":"TemporaryFile(/tmp/multipartBody6940640555675423415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741457072852,"filename":"image_08032025_19_02_55_10038.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341967188","file1":"1341967142","file0":"1341967089","file4":"1341967367","file5":"1341967455","file3":"1341967236"},"map_files_photo_id_array":[{"photo_id":"1341967455","filename":"file5"},{"photo_id":"1341967188","filename":"file2"},{"photo_id":"1341967367","filename":"file4"},{"photo_id":"1341967142","filename":"file1"},{"photo_id":"1341967089","filename":"file0"},{"photo_id":"1341967236","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341967188":["hashtag1","hashtag2"]},{"1341967089":["hashtag1","hashtag2"]},{"1341967236":["hashtag1","hashtag2"]},{"1341967367":["hashtag1","hashtag2"]},{"1341967142":["hashtag1","hashtag2"]},{"1341967455":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341967188, 1341967089, 1341967236, 1341967367, 1341967142, 1341967455)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.394649505615234 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 19:04:32.500198
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/19/04/image_08032025_19_04_45_10065.jpg', 2), ('/home/nano/Desktop/images/08032025/19/04/image_08032025_19_04_35_10040.jpg', 2), ('/home/nano/Desktop/images/08032025/19/04/image_08032025_19_04_25_10042.jpg', 2), ('/home/nano/Desktop/images/08032025/19/04/image_08032025_19_04_15_10075.jpg', 2), ('/home/nano/Desktop/images/08032025/19/03/image_08032025_19_04_05_10058.jpg', 2), ('/home/nano/Desktop/images/08032025/19/03/image_08032025_19_03_55_9033.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/19/04/image_08032025_19_04_45_10065.jpg', '/home/nano/Desktop/images/08032025/19/04/image_08032025_19_04_35_10040.jpg', '/home/nano/Desktop/images/08032025/19/04/image_08032025_19_04_25_10042.jpg', '/home/nano/Desktop/images/08032025/19/04/image_08032025_19_04_15_10075.jpg', '/home/nano/Desktop/images/08032025/19/03/image_08032025_19_04_05_10058.jpg', '/home/nano/Desktop/images/08032025/19/03/image_08032025_19_03_55_9033.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/19/04/image_08032025_19_04_45_10065.jpg
/home/nano/Desktop/images/08032025/19/04/image_08032025_19_04_35_10040.jpg
/home/nano/Desktop/images/08032025/19/04/image_08032025_19_04_25_10042.jpg
/home/nano/Desktop/images/08032025/19/04/image_08032025_19_04_15_10075.jpg
/home/nano/Desktop/images/08032025/19/03/image_08032025_19_04_05_10058.jpg
/home/nano/Desktop/images/08032025/19/03/image_08032025_19_03_55_9033.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341968103","1341968188","1341967972","1341967939","1341968157","1341968055"],"photo_ids_order":["1341967939","1341967972","1341968055","1341968103","1341968157","1341968188"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/20b07ffaac81242c7e1a4a499070bf0e.jpg","text":"TemporaryFile(/tmp/multipartBody8727446782378499302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741457132936,"filename":"image_08032025_19_04_15_10075.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/7ef2447c65d9e4019c82dd7276e4bdbf.jpg","text":"TemporaryFile(/tmp/multipartBody5432105022168242865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741457132936,"filename":"image_08032025_19_03_55_9033.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/b08ca5403f3ed46c15f37d2c4ca77a90.jpg","text":"TemporaryFile(/tmp/multipartBody3914580888963125982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741457132936,"filename":"image_08032025_19_04_35_10040.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/39f0b0b8ccb1511ef8a27430dc1be651.jpg","text":"TemporaryFile(/tmp/multipartBody2932446637060005465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741457132936,"filename":"image_08032025_19_04_45_10065.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/8c179a9e8e0f59f650dc2ad1776e7ad5.jpg","text":"TemporaryFile(/tmp/multipartBody8823256294161430861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741457132936,"filename":"image_08032025_19_04_05_10058.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/89ab2a8853006b19d8cfbc285f2163c6.jpg","text":"TemporaryFile(/tmp/multipartBody2862102994015135361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741457132936,"filename":"image_08032025_19_04_25_10042.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341968055","file1":"1341967972","file0":"1341967939","file4":"1341968157","file5":"1341968188","file3":"1341968103"},"map_files_photo_id_array":[{"photo_id":"1341968188","filename":"file5"},{"photo_id":"1341968055","filename":"file2"},{"photo_id":"1341968157","filename":"file4"},{"photo_id":"1341967972","filename":"file1"},{"photo_id":"1341967939","filename":"file0"},{"photo_id":"1341968103","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341968103":["hashtag1","hashtag2"]},{"1341968188":["hashtag1","hashtag2"]},{"1341967972":["hashtag1","hashtag2"]},{"1341967939":["hashtag1","hashtag2"]},{"1341968157":["hashtag1","hashtag2"]},{"1341968055":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341968103, 1341968188, 1341967972, 1341967939, 1341968157, 1341968055)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.863266944885254 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 19:05:32.633153
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/19/05/image_08032025_19_05_45_10035.jpg', 2), ('/home/nano/Desktop/images/08032025/19/05/image_08032025_19_05_35_10043.jpg', 2), ('/home/nano/Desktop/images/08032025/19/05/image_08032025_19_05_25_10062.jpg', 2), ('/home/nano/Desktop/images/08032025/19/05/image_08032025_19_05_15_10049.jpg', 2), ('/home/nano/Desktop/images/08032025/19/04/image_08032025_19_05_05_10071.jpg', 2), ('/home/nano/Desktop/images/08032025/19/04/image_08032025_19_04_55_10040.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/19/05/image_08032025_19_05_45_10035.jpg', '/home/nano/Desktop/images/08032025/19/05/image_08032025_19_05_35_10043.jpg', '/home/nano/Desktop/images/08032025/19/05/image_08032025_19_05_25_10062.jpg', '/home/nano/Desktop/images/08032025/19/05/image_08032025_19_05_15_10049.jpg', '/home/nano/Desktop/images/08032025/19/04/image_08032025_19_05_05_10071.jpg', '/home/nano/Desktop/images/08032025/19/04/image_08032025_19_04_55_10040.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/19/05/image_08032025_19_05_45_10035.jpg
/home/nano/Desktop/images/08032025/19/05/image_08032025_19_05_35_10043.jpg
/home/nano/Desktop/images/08032025/19/05/image_08032025_19_05_25_10062.jpg
/home/nano/Desktop/images/08032025/19/05/image_08032025_19_05_15_10049.jpg
/home/nano/Desktop/images/08032025/19/04/image_08032025_19_05_05_10071.jpg
/home/nano/Desktop/images/08032025/19/04/image_08032025_19_04_55_10040.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341968588","1341968714","1341968884","1341969048","1341968955","1341968790"],"photo_ids_order":["1341968588","1341968714","1341968790","1341968884","1341968955","1341969048"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/b75d9c18b0b7e8bc1bda2ac7e3f95de4.jpg","text":"TemporaryFile(/tmp/multipartBody1283348527823062416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741457193067,"filename":"image_08032025_19_05_45_10035.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/1259fa4907de49a0ee2c6e233898810b.jpg","text":"TemporaryFile(/tmp/multipartBody7481844443827043174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741457193067,"filename":"image_08032025_19_05_35_10043.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/ba94fd6e7edfd951a8e6601ea5040cf9.jpg","text":"TemporaryFile(/tmp/multipartBody9144058079733892279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741457193067,"filename":"image_08032025_19_05_15_10049.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/2fa30998f43ae939806bab5a81323ab7.jpg","text":"TemporaryFile(/tmp/multipartBody5576676967790017578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741457193067,"filename":"image_08032025_19_04_55_10040.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/a4cd26989112a573d2e5512e49cdb833.jpg","text":"TemporaryFile(/tmp/multipartBody1044655724605702626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741457193067,"filename":"image_08032025_19_05_05_10071.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/2ec3b2baaad6b157c30358ae477c5f6e.jpg","text":"TemporaryFile(/tmp/multipartBody5375852514702663105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741457193067,"filename":"image_08032025_19_05_25_10062.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341968790","file1":"1341968714","file0":"1341968588","file4":"1341968955","file5":"1341969048","file3":"1341968884"},"map_files_photo_id_array":[{"photo_id":"1341969048","filename":"file5"},{"photo_id":"1341968790","filename":"file2"},{"photo_id":"1341968955","filename":"file4"},{"photo_id":"1341968714","filename":"file1"},{"photo_id":"1341968588","filename":"file0"},{"photo_id":"1341968884","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341968588":["hashtag1","hashtag2"]},{"1341968714":["hashtag1","hashtag2"]},{"1341968884":["hashtag1","hashtag2"]},{"1341969048":["hashtag1","hashtag2"]},{"1341968955":["hashtag1","hashtag2"]},{"1341968790":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341968588, 1341968714, 1341968884, 1341969048, 1341968955, 1341968790)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.46368479728699 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 19:06:32.728060
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/19/06/image_08032025_19_06_45_10040.jpg', 2), ('/home/nano/Desktop/images/08032025/19/06/image_08032025_19_06_35_10046.jpg', 2), ('/home/nano/Desktop/images/08032025/19/06/image_08032025_19_06_25_10033.jpg', 2), ('/home/nano/Desktop/images/08032025/19/06/image_08032025_19_06_15_10043.jpg', 2), ('/home/nano/Desktop/images/08032025/19/05/image_08032025_19_06_05_10048.jpg', 2), ('/home/nano/Desktop/images/08032025/19/05/image_08032025_19_05_55_10041.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/19/06/image_08032025_19_06_45_10040.jpg', '/home/nano/Desktop/images/08032025/19/06/image_08032025_19_06_35_10046.jpg', '/home/nano/Desktop/images/08032025/19/06/image_08032025_19_06_25_10033.jpg', '/home/nano/Desktop/images/08032025/19/06/image_08032025_19_06_15_10043.jpg', '/home/nano/Desktop/images/08032025/19/05/image_08032025_19_06_05_10048.jpg', '/home/nano/Desktop/images/08032025/19/05/image_08032025_19_05_55_10041.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/19/06/image_08032025_19_06_45_10040.jpg
/home/nano/Desktop/images/08032025/19/06/image_08032025_19_06_35_10046.jpg
/home/nano/Desktop/images/08032025/19/06/image_08032025_19_06_25_10033.jpg
/home/nano/Desktop/images/08032025/19/06/image_08032025_19_06_15_10043.jpg
/home/nano/Desktop/images/08032025/19/05/image_08032025_19_06_05_10048.jpg
/home/nano/Desktop/images/08032025/19/05/image_08032025_19_05_55_10041.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.36298680305480957 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 marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 19:07:02.439444
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/19/07/image_08032025_19_07_45_10039.jpg', 2), ('/home/nano/Desktop/images/08032025/19/06/image_08032025_19_06_45_10040.jpg', 2), ('/home/nano/Desktop/images/08032025/19/06/image_08032025_19_06_35_10046.jpg', 2), ('/home/nano/Desktop/images/08032025/19/06/image_08032025_19_06_25_10033.jpg', 2), ('/home/nano/Desktop/images/08032025/19/06/image_08032025_19_06_15_10043.jpg', 2), ('/home/nano/Desktop/images/08032025/19/05/image_08032025_19_06_05_10048.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/19/07/image_08032025_19_07_45_10039.jpg', '/home/nano/Desktop/images/08032025/19/06/image_08032025_19_06_45_10040.jpg', '/home/nano/Desktop/images/08032025/19/06/image_08032025_19_06_35_10046.jpg', '/home/nano/Desktop/images/08032025/19/06/image_08032025_19_06_25_10033.jpg', '/home/nano/Desktop/images/08032025/19/06/image_08032025_19_06_15_10043.jpg', '/home/nano/Desktop/images/08032025/19/05/image_08032025_19_06_05_10048.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/19/07/image_08032025_19_07_45_10039.jpg
/home/nano/Desktop/images/08032025/19/06/image_08032025_19_06_45_10040.jpg
/home/nano/Desktop/images/08032025/19/06/image_08032025_19_06_35_10046.jpg
/home/nano/Desktop/images/08032025/19/06/image_08032025_19_06_25_10033.jpg
/home/nano/Desktop/images/08032025/19/06/image_08032025_19_06_15_10043.jpg
/home/nano/Desktop/images/08032025/19/05/image_08032025_19_06_05_10048.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341969784","1341969690","1341969774","1341969726","1341969702","1341969767"],"photo_ids_order":["1341969690","1341969702","1341969726","1341969767","1341969774","1341969784"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/a127ebd2f01eaf2df31fac132884e677.jpg","text":"TemporaryFile(/tmp/multipartBody8309475405302742106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741457282878,"filename":"image_08032025_19_06_05_10048.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/f85272acf01481f724a09ed6869cf548.jpg","text":"TemporaryFile(/tmp/multipartBody2926894275072408569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741457282878,"filename":"image_08032025_19_07_45_10039.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/832dc54ce77f922d28c55edecaed716a.jpg","text":"TemporaryFile(/tmp/multipartBody1732903213399358790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741457282878,"filename":"image_08032025_19_06_15_10043.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/c3db379b9155a86363ae91962e2694e0.jpg","text":"TemporaryFile(/tmp/multipartBody8739203446497166168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741457282878,"filename":"image_08032025_19_06_35_10046.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/142e22d14f42fd9714e3a8c02b98b199.jpg","text":"TemporaryFile(/tmp/multipartBody5865697994132019784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741457282878,"filename":"image_08032025_19_06_45_10040.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/a828214736e1ff22f1aeaaf405067c2e.jpg","text":"TemporaryFile(/tmp/multipartBody5038174952750737139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741457282878,"filename":"image_08032025_19_06_25_10033.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341969726","file1":"1341969702","file0":"1341969690","file4":"1341969774","file5":"1341969784","file3":"1341969767"},"map_files_photo_id_array":[{"photo_id":"1341969784","filename":"file5"},{"photo_id":"1341969726","filename":"file2"},{"photo_id":"1341969774","filename":"file4"},{"photo_id":"1341969702","filename":"file1"},{"photo_id":"1341969690","filename":"file0"},{"photo_id":"1341969767","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341969784":["hashtag1","hashtag2"]},{"1341969690":["hashtag1","hashtag2"]},{"1341969774":["hashtag1","hashtag2"]},{"1341969726":["hashtag1","hashtag2"]},{"1341969702":["hashtag1","hashtag2"]},{"1341969767":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341969784, 1341969690, 1341969774, 1341969726, 1341969702, 1341969767)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.37304973602295 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 19:08:02.646760
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/19/07/image_08032025_19_07_35_10035.jpg', 2), ('/home/nano/Desktop/images/08032025/19/07/image_08032025_19_07_25_9031.jpg', 2), ('/home/nano/Desktop/images/08032025/19/07/image_08032025_19_07_16_10040.jpg', 2), ('/home/nano/Desktop/images/08032025/19/06/image_08032025_19_07_06_10072.jpg', 2), ('/home/nano/Desktop/images/08032025/19/06/image_08032025_19_06_55_10039.jpg', 2), ('/home/nano/Desktop/images/08032025/19/05/image_08032025_19_05_55_10041.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/19/07/image_08032025_19_07_35_10035.jpg', '/home/nano/Desktop/images/08032025/19/07/image_08032025_19_07_25_9031.jpg', '/home/nano/Desktop/images/08032025/19/07/image_08032025_19_07_16_10040.jpg', '/home/nano/Desktop/images/08032025/19/06/image_08032025_19_07_06_10072.jpg', '/home/nano/Desktop/images/08032025/19/06/image_08032025_19_06_55_10039.jpg', '/home/nano/Desktop/images/08032025/19/05/image_08032025_19_05_55_10041.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/19/07/image_08032025_19_07_35_10035.jpg
/home/nano/Desktop/images/08032025/19/07/image_08032025_19_07_25_9031.jpg
/home/nano/Desktop/images/08032025/19/07/image_08032025_19_07_16_10040.jpg
/home/nano/Desktop/images/08032025/19/06/image_08032025_19_07_06_10072.jpg
/home/nano/Desktop/images/08032025/19/06/image_08032025_19_06_55_10039.jpg
/home/nano/Desktop/images/08032025/19/05/image_08032025_19_05_55_10041.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.35898470878601074 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 marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 19:08:31.959344
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/19/08/image_08032025_19_08_45_10037.jpg', 2), ('/home/nano/Desktop/images/08032025/19/08/image_08032025_19_08_35_10039.jpg', 2), ('/home/nano/Desktop/images/08032025/19/08/image_08032025_19_08_25_10042.jpg', 2), ('/home/nano/Desktop/images/08032025/19/08/image_08032025_19_08_15_10047.jpg', 2), ('/home/nano/Desktop/images/08032025/19/07/image_08032025_19_08_05_10068.jpg', 2), ('/home/nano/Desktop/images/08032025/19/07/image_08032025_19_07_55_10042.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/19/08/image_08032025_19_08_45_10037.jpg', '/home/nano/Desktop/images/08032025/19/08/image_08032025_19_08_35_10039.jpg', '/home/nano/Desktop/images/08032025/19/08/image_08032025_19_08_25_10042.jpg', '/home/nano/Desktop/images/08032025/19/08/image_08032025_19_08_15_10047.jpg', '/home/nano/Desktop/images/08032025/19/07/image_08032025_19_08_05_10068.jpg', '/home/nano/Desktop/images/08032025/19/07/image_08032025_19_07_55_10042.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/19/08/image_08032025_19_08_45_10037.jpg
/home/nano/Desktop/images/08032025/19/08/image_08032025_19_08_35_10039.jpg
/home/nano/Desktop/images/08032025/19/08/image_08032025_19_08_25_10042.jpg
/home/nano/Desktop/images/08032025/19/08/image_08032025_19_08_15_10047.jpg
/home/nano/Desktop/images/08032025/19/07/image_08032025_19_08_05_10068.jpg
/home/nano/Desktop/images/08032025/19/07/image_08032025_19_07_55_10042.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341970205","1341970043","1341970272","1341970167","1341970074","1341970122"],"photo_ids_order":["1341970043","1341970074","1341970122","1341970167","1341970205","1341970272"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/db2861158169b0f10c4c7f5cc0cca9e7.jpg","text":"TemporaryFile(/tmp/multipartBody660715002698764450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741457372405,"filename":"image_08032025_19_08_05_10068.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/cdf20a22553cfc2d4a11ab51f90cb17f.jpg","text":"TemporaryFile(/tmp/multipartBody2182739689266225522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741457372405,"filename":"image_08032025_19_08_45_10037.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/e4ad1c64b1fc2aba16a92d699672b85c.jpg","text":"TemporaryFile(/tmp/multipartBody4143420621275730122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741457372405,"filename":"image_08032025_19_07_55_10042.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/26b5c6422f702d71c4d89243eb774fa2.jpg","text":"TemporaryFile(/tmp/multipartBody1648773462698784948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741457372405,"filename":"image_08032025_19_08_15_10047.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/5f396fb3e76f6df670e0a8220645b1f9.jpg","text":"TemporaryFile(/tmp/multipartBody6870548484997229386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741457372405,"filename":"image_08032025_19_08_35_10039.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/b14afc75d806522d902cca31c2657f5e.jpg","text":"TemporaryFile(/tmp/multipartBody1295203825325154863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741457372405,"filename":"image_08032025_19_08_25_10042.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341970122","file1":"1341970074","file0":"1341970043","file4":"1341970205","file5":"1341970272","file3":"1341970167"},"map_files_photo_id_array":[{"photo_id":"1341970272","filename":"file5"},{"photo_id":"1341970122","filename":"file2"},{"photo_id":"1341970205","filename":"file4"},{"photo_id":"1341970074","filename":"file1"},{"photo_id":"1341970043","filename":"file0"},{"photo_id":"1341970167","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341970205":["hashtag1","hashtag2"]},{"1341970043":["hashtag1","hashtag2"]},{"1341970272":["hashtag1","hashtag2"]},{"1341970167":["hashtag1","hashtag2"]},{"1341970074":["hashtag1","hashtag2"]},{"1341970122":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341970205, 1341970043, 1341970272, 1341970167, 1341970074, 1341970122)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.577943086624146 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 19:09:32.078337
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/19/09/image_08032025_19_09_45_10035.jpg', 2), ('/home/nano/Desktop/images/08032025/19/09/image_08032025_19_09_35_10034.jpg', 2), ('/home/nano/Desktop/images/08032025/19/09/image_08032025_19_09_25_10048.jpg', 2), ('/home/nano/Desktop/images/08032025/19/09/image_08032025_19_09_15_10036.jpg', 2), ('/home/nano/Desktop/images/08032025/19/08/image_08032025_19_09_05_10041.jpg', 2), ('/home/nano/Desktop/images/08032025/19/08/image_08032025_19_08_55_10041.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/19/09/image_08032025_19_09_45_10035.jpg', '/home/nano/Desktop/images/08032025/19/09/image_08032025_19_09_35_10034.jpg', '/home/nano/Desktop/images/08032025/19/09/image_08032025_19_09_25_10048.jpg', '/home/nano/Desktop/images/08032025/19/09/image_08032025_19_09_15_10036.jpg', '/home/nano/Desktop/images/08032025/19/08/image_08032025_19_09_05_10041.jpg', '/home/nano/Desktop/images/08032025/19/08/image_08032025_19_08_55_10041.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/19/09/image_08032025_19_09_45_10035.jpg
/home/nano/Desktop/images/08032025/19/09/image_08032025_19_09_35_10034.jpg
/home/nano/Desktop/images/08032025/19/09/image_08032025_19_09_25_10048.jpg
/home/nano/Desktop/images/08032025/19/09/image_08032025_19_09_15_10036.jpg
/home/nano/Desktop/images/08032025/19/08/image_08032025_19_09_05_10041.jpg
/home/nano/Desktop/images/08032025/19/08/image_08032025_19_08_55_10041.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341970943","1341970703","1341970878","1341970851","1341970824","1341970746"],"photo_ids_order":["1341970703","1341970746","1341970824","1341970851","1341970878","1341970943"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/6d93a90262ea8cd27390162dd1c1c9d6.jpg","text":"TemporaryFile(/tmp/multipartBody6308852987514750237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741457432527,"filename":"image_08032025_19_08_55_10041.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/919ea15a68a68245a7b95a91b0e57d10.jpg","text":"TemporaryFile(/tmp/multipartBody4945603769321873846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741457432527,"filename":"image_08032025_19_09_45_10035.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/006d845ce7ee5e2130e835dda85ef9d2.jpg","text":"TemporaryFile(/tmp/multipartBody4386474744636880692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741457432527,"filename":"image_08032025_19_09_05_10041.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/bb1f5b4da1f617858c372cb314b1e38e.jpg","text":"TemporaryFile(/tmp/multipartBody3043381540632366601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741457432527,"filename":"image_08032025_19_09_15_10036.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/3b41d8a9e37c5ab36e313adc1c728fc7.jpg","text":"TemporaryFile(/tmp/multipartBody7919162918568901661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741457432527,"filename":"image_08032025_19_09_25_10048.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/3c3e8111359a1774068ba8326dd72661.jpg","text":"TemporaryFile(/tmp/multipartBody771263654380410903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741457432527,"filename":"image_08032025_19_09_35_10034.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341970824","file1":"1341970746","file0":"1341970703","file4":"1341970878","file5":"1341970943","file3":"1341970851"},"map_files_photo_id_array":[{"photo_id":"1341970943","filename":"file5"},{"photo_id":"1341970824","filename":"file2"},{"photo_id":"1341970878","filename":"file4"},{"photo_id":"1341970746","filename":"file1"},{"photo_id":"1341970703","filename":"file0"},{"photo_id":"1341970851","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341970943":["hashtag1","hashtag2"]},{"1341970703":["hashtag1","hashtag2"]},{"1341970878":["hashtag1","hashtag2"]},{"1341970851":["hashtag1","hashtag2"]},{"1341970824":["hashtag1","hashtag2"]},{"1341970746":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341970943, 1341970703, 1341970878, 1341970851, 1341970824, 1341970746)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.622376680374146 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 19:10:32.188092
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/19/10/image_08032025_19_10_45_10037.jpg', 2), ('/home/nano/Desktop/images/08032025/19/10/image_08032025_19_10_35_10035.jpg', 2), ('/home/nano/Desktop/images/08032025/19/10/image_08032025_19_10_25_10031.jpg', 2), ('/home/nano/Desktop/images/08032025/19/10/image_08032025_19_10_15_10030.jpg', 2), ('/home/nano/Desktop/images/08032025/19/09/image_08032025_19_10_05_10046.jpg', 2), ('/home/nano/Desktop/images/08032025/19/09/image_08032025_19_09_55_10062.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/19/10/image_08032025_19_10_45_10037.jpg', '/home/nano/Desktop/images/08032025/19/10/image_08032025_19_10_35_10035.jpg', '/home/nano/Desktop/images/08032025/19/10/image_08032025_19_10_25_10031.jpg', '/home/nano/Desktop/images/08032025/19/10/image_08032025_19_10_15_10030.jpg', '/home/nano/Desktop/images/08032025/19/09/image_08032025_19_10_05_10046.jpg', '/home/nano/Desktop/images/08032025/19/09/image_08032025_19_09_55_10062.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/19/10/image_08032025_19_10_45_10037.jpg
/home/nano/Desktop/images/08032025/19/10/image_08032025_19_10_35_10035.jpg
/home/nano/Desktop/images/08032025/19/10/image_08032025_19_10_25_10031.jpg
/home/nano/Desktop/images/08032025/19/10/image_08032025_19_10_15_10030.jpg
/home/nano/Desktop/images/08032025/19/09/image_08032025_19_10_05_10046.jpg
/home/nano/Desktop/images/08032025/19/09/image_08032025_19_09_55_10062.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341971441","1341971423","1341971383","1341971254","1341971292","1341971406"],"photo_ids_order":["1341971254","1341971292","1341971383","1341971406","1341971423","1341971441"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/06c23ac6915380c003514ce350196918.jpg","text":"TemporaryFile(/tmp/multipartBody3748150862094869622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741457492687,"filename":"image_08032025_19_09_55_10062.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/f23b138eff1cd1377840a4cba87baab2.jpg","text":"TemporaryFile(/tmp/multipartBody6223592602992762694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741457492687,"filename":"image_08032025_19_10_05_10046.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/b8e889f98df45d0a1eeeaeabb4c6d333.jpg","text":"TemporaryFile(/tmp/multipartBody8236744401410155226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741457492687,"filename":"image_08032025_19_10_25_10031.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/a1373fddc687578cf09cd83e8d4cc926.jpg","text":"TemporaryFile(/tmp/multipartBody3047040997969035354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741457492687,"filename":"image_08032025_19_10_45_10037.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/fab3f67938ead024d35ed914c382e27a.jpg","text":"TemporaryFile(/tmp/multipartBody9122199389304408190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741457492687,"filename":"image_08032025_19_10_35_10035.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/af35ba48ede7abeb91ebb9896839ba95.jpg","text":"TemporaryFile(/tmp/multipartBody2159656377465334639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741457492687,"filename":"image_08032025_19_10_15_10030.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341971383","file1":"1341971292","file0":"1341971254","file4":"1341971423","file5":"1341971441","file3":"1341971406"},"map_files_photo_id_array":[{"photo_id":"1341971441","filename":"file5"},{"photo_id":"1341971383","filename":"file2"},{"photo_id":"1341971423","filename":"file4"},{"photo_id":"1341971292","filename":"file1"},{"photo_id":"1341971254","filename":"file0"},{"photo_id":"1341971406","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341971441":["hashtag1","hashtag2"]},{"1341971423":["hashtag1","hashtag2"]},{"1341971383":["hashtag1","hashtag2"]},{"1341971254":["hashtag1","hashtag2"]},{"1341971292":["hashtag1","hashtag2"]},{"1341971406":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341971441, 1341971423, 1341971383, 1341971254, 1341971292, 1341971406)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.78010559082031 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 19:11:32.293756
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/19/11/image_08032025_19_11_45_10035.jpg', 2), ('/home/nano/Desktop/images/08032025/19/11/image_08032025_19_11_35_10065.jpg', 2), ('/home/nano/Desktop/images/08032025/19/11/image_08032025_19_11_25_9029.jpg', 2), ('/home/nano/Desktop/images/08032025/19/11/image_08032025_19_11_16_10040.jpg', 2), ('/home/nano/Desktop/images/08032025/19/10/image_08032025_19_11_06_10045.jpg', 2), ('/home/nano/Desktop/images/08032025/19/10/image_08032025_19_10_55_10028.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/19/11/image_08032025_19_11_45_10035.jpg', '/home/nano/Desktop/images/08032025/19/11/image_08032025_19_11_35_10065.jpg', '/home/nano/Desktop/images/08032025/19/11/image_08032025_19_11_25_9029.jpg', '/home/nano/Desktop/images/08032025/19/11/image_08032025_19_11_16_10040.jpg', '/home/nano/Desktop/images/08032025/19/10/image_08032025_19_11_06_10045.jpg', '/home/nano/Desktop/images/08032025/19/10/image_08032025_19_10_55_10028.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/19/11/image_08032025_19_11_45_10035.jpg
/home/nano/Desktop/images/08032025/19/11/image_08032025_19_11_35_10065.jpg
/home/nano/Desktop/images/08032025/19/11/image_08032025_19_11_25_9029.jpg
/home/nano/Desktop/images/08032025/19/11/image_08032025_19_11_16_10040.jpg
/home/nano/Desktop/images/08032025/19/10/image_08032025_19_11_06_10045.jpg
/home/nano/Desktop/images/08032025/19/10/image_08032025_19_10_55_10028.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341971734","1341971635","1341971697","1341971701","1341971772","1341971669"],"photo_ids_order":["1341971635","1341971669","1341971697","1341971701","1341971734","1341971772"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/2021cea6e9cb149f375a056679c400eb.jpg","text":"TemporaryFile(/tmp/multipartBody297183010540602522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741457552739,"filename":"image_08032025_19_11_06_10045.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/b3f0fb93b57051d9f6a6ea8dab9744a6.jpg","text":"TemporaryFile(/tmp/multipartBody4367568078773185671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741457552739,"filename":"image_08032025_19_11_45_10035.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/af93071535225fb8a4a75f86b57efc21.jpg","text":"TemporaryFile(/tmp/multipartBody7863726497159455606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741457552739,"filename":"image_08032025_19_11_25_9029.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/067bd4e14d3f9de68b8a10bef5c2b700.jpg","text":"TemporaryFile(/tmp/multipartBody6303599280589122830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741457552739,"filename":"image_08032025_19_11_16_10040.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/14a116ae91da57d3580757c17aacc66c.jpg","text":"TemporaryFile(/tmp/multipartBody1976519656613010642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741457552739,"filename":"image_08032025_19_10_55_10028.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/77a2b83f729c0013e67d8109a8fc0363.jpg","text":"TemporaryFile(/tmp/multipartBody4030793910162688835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741457552739,"filename":"image_08032025_19_11_35_10065.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341971697","file1":"1341971669","file0":"1341971635","file4":"1341971734","file5":"1341971772","file3":"1341971701"},"map_files_photo_id_array":[{"photo_id":"1341971772","filename":"file5"},{"photo_id":"1341971697","filename":"file2"},{"photo_id":"1341971734","filename":"file4"},{"photo_id":"1341971669","filename":"file1"},{"photo_id":"1341971635","filename":"file0"},{"photo_id":"1341971701","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341971734":["hashtag1","hashtag2"]},{"1341971635":["hashtag1","hashtag2"]},{"1341971697":["hashtag1","hashtag2"]},{"1341971701":["hashtag1","hashtag2"]},{"1341971772":["hashtag1","hashtag2"]},{"1341971669":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341971734, 1341971635, 1341971697, 1341971701, 1341971772, 1341971669)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.02999258041382 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 19:12:32.397262
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/19/12/image_08032025_19_12_45_10035.jpg', 2), ('/home/nano/Desktop/images/08032025/19/12/image_08032025_19_12_35_10032.jpg', 2), ('/home/nano/Desktop/images/08032025/19/12/image_08032025_19_12_25_10064.jpg', 2), ('/home/nano/Desktop/images/08032025/19/12/image_08032025_19_12_15_10049.jpg', 2), ('/home/nano/Desktop/images/08032025/19/11/image_08032025_19_12_05_10064.jpg', 2), ('/home/nano/Desktop/images/08032025/19/11/image_08032025_19_11_55_10056.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/19/12/image_08032025_19_12_45_10035.jpg', '/home/nano/Desktop/images/08032025/19/12/image_08032025_19_12_35_10032.jpg', '/home/nano/Desktop/images/08032025/19/12/image_08032025_19_12_25_10064.jpg', '/home/nano/Desktop/images/08032025/19/12/image_08032025_19_12_15_10049.jpg', '/home/nano/Desktop/images/08032025/19/11/image_08032025_19_12_05_10064.jpg', '/home/nano/Desktop/images/08032025/19/11/image_08032025_19_11_55_10056.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/19/12/image_08032025_19_12_45_10035.jpg
/home/nano/Desktop/images/08032025/19/12/image_08032025_19_12_35_10032.jpg
/home/nano/Desktop/images/08032025/19/12/image_08032025_19_12_25_10064.jpg
/home/nano/Desktop/images/08032025/19/12/image_08032025_19_12_15_10049.jpg
/home/nano/Desktop/images/08032025/19/11/image_08032025_19_12_05_10064.jpg
/home/nano/Desktop/images/08032025/19/11/image_08032025_19_11_55_10056.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341971995","1341972013","1341972010","1341971949","1341971922","1341971972"],"photo_ids_order":["1341971922","1341971949","1341971972","1341971995","1341972010","1341972013"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/c286e377b01405d04cf79c7c65310316.jpg","text":"TemporaryFile(/tmp/multipartBody3781957561965482830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741457612849,"filename":"image_08032025_19_12_15_10049.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/7b7f6f82527326e7315f7a149d53008b.jpg","text":"TemporaryFile(/tmp/multipartBody3510522431564706655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741457612849,"filename":"image_08032025_19_11_55_10056.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/6aab26cb14e5afc358c865048a5f4b27.jpg","text":"TemporaryFile(/tmp/multipartBody3899388699338520806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741457612849,"filename":"image_08032025_19_12_05_10064.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/66d84410f4ce53a4f6d26c72b487344a.jpg","text":"TemporaryFile(/tmp/multipartBody51241820651994778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741457612849,"filename":"image_08032025_19_12_35_10032.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/0d1cf7b0a34734433c8663889004d83b.jpg","text":"TemporaryFile(/tmp/multipartBody5808142843836786795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741457612849,"filename":"image_08032025_19_12_45_10035.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/5624427210de981f25fd4febdf7c0298.jpg","text":"TemporaryFile(/tmp/multipartBody7909503283791958054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741457612849,"filename":"image_08032025_19_12_25_10064.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341971972","file1":"1341971949","file0":"1341971922","file4":"1341972010","file5":"1341972013","file3":"1341971995"},"map_files_photo_id_array":[{"photo_id":"1341972013","filename":"file5"},{"photo_id":"1341971972","filename":"file2"},{"photo_id":"1341972010","filename":"file4"},{"photo_id":"1341971949","filename":"file1"},{"photo_id":"1341971922","filename":"file0"},{"photo_id":"1341971995","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341971995":["hashtag1","hashtag2"]},{"1341972013":["hashtag1","hashtag2"]},{"1341972010":["hashtag1","hashtag2"]},{"1341971949":["hashtag1","hashtag2"]},{"1341971922":["hashtag1","hashtag2"]},{"1341971972":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341971995, 1341972013, 1341972010, 1341971949, 1341971922, 1341971972)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.862199783325195 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 19:13:32.508535
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/19/13/image_08032025_19_13_45_10034.jpg', 2), ('/home/nano/Desktop/images/08032025/19/13/image_08032025_19_13_35_10034.jpg', 2), ('/home/nano/Desktop/images/08032025/19/13/image_08032025_19_13_25_10038.jpg', 2), ('/home/nano/Desktop/images/08032025/19/13/image_08032025_19_13_15_10044.jpg', 2), ('/home/nano/Desktop/images/08032025/19/12/image_08032025_19_13_05_10049.jpg', 2), ('/home/nano/Desktop/images/08032025/19/12/image_08032025_19_12_55_10032.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/19/13/image_08032025_19_13_45_10034.jpg', '/home/nano/Desktop/images/08032025/19/13/image_08032025_19_13_35_10034.jpg', '/home/nano/Desktop/images/08032025/19/13/image_08032025_19_13_25_10038.jpg', '/home/nano/Desktop/images/08032025/19/13/image_08032025_19_13_15_10044.jpg', '/home/nano/Desktop/images/08032025/19/12/image_08032025_19_13_05_10049.jpg', '/home/nano/Desktop/images/08032025/19/12/image_08032025_19_12_55_10032.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/19/13/image_08032025_19_13_45_10034.jpg
/home/nano/Desktop/images/08032025/19/13/image_08032025_19_13_35_10034.jpg
/home/nano/Desktop/images/08032025/19/13/image_08032025_19_13_25_10038.jpg
/home/nano/Desktop/images/08032025/19/13/image_08032025_19_13_15_10044.jpg
/home/nano/Desktop/images/08032025/19/12/image_08032025_19_13_05_10049.jpg
/home/nano/Desktop/images/08032025/19/12/image_08032025_19_12_55_10032.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341972401","1341972295","1341972265","1341972357","1341972336","1341972312"],"photo_ids_order":["1341972265","1341972295","1341972312","1341972336","1341972357","1341972401"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/f6fe25378c2dce33c4c7c095b1574c10.jpg","text":"TemporaryFile(/tmp/multipartBody2876508260106873782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741457672943,"filename":"image_08032025_19_12_55_10032.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/0f02c0cd483e23e9f4c7556f7fb5ebd8.jpg","text":"TemporaryFile(/tmp/multipartBody8444037167579182597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741457672943,"filename":"image_08032025_19_13_35_10034.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/b7dd5bd471832106fac49983b026205f.jpg","text":"TemporaryFile(/tmp/multipartBody2753163505191205738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741457672943,"filename":"image_08032025_19_13_45_10034.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/6f34413651213d2f4cd40c44e1966798.jpg","text":"TemporaryFile(/tmp/multipartBody2609720817775135856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741457672943,"filename":"image_08032025_19_13_05_10049.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/0c893e72fd91284e6be0943bd138f697.jpg","text":"TemporaryFile(/tmp/multipartBody2392108937404676954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741457672943,"filename":"image_08032025_19_13_15_10044.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/5d12c04532f36ea337ef593e3379b861.jpg","text":"TemporaryFile(/tmp/multipartBody8125536170773211212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741457672943,"filename":"image_08032025_19_13_25_10038.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341972312","file1":"1341972295","file0":"1341972265","file4":"1341972357","file5":"1341972401","file3":"1341972336"},"map_files_photo_id_array":[{"photo_id":"1341972401","filename":"file5"},{"photo_id":"1341972312","filename":"file2"},{"photo_id":"1341972357","filename":"file4"},{"photo_id":"1341972295","filename":"file1"},{"photo_id":"1341972265","filename":"file0"},{"photo_id":"1341972336","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341972401":["hashtag1","hashtag2"]},{"1341972295":["hashtag1","hashtag2"]},{"1341972265":["hashtag1","hashtag2"]},{"1341972357":["hashtag1","hashtag2"]},{"1341972336":["hashtag1","hashtag2"]},{"1341972312":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341972401, 1341972295, 1341972265, 1341972357, 1341972336, 1341972312)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.07968020439148 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 19:14:32.609398
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/19/14/image_08032025_19_14_45_10062.jpg', 2), ('/home/nano/Desktop/images/08032025/19/14/image_08032025_19_14_35_10039.jpg', 2), ('/home/nano/Desktop/images/08032025/19/14/image_08032025_19_14_25_10032.jpg', 2), ('/home/nano/Desktop/images/08032025/19/14/image_08032025_19_14_15_10036.jpg', 2), ('/home/nano/Desktop/images/08032025/19/13/image_08032025_19_14_05_10052.jpg', 2), ('/home/nano/Desktop/images/08032025/19/13/image_08032025_19_13_55_10030.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/19/14/image_08032025_19_14_45_10062.jpg', '/home/nano/Desktop/images/08032025/19/14/image_08032025_19_14_35_10039.jpg', '/home/nano/Desktop/images/08032025/19/14/image_08032025_19_14_25_10032.jpg', '/home/nano/Desktop/images/08032025/19/14/image_08032025_19_14_15_10036.jpg', '/home/nano/Desktop/images/08032025/19/13/image_08032025_19_14_05_10052.jpg', '/home/nano/Desktop/images/08032025/19/13/image_08032025_19_13_55_10030.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/19/14/image_08032025_19_14_45_10062.jpg
/home/nano/Desktop/images/08032025/19/14/image_08032025_19_14_35_10039.jpg
/home/nano/Desktop/images/08032025/19/14/image_08032025_19_14_25_10032.jpg
/home/nano/Desktop/images/08032025/19/14/image_08032025_19_14_15_10036.jpg
/home/nano/Desktop/images/08032025/19/13/image_08032025_19_14_05_10052.jpg
/home/nano/Desktop/images/08032025/19/13/image_08032025_19_13_55_10030.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341972478","1341972472","1341972475","1341972463","1341972445","1341972468"],"photo_ids_order":["1341972445","1341972463","1341972468","1341972472","1341972475","1341972478"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/b8d56772f3a860f17e45c17b57c087bf.jpg","text":"TemporaryFile(/tmp/multipartBody7326227614367130121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741457733059,"filename":"image_08032025_19_13_55_10030.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/8812df7c0403202bf6706404be99bc53.jpg","text":"TemporaryFile(/tmp/multipartBody3237129649686605583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741457733059,"filename":"image_08032025_19_14_15_10036.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/ddb6d2810f51368c1cb2faf90f94452f.jpg","text":"TemporaryFile(/tmp/multipartBody1801828663460477967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741457733059,"filename":"image_08032025_19_14_05_10052.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/71b940d81a3f647fdc8dff95c0efcb06.jpg","text":"TemporaryFile(/tmp/multipartBody5423269384673738622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741457733059,"filename":"image_08032025_19_14_35_10039.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/f5ed502a9d3fc6d957037bbb2738a961.jpg","text":"TemporaryFile(/tmp/multipartBody6120832167586032104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741457733059,"filename":"image_08032025_19_14_45_10062.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/99ab0328448aca2db841fe17d520d66b.jpg","text":"TemporaryFile(/tmp/multipartBody7255770294331291414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741457733059,"filename":"image_08032025_19_14_25_10032.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341972468","file1":"1341972463","file0":"1341972445","file4":"1341972475","file5":"1341972478","file3":"1341972472"},"map_files_photo_id_array":[{"photo_id":"1341972478","filename":"file5"},{"photo_id":"1341972468","filename":"file2"},{"photo_id":"1341972475","filename":"file4"},{"photo_id":"1341972463","filename":"file1"},{"photo_id":"1341972445","filename":"file0"},{"photo_id":"1341972472","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341972478":["hashtag1","hashtag2"]},{"1341972472":["hashtag1","hashtag2"]},{"1341972475":["hashtag1","hashtag2"]},{"1341972463":["hashtag1","hashtag2"]},{"1341972445":["hashtag1","hashtag2"]},{"1341972468":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341972478, 1341972472, 1341972475, 1341972463, 1341972445, 1341972468)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.707406520843506 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 19:15:32.719052
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/19/15/image_08032025_19_15_45_10027.jpg', 2), ('/home/nano/Desktop/images/08032025/19/15/image_08032025_19_15_35_10031.jpg', 2), ('/home/nano/Desktop/images/08032025/19/15/image_08032025_19_15_25_10028.jpg', 2), ('/home/nano/Desktop/images/08032025/19/15/image_08032025_19_15_15_10034.jpg', 2), ('/home/nano/Desktop/images/08032025/19/14/image_08032025_19_15_05_9059.jpg', 2), ('/home/nano/Desktop/images/08032025/19/14/image_08032025_19_14_56_10053.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/19/15/image_08032025_19_15_45_10027.jpg', '/home/nano/Desktop/images/08032025/19/15/image_08032025_19_15_35_10031.jpg', '/home/nano/Desktop/images/08032025/19/15/image_08032025_19_15_25_10028.jpg', '/home/nano/Desktop/images/08032025/19/15/image_08032025_19_15_15_10034.jpg', '/home/nano/Desktop/images/08032025/19/14/image_08032025_19_15_05_9059.jpg', '/home/nano/Desktop/images/08032025/19/14/image_08032025_19_14_56_10053.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/19/15/image_08032025_19_15_45_10027.jpg
/home/nano/Desktop/images/08032025/19/15/image_08032025_19_15_35_10031.jpg
/home/nano/Desktop/images/08032025/19/15/image_08032025_19_15_25_10028.jpg
/home/nano/Desktop/images/08032025/19/15/image_08032025_19_15_15_10034.jpg
/home/nano/Desktop/images/08032025/19/14/image_08032025_19_15_05_9059.jpg
/home/nano/Desktop/images/08032025/19/14/image_08032025_19_14_56_10053.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341972661","1341972736","1341972687","1341972606","1341972791","1341972710"],"photo_ids_order":["1341972606","1341972661","1341972687","1341972710","1341972736","1341972791"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/b6d8517e2ff739c90ab90191bab0f73a.jpg","text":"TemporaryFile(/tmp/multipartBody6282721003158068036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741457793163,"filename":"image_08032025_19_15_35_10031.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/0f32c98a124c9e20bd01c46e17a60ed3.jpg","text":"TemporaryFile(/tmp/multipartBody7985205275128015012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741457793163,"filename":"image_08032025_19_15_05_9059.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/66f783e838c1dc460c6d7b14c2eda590.jpg","text":"TemporaryFile(/tmp/multipartBody412971873059197136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741457793163,"filename":"image_08032025_19_15_25_10028.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/8f970fb55393e0ccaef4fccbb118728d.jpg","text":"TemporaryFile(/tmp/multipartBody5586505796989777076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741457793163,"filename":"image_08032025_19_15_45_10027.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/1a94479085a9ef031d400066464ac26c.jpg","text":"TemporaryFile(/tmp/multipartBody5877805935852218651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741457793163,"filename":"image_08032025_19_14_56_10053.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/0628927830d342e24545ce4ea24cb5cf.jpg","text":"TemporaryFile(/tmp/multipartBody1069890330320137019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741457793163,"filename":"image_08032025_19_15_15_10034.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341972687","file1":"1341972661","file0":"1341972606","file4":"1341972736","file5":"1341972791","file3":"1341972710"},"map_files_photo_id_array":[{"photo_id":"1341972791","filename":"file5"},{"photo_id":"1341972687","filename":"file2"},{"photo_id":"1341972736","filename":"file4"},{"photo_id":"1341972661","filename":"file1"},{"photo_id":"1341972606","filename":"file0"},{"photo_id":"1341972710","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341972661":["hashtag1","hashtag2"]},{"1341972736":["hashtag1","hashtag2"]},{"1341972687":["hashtag1","hashtag2"]},{"1341972606":["hashtag1","hashtag2"]},{"1341972791":["hashtag1","hashtag2"]},{"1341972710":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341972661, 1341972736, 1341972687, 1341972606, 1341972791, 1341972710)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.244128465652466 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 19:16:31.829246
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/19/16/image_08032025_19_16_55_10035.jpg', 2), ('/home/nano/Desktop/images/08032025/19/16/image_08032025_19_16_35_10036.jpg', 2), ('/home/nano/Desktop/images/08032025/19/16/image_08032025_19_16_25_10036.jpg', 2), ('/home/nano/Desktop/images/08032025/19/16/image_08032025_19_16_15_10060.jpg', 2), ('/home/nano/Desktop/images/08032025/19/15/image_08032025_19_16_05_10049.jpg', 2), ('/home/nano/Desktop/images/08032025/19/15/image_08032025_19_15_55_10025.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/19/16/image_08032025_19_16_55_10035.jpg', '/home/nano/Desktop/images/08032025/19/16/image_08032025_19_16_35_10036.jpg', '/home/nano/Desktop/images/08032025/19/16/image_08032025_19_16_25_10036.jpg', '/home/nano/Desktop/images/08032025/19/16/image_08032025_19_16_15_10060.jpg', '/home/nano/Desktop/images/08032025/19/15/image_08032025_19_16_05_10049.jpg', '/home/nano/Desktop/images/08032025/19/15/image_08032025_19_15_55_10025.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/19/16/image_08032025_19_16_55_10035.jpg
/home/nano/Desktop/images/08032025/19/16/image_08032025_19_16_35_10036.jpg
/home/nano/Desktop/images/08032025/19/16/image_08032025_19_16_25_10036.jpg
/home/nano/Desktop/images/08032025/19/16/image_08032025_19_16_15_10060.jpg
/home/nano/Desktop/images/08032025/19/15/image_08032025_19_16_05_10049.jpg
/home/nano/Desktop/images/08032025/19/15/image_08032025_19_15_55_10025.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341972994","1341973045","1341973022","1341973118","1341973093","1341973072"],"photo_ids_order":["1341972994","1341973022","1341973045","1341973072","1341973093","1341973118"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/376c57398d5ba5da4435c1aa3c18d609.jpg","text":"TemporaryFile(/tmp/multipartBody7612987483926503418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741457852279,"filename":"image_08032025_19_16_55_10035.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/1acd87c5e968f4bfc9475ceac1177993.jpg","text":"TemporaryFile(/tmp/multipartBody8651306164753764546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741457852279,"filename":"image_08032025_19_16_25_10036.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/a2ddf987eb11e26aa6d6eb49f1f44d81.jpg","text":"TemporaryFile(/tmp/multipartBody6544719066672523487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741457852279,"filename":"image_08032025_19_16_35_10036.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/638dbf633130e53a6061bea26d2c213b.jpg","text":"TemporaryFile(/tmp/multipartBody2372639056293436625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741457852279,"filename":"image_08032025_19_15_55_10025.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/23e227610971d6d27ffbc2159c71d03b.jpg","text":"TemporaryFile(/tmp/multipartBody5083732305007948467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741457852279,"filename":"image_08032025_19_16_05_10049.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/088ffb3f2cc7e20a04291bb7f8994160.jpg","text":"TemporaryFile(/tmp/multipartBody7553479689264207603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741457852279,"filename":"image_08032025_19_16_15_10060.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341973045","file1":"1341973022","file0":"1341972994","file4":"1341973093","file5":"1341973118","file3":"1341973072"},"map_files_photo_id_array":[{"photo_id":"1341973118","filename":"file5"},{"photo_id":"1341973045","filename":"file2"},{"photo_id":"1341973093","filename":"file4"},{"photo_id":"1341973022","filename":"file1"},{"photo_id":"1341972994","filename":"file0"},{"photo_id":"1341973072","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341972994":["hashtag1","hashtag2"]},{"1341973045":["hashtag1","hashtag2"]},{"1341973022":["hashtag1","hashtag2"]},{"1341973118":["hashtag1","hashtag2"]},{"1341973093":["hashtag1","hashtag2"]},{"1341973072":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341972994, 1341973045, 1341973022, 1341973118, 1341973093, 1341973072)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.41482925415039 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 19:17:31.946721
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/19/17/image_08032025_19_17_45_10032.jpg', 2), ('/home/nano/Desktop/images/08032025/19/17/image_08032025_19_17_35_10028.jpg', 2), ('/home/nano/Desktop/images/08032025/19/17/image_08032025_19_17_25_10023.jpg', 2), ('/home/nano/Desktop/images/08032025/19/17/image_08032025_19_17_15_10030.jpg', 2), ('/home/nano/Desktop/images/08032025/19/16/image_08032025_19_17_05_10034.jpg', 2), ('/home/nano/Desktop/images/08032025/19/16/image_08032025_19_16_45_10032.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/19/17/image_08032025_19_17_45_10032.jpg', '/home/nano/Desktop/images/08032025/19/17/image_08032025_19_17_35_10028.jpg', '/home/nano/Desktop/images/08032025/19/17/image_08032025_19_17_25_10023.jpg', '/home/nano/Desktop/images/08032025/19/17/image_08032025_19_17_15_10030.jpg', '/home/nano/Desktop/images/08032025/19/16/image_08032025_19_17_05_10034.jpg', '/home/nano/Desktop/images/08032025/19/16/image_08032025_19_16_45_10032.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/19/17/image_08032025_19_17_45_10032.jpg
/home/nano/Desktop/images/08032025/19/17/image_08032025_19_17_35_10028.jpg
/home/nano/Desktop/images/08032025/19/17/image_08032025_19_17_25_10023.jpg
/home/nano/Desktop/images/08032025/19/17/image_08032025_19_17_15_10030.jpg
/home/nano/Desktop/images/08032025/19/16/image_08032025_19_17_05_10034.jpg
/home/nano/Desktop/images/08032025/19/16/image_08032025_19_16_45_10032.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341973432","1341973441","1341973435","1341973565","1341973421","1341973462"],"photo_ids_order":["1341973421","1341973432","1341973435","1341973441","1341973462","1341973565"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/03b80165eb5c8a145fed4fe5294c3153.jpg","text":"TemporaryFile(/tmp/multipartBody3790767383760348037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741457912405,"filename":"image_08032025_19_17_35_10028.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/e0aa51e6b4b408d65c7cd30fbee90c9e.jpg","text":"TemporaryFile(/tmp/multipartBody7895406385032489862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741457912405,"filename":"image_08032025_19_17_15_10030.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/961215d7c9b65bb0b405621cf0a93fb1.jpg","text":"TemporaryFile(/tmp/multipartBody6038267239464689695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741457912405,"filename":"image_08032025_19_17_25_10023.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/26e438dee71764e5035ad53f9db95caf.jpg","text":"TemporaryFile(/tmp/multipartBody8512703143036956174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741457912405,"filename":"image_08032025_19_16_45_10032.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/b6acdb81fc3f9514bbb8bc08a0797d85.jpg","text":"TemporaryFile(/tmp/multipartBody7693736928537812482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741457912405,"filename":"image_08032025_19_17_45_10032.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/af35392545e5068ce76ba29f5a82c8a6.jpg","text":"TemporaryFile(/tmp/multipartBody85484434688909662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741457912405,"filename":"image_08032025_19_17_05_10034.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341973435","file1":"1341973432","file0":"1341973421","file4":"1341973462","file5":"1341973565","file3":"1341973441"},"map_files_photo_id_array":[{"photo_id":"1341973565","filename":"file5"},{"photo_id":"1341973435","filename":"file2"},{"photo_id":"1341973462","filename":"file4"},{"photo_id":"1341973432","filename":"file1"},{"photo_id":"1341973421","filename":"file0"},{"photo_id":"1341973441","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341973432":["hashtag1","hashtag2"]},{"1341973441":["hashtag1","hashtag2"]},{"1341973435":["hashtag1","hashtag2"]},{"1341973565":["hashtag1","hashtag2"]},{"1341973421":["hashtag1","hashtag2"]},{"1341973462":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341973432, 1341973441, 1341973435, 1341973565, 1341973421, 1341973462)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.984153747558594 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 19:18:32.100855
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/19/18/image_08032025_19_18_45_9918.jpg', 2), ('/home/nano/Desktop/images/08032025/19/18/image_08032025_19_18_35_9919.jpg', 2), ('/home/nano/Desktop/images/08032025/19/18/image_08032025_19_18_25_9919.jpg', 2), ('/home/nano/Desktop/images/08032025/19/18/image_08032025_19_18_15_9924.jpg', 2), ('/home/nano/Desktop/images/08032025/19/17/image_08032025_19_18_05_10039.jpg', 2), ('/home/nano/Desktop/images/08032025/19/17/image_08032025_19_17_55_10030.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/19/18/image_08032025_19_18_45_9918.jpg', '/home/nano/Desktop/images/08032025/19/18/image_08032025_19_18_35_9919.jpg', '/home/nano/Desktop/images/08032025/19/18/image_08032025_19_18_25_9919.jpg', '/home/nano/Desktop/images/08032025/19/18/image_08032025_19_18_15_9924.jpg', '/home/nano/Desktop/images/08032025/19/17/image_08032025_19_18_05_10039.jpg', '/home/nano/Desktop/images/08032025/19/17/image_08032025_19_17_55_10030.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/19/18/image_08032025_19_18_45_9918.jpg
/home/nano/Desktop/images/08032025/19/18/image_08032025_19_18_35_9919.jpg
/home/nano/Desktop/images/08032025/19/18/image_08032025_19_18_25_9919.jpg
/home/nano/Desktop/images/08032025/19/18/image_08032025_19_18_15_9924.jpg
/home/nano/Desktop/images/08032025/19/17/image_08032025_19_18_05_10039.jpg
/home/nano/Desktop/images/08032025/19/17/image_08032025_19_17_55_10030.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.3310074806213379 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 marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 19:19:03.090911
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/19/18/image_08032025_19_18_45_9918.jpg', 2), ('/home/nano/Desktop/images/08032025/19/18/image_08032025_19_18_35_9919.jpg', 2), ('/home/nano/Desktop/images/08032025/19/18/image_08032025_19_18_25_9919.jpg', 2), ('/home/nano/Desktop/images/08032025/19/18/image_08032025_19_18_15_9924.jpg', 2), ('/home/nano/Desktop/images/08032025/19/17/image_08032025_19_18_05_10039.jpg', 2), ('/home/nano/Desktop/images/08032025/19/17/image_08032025_19_17_55_10030.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/19/18/image_08032025_19_18_45_9918.jpg', '/home/nano/Desktop/images/08032025/19/18/image_08032025_19_18_35_9919.jpg', '/home/nano/Desktop/images/08032025/19/18/image_08032025_19_18_25_9919.jpg', '/home/nano/Desktop/images/08032025/19/18/image_08032025_19_18_15_9924.jpg', '/home/nano/Desktop/images/08032025/19/17/image_08032025_19_18_05_10039.jpg', '/home/nano/Desktop/images/08032025/19/17/image_08032025_19_17_55_10030.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/19/18/image_08032025_19_18_45_9918.jpg
/home/nano/Desktop/images/08032025/19/18/image_08032025_19_18_35_9919.jpg
/home/nano/Desktop/images/08032025/19/18/image_08032025_19_18_25_9919.jpg
/home/nano/Desktop/images/08032025/19/18/image_08032025_19_18_15_9924.jpg
/home/nano/Desktop/images/08032025/19/17/image_08032025_19_18_05_10039.jpg
/home/nano/Desktop/images/08032025/19/17/image_08032025_19_17_55_10030.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341974026","1341974005","1341974008","1341973988","1341974002","1341973954"],"photo_ids_order":["1341973954","1341973988","1341974002","1341974005","1341974008","1341974026"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/abe36c14cc92dbe3b304776f59f4df90.jpg","text":"TemporaryFile(/tmp/multipartBody1053092832728887639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741458003595,"filename":"image_08032025_19_17_55_10030.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/3479739bb7cc914cd01c8d7cd8b6a812.jpg","text":"TemporaryFile(/tmp/multipartBody4882011380213300408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741458003595,"filename":"image_08032025_19_18_15_9924.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/a9a573063fc650000fb9f826b478dfbe.jpg","text":"TemporaryFile(/tmp/multipartBody2408057128565328106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741458003595,"filename":"image_08032025_19_18_05_10039.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/cb2f3f1661415d4edfce07dceefd1c6b.jpg","text":"TemporaryFile(/tmp/multipartBody8933831010266996406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741458003595,"filename":"image_08032025_19_18_35_9919.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/0e2830241417405b93e7bf0b9cec7f08.jpg","text":"TemporaryFile(/tmp/multipartBody1447202544707635335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741458003595,"filename":"image_08032025_19_18_25_9919.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/ae2742126d3cd8a63ce69b3e82c8b971.jpg","text":"TemporaryFile(/tmp/multipartBody1796875197339310365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741458003595,"filename":"image_08032025_19_18_45_9918.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341974002","file1":"1341973988","file0":"1341973954","file4":"1341974008","file5":"1341974026","file3":"1341974005"},"map_files_photo_id_array":[{"photo_id":"1341974026","filename":"file5"},{"photo_id":"1341974002","filename":"file2"},{"photo_id":"1341974008","filename":"file4"},{"photo_id":"1341973988","filename":"file1"},{"photo_id":"1341973954","filename":"file0"},{"photo_id":"1341974005","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341974026":["hashtag1","hashtag2"]},{"1341974005":["hashtag1","hashtag2"]},{"1341974008":["hashtag1","hashtag2"]},{"1341973988":["hashtag1","hashtag2"]},{"1341974002":["hashtag1","hashtag2"]},{"1341973954":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341974026, 1341974005, 1341974008, 1341973988, 1341974002, 1341973954)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.318856716156006 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 19:20:02.783751
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/19/19/image_08032025_19_19_45_9919.jpg', 2), ('/home/nano/Desktop/images/08032025/19/19/image_08032025_19_19_36_9921.jpg', 2), ('/home/nano/Desktop/images/08032025/19/19/image_08032025_19_19_26_10931.jpg', 2), ('/home/nano/Desktop/images/08032025/19/19/image_08032025_19_19_15_9919.jpg', 2), ('/home/nano/Desktop/images/08032025/19/18/image_08032025_19_19_05_9921.jpg', 2), ('/home/nano/Desktop/images/08032025/19/18/image_08032025_19_18_55_9920.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/19/19/image_08032025_19_19_45_9919.jpg', '/home/nano/Desktop/images/08032025/19/19/image_08032025_19_19_36_9921.jpg', '/home/nano/Desktop/images/08032025/19/19/image_08032025_19_19_26_10931.jpg', '/home/nano/Desktop/images/08032025/19/19/image_08032025_19_19_15_9919.jpg', '/home/nano/Desktop/images/08032025/19/18/image_08032025_19_19_05_9921.jpg', '/home/nano/Desktop/images/08032025/19/18/image_08032025_19_18_55_9920.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/19/19/image_08032025_19_19_45_9919.jpg
/home/nano/Desktop/images/08032025/19/19/image_08032025_19_19_36_9921.jpg
/home/nano/Desktop/images/08032025/19/19/image_08032025_19_19_26_10931.jpg
/home/nano/Desktop/images/08032025/19/19/image_08032025_19_19_15_9919.jpg
/home/nano/Desktop/images/08032025/19/18/image_08032025_19_19_05_9921.jpg
/home/nano/Desktop/images/08032025/19/18/image_08032025_19_18_55_9920.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341974271","1341974520","1341974327","1341974420","1341974554","1341974479"],"photo_ids_order":["1341974271","1341974327","1341974420","1341974479","1341974520","1341974554"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/17210ab2e3d15d7a7c0cd9f3d939d3c8.jpg","text":"TemporaryFile(/tmp/multipartBody1403075428711075918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741458063371,"filename":"image_08032025_19_19_45_9919.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/8e6e522f615514b665bfa4fd8257d3f1.jpg","text":"TemporaryFile(/tmp/multipartBody3015504121713441769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741458063371,"filename":"image_08032025_19_19_05_9921.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/7994352658fd2be7b871bb241d649440.jpg","text":"TemporaryFile(/tmp/multipartBody8643513698599352506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741458063371,"filename":"image_08032025_19_19_36_9921.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/95adedc397c0efb961d22ee04fba86f7.jpg","text":"TemporaryFile(/tmp/multipartBody4880731296927531851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741458063371,"filename":"image_08032025_19_19_26_10931.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/fcea55f36b44ceb0d3aeaf76c4497c51.jpg","text":"TemporaryFile(/tmp/multipartBody1891680891422140952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741458063371,"filename":"image_08032025_19_18_55_9920.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/8d11410014cd39c2b1a7fcfc220513ce.jpg","text":"TemporaryFile(/tmp/multipartBody9084669618885869241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741458063371,"filename":"image_08032025_19_19_15_9919.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341974420","file1":"1341974327","file0":"1341974271","file4":"1341974520","file5":"1341974554","file3":"1341974479"},"map_files_photo_id_array":[{"photo_id":"1341974554","filename":"file5"},{"photo_id":"1341974420","filename":"file2"},{"photo_id":"1341974520","filename":"file4"},{"photo_id":"1341974327","filename":"file1"},{"photo_id":"1341974271","filename":"file0"},{"photo_id":"1341974479","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341974271":["hashtag1","hashtag2"]},{"1341974520":["hashtag1","hashtag2"]},{"1341974327":["hashtag1","hashtag2"]},{"1341974420":["hashtag1","hashtag2"]},{"1341974554":["hashtag1","hashtag2"]},{"1341974479":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341974271, 1341974520, 1341974327, 1341974420, 1341974554, 1341974479)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.015777349472046 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 19:21:03.133292
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/19/20/image_08032025_19_20_45_9922.jpg', 2), ('/home/nano/Desktop/images/08032025/19/20/image_08032025_19_20_35_9916.jpg', 2), ('/home/nano/Desktop/images/08032025/19/20/image_08032025_19_20_25_9917.jpg', 2), ('/home/nano/Desktop/images/08032025/19/20/image_08032025_19_20_15_9923.jpg', 2), ('/home/nano/Desktop/images/08032025/19/19/image_08032025_19_20_05_9923.jpg', 2), ('/home/nano/Desktop/images/08032025/19/19/image_08032025_19_19_55_9913.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/19/20/image_08032025_19_20_45_9922.jpg', '/home/nano/Desktop/images/08032025/19/20/image_08032025_19_20_35_9916.jpg', '/home/nano/Desktop/images/08032025/19/20/image_08032025_19_20_25_9917.jpg', '/home/nano/Desktop/images/08032025/19/20/image_08032025_19_20_15_9923.jpg', '/home/nano/Desktop/images/08032025/19/19/image_08032025_19_20_05_9923.jpg', '/home/nano/Desktop/images/08032025/19/19/image_08032025_19_19_55_9913.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/19/20/image_08032025_19_20_45_9922.jpg
/home/nano/Desktop/images/08032025/19/20/image_08032025_19_20_35_9916.jpg
/home/nano/Desktop/images/08032025/19/20/image_08032025_19_20_25_9917.jpg
/home/nano/Desktop/images/08032025/19/20/image_08032025_19_20_15_9923.jpg
/home/nano/Desktop/images/08032025/19/19/image_08032025_19_20_05_9923.jpg
/home/nano/Desktop/images/08032025/19/19/image_08032025_19_19_55_9913.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341974790","1341974808","1341974866","1341974926","1341974842","1341974917"],"photo_ids_order":["1341974790","1341974808","1341974842","1341974866","1341974917","1341974926"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/ed05bfb86d077d4db27eb805dfa33d04.jpg","text":"TemporaryFile(/tmp/multipartBody7726216123602827604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741458123559,"filename":"image_08032025_19_20_45_9922.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/6f43c9b87e2eb3f32302a0cb93d69473.jpg","text":"TemporaryFile(/tmp/multipartBody1187788577951183073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741458123559,"filename":"image_08032025_19_20_35_9916.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/99fafc8562fbc16525bb27e40f14c99f.jpg","text":"TemporaryFile(/tmp/multipartBody6576021389942957929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741458123559,"filename":"image_08032025_19_20_15_9923.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/d5fecffd38e44a99b192571d1941301c.jpg","text":"TemporaryFile(/tmp/multipartBody6705754525666347090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741458123559,"filename":"image_08032025_19_19_55_9913.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/350f0724692965f9a40c671e881eb048.jpg","text":"TemporaryFile(/tmp/multipartBody82282669501885102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741458123559,"filename":"image_08032025_19_20_25_9917.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/cdb08723a56c795c5821c05a48e899cb.jpg","text":"TemporaryFile(/tmp/multipartBody2508454882033504219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741458123559,"filename":"image_08032025_19_20_05_9923.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341974842","file1":"1341974808","file0":"1341974790","file4":"1341974917","file5":"1341974926","file3":"1341974866"},"map_files_photo_id_array":[{"photo_id":"1341974926","filename":"file5"},{"photo_id":"1341974842","filename":"file2"},{"photo_id":"1341974917","filename":"file4"},{"photo_id":"1341974808","filename":"file1"},{"photo_id":"1341974790","filename":"file0"},{"photo_id":"1341974866","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341974790":["hashtag1","hashtag2"]},{"1341974808":["hashtag1","hashtag2"]},{"1341974866":["hashtag1","hashtag2"]},{"1341974926":["hashtag1","hashtag2"]},{"1341974842":["hashtag1","hashtag2"]},{"1341974917":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341974790, 1341974808, 1341974866, 1341974926, 1341974842, 1341974917)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.4310576915741 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 19:22:03.060844
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/19/21/image_08032025_19_21_46_10927.jpg', 2), ('/home/nano/Desktop/images/08032025/19/21/image_08032025_19_21_35_9921.jpg', 2), ('/home/nano/Desktop/images/08032025/19/21/image_08032025_19_21_25_9923.jpg', 2), ('/home/nano/Desktop/images/08032025/19/21/image_08032025_19_21_15_9922.jpg', 2), ('/home/nano/Desktop/images/08032025/19/20/image_08032025_19_21_05_9948.jpg', 2), ('/home/nano/Desktop/images/08032025/19/20/image_08032025_19_20_55_9935.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/19/21/image_08032025_19_21_46_10927.jpg', '/home/nano/Desktop/images/08032025/19/21/image_08032025_19_21_35_9921.jpg', '/home/nano/Desktop/images/08032025/19/21/image_08032025_19_21_25_9923.jpg', '/home/nano/Desktop/images/08032025/19/21/image_08032025_19_21_15_9922.jpg', '/home/nano/Desktop/images/08032025/19/20/image_08032025_19_21_05_9948.jpg', '/home/nano/Desktop/images/08032025/19/20/image_08032025_19_20_55_9935.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/19/21/image_08032025_19_21_46_10927.jpg
/home/nano/Desktop/images/08032025/19/21/image_08032025_19_21_35_9921.jpg
/home/nano/Desktop/images/08032025/19/21/image_08032025_19_21_25_9923.jpg
/home/nano/Desktop/images/08032025/19/21/image_08032025_19_21_15_9922.jpg
/home/nano/Desktop/images/08032025/19/20/image_08032025_19_21_05_9948.jpg
/home/nano/Desktop/images/08032025/19/20/image_08032025_19_20_55_9935.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.4508707523345947 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 marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 19:22:32.540424
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/19/22/image_08032025_19_22_45_9921.jpg', 2), ('/home/nano/Desktop/images/08032025/19/22/image_08032025_19_22_35_9922.jpg', 2), ('/home/nano/Desktop/images/08032025/19/22/image_08032025_19_22_25_9924.jpg', 2), ('/home/nano/Desktop/images/08032025/19/22/image_08032025_19_22_15_9922.jpg', 2), ('/home/nano/Desktop/images/08032025/19/21/image_08032025_19_22_05_9943.jpg', 2), ('/home/nano/Desktop/images/08032025/19/21/image_08032025_19_21_55_9919.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/19/22/image_08032025_19_22_45_9921.jpg', '/home/nano/Desktop/images/08032025/19/22/image_08032025_19_22_35_9922.jpg', '/home/nano/Desktop/images/08032025/19/22/image_08032025_19_22_25_9924.jpg', '/home/nano/Desktop/images/08032025/19/22/image_08032025_19_22_15_9922.jpg', '/home/nano/Desktop/images/08032025/19/21/image_08032025_19_22_05_9943.jpg', '/home/nano/Desktop/images/08032025/19/21/image_08032025_19_21_55_9919.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/19/22/image_08032025_19_22_45_9921.jpg
/home/nano/Desktop/images/08032025/19/22/image_08032025_19_22_35_9922.jpg
/home/nano/Desktop/images/08032025/19/22/image_08032025_19_22_25_9924.jpg
/home/nano/Desktop/images/08032025/19/22/image_08032025_19_22_15_9922.jpg
/home/nano/Desktop/images/08032025/19/21/image_08032025_19_22_05_9943.jpg
/home/nano/Desktop/images/08032025/19/21/image_08032025_19_21_55_9919.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341975240","1341975224","1341975193","1341975280","1341975220","1341975273"],"photo_ids_order":["1341975193","1341975220","1341975224","1341975240","1341975273","1341975280"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/f7198a12fb4412e7a8f3dd312e8b6f05.jpg","text":"TemporaryFile(/tmp/multipartBody8205593127230024410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741458212960,"filename":"image_08032025_19_22_15_9922.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/7baedeea1eb9d4b24e868f426f685d15.jpg","text":"TemporaryFile(/tmp/multipartBody3067849007271477069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741458212960,"filename":"image_08032025_19_22_25_9924.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/9a1bcff675e9d018339f18dc696b8744.jpg","text":"TemporaryFile(/tmp/multipartBody4932346830566631115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741458212960,"filename":"image_08032025_19_22_45_9921.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/3762ff7b0f4553e2b816634a272f7f64.jpg","text":"TemporaryFile(/tmp/multipartBody6388644369940822085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741458212960,"filename":"image_08032025_19_21_55_9919.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/24fe0b40605c97c06e57af1920c98702.jpg","text":"TemporaryFile(/tmp/multipartBody2805589921069154621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741458212960,"filename":"image_08032025_19_22_35_9922.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/407d88e7b0da3b7fa2fc7cd29bbca034.jpg","text":"TemporaryFile(/tmp/multipartBody6445903613200402415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741458212960,"filename":"image_08032025_19_22_05_9943.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341975224","file1":"1341975220","file0":"1341975193","file4":"1341975273","file5":"1341975280","file3":"1341975240"},"map_files_photo_id_array":[{"photo_id":"1341975280","filename":"file5"},{"photo_id":"1341975224","filename":"file2"},{"photo_id":"1341975273","filename":"file4"},{"photo_id":"1341975220","filename":"file1"},{"photo_id":"1341975193","filename":"file0"},{"photo_id":"1341975240","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341975240":["hashtag1","hashtag2"]},{"1341975224":["hashtag1","hashtag2"]},{"1341975193":["hashtag1","hashtag2"]},{"1341975280":["hashtag1","hashtag2"]},{"1341975220":["hashtag1","hashtag2"]},{"1341975273":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341975240, 1341975224, 1341975193, 1341975280, 1341975220, 1341975273)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.34316086769104 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 19:23:32.626942
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/19/23/image_08032025_19_23_35_9919.jpg', 2), ('/home/nano/Desktop/images/08032025/19/23/image_08032025_19_23_25_9943.jpg', 2), ('/home/nano/Desktop/images/08032025/19/23/image_08032025_19_23_15_9919.jpg', 2), ('/home/nano/Desktop/images/08032025/19/22/image_08032025_19_23_05_9947.jpg', 2), ('/home/nano/Desktop/images/08032025/19/22/image_08032025_19_22_55_9942.jpg', 2), ('/home/nano/Desktop/images/08032025/19/21/image_08032025_19_21_46_10927.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/19/23/image_08032025_19_23_35_9919.jpg', '/home/nano/Desktop/images/08032025/19/23/image_08032025_19_23_25_9943.jpg', '/home/nano/Desktop/images/08032025/19/23/image_08032025_19_23_15_9919.jpg', '/home/nano/Desktop/images/08032025/19/22/image_08032025_19_23_05_9947.jpg', '/home/nano/Desktop/images/08032025/19/22/image_08032025_19_22_55_9942.jpg', '/home/nano/Desktop/images/08032025/19/21/image_08032025_19_21_46_10927.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/19/23/image_08032025_19_23_35_9919.jpg
/home/nano/Desktop/images/08032025/19/23/image_08032025_19_23_25_9943.jpg
/home/nano/Desktop/images/08032025/19/23/image_08032025_19_23_15_9919.jpg
/home/nano/Desktop/images/08032025/19/22/image_08032025_19_23_05_9947.jpg
/home/nano/Desktop/images/08032025/19/22/image_08032025_19_22_55_9942.jpg
/home/nano/Desktop/images/08032025/19/21/image_08032025_19_21_46_10927.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341975534","1341975449","1341975515","1341975427","1341975498","1341975471"],"photo_ids_order":["1341975427","1341975449","1341975471","1341975498","1341975515","1341975534"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/4bdd21544c6479fcf025cf0c637b9483.jpg","text":"TemporaryFile(/tmp/multipartBody497596117660188539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741458273058,"filename":"image_08032025_19_21_46_10927.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/6d05b7e582775229493f46de944f0485.jpg","text":"TemporaryFile(/tmp/multipartBody1029025637577202772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741458273058,"filename":"image_08032025_19_23_25_9943.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/5a5cc139a920915402770b6a5ff29752.jpg","text":"TemporaryFile(/tmp/multipartBody1590472039963094151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741458273058,"filename":"image_08032025_19_22_55_9942.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/a4c49e53e75528cd2e7aecd78bf04044.jpg","text":"TemporaryFile(/tmp/multipartBody7378818439628979253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741458273058,"filename":"image_08032025_19_23_35_9919.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/d20cafaa5de3f0d2a1ffa03ac7e062d1.jpg","text":"TemporaryFile(/tmp/multipartBody3129092650114277825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741458273058,"filename":"image_08032025_19_23_05_9947.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/365ebcf17e0807c20d83cda6355e900a.jpg","text":"TemporaryFile(/tmp/multipartBody5758820792129773479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741458273058,"filename":"image_08032025_19_23_15_9919.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341975471","file1":"1341975449","file0":"1341975427","file4":"1341975515","file5":"1341975534","file3":"1341975498"},"map_files_photo_id_array":[{"photo_id":"1341975534","filename":"file5"},{"photo_id":"1341975471","filename":"file2"},{"photo_id":"1341975515","filename":"file4"},{"photo_id":"1341975449","filename":"file1"},{"photo_id":"1341975427","filename":"file0"},{"photo_id":"1341975498","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341975534":["hashtag1","hashtag2"]},{"1341975449":["hashtag1","hashtag2"]},{"1341975515":["hashtag1","hashtag2"]},{"1341975427":["hashtag1","hashtag2"]},{"1341975498":["hashtag1","hashtag2"]},{"1341975471":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341975534, 1341975449, 1341975515, 1341975427, 1341975498, 1341975471)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.80284881591797 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 19:24:32.726411
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/19/24/image_08032025_19_24_45_9917.jpg', 2), ('/home/nano/Desktop/images/08032025/19/24/image_08032025_19_24_35_9919.jpg', 2), ('/home/nano/Desktop/images/08032025/19/24/image_08032025_19_24_25_9918.jpg', 2), ('/home/nano/Desktop/images/08032025/19/23/image_08032025_19_24_06_9949.jpg', 2), ('/home/nano/Desktop/images/08032025/19/23/image_08032025_19_23_45_9918.jpg', 2), ('/home/nano/Desktop/images/08032025/19/21/image_08032025_19_21_35_9921.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/19/24/image_08032025_19_24_45_9917.jpg', '/home/nano/Desktop/images/08032025/19/24/image_08032025_19_24_35_9919.jpg', '/home/nano/Desktop/images/08032025/19/24/image_08032025_19_24_25_9918.jpg', '/home/nano/Desktop/images/08032025/19/23/image_08032025_19_24_06_9949.jpg', '/home/nano/Desktop/images/08032025/19/23/image_08032025_19_23_45_9918.jpg', '/home/nano/Desktop/images/08032025/19/21/image_08032025_19_21_35_9921.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/19/24/image_08032025_19_24_45_9917.jpg
/home/nano/Desktop/images/08032025/19/24/image_08032025_19_24_35_9919.jpg
/home/nano/Desktop/images/08032025/19/24/image_08032025_19_24_25_9918.jpg
/home/nano/Desktop/images/08032025/19/23/image_08032025_19_24_06_9949.jpg
/home/nano/Desktop/images/08032025/19/23/image_08032025_19_23_45_9918.jpg
/home/nano/Desktop/images/08032025/19/21/image_08032025_19_21_35_9921.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341976073","1341976058","1341976069","1341976065","1341976050","1341975978"],"photo_ids_order":["1341975978","1341976050","1341976058","1341976065","1341976069","1341976073"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/cae06000428ff5a5c880ffbecba88202.jpg","text":"TemporaryFile(/tmp/multipartBody4857341994448302897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741458333150,"filename":"image_08032025_19_21_35_9921.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/6fbc7740bd320742a9f065f5e9a5cea9.jpg","text":"TemporaryFile(/tmp/multipartBody6639847028193187983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741458333150,"filename":"image_08032025_19_24_25_9918.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/ff1dce77ab16d3665ce371356e6ba04e.jpg","text":"TemporaryFile(/tmp/multipartBody5503701031508224208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741458333150,"filename":"image_08032025_19_23_45_9918.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/03c5586b6d26792c318182082ed58621.jpg","text":"TemporaryFile(/tmp/multipartBody1634425126791886017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741458333150,"filename":"image_08032025_19_24_06_9949.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/45f6ccab9c0a705d8d1de759b206f87d.jpg","text":"TemporaryFile(/tmp/multipartBody1322160760190549718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741458333150,"filename":"image_08032025_19_24_35_9919.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/08bdf3f493b1c2f0e452a424ed7c10b5.jpg","text":"TemporaryFile(/tmp/multipartBody5709432523974021868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741458333150,"filename":"image_08032025_19_24_45_9917.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341976058","file1":"1341976050","file0":"1341975978","file4":"1341976069","file5":"1341976073","file3":"1341976065"},"map_files_photo_id_array":[{"photo_id":"1341976073","filename":"file5"},{"photo_id":"1341976058","filename":"file2"},{"photo_id":"1341976069","filename":"file4"},{"photo_id":"1341976050","filename":"file1"},{"photo_id":"1341975978","filename":"file0"},{"photo_id":"1341976065","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341976073":["hashtag1","hashtag2"]},{"1341976058":["hashtag1","hashtag2"]},{"1341976069":["hashtag1","hashtag2"]},{"1341976065":["hashtag1","hashtag2"]},{"1341976050":["hashtag1","hashtag2"]},{"1341975978":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341976073, 1341976058, 1341976069, 1341976065, 1341976050, 1341975978)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.30681347846985 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 19:25:31.816412
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/19/25/image_08032025_19_25_45_9920.jpg', 2), ('/home/nano/Desktop/images/08032025/19/25/image_08032025_19_25_35_9918.jpg', 2), ('/home/nano/Desktop/images/08032025/19/25/image_08032025_19_25_25_9947.jpg', 2), ('/home/nano/Desktop/images/08032025/19/25/image_08032025_19_25_15_9929.jpg', 2), ('/home/nano/Desktop/images/08032025/19/24/image_08032025_19_25_05_9935.jpg', 2), ('/home/nano/Desktop/images/08032025/19/24/image_08032025_19_24_55_9923.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/19/25/image_08032025_19_25_45_9920.jpg', '/home/nano/Desktop/images/08032025/19/25/image_08032025_19_25_35_9918.jpg', '/home/nano/Desktop/images/08032025/19/25/image_08032025_19_25_25_9947.jpg', '/home/nano/Desktop/images/08032025/19/25/image_08032025_19_25_15_9929.jpg', '/home/nano/Desktop/images/08032025/19/24/image_08032025_19_25_05_9935.jpg', '/home/nano/Desktop/images/08032025/19/24/image_08032025_19_24_55_9923.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/19/25/image_08032025_19_25_45_9920.jpg
/home/nano/Desktop/images/08032025/19/25/image_08032025_19_25_35_9918.jpg
/home/nano/Desktop/images/08032025/19/25/image_08032025_19_25_25_9947.jpg
/home/nano/Desktop/images/08032025/19/25/image_08032025_19_25_15_9929.jpg
/home/nano/Desktop/images/08032025/19/24/image_08032025_19_25_05_9935.jpg
/home/nano/Desktop/images/08032025/19/24/image_08032025_19_24_55_9923.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341976121","1341976192","1341976096","1341976162","1341976212","1341976140"],"photo_ids_order":["1341976096","1341976121","1341976140","1341976162","1341976192","1341976212"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/b3d083e61cb79dbe61407a6fbcd37e28.jpg","text":"TemporaryFile(/tmp/multipartBody9079817033673617202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741458392239,"filename":"image_08032025_19_25_35_9918.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/68370a49cb274013ba8ecbdd249a30df.jpg","text":"TemporaryFile(/tmp/multipartBody930850548327281050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741458392239,"filename":"image_08032025_19_25_05_9935.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/1123d50ff90de681e39af787723c172d.jpg","text":"TemporaryFile(/tmp/multipartBody6394041897150150069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741458392239,"filename":"image_08032025_19_25_45_9920.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/fb88199aaada6750ae96939855d0ffdb.jpg","text":"TemporaryFile(/tmp/multipartBody643455451159015925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741458392239,"filename":"image_08032025_19_25_15_9929.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/66b80760014fd83d4fd7aaaa8f2eb5af.jpg","text":"TemporaryFile(/tmp/multipartBody1967578611682958867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741458392239,"filename":"image_08032025_19_24_55_9923.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/1f0c050745714a1023fa7c5c34d790fd.jpg","text":"TemporaryFile(/tmp/multipartBody1620735350882801954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741458392239,"filename":"image_08032025_19_25_25_9947.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341976140","file1":"1341976121","file0":"1341976096","file4":"1341976192","file5":"1341976212","file3":"1341976162"},"map_files_photo_id_array":[{"photo_id":"1341976212","filename":"file5"},{"photo_id":"1341976140","filename":"file2"},{"photo_id":"1341976192","filename":"file4"},{"photo_id":"1341976121","filename":"file1"},{"photo_id":"1341976096","filename":"file0"},{"photo_id":"1341976162","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341976121":["hashtag1","hashtag2"]},{"1341976192":["hashtag1","hashtag2"]},{"1341976096":["hashtag1","hashtag2"]},{"1341976162":["hashtag1","hashtag2"]},{"1341976212":["hashtag1","hashtag2"]},{"1341976140":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341976121, 1341976192, 1341976096, 1341976162, 1341976212, 1341976140)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.86375617980957 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 19:26:31.949987
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/19/26/image_08032025_19_26_45_9918.jpg', 2), ('/home/nano/Desktop/images/08032025/19/26/image_08032025_19_26_35_9919.jpg', 2), ('/home/nano/Desktop/images/08032025/19/26/image_08032025_19_26_26_9925.jpg', 2), ('/home/nano/Desktop/images/08032025/19/26/image_08032025_19_26_16_10924.jpg', 2), ('/home/nano/Desktop/images/08032025/19/25/image_08032025_19_26_05_9939.jpg', 2), ('/home/nano/Desktop/images/08032025/19/25/image_08032025_19_25_55_9917.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/19/26/image_08032025_19_26_45_9918.jpg', '/home/nano/Desktop/images/08032025/19/26/image_08032025_19_26_35_9919.jpg', '/home/nano/Desktop/images/08032025/19/26/image_08032025_19_26_26_9925.jpg', '/home/nano/Desktop/images/08032025/19/26/image_08032025_19_26_16_10924.jpg', '/home/nano/Desktop/images/08032025/19/25/image_08032025_19_26_05_9939.jpg', '/home/nano/Desktop/images/08032025/19/25/image_08032025_19_25_55_9917.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/19/26/image_08032025_19_26_45_9918.jpg
/home/nano/Desktop/images/08032025/19/26/image_08032025_19_26_35_9919.jpg
/home/nano/Desktop/images/08032025/19/26/image_08032025_19_26_26_9925.jpg
/home/nano/Desktop/images/08032025/19/26/image_08032025_19_26_16_10924.jpg
/home/nano/Desktop/images/08032025/19/25/image_08032025_19_26_05_9939.jpg
/home/nano/Desktop/images/08032025/19/25/image_08032025_19_25_55_9917.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341976292","1341976301","1341976285","1341976288","1341976281","1341976298"],"photo_ids_order":["1341976281","1341976285","1341976288","1341976292","1341976298","1341976301"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/48e1d545cc4ecdc90b077872d057c1bf.jpg","text":"TemporaryFile(/tmp/multipartBody6695675854916614379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741458452367,"filename":"image_08032025_19_26_16_10924.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/571b805a353cb248054cc155f19026f1.jpg","text":"TemporaryFile(/tmp/multipartBody2644764177192362351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741458452367,"filename":"image_08032025_19_25_55_9917.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/605f905582aba93dd178e9d452a5e2e2.jpg","text":"TemporaryFile(/tmp/multipartBody4245529945506101489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741458452367,"filename":"image_08032025_19_26_35_9919.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/38e52d19af074e8fc87f49017a1cf5c8.jpg","text":"TemporaryFile(/tmp/multipartBody6644379946596941747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741458452367,"filename":"image_08032025_19_26_26_9925.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/bfc11a08e105e4661048e432d6ab7d26.jpg","text":"TemporaryFile(/tmp/multipartBody5626116031241494207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741458452367,"filename":"image_08032025_19_26_45_9918.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/347eb227c9c5ff742dd7ae4368688a2e.jpg","text":"TemporaryFile(/tmp/multipartBody6788618957489126054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741458452367,"filename":"image_08032025_19_26_05_9939.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341976288","file1":"1341976285","file0":"1341976281","file4":"1341976298","file5":"1341976301","file3":"1341976292"},"map_files_photo_id_array":[{"photo_id":"1341976301","filename":"file5"},{"photo_id":"1341976288","filename":"file2"},{"photo_id":"1341976298","filename":"file4"},{"photo_id":"1341976285","filename":"file1"},{"photo_id":"1341976281","filename":"file0"},{"photo_id":"1341976292","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341976292":["hashtag1","hashtag2"]},{"1341976301":["hashtag1","hashtag2"]},{"1341976285":["hashtag1","hashtag2"]},{"1341976288":["hashtag1","hashtag2"]},{"1341976281":["hashtag1","hashtag2"]},{"1341976298":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341976292, 1341976301, 1341976285, 1341976288, 1341976281, 1341976298)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.300535440444946 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 19:27:32.067464
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/19/27/image_08032025_19_27_45_9922.jpg', 2), ('/home/nano/Desktop/images/08032025/19/27/image_08032025_19_27_35_9918.jpg', 2), ('/home/nano/Desktop/images/08032025/19/27/image_08032025_19_27_25_9916.jpg', 2), ('/home/nano/Desktop/images/08032025/19/27/image_08032025_19_27_15_9924.jpg', 2), ('/home/nano/Desktop/images/08032025/19/26/image_08032025_19_27_05_9936.jpg', 2), ('/home/nano/Desktop/images/08032025/19/26/image_08032025_19_26_55_9918.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/19/27/image_08032025_19_27_45_9922.jpg', '/home/nano/Desktop/images/08032025/19/27/image_08032025_19_27_35_9918.jpg', '/home/nano/Desktop/images/08032025/19/27/image_08032025_19_27_25_9916.jpg', '/home/nano/Desktop/images/08032025/19/27/image_08032025_19_27_15_9924.jpg', '/home/nano/Desktop/images/08032025/19/26/image_08032025_19_27_05_9936.jpg', '/home/nano/Desktop/images/08032025/19/26/image_08032025_19_26_55_9918.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/19/27/image_08032025_19_27_45_9922.jpg
/home/nano/Desktop/images/08032025/19/27/image_08032025_19_27_35_9918.jpg
/home/nano/Desktop/images/08032025/19/27/image_08032025_19_27_25_9916.jpg
/home/nano/Desktop/images/08032025/19/27/image_08032025_19_27_15_9924.jpg
/home/nano/Desktop/images/08032025/19/26/image_08032025_19_27_05_9936.jpg
/home/nano/Desktop/images/08032025/19/26/image_08032025_19_26_55_9918.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341976317","1341976334","1341976325","1341976330","1341976321","1341976338"],"photo_ids_order":["1341976317","1341976321","1341976325","1341976330","1341976334","1341976338"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/fed3d1f6f0c73f00feb3f9d7f96148f1.jpg","text":"TemporaryFile(/tmp/multipartBody8964007809279889881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741458512492,"filename":"image_08032025_19_27_45_9922.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/ccb64998f0775886af01bea47e59e791.jpg","text":"TemporaryFile(/tmp/multipartBody4665520801015555810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741458512492,"filename":"image_08032025_19_27_05_9936.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/e67018ffd301c2ce16c8cba2480d18eb.jpg","text":"TemporaryFile(/tmp/multipartBody3787691868147492321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741458512492,"filename":"image_08032025_19_27_25_9916.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/ff5f6e31d9b233cdcdf0940df004cfba.jpg","text":"TemporaryFile(/tmp/multipartBody840388755839522087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741458512492,"filename":"image_08032025_19_27_15_9924.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/5e67de7ba3062fd984d29ed4a9b7a1cd.jpg","text":"TemporaryFile(/tmp/multipartBody4252869304600100749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741458512492,"filename":"image_08032025_19_27_35_9918.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/73dec34fcad08d80b48b61c0764143bb.jpg","text":"TemporaryFile(/tmp/multipartBody8027942480555780260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741458512492,"filename":"image_08032025_19_26_55_9918.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341976325","file1":"1341976321","file0":"1341976317","file4":"1341976334","file5":"1341976338","file3":"1341976330"},"map_files_photo_id_array":[{"photo_id":"1341976338","filename":"file5"},{"photo_id":"1341976325","filename":"file2"},{"photo_id":"1341976334","filename":"file4"},{"photo_id":"1341976321","filename":"file1"},{"photo_id":"1341976317","filename":"file0"},{"photo_id":"1341976330","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341976317":["hashtag1","hashtag2"]},{"1341976334":["hashtag1","hashtag2"]},{"1341976325":["hashtag1","hashtag2"]},{"1341976330":["hashtag1","hashtag2"]},{"1341976321":["hashtag1","hashtag2"]},{"1341976338":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341976317, 1341976334, 1341976325, 1341976330, 1341976321, 1341976338)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.742913484573364 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 19:28:32.214304
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/19/28/image_08032025_19_28_45_9921.jpg', 2), ('/home/nano/Desktop/images/08032025/19/28/image_08032025_19_28_36_10929.jpg', 2), ('/home/nano/Desktop/images/08032025/19/28/image_08032025_19_28_25_9939.jpg', 2), ('/home/nano/Desktop/images/08032025/19/28/image_08032025_19_28_15_9946.jpg', 2), ('/home/nano/Desktop/images/08032025/19/27/image_08032025_19_28_05_9924.jpg', 2), ('/home/nano/Desktop/images/08032025/19/27/image_08032025_19_27_55_9917.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/19/28/image_08032025_19_28_45_9921.jpg', '/home/nano/Desktop/images/08032025/19/28/image_08032025_19_28_36_10929.jpg', '/home/nano/Desktop/images/08032025/19/28/image_08032025_19_28_25_9939.jpg', '/home/nano/Desktop/images/08032025/19/28/image_08032025_19_28_15_9946.jpg', '/home/nano/Desktop/images/08032025/19/27/image_08032025_19_28_05_9924.jpg', '/home/nano/Desktop/images/08032025/19/27/image_08032025_19_27_55_9917.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/19/28/image_08032025_19_28_45_9921.jpg
/home/nano/Desktop/images/08032025/19/28/image_08032025_19_28_36_10929.jpg
/home/nano/Desktop/images/08032025/19/28/image_08032025_19_28_25_9939.jpg
/home/nano/Desktop/images/08032025/19/28/image_08032025_19_28_15_9946.jpg
/home/nano/Desktop/images/08032025/19/27/image_08032025_19_28_05_9924.jpg
/home/nano/Desktop/images/08032025/19/27/image_08032025_19_27_55_9917.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341976499","1341976487","1341976492","1341976483","1341976477","1341976522"],"photo_ids_order":["1341976477","1341976483","1341976487","1341976492","1341976499","1341976522"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/b0eb9ee13fbf1c07f20dd1364b2bcb93.jpg","text":"TemporaryFile(/tmp/multipartBody3222269506567181422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741458572637,"filename":"image_08032025_19_28_05_9924.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/a4395c2395ef4f953a3d0fc96db64680.jpg","text":"TemporaryFile(/tmp/multipartBody579832616057145471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741458572637,"filename":"image_08032025_19_28_25_9939.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/ef612d23f666c3f4ca56001e1334c6e2.jpg","text":"TemporaryFile(/tmp/multipartBody509847882029288953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741458572637,"filename":"image_08032025_19_28_15_9946.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/df08a0bd967a9f1adbb4a59292338a98.jpg","text":"TemporaryFile(/tmp/multipartBody6222768111010300352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741458572637,"filename":"image_08032025_19_28_36_10929.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/30459edfea7e1d6431aa403453edff86.jpg","text":"TemporaryFile(/tmp/multipartBody553379530630676490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741458572637,"filename":"image_08032025_19_28_45_9921.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/4726fb30b3a6fcc424848903d89e4c01.jpg","text":"TemporaryFile(/tmp/multipartBody7030498860097587630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741458572637,"filename":"image_08032025_19_27_55_9917.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341976487","file1":"1341976483","file0":"1341976477","file4":"1341976499","file5":"1341976522","file3":"1341976492"},"map_files_photo_id_array":[{"photo_id":"1341976522","filename":"file5"},{"photo_id":"1341976487","filename":"file2"},{"photo_id":"1341976499","filename":"file4"},{"photo_id":"1341976483","filename":"file1"},{"photo_id":"1341976477","filename":"file0"},{"photo_id":"1341976492","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341976499":["hashtag1","hashtag2"]},{"1341976487":["hashtag1","hashtag2"]},{"1341976492":["hashtag1","hashtag2"]},{"1341976483":["hashtag1","hashtag2"]},{"1341976477":["hashtag1","hashtag2"]},{"1341976522":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341976499, 1341976487, 1341976492, 1341976483, 1341976477, 1341976522)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.860835552215576 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 19:29:32.332722
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/19/29/image_08032025_19_29_45_9918.jpg', 2), ('/home/nano/Desktop/images/08032025/19/29/image_08032025_19_29_35_9918.jpg', 2), ('/home/nano/Desktop/images/08032025/19/29/image_08032025_19_29_25_9921.jpg', 2), ('/home/nano/Desktop/images/08032025/19/29/image_08032025_19_29_15_9921.jpg', 2), ('/home/nano/Desktop/images/08032025/19/28/image_08032025_19_29_05_9926.jpg', 2), ('/home/nano/Desktop/images/08032025/19/28/image_08032025_19_28_55_9922.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/19/29/image_08032025_19_29_45_9918.jpg', '/home/nano/Desktop/images/08032025/19/29/image_08032025_19_29_35_9918.jpg', '/home/nano/Desktop/images/08032025/19/29/image_08032025_19_29_25_9921.jpg', '/home/nano/Desktop/images/08032025/19/29/image_08032025_19_29_15_9921.jpg', '/home/nano/Desktop/images/08032025/19/28/image_08032025_19_29_05_9926.jpg', '/home/nano/Desktop/images/08032025/19/28/image_08032025_19_28_55_9922.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/19/29/image_08032025_19_29_45_9918.jpg
/home/nano/Desktop/images/08032025/19/29/image_08032025_19_29_35_9918.jpg
/home/nano/Desktop/images/08032025/19/29/image_08032025_19_29_25_9921.jpg
/home/nano/Desktop/images/08032025/19/29/image_08032025_19_29_15_9921.jpg
/home/nano/Desktop/images/08032025/19/28/image_08032025_19_29_05_9926.jpg
/home/nano/Desktop/images/08032025/19/28/image_08032025_19_28_55_9922.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341976762","1341976732","1341976711","1341976714","1341976770","1341976737"],"photo_ids_order":["1341976711","1341976714","1341976732","1341976737","1341976762","1341976770"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/ec6675fa8140074e1b4192189ce298a4.jpg","text":"TemporaryFile(/tmp/multipartBody612866117739476536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741458632761,"filename":"image_08032025_19_29_05_9926.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/0aa60adea48316b9f7521554674873c1.jpg","text":"TemporaryFile(/tmp/multipartBody5848950810375510765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741458632761,"filename":"image_08032025_19_29_25_9921.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/3596322e8048f4b8525a976d441f157b.jpg","text":"TemporaryFile(/tmp/multipartBody17966271182570221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741458632761,"filename":"image_08032025_19_29_45_9918.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/e1074255dde04f5c8799b50876c03e90.jpg","text":"TemporaryFile(/tmp/multipartBody3492876190016725187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741458632761,"filename":"image_08032025_19_29_35_9918.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/ae72282df00eeca4d5c4ecb1bfb81a00.jpg","text":"TemporaryFile(/tmp/multipartBody3187709418624607328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741458632761,"filename":"image_08032025_19_28_55_9922.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/aecea8baccaf06bbccf0bb3d43df5174.jpg","text":"TemporaryFile(/tmp/multipartBody4701003074987255631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741458632761,"filename":"image_08032025_19_29_15_9921.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341976732","file1":"1341976714","file0":"1341976711","file4":"1341976762","file5":"1341976770","file3":"1341976737"},"map_files_photo_id_array":[{"photo_id":"1341976770","filename":"file5"},{"photo_id":"1341976732","filename":"file2"},{"photo_id":"1341976762","filename":"file4"},{"photo_id":"1341976714","filename":"file1"},{"photo_id":"1341976711","filename":"file0"},{"photo_id":"1341976737","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341976762":["hashtag1","hashtag2"]},{"1341976732":["hashtag1","hashtag2"]},{"1341976711":["hashtag1","hashtag2"]},{"1341976714":["hashtag1","hashtag2"]},{"1341976770":["hashtag1","hashtag2"]},{"1341976737":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341976762, 1341976732, 1341976711, 1341976714, 1341976770, 1341976737)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.63998341560364 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 19:30:32.412223
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/19/30/image_08032025_19_30_46_10932.jpg', 2), ('/home/nano/Desktop/images/08032025/19/30/image_08032025_19_30_35_9920.jpg', 2), ('/home/nano/Desktop/images/08032025/19/30/image_08032025_19_30_25_9945.jpg', 2), ('/home/nano/Desktop/images/08032025/19/30/image_08032025_19_30_15_9927.jpg', 2), ('/home/nano/Desktop/images/08032025/19/29/image_08032025_19_30_05_9926.jpg', 2), ('/home/nano/Desktop/images/08032025/19/29/image_08032025_19_29_55_9920.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/19/30/image_08032025_19_30_46_10932.jpg', '/home/nano/Desktop/images/08032025/19/30/image_08032025_19_30_35_9920.jpg', '/home/nano/Desktop/images/08032025/19/30/image_08032025_19_30_25_9945.jpg', '/home/nano/Desktop/images/08032025/19/30/image_08032025_19_30_15_9927.jpg', '/home/nano/Desktop/images/08032025/19/29/image_08032025_19_30_05_9926.jpg', '/home/nano/Desktop/images/08032025/19/29/image_08032025_19_29_55_9920.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/19/30/image_08032025_19_30_46_10932.jpg
/home/nano/Desktop/images/08032025/19/30/image_08032025_19_30_35_9920.jpg
/home/nano/Desktop/images/08032025/19/30/image_08032025_19_30_25_9945.jpg
/home/nano/Desktop/images/08032025/19/30/image_08032025_19_30_15_9927.jpg
/home/nano/Desktop/images/08032025/19/29/image_08032025_19_30_05_9926.jpg
/home/nano/Desktop/images/08032025/19/29/image_08032025_19_29_55_9920.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341976847","1341976802","1341976816","1341976845","1341976830","1341976842"],"photo_ids_order":["1341976802","1341976816","1341976830","1341976842","1341976845","1341976847"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/538ca1a40ae31521790f61c24b5339ef.jpg","text":"TemporaryFile(/tmp/multipartBody8835706218982852741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741458692843,"filename":"image_08032025_19_29_55_9920.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/f816eb9fbbcc783addda978856306dc3.jpg","text":"TemporaryFile(/tmp/multipartBody8066141555895819088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741458692843,"filename":"image_08032025_19_30_46_10932.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/40c4ccfd68d5c0362de97d1c0ddc6248.jpg","text":"TemporaryFile(/tmp/multipartBody8279309806108399350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741458692843,"filename":"image_08032025_19_30_35_9920.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/bfdb0ce1edae3deebc3c231260f74a95.jpg","text":"TemporaryFile(/tmp/multipartBody2057846385153862224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741458692843,"filename":"image_08032025_19_30_05_9926.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/9a4df9f75c31de2cf897d82472569472.jpg","text":"TemporaryFile(/tmp/multipartBody3277951230862728926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741458692843,"filename":"image_08032025_19_30_25_9945.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/3463f30ad0f039bb5c38217369d2bde0.jpg","text":"TemporaryFile(/tmp/multipartBody8731185955470602477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741458692843,"filename":"image_08032025_19_30_15_9927.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341976830","file1":"1341976816","file0":"1341976802","file4":"1341976845","file5":"1341976847","file3":"1341976842"},"map_files_photo_id_array":[{"photo_id":"1341976847","filename":"file5"},{"photo_id":"1341976830","filename":"file2"},{"photo_id":"1341976845","filename":"file4"},{"photo_id":"1341976816","filename":"file1"},{"photo_id":"1341976802","filename":"file0"},{"photo_id":"1341976842","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341976847":["hashtag1","hashtag2"]},{"1341976802":["hashtag1","hashtag2"]},{"1341976816":["hashtag1","hashtag2"]},{"1341976845":["hashtag1","hashtag2"]},{"1341976830":["hashtag1","hashtag2"]},{"1341976842":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341976847, 1341976802, 1341976816, 1341976845, 1341976830, 1341976842)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.741734981536865 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 19:31:32.516527
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/19/31/image_08032025_19_31_45_9916.jpg', 2), ('/home/nano/Desktop/images/08032025/19/31/image_08032025_19_31_35_9916.jpg', 2), ('/home/nano/Desktop/images/08032025/19/31/image_08032025_19_31_25_9917.jpg', 2), ('/home/nano/Desktop/images/08032025/19/31/image_08032025_19_31_15_9916.jpg', 2), ('/home/nano/Desktop/images/08032025/19/30/image_08032025_19_31_05_9933.jpg', 2), ('/home/nano/Desktop/images/08032025/19/30/image_08032025_19_30_55_9919.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/19/31/image_08032025_19_31_45_9916.jpg', '/home/nano/Desktop/images/08032025/19/31/image_08032025_19_31_35_9916.jpg', '/home/nano/Desktop/images/08032025/19/31/image_08032025_19_31_25_9917.jpg', '/home/nano/Desktop/images/08032025/19/31/image_08032025_19_31_15_9916.jpg', '/home/nano/Desktop/images/08032025/19/30/image_08032025_19_31_05_9933.jpg', '/home/nano/Desktop/images/08032025/19/30/image_08032025_19_30_55_9919.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/19/31/image_08032025_19_31_45_9916.jpg
/home/nano/Desktop/images/08032025/19/31/image_08032025_19_31_35_9916.jpg
/home/nano/Desktop/images/08032025/19/31/image_08032025_19_31_25_9917.jpg
/home/nano/Desktop/images/08032025/19/31/image_08032025_19_31_15_9916.jpg
/home/nano/Desktop/images/08032025/19/30/image_08032025_19_31_05_9933.jpg
/home/nano/Desktop/images/08032025/19/30/image_08032025_19_30_55_9919.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341976905","1341976895","1341976880","1341976901","1341976903","1341976892"],"photo_ids_order":["1341976880","1341976892","1341976895","1341976901","1341976903","1341976905"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/2abf11e0983c7daf5988a75a51ad184f.jpg","text":"TemporaryFile(/tmp/multipartBody5345939434809314261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741458752944,"filename":"image_08032025_19_30_55_9919.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/2b48efd632b856436854d0f52013aecb.jpg","text":"TemporaryFile(/tmp/multipartBody357158593859850999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741458752944,"filename":"image_08032025_19_31_25_9917.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/973e81c158f994be1313b20ddb98c2da.jpg","text":"TemporaryFile(/tmp/multipartBody8190176909412166779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741458752944,"filename":"image_08032025_19_31_45_9916.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/1efccb59f7c23a0d207a24ca17fdea5a.jpg","text":"TemporaryFile(/tmp/multipartBody1694062379679130569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741458752944,"filename":"image_08032025_19_31_15_9916.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/a8a4677dd9f993c34f481a2ad6c80366.jpg","text":"TemporaryFile(/tmp/multipartBody1796355493128807102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741458752944,"filename":"image_08032025_19_31_05_9933.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/2f97cabb666ba70694ded8fd6786532e.jpg","text":"TemporaryFile(/tmp/multipartBody7413964878314654867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741458752944,"filename":"image_08032025_19_31_35_9916.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341976895","file1":"1341976892","file0":"1341976880","file4":"1341976903","file5":"1341976905","file3":"1341976901"},"map_files_photo_id_array":[{"photo_id":"1341976905","filename":"file5"},{"photo_id":"1341976895","filename":"file2"},{"photo_id":"1341976903","filename":"file4"},{"photo_id":"1341976892","filename":"file1"},{"photo_id":"1341976880","filename":"file0"},{"photo_id":"1341976901","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341976905":["hashtag1","hashtag2"]},{"1341976895":["hashtag1","hashtag2"]},{"1341976880":["hashtag1","hashtag2"]},{"1341976901":["hashtag1","hashtag2"]},{"1341976903":["hashtag1","hashtag2"]},{"1341976892":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341976905, 1341976895, 1341976880, 1341976901, 1341976903, 1341976892)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.3205041885376 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 19:32:32.623673
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/19/32/image_08032025_19_32_45_9921.jpg', 2), ('/home/nano/Desktop/images/08032025/19/32/image_08032025_19_32_35_9941.jpg', 2), ('/home/nano/Desktop/images/08032025/19/32/image_08032025_19_32_25_9918.jpg', 2), ('/home/nano/Desktop/images/08032025/19/32/image_08032025_19_32_15_9921.jpg', 2), ('/home/nano/Desktop/images/08032025/19/31/image_08032025_19_32_05_9928.jpg', 2), ('/home/nano/Desktop/images/08032025/19/31/image_08032025_19_31_55_9929.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/19/32/image_08032025_19_32_45_9921.jpg', '/home/nano/Desktop/images/08032025/19/32/image_08032025_19_32_35_9941.jpg', '/home/nano/Desktop/images/08032025/19/32/image_08032025_19_32_25_9918.jpg', '/home/nano/Desktop/images/08032025/19/32/image_08032025_19_32_15_9921.jpg', '/home/nano/Desktop/images/08032025/19/31/image_08032025_19_32_05_9928.jpg', '/home/nano/Desktop/images/08032025/19/31/image_08032025_19_31_55_9929.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/19/32/image_08032025_19_32_45_9921.jpg
/home/nano/Desktop/images/08032025/19/32/image_08032025_19_32_35_9941.jpg
/home/nano/Desktop/images/08032025/19/32/image_08032025_19_32_25_9918.jpg
/home/nano/Desktop/images/08032025/19/32/image_08032025_19_32_15_9921.jpg
/home/nano/Desktop/images/08032025/19/31/image_08032025_19_32_05_9928.jpg
/home/nano/Desktop/images/08032025/19/31/image_08032025_19_31_55_9929.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341976969","1341976942","1341976965","1341976938","1341976932","1341976929"],"photo_ids_order":["1341976929","1341976932","1341976938","1341976942","1341976965","1341976969"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/c66da6cc3e78e3fad070bde3f254e4e1.jpg","text":"TemporaryFile(/tmp/multipartBody6034167131220169714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741458813246,"filename":"image_08032025_19_31_55_9929.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/d6acfff5114f787294fda73a2bd3f66a.jpg","text":"TemporaryFile(/tmp/multipartBody7927913583021350734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741458813246,"filename":"image_08032025_19_32_15_9921.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/ff47433d12b064e5d1feba03ae00e282.jpg","text":"TemporaryFile(/tmp/multipartBody1422186733279231538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741458813246,"filename":"image_08032025_19_32_05_9928.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/a1aa9f26e17e646bf8b3dfbcc920b01a.jpg","text":"TemporaryFile(/tmp/multipartBody7623663984716928248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741458813246,"filename":"image_08032025_19_32_25_9918.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/ab00c946566c57675c438d01d05fb25b.jpg","text":"TemporaryFile(/tmp/multipartBody8793179635608306178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741458813246,"filename":"image_08032025_19_32_35_9941.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/e889cdf4499e8827aabda2590bf0ae36.jpg","text":"TemporaryFile(/tmp/multipartBody8723788235287270427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741458813246,"filename":"image_08032025_19_32_45_9921.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341976938","file1":"1341976932","file0":"1341976929","file4":"1341976965","file5":"1341976969","file3":"1341976942"},"map_files_photo_id_array":[{"photo_id":"1341976969","filename":"file5"},{"photo_id":"1341976938","filename":"file2"},{"photo_id":"1341976965","filename":"file4"},{"photo_id":"1341976932","filename":"file1"},{"photo_id":"1341976929","filename":"file0"},{"photo_id":"1341976942","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341976969":["hashtag1","hashtag2"]},{"1341976942":["hashtag1","hashtag2"]},{"1341976965":["hashtag1","hashtag2"]},{"1341976938":["hashtag1","hashtag2"]},{"1341976932":["hashtag1","hashtag2"]},{"1341976929":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341976969, 1341976942, 1341976965, 1341976938, 1341976932, 1341976929)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.653125524520874 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 19:33:32.744425
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/19/33/image_08032025_19_33_45_9917.jpg', 2), ('/home/nano/Desktop/images/08032025/19/33/image_08032025_19_33_35_9918.jpg', 2), ('/home/nano/Desktop/images/08032025/19/33/image_08032025_19_33_25_9944.jpg', 2), ('/home/nano/Desktop/images/08032025/19/33/image_08032025_19_33_15_9923.jpg', 2), ('/home/nano/Desktop/images/08032025/19/32/image_08032025_19_33_06_9949.jpg', 2), ('/home/nano/Desktop/images/08032025/19/32/image_08032025_19_32_56_10935.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/19/33/image_08032025_19_33_45_9917.jpg', '/home/nano/Desktop/images/08032025/19/33/image_08032025_19_33_35_9918.jpg', '/home/nano/Desktop/images/08032025/19/33/image_08032025_19_33_25_9944.jpg', '/home/nano/Desktop/images/08032025/19/33/image_08032025_19_33_15_9923.jpg', '/home/nano/Desktop/images/08032025/19/32/image_08032025_19_33_06_9949.jpg', '/home/nano/Desktop/images/08032025/19/32/image_08032025_19_32_56_10935.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/19/33/image_08032025_19_33_45_9917.jpg
/home/nano/Desktop/images/08032025/19/33/image_08032025_19_33_35_9918.jpg
/home/nano/Desktop/images/08032025/19/33/image_08032025_19_33_25_9944.jpg
/home/nano/Desktop/images/08032025/19/33/image_08032025_19_33_15_9923.jpg
/home/nano/Desktop/images/08032025/19/32/image_08032025_19_33_06_9949.jpg
/home/nano/Desktop/images/08032025/19/32/image_08032025_19_32_56_10935.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341977058","1341977010","1341977096","1341977016","1341977004","1341977075"],"photo_ids_order":["1341977004","1341977010","1341977016","1341977058","1341977075","1341977096"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/9aa5a16ea532069f9e687cf161e5496a.jpg","text":"TemporaryFile(/tmp/multipartBody1032315416666424484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741458873305,"filename":"image_08032025_19_33_15_9923.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/dce3fd57c4a03d2ee8030a0652206555.jpg","text":"TemporaryFile(/tmp/multipartBody3571511153737588397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741458873305,"filename":"image_08032025_19_33_35_9918.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/8a8bbd96a878bb6ec9a300db77ee3480.jpg","text":"TemporaryFile(/tmp/multipartBody3773594259054060945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741458873305,"filename":"image_08032025_19_32_56_10935.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/558deb1d1f13f4c0938721e3b83c2494.jpg","text":"TemporaryFile(/tmp/multipartBody1535701656111972640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741458873305,"filename":"image_08032025_19_33_25_9944.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/2aab63508c49ace34bc18ab1fd134ff1.jpg","text":"TemporaryFile(/tmp/multipartBody8669047026078846989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741458873305,"filename":"image_08032025_19_33_45_9917.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/892353dc447d4631deb50f27d5fef42e.jpg","text":"TemporaryFile(/tmp/multipartBody1597463332984143466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741458873305,"filename":"image_08032025_19_33_06_9949.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341977016","file1":"1341977010","file0":"1341977004","file4":"1341977075","file5":"1341977096","file3":"1341977058"},"map_files_photo_id_array":[{"photo_id":"1341977096","filename":"file5"},{"photo_id":"1341977016","filename":"file2"},{"photo_id":"1341977075","filename":"file4"},{"photo_id":"1341977010","filename":"file1"},{"photo_id":"1341977004","filename":"file0"},{"photo_id":"1341977058","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341977058":["hashtag1","hashtag2"]},{"1341977010":["hashtag1","hashtag2"]},{"1341977096":["hashtag1","hashtag2"]},{"1341977016":["hashtag1","hashtag2"]},{"1341977004":["hashtag1","hashtag2"]},{"1341977075":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341977058, 1341977010, 1341977096, 1341977016, 1341977004, 1341977075)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.34326720237732 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 19:34:31.860970
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/19/34/image_08032025_19_34_45_9922.jpg', 2), ('/home/nano/Desktop/images/08032025/19/34/image_08032025_19_34_35_9923.jpg', 2), ('/home/nano/Desktop/images/08032025/19/34/image_08032025_19_34_25_9940.jpg', 2), ('/home/nano/Desktop/images/08032025/19/34/image_08032025_19_34_15_9925.jpg', 2), ('/home/nano/Desktop/images/08032025/19/33/image_08032025_19_34_05_9927.jpg', 2), ('/home/nano/Desktop/images/08032025/19/33/image_08032025_19_33_55_9918.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/19/34/image_08032025_19_34_45_9922.jpg', '/home/nano/Desktop/images/08032025/19/34/image_08032025_19_34_35_9923.jpg', '/home/nano/Desktop/images/08032025/19/34/image_08032025_19_34_25_9940.jpg', '/home/nano/Desktop/images/08032025/19/34/image_08032025_19_34_15_9925.jpg', '/home/nano/Desktop/images/08032025/19/33/image_08032025_19_34_05_9927.jpg', '/home/nano/Desktop/images/08032025/19/33/image_08032025_19_33_55_9918.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/19/34/image_08032025_19_34_45_9922.jpg
/home/nano/Desktop/images/08032025/19/34/image_08032025_19_34_35_9923.jpg
/home/nano/Desktop/images/08032025/19/34/image_08032025_19_34_25_9940.jpg
/home/nano/Desktop/images/08032025/19/34/image_08032025_19_34_15_9925.jpg
/home/nano/Desktop/images/08032025/19/33/image_08032025_19_34_05_9927.jpg
/home/nano/Desktop/images/08032025/19/33/image_08032025_19_33_55_9918.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341977275","1341977364","1341977361","1341977340","1341977262","1341977316"],"photo_ids_order":["1341977262","1341977275","1341977316","1341977340","1341977361","1341977364"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/4a394499f390f273e10498318b130967.jpg","text":"TemporaryFile(/tmp/multipartBody6796097467602240051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741458932403,"filename":"image_08032025_19_34_35_9923.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/dc831648b9bb468cb8462222d3b5deeb.jpg","text":"TemporaryFile(/tmp/multipartBody1881396463876940374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741458932403,"filename":"image_08032025_19_33_55_9918.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/28f568d4a8fd5b38a7e320f1a164ee00.jpg","text":"TemporaryFile(/tmp/multipartBody6481306464886762468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741458932403,"filename":"image_08032025_19_34_05_9927.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/82bf33685a0e3ca83feed13723f86ac5.jpg","text":"TemporaryFile(/tmp/multipartBody293703887384145207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741458932403,"filename":"image_08032025_19_34_15_9925.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/ab2fabae26d742eafe9945aa7100b4fc.jpg","text":"TemporaryFile(/tmp/multipartBody7429085721444677494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741458932403,"filename":"image_08032025_19_34_45_9922.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/d1a3294c33b54330d7ff33b73024305f.jpg","text":"TemporaryFile(/tmp/multipartBody8928274396499144770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741458932403,"filename":"image_08032025_19_34_25_9940.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341977316","file1":"1341977275","file0":"1341977262","file4":"1341977361","file5":"1341977364","file3":"1341977340"},"map_files_photo_id_array":[{"photo_id":"1341977364","filename":"file5"},{"photo_id":"1341977316","filename":"file2"},{"photo_id":"1341977361","filename":"file4"},{"photo_id":"1341977275","filename":"file1"},{"photo_id":"1341977262","filename":"file0"},{"photo_id":"1341977340","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341977275":["hashtag1","hashtag2"]},{"1341977364":["hashtag1","hashtag2"]},{"1341977361":["hashtag1","hashtag2"]},{"1341977340":["hashtag1","hashtag2"]},{"1341977262":["hashtag1","hashtag2"]},{"1341977316":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341977275, 1341977364, 1341977361, 1341977340, 1341977262, 1341977316)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.5407178401947 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 19:35:31.992942
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/19/35/image_08032025_19_35_45_9922.jpg', 2), ('/home/nano/Desktop/images/08032025/19/35/image_08032025_19_35_35_9921.jpg', 2), ('/home/nano/Desktop/images/08032025/19/35/image_08032025_19_35_26_9937.jpg', 2), ('/home/nano/Desktop/images/08032025/19/35/image_08032025_19_35_16_10933.jpg', 2), ('/home/nano/Desktop/images/08032025/19/34/image_08032025_19_35_05_9938.jpg', 2), ('/home/nano/Desktop/images/08032025/19/34/image_08032025_19_34_55_9915.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/19/35/image_08032025_19_35_45_9922.jpg', '/home/nano/Desktop/images/08032025/19/35/image_08032025_19_35_35_9921.jpg', '/home/nano/Desktop/images/08032025/19/35/image_08032025_19_35_26_9937.jpg', '/home/nano/Desktop/images/08032025/19/35/image_08032025_19_35_16_10933.jpg', '/home/nano/Desktop/images/08032025/19/34/image_08032025_19_35_05_9938.jpg', '/home/nano/Desktop/images/08032025/19/34/image_08032025_19_34_55_9915.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/19/35/image_08032025_19_35_45_9922.jpg
/home/nano/Desktop/images/08032025/19/35/image_08032025_19_35_35_9921.jpg
/home/nano/Desktop/images/08032025/19/35/image_08032025_19_35_26_9937.jpg
/home/nano/Desktop/images/08032025/19/35/image_08032025_19_35_16_10933.jpg
/home/nano/Desktop/images/08032025/19/34/image_08032025_19_35_05_9938.jpg
/home/nano/Desktop/images/08032025/19/34/image_08032025_19_34_55_9915.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341977488","1341977481","1341977466","1341977457","1341977495","1341977477"],"photo_ids_order":["1341977457","1341977466","1341977477","1341977481","1341977488","1341977495"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/c8e7ab4c368d5dcaa2bdeaa1fded66ab.jpg","text":"TemporaryFile(/tmp/multipartBody3755819083696008856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741458992519,"filename":"image_08032025_19_35_05_9938.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/ee0a6368e0d75e2d56271e475733f980.jpg","text":"TemporaryFile(/tmp/multipartBody7918727996772112662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741458992519,"filename":"image_08032025_19_35_16_10933.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/0aaf2694879006e903c1f409f6ec1ef8.jpg","text":"TemporaryFile(/tmp/multipartBody8502140509806432369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741458992519,"filename":"image_08032025_19_35_35_9921.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/1576e65637142d774836c253331e816d.jpg","text":"TemporaryFile(/tmp/multipartBody954415529756255849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741458992519,"filename":"image_08032025_19_35_45_9922.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/964d3cef7d7c6e2d3bc60376fa4a3cd6.jpg","text":"TemporaryFile(/tmp/multipartBody4071618084213222427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741458992519,"filename":"image_08032025_19_34_55_9915.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/37d2393de63be481cd6b91beedf59f29.jpg","text":"TemporaryFile(/tmp/multipartBody7592136192676746893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741458992519,"filename":"image_08032025_19_35_26_9937.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341977477","file1":"1341977466","file0":"1341977457","file4":"1341977488","file5":"1341977495","file3":"1341977481"},"map_files_photo_id_array":[{"photo_id":"1341977495","filename":"file5"},{"photo_id":"1341977477","filename":"file2"},{"photo_id":"1341977488","filename":"file4"},{"photo_id":"1341977466","filename":"file1"},{"photo_id":"1341977457","filename":"file0"},{"photo_id":"1341977481","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341977488":["hashtag1","hashtag2"]},{"1341977481":["hashtag1","hashtag2"]},{"1341977466":["hashtag1","hashtag2"]},{"1341977457":["hashtag1","hashtag2"]},{"1341977495":["hashtag1","hashtag2"]},{"1341977477":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341977488, 1341977481, 1341977466, 1341977457, 1341977495, 1341977477)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.98939037322998 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 19:36:32.096512
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/19/36/image_08032025_19_36_45_9920.jpg', 2), ('/home/nano/Desktop/images/08032025/19/36/image_08032025_19_36_35_9920.jpg', 2), ('/home/nano/Desktop/images/08032025/19/36/image_08032025_19_36_25_9922.jpg', 2), ('/home/nano/Desktop/images/08032025/19/36/image_08032025_19_36_15_9921.jpg', 2), ('/home/nano/Desktop/images/08032025/19/35/image_08032025_19_36_05_9935.jpg', 2), ('/home/nano/Desktop/images/08032025/19/35/image_08032025_19_35_55_9919.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/19/36/image_08032025_19_36_45_9920.jpg', '/home/nano/Desktop/images/08032025/19/36/image_08032025_19_36_35_9920.jpg', '/home/nano/Desktop/images/08032025/19/36/image_08032025_19_36_25_9922.jpg', '/home/nano/Desktop/images/08032025/19/36/image_08032025_19_36_15_9921.jpg', '/home/nano/Desktop/images/08032025/19/35/image_08032025_19_36_05_9935.jpg', '/home/nano/Desktop/images/08032025/19/35/image_08032025_19_35_55_9919.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/19/36/image_08032025_19_36_45_9920.jpg
/home/nano/Desktop/images/08032025/19/36/image_08032025_19_36_35_9920.jpg
/home/nano/Desktop/images/08032025/19/36/image_08032025_19_36_25_9922.jpg
/home/nano/Desktop/images/08032025/19/36/image_08032025_19_36_15_9921.jpg
/home/nano/Desktop/images/08032025/19/35/image_08032025_19_36_05_9935.jpg
/home/nano/Desktop/images/08032025/19/35/image_08032025_19_35_55_9919.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341977726","1341978279","1341977935","1341977793","1341978245","1341978134"],"photo_ids_order":["1341977726","1341977793","1341977935","1341978134","1341978245","1341978279"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/c96d2ea75ab9caa3e7b666c7f52beb16.jpg","text":"TemporaryFile(/tmp/multipartBody6424840126001508332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741459052641,"filename":"image_08032025_19_36_45_9920.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/7c2d289fa14f3a6cfb796859d586353d.jpg","text":"TemporaryFile(/tmp/multipartBody7454437178022187854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741459052641,"filename":"image_08032025_19_35_55_9919.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/304a5f2f10984ebbe97f946f6ef09737.jpg","text":"TemporaryFile(/tmp/multipartBody1062922218661437956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741459052641,"filename":"image_08032025_19_36_25_9922.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/eada5f355eafadce7f78e5e11b1729cb.jpg","text":"TemporaryFile(/tmp/multipartBody8418141559653862868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741459052641,"filename":"image_08032025_19_36_35_9920.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/f750db578088412a1f35ae12f77b8a19.jpg","text":"TemporaryFile(/tmp/multipartBody1627158154139733390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741459052641,"filename":"image_08032025_19_36_05_9935.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/db16fc3b764a5eaf27ed8be0d55ea8ad.jpg","text":"TemporaryFile(/tmp/multipartBody3275222330732139457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741459052641,"filename":"image_08032025_19_36_15_9921.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341977935","file1":"1341977793","file0":"1341977726","file4":"1341978245","file5":"1341978279","file3":"1341978134"},"map_files_photo_id_array":[{"photo_id":"1341978279","filename":"file5"},{"photo_id":"1341977935","filename":"file2"},{"photo_id":"1341978245","filename":"file4"},{"photo_id":"1341977793","filename":"file1"},{"photo_id":"1341977726","filename":"file0"},{"photo_id":"1341978134","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341977726":["hashtag1","hashtag2"]},{"1341978279":["hashtag1","hashtag2"]},{"1341977935":["hashtag1","hashtag2"]},{"1341977793":["hashtag1","hashtag2"]},{"1341978245":["hashtag1","hashtag2"]},{"1341978134":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341977726, 1341978279, 1341977935, 1341977793, 1341978245, 1341978134)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.99395298957825 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 19:37:32.258062
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/19/37/image_08032025_19_37_45_9920.jpg', 2), ('/home/nano/Desktop/images/08032025/19/37/image_08032025_19_37_36_10929.jpg', 2), ('/home/nano/Desktop/images/08032025/19/37/image_08032025_19_37_25_9923.jpg', 2), ('/home/nano/Desktop/images/08032025/19/37/image_08032025_19_37_15_9942.jpg', 2), ('/home/nano/Desktop/images/08032025/19/36/image_08032025_19_37_05_9941.jpg', 2), ('/home/nano/Desktop/images/08032025/19/36/image_08032025_19_36_55_9925.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/19/37/image_08032025_19_37_45_9920.jpg', '/home/nano/Desktop/images/08032025/19/37/image_08032025_19_37_36_10929.jpg', '/home/nano/Desktop/images/08032025/19/37/image_08032025_19_37_25_9923.jpg', '/home/nano/Desktop/images/08032025/19/37/image_08032025_19_37_15_9942.jpg', '/home/nano/Desktop/images/08032025/19/36/image_08032025_19_37_05_9941.jpg', '/home/nano/Desktop/images/08032025/19/36/image_08032025_19_36_55_9925.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/19/37/image_08032025_19_37_45_9920.jpg
/home/nano/Desktop/images/08032025/19/37/image_08032025_19_37_36_10929.jpg
/home/nano/Desktop/images/08032025/19/37/image_08032025_19_37_25_9923.jpg
/home/nano/Desktop/images/08032025/19/37/image_08032025_19_37_15_9942.jpg
/home/nano/Desktop/images/08032025/19/36/image_08032025_19_37_05_9941.jpg
/home/nano/Desktop/images/08032025/19/36/image_08032025_19_36_55_9925.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341978553","1341978621","1341978557","1341978545","1341978626","1341978589"],"photo_ids_order":["1341978545","1341978553","1341978557","1341978589","1341978621","1341978626"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/dd390cf29646526245038e97f815e8fd.jpg","text":"TemporaryFile(/tmp/multipartBody4493283110037766240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741459112836,"filename":"image_08032025_19_37_36_10929.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/ae2cde4fc79591ce1891c877a57b1bdf.jpg","text":"TemporaryFile(/tmp/multipartBody6185810577350558635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741459112836,"filename":"image_08032025_19_37_05_9941.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/73c7be3c3805ade78639dc1e4c708182.jpg","text":"TemporaryFile(/tmp/multipartBody4953865802859358454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741459112836,"filename":"image_08032025_19_37_25_9923.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/271cbf506f24ce0e7dde84c4f61d6d29.jpg","text":"TemporaryFile(/tmp/multipartBody5103783830782356107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741459112836,"filename":"image_08032025_19_37_45_9920.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/63a3aae4e7d4706b1a7baa2bd29e17b5.jpg","text":"TemporaryFile(/tmp/multipartBody6419224355229875737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741459112836,"filename":"image_08032025_19_36_55_9925.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/969032f5b4644178865e3295c9fec6eb.jpg","text":"TemporaryFile(/tmp/multipartBody5738435716944413733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741459112836,"filename":"image_08032025_19_37_15_9942.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341978557","file1":"1341978553","file0":"1341978545","file4":"1341978621","file5":"1341978626","file3":"1341978589"},"map_files_photo_id_array":[{"photo_id":"1341978626","filename":"file5"},{"photo_id":"1341978557","filename":"file2"},{"photo_id":"1341978621","filename":"file4"},{"photo_id":"1341978553","filename":"file1"},{"photo_id":"1341978545","filename":"file0"},{"photo_id":"1341978589","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341978553":["hashtag1","hashtag2"]},{"1341978621":["hashtag1","hashtag2"]},{"1341978557":["hashtag1","hashtag2"]},{"1341978545":["hashtag1","hashtag2"]},{"1341978626":["hashtag1","hashtag2"]},{"1341978589":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341978553, 1341978621, 1341978557, 1341978545, 1341978626, 1341978589)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.297884941101074 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 19:38:32.346643
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/19/38/image_08032025_19_38_45_9922.jpg', 2), ('/home/nano/Desktop/images/08032025/19/38/image_08032025_19_38_35_9924.jpg', 2), ('/home/nano/Desktop/images/08032025/19/38/image_08032025_19_38_25_9937.jpg', 2), ('/home/nano/Desktop/images/08032025/19/38/image_08032025_19_38_15_9925.jpg', 2), ('/home/nano/Desktop/images/08032025/19/37/image_08032025_19_38_05_9947.jpg', 2), ('/home/nano/Desktop/images/08032025/19/37/image_08032025_19_37_55_9922.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/19/38/image_08032025_19_38_45_9922.jpg', '/home/nano/Desktop/images/08032025/19/38/image_08032025_19_38_35_9924.jpg', '/home/nano/Desktop/images/08032025/19/38/image_08032025_19_38_25_9937.jpg', '/home/nano/Desktop/images/08032025/19/38/image_08032025_19_38_15_9925.jpg', '/home/nano/Desktop/images/08032025/19/37/image_08032025_19_38_05_9947.jpg', '/home/nano/Desktop/images/08032025/19/37/image_08032025_19_37_55_9922.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/19/38/image_08032025_19_38_45_9922.jpg
/home/nano/Desktop/images/08032025/19/38/image_08032025_19_38_35_9924.jpg
/home/nano/Desktop/images/08032025/19/38/image_08032025_19_38_25_9937.jpg
/home/nano/Desktop/images/08032025/19/38/image_08032025_19_38_15_9925.jpg
/home/nano/Desktop/images/08032025/19/37/image_08032025_19_38_05_9947.jpg
/home/nano/Desktop/images/08032025/19/37/image_08032025_19_37_55_9922.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.45702075958251953 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 marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 19:39:03.362198
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/19/38/image_08032025_19_38_45_9922.jpg', 2), ('/home/nano/Desktop/images/08032025/19/38/image_08032025_19_38_35_9924.jpg', 2), ('/home/nano/Desktop/images/08032025/19/38/image_08032025_19_38_25_9937.jpg', 2), ('/home/nano/Desktop/images/08032025/19/38/image_08032025_19_38_15_9925.jpg', 2), ('/home/nano/Desktop/images/08032025/19/37/image_08032025_19_38_05_9947.jpg', 2), ('/home/nano/Desktop/images/08032025/19/37/image_08032025_19_37_55_9922.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/19/38/image_08032025_19_38_45_9922.jpg', '/home/nano/Desktop/images/08032025/19/38/image_08032025_19_38_35_9924.jpg', '/home/nano/Desktop/images/08032025/19/38/image_08032025_19_38_25_9937.jpg', '/home/nano/Desktop/images/08032025/19/38/image_08032025_19_38_15_9925.jpg', '/home/nano/Desktop/images/08032025/19/37/image_08032025_19_38_05_9947.jpg', '/home/nano/Desktop/images/08032025/19/37/image_08032025_19_37_55_9922.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/19/38/image_08032025_19_38_45_9922.jpg
/home/nano/Desktop/images/08032025/19/38/image_08032025_19_38_35_9924.jpg
/home/nano/Desktop/images/08032025/19/38/image_08032025_19_38_25_9937.jpg
/home/nano/Desktop/images/08032025/19/38/image_08032025_19_38_15_9925.jpg
/home/nano/Desktop/images/08032025/19/37/image_08032025_19_38_05_9947.jpg
/home/nano/Desktop/images/08032025/19/37/image_08032025_19_37_55_9922.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341979542","1341979512","1341979397","1341979586","1341979466","1341979372"],"photo_ids_order":["1341979372","1341979397","1341979466","1341979512","1341979542","1341979586"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/aa636f8bc84b553db6b87b71cb37a3e0.jpg","text":"TemporaryFile(/tmp/multipartBody4301263303332069809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741459204533,"filename":"image_08032025_19_38_05_9947.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/af0df36f8f112bd243c9df04d9782f46.jpg","text":"TemporaryFile(/tmp/multipartBody6446601782154729744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741459204533,"filename":"image_08032025_19_38_15_9925.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/72c5b528b1ac7ba143998a2477848295.jpg","text":"TemporaryFile(/tmp/multipartBody2848352473968730021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741459204533,"filename":"image_08032025_19_38_35_9924.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/346cbb4cb79a54884507ef40d6c54f19.jpg","text":"TemporaryFile(/tmp/multipartBody1103218946002878745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741459204533,"filename":"image_08032025_19_37_55_9922.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/fee7bab733822f63d3b608185b75e592.jpg","text":"TemporaryFile(/tmp/multipartBody3576243959007703744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741459204533,"filename":"image_08032025_19_38_25_9937.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/279b21b7fae5cda14ccc6da78bcce9d4.jpg","text":"TemporaryFile(/tmp/multipartBody3888857977297969204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741459204533,"filename":"image_08032025_19_38_45_9922.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341979466","file1":"1341979397","file0":"1341979372","file4":"1341979542","file5":"1341979586","file3":"1341979512"},"map_files_photo_id_array":[{"photo_id":"1341979586","filename":"file5"},{"photo_id":"1341979466","filename":"file2"},{"photo_id":"1341979542","filename":"file4"},{"photo_id":"1341979397","filename":"file1"},{"photo_id":"1341979372","filename":"file0"},{"photo_id":"1341979512","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341979542":["hashtag1","hashtag2"]},{"1341979512":["hashtag1","hashtag2"]},{"1341979397":["hashtag1","hashtag2"]},{"1341979586":["hashtag1","hashtag2"]},{"1341979466":["hashtag1","hashtag2"]},{"1341979372":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341979542, 1341979512, 1341979397, 1341979586, 1341979466, 1341979372)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.727741718292236 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 19:40:03.125897
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/19/39/image_08032025_19_39_45_9922.jpg', 2), ('/home/nano/Desktop/images/08032025/19/39/image_08032025_19_39_35_9922.jpg', 2), ('/home/nano/Desktop/images/08032025/19/39/image_08032025_19_39_25_9922.jpg', 2), ('/home/nano/Desktop/images/08032025/19/39/image_08032025_19_39_15_9918.jpg', 2), ('/home/nano/Desktop/images/08032025/19/38/image_08032025_19_39_05_9927.jpg', 2), ('/home/nano/Desktop/images/08032025/19/38/image_08032025_19_38_55_9920.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/19/39/image_08032025_19_39_45_9922.jpg', '/home/nano/Desktop/images/08032025/19/39/image_08032025_19_39_35_9922.jpg', '/home/nano/Desktop/images/08032025/19/39/image_08032025_19_39_25_9922.jpg', '/home/nano/Desktop/images/08032025/19/39/image_08032025_19_39_15_9918.jpg', '/home/nano/Desktop/images/08032025/19/38/image_08032025_19_39_05_9927.jpg', '/home/nano/Desktop/images/08032025/19/38/image_08032025_19_38_55_9920.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/19/39/image_08032025_19_39_45_9922.jpg
/home/nano/Desktop/images/08032025/19/39/image_08032025_19_39_35_9922.jpg
/home/nano/Desktop/images/08032025/19/39/image_08032025_19_39_25_9922.jpg
/home/nano/Desktop/images/08032025/19/39/image_08032025_19_39_15_9918.jpg
/home/nano/Desktop/images/08032025/19/38/image_08032025_19_39_05_9927.jpg
/home/nano/Desktop/images/08032025/19/38/image_08032025_19_38_55_9920.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341979918","1341980068","1341980032","1341979970","1341980093","1341979996"],"photo_ids_order":["1341979918","1341979970","1341979996","1341980032","1341980068","1341980093"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/15cd6bc0464e44093e06b448c6725db2.jpg","text":"TemporaryFile(/tmp/multipartBody4237718816344744169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741459264041,"filename":"image_08032025_19_39_45_9922.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/ce2e18b98429ba5e6fb32e559856add2.jpg","text":"TemporaryFile(/tmp/multipartBody2590092385834053396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741459264041,"filename":"image_08032025_19_39_05_9927.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/42fdfd77889cc43988f2401b5bc6bf6f.jpg","text":"TemporaryFile(/tmp/multipartBody8966887264788497027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741459264041,"filename":"image_08032025_19_39_15_9918.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/3a082a406b156a9cb59f5d52cab01668.jpg","text":"TemporaryFile(/tmp/multipartBody5977685503086114774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741459264041,"filename":"image_08032025_19_39_35_9922.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/8057a9c3219e3685c437878fd64296f9.jpg","text":"TemporaryFile(/tmp/multipartBody2666194641626712303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741459264041,"filename":"image_08032025_19_38_55_9920.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/69262a01c7fe1969e2b6bfd04ff71388.jpg","text":"TemporaryFile(/tmp/multipartBody7603195450998263023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741459264041,"filename":"image_08032025_19_39_25_9922.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341979996","file1":"1341979970","file0":"1341979918","file4":"1341980068","file5":"1341980093","file3":"1341980032"},"map_files_photo_id_array":[{"photo_id":"1341980093","filename":"file5"},{"photo_id":"1341979996","filename":"file2"},{"photo_id":"1341980068","filename":"file4"},{"photo_id":"1341979970","filename":"file1"},{"photo_id":"1341979918","filename":"file0"},{"photo_id":"1341980032","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341979918":["hashtag1","hashtag2"]},{"1341980068":["hashtag1","hashtag2"]},{"1341980032":["hashtag1","hashtag2"]},{"1341979970":["hashtag1","hashtag2"]},{"1341980093":["hashtag1","hashtag2"]},{"1341979996":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341979918, 1341980068, 1341980032, 1341979970, 1341980093, 1341979996)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.76114559173584 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 19:41:03.223499
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/19/40/image_08032025_19_40_45_9936.jpg', 2), ('/home/nano/Desktop/images/08032025/19/40/image_08032025_19_40_35_9943.jpg', 2), ('/home/nano/Desktop/images/08032025/19/40/image_08032025_19_40_25_9965.jpg', 2), ('/home/nano/Desktop/images/08032025/19/40/image_08032025_19_40_15_9935.jpg', 2), ('/home/nano/Desktop/images/08032025/19/39/image_08032025_19_40_05_9950.jpg', 2), ('/home/nano/Desktop/images/08032025/19/39/image_08032025_19_39_56_10927.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/19/40/image_08032025_19_40_45_9936.jpg', '/home/nano/Desktop/images/08032025/19/40/image_08032025_19_40_35_9943.jpg', '/home/nano/Desktop/images/08032025/19/40/image_08032025_19_40_25_9965.jpg', '/home/nano/Desktop/images/08032025/19/40/image_08032025_19_40_15_9935.jpg', '/home/nano/Desktop/images/08032025/19/39/image_08032025_19_40_05_9950.jpg', '/home/nano/Desktop/images/08032025/19/39/image_08032025_19_39_56_10927.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/19/40/image_08032025_19_40_45_9936.jpg
/home/nano/Desktop/images/08032025/19/40/image_08032025_19_40_35_9943.jpg
/home/nano/Desktop/images/08032025/19/40/image_08032025_19_40_25_9965.jpg
/home/nano/Desktop/images/08032025/19/40/image_08032025_19_40_15_9935.jpg
/home/nano/Desktop/images/08032025/19/39/image_08032025_19_40_05_9950.jpg
/home/nano/Desktop/images/08032025/19/39/image_08032025_19_39_56_10927.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341980839","1341980518","1341980580","1341980439","1341980642","1341980726"],"photo_ids_order":["1341980439","1341980518","1341980580","1341980642","1341980726","1341980839"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/cb54912f8334814ae0bf098b60ffa7df.jpg","text":"TemporaryFile(/tmp/multipartBody4930451823898691946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741459323666,"filename":"image_08032025_19_39_56_10927.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/fb4e5bd03355400f7c4d866dd91ab314.jpg","text":"TemporaryFile(/tmp/multipartBody3919443328183896935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741459323666,"filename":"image_08032025_19_40_35_9943.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/38465c44b27a2f893d28df021c0729c4.jpg","text":"TemporaryFile(/tmp/multipartBody2854719766920935966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741459323666,"filename":"image_08032025_19_40_25_9965.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/4f8fee7fa2156f00c41a5e334f28079e.jpg","text":"TemporaryFile(/tmp/multipartBody7925044475217464740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741459323666,"filename":"image_08032025_19_40_45_9936.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/d1877cbf990379c7f22fc11c47ec002c.jpg","text":"TemporaryFile(/tmp/multipartBody2690215019046826509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741459323666,"filename":"image_08032025_19_40_15_9935.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/62f5ea789614a6f7199da6d3c79b2c55.jpg","text":"TemporaryFile(/tmp/multipartBody3268277792344600874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741459323666,"filename":"image_08032025_19_40_05_9950.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341980580","file1":"1341980518","file0":"1341980439","file4":"1341980726","file5":"1341980839","file3":"1341980642"},"map_files_photo_id_array":[{"photo_id":"1341980839","filename":"file5"},{"photo_id":"1341980580","filename":"file2"},{"photo_id":"1341980726","filename":"file4"},{"photo_id":"1341980518","filename":"file1"},{"photo_id":"1341980439","filename":"file0"},{"photo_id":"1341980642","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341980839":["hashtag1","hashtag2"]},{"1341980518":["hashtag1","hashtag2"]},{"1341980580":["hashtag1","hashtag2"]},{"1341980439":["hashtag1","hashtag2"]},{"1341980642":["hashtag1","hashtag2"]},{"1341980726":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341980839, 1341980518, 1341980580, 1341980439, 1341980642, 1341980726)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.85248589515686 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 19:42:02.365371
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/19/41/image_08032025_19_41_45_9927.jpg', 2), ('/home/nano/Desktop/images/08032025/19/41/image_08032025_19_41_35_9916.jpg', 2), ('/home/nano/Desktop/images/08032025/19/41/image_08032025_19_41_25_9924.jpg', 2), ('/home/nano/Desktop/images/08032025/19/41/image_08032025_19_41_15_9923.jpg', 2), ('/home/nano/Desktop/images/08032025/19/40/image_08032025_19_41_05_9929.jpg', 2), ('/home/nano/Desktop/images/08032025/19/40/image_08032025_19_40_55_9921.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/19/41/image_08032025_19_41_45_9927.jpg', '/home/nano/Desktop/images/08032025/19/41/image_08032025_19_41_35_9916.jpg', '/home/nano/Desktop/images/08032025/19/41/image_08032025_19_41_25_9924.jpg', '/home/nano/Desktop/images/08032025/19/41/image_08032025_19_41_15_9923.jpg', '/home/nano/Desktop/images/08032025/19/40/image_08032025_19_41_05_9929.jpg', '/home/nano/Desktop/images/08032025/19/40/image_08032025_19_40_55_9921.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/19/41/image_08032025_19_41_45_9927.jpg
/home/nano/Desktop/images/08032025/19/41/image_08032025_19_41_35_9916.jpg
/home/nano/Desktop/images/08032025/19/41/image_08032025_19_41_25_9924.jpg
/home/nano/Desktop/images/08032025/19/41/image_08032025_19_41_15_9923.jpg
/home/nano/Desktop/images/08032025/19/40/image_08032025_19_41_05_9929.jpg
/home/nano/Desktop/images/08032025/19/40/image_08032025_19_40_55_9921.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.45468688011169434 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 marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 19:42:31.797356
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/19/42/image_08032025_19_42_45_9922.jpg', 2), ('/home/nano/Desktop/images/08032025/19/42/image_08032025_19_42_35_9921.jpg', 2), ('/home/nano/Desktop/images/08032025/19/42/image_08032025_19_42_26_10931.jpg', 2), ('/home/nano/Desktop/images/08032025/19/42/image_08032025_19_42_15_9929.jpg', 2), ('/home/nano/Desktop/images/08032025/19/41/image_08032025_19_42_05_9938.jpg', 2), ('/home/nano/Desktop/images/08032025/19/41/image_08032025_19_41_55_9924.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/19/42/image_08032025_19_42_45_9922.jpg', '/home/nano/Desktop/images/08032025/19/42/image_08032025_19_42_35_9921.jpg', '/home/nano/Desktop/images/08032025/19/42/image_08032025_19_42_26_10931.jpg', '/home/nano/Desktop/images/08032025/19/42/image_08032025_19_42_15_9929.jpg', '/home/nano/Desktop/images/08032025/19/41/image_08032025_19_42_05_9938.jpg', '/home/nano/Desktop/images/08032025/19/41/image_08032025_19_41_55_9924.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/19/42/image_08032025_19_42_45_9922.jpg
/home/nano/Desktop/images/08032025/19/42/image_08032025_19_42_35_9921.jpg
/home/nano/Desktop/images/08032025/19/42/image_08032025_19_42_26_10931.jpg
/home/nano/Desktop/images/08032025/19/42/image_08032025_19_42_15_9929.jpg
/home/nano/Desktop/images/08032025/19/41/image_08032025_19_42_05_9938.jpg
/home/nano/Desktop/images/08032025/19/41/image_08032025_19_41_55_9924.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341981403","1341981696","1341981776","1341981602","1341981530","1341981454"],"photo_ids_order":["1341981403","1341981454","1341981530","1341981602","1341981696","1341981776"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/3522ee41955289156fdb2461a4b9238d.jpg","text":"TemporaryFile(/tmp/multipartBody5855767411463745398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741459412214,"filename":"image_08032025_19_42_45_9922.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/d7362f3ca0b155fa7f00def8b8956db3.jpg","text":"TemporaryFile(/tmp/multipartBody2171995229172028888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741459412214,"filename":"image_08032025_19_42_05_9938.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/768387467e2b3b277cda6d1926afdb43.jpg","text":"TemporaryFile(/tmp/multipartBody2482431047210318627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741459412214,"filename":"image_08032025_19_41_55_9924.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/a7d617661e0eefc96346f48286d85f00.jpg","text":"TemporaryFile(/tmp/multipartBody5214104151305808222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741459412214,"filename":"image_08032025_19_42_15_9929.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/986f4bd43b1025844b40f937c8354a12.jpg","text":"TemporaryFile(/tmp/multipartBody5643761402877798315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741459412214,"filename":"image_08032025_19_42_26_10931.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/dc7c4243b3cecf49c9bd945862a3d221.jpg","text":"TemporaryFile(/tmp/multipartBody2844176107948732747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741459412214,"filename":"image_08032025_19_42_35_9921.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341981530","file1":"1341981454","file0":"1341981403","file4":"1341981696","file5":"1341981776","file3":"1341981602"},"map_files_photo_id_array":[{"photo_id":"1341981776","filename":"file5"},{"photo_id":"1341981530","filename":"file2"},{"photo_id":"1341981696","filename":"file4"},{"photo_id":"1341981454","filename":"file1"},{"photo_id":"1341981403","filename":"file0"},{"photo_id":"1341981602","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341981403":["hashtag1","hashtag2"]},{"1341981696":["hashtag1","hashtag2"]},{"1341981776":["hashtag1","hashtag2"]},{"1341981602":["hashtag1","hashtag2"]},{"1341981530":["hashtag1","hashtag2"]},{"1341981454":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341981403, 1341981696, 1341981776, 1341981602, 1341981530, 1341981454)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.55456757545471 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 19:43:31.899801
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/19/43/image_08032025_19_43_45_9922.jpg', 2), ('/home/nano/Desktop/images/08032025/19/43/image_08032025_19_43_35_9921.jpg', 2), ('/home/nano/Desktop/images/08032025/19/43/image_08032025_19_43_25_9921.jpg', 2), ('/home/nano/Desktop/images/08032025/19/43/image_08032025_19_43_15_9924.jpg', 2), ('/home/nano/Desktop/images/08032025/19/42/image_08032025_19_43_05_9926.jpg', 2), ('/home/nano/Desktop/images/08032025/19/42/image_08032025_19_42_55_9921.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/19/43/image_08032025_19_43_45_9922.jpg', '/home/nano/Desktop/images/08032025/19/43/image_08032025_19_43_35_9921.jpg', '/home/nano/Desktop/images/08032025/19/43/image_08032025_19_43_25_9921.jpg', '/home/nano/Desktop/images/08032025/19/43/image_08032025_19_43_15_9924.jpg', '/home/nano/Desktop/images/08032025/19/42/image_08032025_19_43_05_9926.jpg', '/home/nano/Desktop/images/08032025/19/42/image_08032025_19_42_55_9921.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/19/43/image_08032025_19_43_45_9922.jpg
/home/nano/Desktop/images/08032025/19/43/image_08032025_19_43_35_9921.jpg
/home/nano/Desktop/images/08032025/19/43/image_08032025_19_43_25_9921.jpg
/home/nano/Desktop/images/08032025/19/43/image_08032025_19_43_15_9924.jpg
/home/nano/Desktop/images/08032025/19/42/image_08032025_19_43_05_9926.jpg
/home/nano/Desktop/images/08032025/19/42/image_08032025_19_42_55_9921.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341982472","1341982394","1341982241","1341982331","1341982645","1341982552"],"photo_ids_order":["1341982241","1341982331","1341982394","1341982472","1341982552","1341982645"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/ad4775f6c225454b5ea740c8628bf319.jpg","text":"TemporaryFile(/tmp/multipartBody7469109737230025152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741459472307,"filename":"image_08032025_19_43_15_9924.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/f8d03d2a0a87b82f348723864561a12b.jpg","text":"TemporaryFile(/tmp/multipartBody4851460240641265194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741459472307,"filename":"image_08032025_19_43_25_9921.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/8adc0d4faa05141a5cb0560c9b088e82.jpg","text":"TemporaryFile(/tmp/multipartBody7904716645873822046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741459472307,"filename":"image_08032025_19_43_45_9922.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/5a3d08b7a9621eafda717cd448dd2ce5.jpg","text":"TemporaryFile(/tmp/multipartBody2264551568440055265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741459472307,"filename":"image_08032025_19_43_35_9921.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/6fa1634725f07694b611bcab478fc7fd.jpg","text":"TemporaryFile(/tmp/multipartBody5493889553372423035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741459472307,"filename":"image_08032025_19_42_55_9921.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/892fdd140459e0df8e098cfbe10789ae.jpg","text":"TemporaryFile(/tmp/multipartBody8377096898356773966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741459472307,"filename":"image_08032025_19_43_05_9926.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341982394","file1":"1341982331","file0":"1341982241","file4":"1341982552","file5":"1341982645","file3":"1341982472"},"map_files_photo_id_array":[{"photo_id":"1341982645","filename":"file5"},{"photo_id":"1341982394","filename":"file2"},{"photo_id":"1341982552","filename":"file4"},{"photo_id":"1341982331","filename":"file1"},{"photo_id":"1341982241","filename":"file0"},{"photo_id":"1341982472","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341982472":["hashtag1","hashtag2"]},{"1341982394":["hashtag1","hashtag2"]},{"1341982241":["hashtag1","hashtag2"]},{"1341982331":["hashtag1","hashtag2"]},{"1341982645":["hashtag1","hashtag2"]},{"1341982552":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341982472, 1341982394, 1341982241, 1341982331, 1341982645, 1341982552)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.08694338798523 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 19:44:32.023339
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/19/44/image_08032025_19_44_46_9919.jpg', 2), ('/home/nano/Desktop/images/08032025/19/44/image_08032025_19_44_36_10934.jpg', 2), ('/home/nano/Desktop/images/08032025/19/44/image_08032025_19_44_25_9922.jpg', 2), ('/home/nano/Desktop/images/08032025/19/44/image_08032025_19_44_15_9919.jpg', 2), ('/home/nano/Desktop/images/08032025/19/43/image_08032025_19_44_05_9942.jpg', 2), ('/home/nano/Desktop/images/08032025/19/43/image_08032025_19_43_55_9948.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/19/44/image_08032025_19_44_46_9919.jpg', '/home/nano/Desktop/images/08032025/19/44/image_08032025_19_44_36_10934.jpg', '/home/nano/Desktop/images/08032025/19/44/image_08032025_19_44_25_9922.jpg', '/home/nano/Desktop/images/08032025/19/44/image_08032025_19_44_15_9919.jpg', '/home/nano/Desktop/images/08032025/19/43/image_08032025_19_44_05_9942.jpg', '/home/nano/Desktop/images/08032025/19/43/image_08032025_19_43_55_9948.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/19/44/image_08032025_19_44_46_9919.jpg
/home/nano/Desktop/images/08032025/19/44/image_08032025_19_44_36_10934.jpg
/home/nano/Desktop/images/08032025/19/44/image_08032025_19_44_25_9922.jpg
/home/nano/Desktop/images/08032025/19/44/image_08032025_19_44_15_9919.jpg
/home/nano/Desktop/images/08032025/19/43/image_08032025_19_44_05_9942.jpg
/home/nano/Desktop/images/08032025/19/43/image_08032025_19_43_55_9948.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341983132","1341983048","1341983455","1341983344","1341983224","1341983314"],"photo_ids_order":["1341983048","1341983132","1341983224","1341983314","1341983344","1341983455"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/b5fdd867850a7fe5dadcb8b53dbcce48.jpg","text":"TemporaryFile(/tmp/multipartBody6547742184301159528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741459532449,"filename":"image_08032025_19_44_36_10934.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/b9e32ef7787067b89cf0d3ac271c99f8.jpg","text":"TemporaryFile(/tmp/multipartBody7714433334486342033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741459532449,"filename":"image_08032025_19_44_46_9919.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/80bb3c7d9ed8a4fbc493cdc93384a8b2.jpg","text":"TemporaryFile(/tmp/multipartBody1594508625110111883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741459532449,"filename":"image_08032025_19_43_55_9948.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/04eaa4d9389e68fcaba0e4b07307485e.jpg","text":"TemporaryFile(/tmp/multipartBody1458111799712697978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741459532449,"filename":"image_08032025_19_44_05_9942.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/953267c386a3351c66cafb6eab1b0a33.jpg","text":"TemporaryFile(/tmp/multipartBody6663316134219631704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741459532449,"filename":"image_08032025_19_44_25_9922.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/6290eee8bbb5f74a704a8c6820cc8661.jpg","text":"TemporaryFile(/tmp/multipartBody6811167373925648038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741459532449,"filename":"image_08032025_19_44_15_9919.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341983224","file1":"1341983132","file0":"1341983048","file4":"1341983344","file5":"1341983455","file3":"1341983314"},"map_files_photo_id_array":[{"photo_id":"1341983455","filename":"file5"},{"photo_id":"1341983224","filename":"file2"},{"photo_id":"1341983344","filename":"file4"},{"photo_id":"1341983132","filename":"file1"},{"photo_id":"1341983048","filename":"file0"},{"photo_id":"1341983314","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341983132":["hashtag1","hashtag2"]},{"1341983048":["hashtag1","hashtag2"]},{"1341983455":["hashtag1","hashtag2"]},{"1341983344":["hashtag1","hashtag2"]},{"1341983224":["hashtag1","hashtag2"]},{"1341983314":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341983132, 1341983048, 1341983455, 1341983344, 1341983224, 1341983314)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.28673195838928 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 19:45:32.172893
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/19/45/image_08032025_19_45_45_9919.jpg', 2), ('/home/nano/Desktop/images/08032025/19/45/image_08032025_19_45_35_9923.jpg', 2), ('/home/nano/Desktop/images/08032025/19/45/image_08032025_19_45_25_9919.jpg', 2), ('/home/nano/Desktop/images/08032025/19/45/image_08032025_19_45_15_9927.jpg', 2), ('/home/nano/Desktop/images/08032025/19/44/image_08032025_19_45_05_9949.jpg', 2), ('/home/nano/Desktop/images/08032025/19/44/image_08032025_19_44_55_9924.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/19/45/image_08032025_19_45_45_9919.jpg', '/home/nano/Desktop/images/08032025/19/45/image_08032025_19_45_35_9923.jpg', '/home/nano/Desktop/images/08032025/19/45/image_08032025_19_45_25_9919.jpg', '/home/nano/Desktop/images/08032025/19/45/image_08032025_19_45_15_9927.jpg', '/home/nano/Desktop/images/08032025/19/44/image_08032025_19_45_05_9949.jpg', '/home/nano/Desktop/images/08032025/19/44/image_08032025_19_44_55_9924.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/19/45/image_08032025_19_45_45_9919.jpg
/home/nano/Desktop/images/08032025/19/45/image_08032025_19_45_35_9923.jpg
/home/nano/Desktop/images/08032025/19/45/image_08032025_19_45_25_9919.jpg
/home/nano/Desktop/images/08032025/19/45/image_08032025_19_45_15_9927.jpg
/home/nano/Desktop/images/08032025/19/44/image_08032025_19_45_05_9949.jpg
/home/nano/Desktop/images/08032025/19/44/image_08032025_19_44_55_9924.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341984101","1341984034","1341983965","1341984198","1341984153","1341984057"],"photo_ids_order":["1341983965","1341984034","1341984057","1341984101","1341984153","1341984198"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/fb0e3a6f27ec5229e7668c9d3836f4ac.jpg","text":"TemporaryFile(/tmp/multipartBody881899034086640771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741459592587,"filename":"image_08032025_19_45_15_9927.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/bc9a01c72469cdd22ef07bedcfe6dbf4.jpg","text":"TemporaryFile(/tmp/multipartBody2266893223960965978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741459592587,"filename":"image_08032025_19_45_35_9923.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/dca89fe0017a7091bd3c78d568558958.jpg","text":"TemporaryFile(/tmp/multipartBody3899178025413780606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741459592587,"filename":"image_08032025_19_45_45_9919.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/fdc0fd09b5674358848a357ba8606b19.jpg","text":"TemporaryFile(/tmp/multipartBody4916340626830485202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741459592587,"filename":"image_08032025_19_44_55_9924.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/61bbba3c09b3343acbc84ac151f0b67c.jpg","text":"TemporaryFile(/tmp/multipartBody789278055442017263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741459592587,"filename":"image_08032025_19_45_05_9949.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/62fba01376db55350cad19461417a274.jpg","text":"TemporaryFile(/tmp/multipartBody1074059337036795738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741459592587,"filename":"image_08032025_19_45_25_9919.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341984057","file1":"1341984034","file0":"1341983965","file4":"1341984153","file5":"1341984198","file3":"1341984101"},"map_files_photo_id_array":[{"photo_id":"1341984198","filename":"file5"},{"photo_id":"1341984057","filename":"file2"},{"photo_id":"1341984153","filename":"file4"},{"photo_id":"1341984034","filename":"file1"},{"photo_id":"1341983965","filename":"file0"},{"photo_id":"1341984101","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341984101":["hashtag1","hashtag2"]},{"1341984034":["hashtag1","hashtag2"]},{"1341983965":["hashtag1","hashtag2"]},{"1341984198":["hashtag1","hashtag2"]},{"1341984153":["hashtag1","hashtag2"]},{"1341984057":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341984101, 1341984034, 1341983965, 1341984198, 1341984153, 1341984057)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.32762360572815 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 19:46:32.286689
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/19/46/image_08032025_19_46_45_9942.jpg', 2), ('/home/nano/Desktop/images/08032025/19/46/image_08032025_19_46_35_9940.jpg', 2), ('/home/nano/Desktop/images/08032025/19/46/image_08032025_19_46_25_9925.jpg', 2), ('/home/nano/Desktop/images/08032025/19/46/image_08032025_19_46_15_9919.jpg', 2), ('/home/nano/Desktop/images/08032025/19/45/image_08032025_19_46_05_9927.jpg', 2), ('/home/nano/Desktop/images/08032025/19/45/image_08032025_19_45_55_9936.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/19/46/image_08032025_19_46_45_9942.jpg', '/home/nano/Desktop/images/08032025/19/46/image_08032025_19_46_35_9940.jpg', '/home/nano/Desktop/images/08032025/19/46/image_08032025_19_46_25_9925.jpg', '/home/nano/Desktop/images/08032025/19/46/image_08032025_19_46_15_9919.jpg', '/home/nano/Desktop/images/08032025/19/45/image_08032025_19_46_05_9927.jpg', '/home/nano/Desktop/images/08032025/19/45/image_08032025_19_45_55_9936.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/19/46/image_08032025_19_46_45_9942.jpg
/home/nano/Desktop/images/08032025/19/46/image_08032025_19_46_35_9940.jpg
/home/nano/Desktop/images/08032025/19/46/image_08032025_19_46_25_9925.jpg
/home/nano/Desktop/images/08032025/19/46/image_08032025_19_46_15_9919.jpg
/home/nano/Desktop/images/08032025/19/45/image_08032025_19_46_05_9927.jpg
/home/nano/Desktop/images/08032025/19/45/image_08032025_19_45_55_9936.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341984515","1341984556","1341984492","1341984597","1341984663","1341984633"],"photo_ids_order":["1341984492","1341984515","1341984556","1341984597","1341984633","1341984663"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/9d4f484553c12c1ce928184cb949f6c0.jpg","text":"TemporaryFile(/tmp/multipartBody379242868118204668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741459652740,"filename":"image_08032025_19_46_35_9940.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/6a31b04c70e6dc854bf9bf15a35cab68.jpg","text":"TemporaryFile(/tmp/multipartBody4950899432082643166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741459652740,"filename":"image_08032025_19_46_25_9925.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/045387933f0037a8c42845ae7036022f.jpg","text":"TemporaryFile(/tmp/multipartBody9153795015523937996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741459652740,"filename":"image_08032025_19_46_45_9942.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/82a90bc915073c3736f99a4773ac3222.jpg","text":"TemporaryFile(/tmp/multipartBody3590495244063972469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741459652740,"filename":"image_08032025_19_46_15_9919.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/16b36e62435d6aeee81fa239a8a705e8.jpg","text":"TemporaryFile(/tmp/multipartBody7636186672446350354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741459652740,"filename":"image_08032025_19_45_55_9936.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/8932972bc5f02cb04b7898a3b242bb6b.jpg","text":"TemporaryFile(/tmp/multipartBody1444050595227322916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741459652740,"filename":"image_08032025_19_46_05_9927.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341984556","file1":"1341984515","file0":"1341984492","file4":"1341984633","file5":"1341984663","file3":"1341984597"},"map_files_photo_id_array":[{"photo_id":"1341984663","filename":"file5"},{"photo_id":"1341984556","filename":"file2"},{"photo_id":"1341984633","filename":"file4"},{"photo_id":"1341984515","filename":"file1"},{"photo_id":"1341984492","filename":"file0"},{"photo_id":"1341984597","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341984515":["hashtag1","hashtag2"]},{"1341984556":["hashtag1","hashtag2"]},{"1341984492":["hashtag1","hashtag2"]},{"1341984597":["hashtag1","hashtag2"]},{"1341984663":["hashtag1","hashtag2"]},{"1341984633":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341984515, 1341984556, 1341984492, 1341984597, 1341984663, 1341984633)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 49.033684730529785 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 19:47:32.399372
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/19/47/image_08032025_19_47_45_9924.jpg', 2), ('/home/nano/Desktop/images/08032025/19/47/image_08032025_19_47_35_9918.jpg', 2), ('/home/nano/Desktop/images/08032025/19/47/image_08032025_19_47_25_9931.jpg', 2), ('/home/nano/Desktop/images/08032025/19/47/image_08032025_19_47_15_9924.jpg', 2), ('/home/nano/Desktop/images/08032025/19/46/image_08032025_19_47_06_9936.jpg', 2), ('/home/nano/Desktop/images/08032025/19/46/image_08032025_19_46_56_10930.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/19/47/image_08032025_19_47_45_9924.jpg', '/home/nano/Desktop/images/08032025/19/47/image_08032025_19_47_35_9918.jpg', '/home/nano/Desktop/images/08032025/19/47/image_08032025_19_47_25_9931.jpg', '/home/nano/Desktop/images/08032025/19/47/image_08032025_19_47_15_9924.jpg', '/home/nano/Desktop/images/08032025/19/46/image_08032025_19_47_06_9936.jpg', '/home/nano/Desktop/images/08032025/19/46/image_08032025_19_46_56_10930.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/19/47/image_08032025_19_47_45_9924.jpg
/home/nano/Desktop/images/08032025/19/47/image_08032025_19_47_35_9918.jpg
/home/nano/Desktop/images/08032025/19/47/image_08032025_19_47_25_9931.jpg
/home/nano/Desktop/images/08032025/19/47/image_08032025_19_47_15_9924.jpg
/home/nano/Desktop/images/08032025/19/46/image_08032025_19_47_06_9936.jpg
/home/nano/Desktop/images/08032025/19/46/image_08032025_19_46_56_10930.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341985046","1341984863","1341985141","1341984880","1341984998","1341984942"],"photo_ids_order":["1341984863","1341984880","1341984942","1341984998","1341985046","1341985141"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/4e4a268f3e1a003160505203f16ff864.jpg","text":"TemporaryFile(/tmp/multipartBody4564923425827454682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741459712822,"filename":"image_08032025_19_47_06_9936.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/08a4c4a7bacc8e4ac95d46787fcaaf37.jpg","text":"TemporaryFile(/tmp/multipartBody1515357495367036111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741459712822,"filename":"image_08032025_19_47_45_9924.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/3152714b30486d96e6ccde25dcae6aac.jpg","text":"TemporaryFile(/tmp/multipartBody8942056650103407169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741459712822,"filename":"image_08032025_19_46_56_10930.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/777f63208dfb03e83e525e388db2b179.jpg","text":"TemporaryFile(/tmp/multipartBody7693580956441454944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741459712822,"filename":"image_08032025_19_47_35_9918.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/7018d862ae5a6b26db8d8e86b0a0f0ae.jpg","text":"TemporaryFile(/tmp/multipartBody8276019401887341056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741459712822,"filename":"image_08032025_19_47_15_9924.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/810cd2312ee65b1ed3d7f0bfdff2e474.jpg","text":"TemporaryFile(/tmp/multipartBody5720860976711871058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741459712822,"filename":"image_08032025_19_47_25_9931.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341984942","file1":"1341984880","file0":"1341984863","file4":"1341985046","file5":"1341985141","file3":"1341984998"},"map_files_photo_id_array":[{"photo_id":"1341985141","filename":"file5"},{"photo_id":"1341984942","filename":"file2"},{"photo_id":"1341985046","filename":"file4"},{"photo_id":"1341984880","filename":"file1"},{"photo_id":"1341984863","filename":"file0"},{"photo_id":"1341984998","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341985046":["hashtag1","hashtag2"]},{"1341984863":["hashtag1","hashtag2"]},{"1341985141":["hashtag1","hashtag2"]},{"1341984880":["hashtag1","hashtag2"]},{"1341984998":["hashtag1","hashtag2"]},{"1341984942":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341985046, 1341984863, 1341985141, 1341984880, 1341984998, 1341984942)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.46206879615784 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 19:48:32.492467
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/19/48/image_08032025_19_48_45_9920.jpg', 2), ('/home/nano/Desktop/images/08032025/19/48/image_08032025_19_48_35_9921.jpg', 2), ('/home/nano/Desktop/images/08032025/19/48/image_08032025_19_48_25_9937.jpg', 2), ('/home/nano/Desktop/images/08032025/19/48/image_08032025_19_48_15_9922.jpg', 2), ('/home/nano/Desktop/images/08032025/19/47/image_08032025_19_48_05_9928.jpg', 2), ('/home/nano/Desktop/images/08032025/19/47/image_08032025_19_47_55_9926.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/19/48/image_08032025_19_48_45_9920.jpg', '/home/nano/Desktop/images/08032025/19/48/image_08032025_19_48_35_9921.jpg', '/home/nano/Desktop/images/08032025/19/48/image_08032025_19_48_25_9937.jpg', '/home/nano/Desktop/images/08032025/19/48/image_08032025_19_48_15_9922.jpg', '/home/nano/Desktop/images/08032025/19/47/image_08032025_19_48_05_9928.jpg', '/home/nano/Desktop/images/08032025/19/47/image_08032025_19_47_55_9926.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/19/48/image_08032025_19_48_45_9920.jpg
/home/nano/Desktop/images/08032025/19/48/image_08032025_19_48_35_9921.jpg
/home/nano/Desktop/images/08032025/19/48/image_08032025_19_48_25_9937.jpg
/home/nano/Desktop/images/08032025/19/48/image_08032025_19_48_15_9922.jpg
/home/nano/Desktop/images/08032025/19/47/image_08032025_19_48_05_9928.jpg
/home/nano/Desktop/images/08032025/19/47/image_08032025_19_47_55_9926.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341985529","1341985549","1341985578","1341985533","1341985536","1341985539"],"photo_ids_order":["1341985529","1341985533","1341985536","1341985539","1341985549","1341985578"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/89b35e474d2d5974311b86d29326f4cb.jpg","text":"TemporaryFile(/tmp/multipartBody624554765532034711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741459772915,"filename":"image_08032025_19_48_45_9920.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/1816e6de486e60e1acebb6725161c686.jpg","text":"TemporaryFile(/tmp/multipartBody1659191991308889532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741459772915,"filename":"image_08032025_19_48_05_9928.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/01f8b48fc97a4efc258614629e1f4760.jpg","text":"TemporaryFile(/tmp/multipartBody72828354944884904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741459772915,"filename":"image_08032025_19_47_55_9926.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/44c1132cace2e4733bd50822775ce975.jpg","text":"TemporaryFile(/tmp/multipartBody5149367616819352761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741459772915,"filename":"image_08032025_19_48_35_9921.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/daae55a4c35c2bc0d89327c2dc9882ac.jpg","text":"TemporaryFile(/tmp/multipartBody5443958532152664770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741459772915,"filename":"image_08032025_19_48_25_9937.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/d97281733f4c0453cd03a5dacb7d64a4.jpg","text":"TemporaryFile(/tmp/multipartBody4842765299255305842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741459772915,"filename":"image_08032025_19_48_15_9922.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341985536","file1":"1341985533","file0":"1341985529","file4":"1341985549","file5":"1341985578","file3":"1341985539"},"map_files_photo_id_array":[{"photo_id":"1341985578","filename":"file5"},{"photo_id":"1341985536","filename":"file2"},{"photo_id":"1341985549","filename":"file4"},{"photo_id":"1341985533","filename":"file1"},{"photo_id":"1341985529","filename":"file0"},{"photo_id":"1341985539","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341985529":["hashtag1","hashtag2"]},{"1341985549":["hashtag1","hashtag2"]},{"1341985578":["hashtag1","hashtag2"]},{"1341985533":["hashtag1","hashtag2"]},{"1341985536":["hashtag1","hashtag2"]},{"1341985539":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341985529, 1341985549, 1341985578, 1341985533, 1341985536, 1341985539)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.39834237098694 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 19:49:32.613664
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/19/49/image_08032025_19_49_45_9924.jpg', 2), ('/home/nano/Desktop/images/08032025/19/49/image_08032025_19_49_35_9917.jpg', 2), ('/home/nano/Desktop/images/08032025/19/49/image_08032025_19_49_26_9939.jpg', 2), ('/home/nano/Desktop/images/08032025/19/49/image_08032025_19_49_16_10933.jpg', 2), ('/home/nano/Desktop/images/08032025/19/48/image_08032025_19_49_05_9926.jpg', 2), ('/home/nano/Desktop/images/08032025/19/48/image_08032025_19_48_55_9924.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/19/49/image_08032025_19_49_45_9924.jpg', '/home/nano/Desktop/images/08032025/19/49/image_08032025_19_49_35_9917.jpg', '/home/nano/Desktop/images/08032025/19/49/image_08032025_19_49_26_9939.jpg', '/home/nano/Desktop/images/08032025/19/49/image_08032025_19_49_16_10933.jpg', '/home/nano/Desktop/images/08032025/19/48/image_08032025_19_49_05_9926.jpg', '/home/nano/Desktop/images/08032025/19/48/image_08032025_19_48_55_9924.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/19/49/image_08032025_19_49_45_9924.jpg
/home/nano/Desktop/images/08032025/19/49/image_08032025_19_49_35_9917.jpg
/home/nano/Desktop/images/08032025/19/49/image_08032025_19_49_26_9939.jpg
/home/nano/Desktop/images/08032025/19/49/image_08032025_19_49_16_10933.jpg
/home/nano/Desktop/images/08032025/19/48/image_08032025_19_49_05_9926.jpg
/home/nano/Desktop/images/08032025/19/48/image_08032025_19_48_55_9924.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341985945","1341985873","1341985920","1341986075","1341986027","1341985979"],"photo_ids_order":["1341985873","1341985920","1341985945","1341985979","1341986027","1341986075"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/47da17643dd780535687d237dc5f5084.jpg","text":"TemporaryFile(/tmp/multipartBody7506457427171549959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741459833046,"filename":"image_08032025_19_49_26_9939.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/1f981acc304e005f19ecedc0c1625b69.jpg","text":"TemporaryFile(/tmp/multipartBody4208191762297540653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741459833046,"filename":"image_08032025_19_49_45_9924.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/2fb2d5923e82e4296535c21d91c81db6.jpg","text":"TemporaryFile(/tmp/multipartBody8028456268574495352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741459833046,"filename":"image_08032025_19_49_35_9917.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/f3d494610879408c73e0244246b4977a.jpg","text":"TemporaryFile(/tmp/multipartBody4180956180691645083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741459833046,"filename":"image_08032025_19_48_55_9924.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/d958f4f7880d8cd6faab864eeb3d69ae.jpg","text":"TemporaryFile(/tmp/multipartBody5140181863526224491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741459833046,"filename":"image_08032025_19_49_05_9926.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/0833eec8fffed2023d6754ecf3d33c7f.jpg","text":"TemporaryFile(/tmp/multipartBody8376594054313565992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741459833046,"filename":"image_08032025_19_49_16_10933.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341985945","file1":"1341985920","file0":"1341985873","file4":"1341986027","file5":"1341986075","file3":"1341985979"},"map_files_photo_id_array":[{"photo_id":"1341986075","filename":"file5"},{"photo_id":"1341985945","filename":"file2"},{"photo_id":"1341986027","filename":"file4"},{"photo_id":"1341985920","filename":"file1"},{"photo_id":"1341985873","filename":"file0"},{"photo_id":"1341985979","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341985945":["hashtag1","hashtag2"]},{"1341985873":["hashtag1","hashtag2"]},{"1341985920":["hashtag1","hashtag2"]},{"1341986075":["hashtag1","hashtag2"]},{"1341986027":["hashtag1","hashtag2"]},{"1341985979":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341985945, 1341985873, 1341985920, 1341986075, 1341986027, 1341985979)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.02744793891907 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 19:50:32.733676
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/19/50/image_08032025_19_50_45_9923.jpg', 2), ('/home/nano/Desktop/images/08032025/19/50/image_08032025_19_50_35_9918.jpg', 2), ('/home/nano/Desktop/images/08032025/19/50/image_08032025_19_50_25_9939.jpg', 2), ('/home/nano/Desktop/images/08032025/19/50/image_08032025_19_50_15_9920.jpg', 2), ('/home/nano/Desktop/images/08032025/19/49/image_08032025_19_50_05_9921.jpg', 2), ('/home/nano/Desktop/images/08032025/19/49/image_08032025_19_49_55_9921.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/19/50/image_08032025_19_50_45_9923.jpg', '/home/nano/Desktop/images/08032025/19/50/image_08032025_19_50_35_9918.jpg', '/home/nano/Desktop/images/08032025/19/50/image_08032025_19_50_25_9939.jpg', '/home/nano/Desktop/images/08032025/19/50/image_08032025_19_50_15_9920.jpg', '/home/nano/Desktop/images/08032025/19/49/image_08032025_19_50_05_9921.jpg', '/home/nano/Desktop/images/08032025/19/49/image_08032025_19_49_55_9921.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/19/50/image_08032025_19_50_45_9923.jpg
/home/nano/Desktop/images/08032025/19/50/image_08032025_19_50_35_9918.jpg
/home/nano/Desktop/images/08032025/19/50/image_08032025_19_50_25_9939.jpg
/home/nano/Desktop/images/08032025/19/50/image_08032025_19_50_15_9920.jpg
/home/nano/Desktop/images/08032025/19/49/image_08032025_19_50_05_9921.jpg
/home/nano/Desktop/images/08032025/19/49/image_08032025_19_49_55_9921.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341986332","1341986498","1341986273","1341986432","1341986479","1341986386"],"photo_ids_order":["1341986273","1341986332","1341986386","1341986432","1341986479","1341986498"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/d2ff38f68410bb83782549998695a10d.jpg","text":"TemporaryFile(/tmp/multipartBody7029141550708245229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741459893167,"filename":"image_08032025_19_50_35_9918.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/c61e2cda7c5ee01dd2fef5225e85eb95.jpg","text":"TemporaryFile(/tmp/multipartBody6810230074067441426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741459893167,"filename":"image_08032025_19_49_55_9921.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/39ff58d2d508febce0899513359f5546.jpg","text":"TemporaryFile(/tmp/multipartBody6590710834532627274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741459893167,"filename":"image_08032025_19_50_45_9923.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/897088099fe9c4c69c9f3f0c199e467e.jpg","text":"TemporaryFile(/tmp/multipartBody8640881567032283975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741459893167,"filename":"image_08032025_19_50_15_9920.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/aab0e48beb0fb058b539f02b1859be62.jpg","text":"TemporaryFile(/tmp/multipartBody5298969275259465998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741459893167,"filename":"image_08032025_19_50_05_9921.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/ba49b4a7eb9542ce8b6540fd4f5e8988.jpg","text":"TemporaryFile(/tmp/multipartBody2142598455780344351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741459893167,"filename":"image_08032025_19_50_25_9939.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341986386","file1":"1341986332","file0":"1341986273","file4":"1341986479","file5":"1341986498","file3":"1341986432"},"map_files_photo_id_array":[{"photo_id":"1341986498","filename":"file5"},{"photo_id":"1341986386","filename":"file2"},{"photo_id":"1341986479","filename":"file4"},{"photo_id":"1341986332","filename":"file1"},{"photo_id":"1341986273","filename":"file0"},{"photo_id":"1341986432","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341986332":["hashtag1","hashtag2"]},{"1341986498":["hashtag1","hashtag2"]},{"1341986273":["hashtag1","hashtag2"]},{"1341986432":["hashtag1","hashtag2"]},{"1341986479":["hashtag1","hashtag2"]},{"1341986386":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341986332, 1341986498, 1341986273, 1341986432, 1341986479, 1341986386)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.224589824676514 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 19:51:31.842191
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/19/51/image_08032025_19_51_45_9922.jpg', 2), ('/home/nano/Desktop/images/08032025/19/51/image_08032025_19_51_36_10921.jpg', 2), ('/home/nano/Desktop/images/08032025/19/51/image_08032025_19_51_25_9918.jpg', 2), ('/home/nano/Desktop/images/08032025/19/51/image_08032025_19_51_15_9926.jpg', 2), ('/home/nano/Desktop/images/08032025/19/50/image_08032025_19_51_05_9940.jpg', 2), ('/home/nano/Desktop/images/08032025/19/50/image_08032025_19_50_55_9915.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/19/51/image_08032025_19_51_45_9922.jpg', '/home/nano/Desktop/images/08032025/19/51/image_08032025_19_51_36_10921.jpg', '/home/nano/Desktop/images/08032025/19/51/image_08032025_19_51_25_9918.jpg', '/home/nano/Desktop/images/08032025/19/51/image_08032025_19_51_15_9926.jpg', '/home/nano/Desktop/images/08032025/19/50/image_08032025_19_51_05_9940.jpg', '/home/nano/Desktop/images/08032025/19/50/image_08032025_19_50_55_9915.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/19/51/image_08032025_19_51_45_9922.jpg
/home/nano/Desktop/images/08032025/19/51/image_08032025_19_51_36_10921.jpg
/home/nano/Desktop/images/08032025/19/51/image_08032025_19_51_25_9918.jpg
/home/nano/Desktop/images/08032025/19/51/image_08032025_19_51_15_9926.jpg
/home/nano/Desktop/images/08032025/19/50/image_08032025_19_51_05_9940.jpg
/home/nano/Desktop/images/08032025/19/50/image_08032025_19_50_55_9915.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341986524","1341986532","1341986520","1341986517","1341986537","1341986528"],"photo_ids_order":["1341986517","1341986520","1341986524","1341986528","1341986532","1341986537"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/91d200e7caf92a17d97ec8ac2ac1747b.jpg","text":"TemporaryFile(/tmp/multipartBody8150080312422177277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741459952249,"filename":"image_08032025_19_51_25_9918.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/01cdfe720cfb82476631c520f49f988f.jpg","text":"TemporaryFile(/tmp/multipartBody7072031525429570277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741459952249,"filename":"image_08032025_19_51_05_9940.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/73e89d0ec21fd97f8ce160714ccc5c70.jpg","text":"TemporaryFile(/tmp/multipartBody3890431384467605644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741459952249,"filename":"image_08032025_19_51_36_10921.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/6854368cfd142fe1db53315bec46d31f.jpg","text":"TemporaryFile(/tmp/multipartBody2490997559094604081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741459952249,"filename":"image_08032025_19_51_45_9922.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/20a2fc2122e849a5fee3ce8258f8d24e.jpg","text":"TemporaryFile(/tmp/multipartBody4695277046862136631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741459952249,"filename":"image_08032025_19_50_55_9915.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/b9fa3469a477c1be5c20443ed4e06f09.jpg","text":"TemporaryFile(/tmp/multipartBody7303554489374612423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741459952249,"filename":"image_08032025_19_51_15_9926.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341986524","file1":"1341986520","file0":"1341986517","file4":"1341986532","file5":"1341986537","file3":"1341986528"},"map_files_photo_id_array":[{"photo_id":"1341986537","filename":"file5"},{"photo_id":"1341986524","filename":"file2"},{"photo_id":"1341986532","filename":"file4"},{"photo_id":"1341986520","filename":"file1"},{"photo_id":"1341986517","filename":"file0"},{"photo_id":"1341986528","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341986524":["hashtag1","hashtag2"]},{"1341986532":["hashtag1","hashtag2"]},{"1341986520":["hashtag1","hashtag2"]},{"1341986517":["hashtag1","hashtag2"]},{"1341986537":["hashtag1","hashtag2"]},{"1341986528":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341986524, 1341986532, 1341986520, 1341986517, 1341986537, 1341986528)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.83618998527527 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 19:52:31.904488
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/19/52/image_08032025_19_52_45_9918.jpg', 2), ('/home/nano/Desktop/images/08032025/19/52/image_08032025_19_52_35_9918.jpg', 2), ('/home/nano/Desktop/images/08032025/19/52/image_08032025_19_52_25_9918.jpg', 2), ('/home/nano/Desktop/images/08032025/19/52/image_08032025_19_52_15_9917.jpg', 2), ('/home/nano/Desktop/images/08032025/19/51/image_08032025_19_52_05_9937.jpg', 2), ('/home/nano/Desktop/images/08032025/19/51/image_08032025_19_51_55_9917.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/19/52/image_08032025_19_52_45_9918.jpg', '/home/nano/Desktop/images/08032025/19/52/image_08032025_19_52_35_9918.jpg', '/home/nano/Desktop/images/08032025/19/52/image_08032025_19_52_25_9918.jpg', '/home/nano/Desktop/images/08032025/19/52/image_08032025_19_52_15_9917.jpg', '/home/nano/Desktop/images/08032025/19/51/image_08032025_19_52_05_9937.jpg', '/home/nano/Desktop/images/08032025/19/51/image_08032025_19_51_55_9917.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/19/52/image_08032025_19_52_45_9918.jpg
/home/nano/Desktop/images/08032025/19/52/image_08032025_19_52_35_9918.jpg
/home/nano/Desktop/images/08032025/19/52/image_08032025_19_52_25_9918.jpg
/home/nano/Desktop/images/08032025/19/52/image_08032025_19_52_15_9917.jpg
/home/nano/Desktop/images/08032025/19/51/image_08032025_19_52_05_9937.jpg
/home/nano/Desktop/images/08032025/19/51/image_08032025_19_51_55_9917.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341986781","1341986832","1341986811","1341986703","1341986915","1341986860"],"photo_ids_order":["1341986703","1341986781","1341986811","1341986832","1341986860","1341986915"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/5dcfb03fd6506f37b0a348477c8141f3.jpg","text":"TemporaryFile(/tmp/multipartBody8525463583607882220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741460012327,"filename":"image_08032025_19_52_35_9918.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/6a5a0543317e770aa96d5379371017f7.jpg","text":"TemporaryFile(/tmp/multipartBody9072508283259008668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741460012327,"filename":"image_08032025_19_52_15_9917.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/ad13b0ba09a559a274a62603d2ee5c23.jpg","text":"TemporaryFile(/tmp/multipartBody5171245986926421823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741460012327,"filename":"image_08032025_19_52_25_9918.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/349493a18b96c345edb35b6cf529da44.jpg","text":"TemporaryFile(/tmp/multipartBody2385706910398396488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741460012327,"filename":"image_08032025_19_52_45_9918.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/c9f93f18f86fee9cf27d7a0096a65eff.jpg","text":"TemporaryFile(/tmp/multipartBody850337005297576061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741460012327,"filename":"image_08032025_19_51_55_9917.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/8f5269a03adb5112c4b7724bf66d6337.jpg","text":"TemporaryFile(/tmp/multipartBody1675221266948720878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741460012327,"filename":"image_08032025_19_52_05_9937.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341986811","file1":"1341986781","file0":"1341986703","file4":"1341986860","file5":"1341986915","file3":"1341986832"},"map_files_photo_id_array":[{"photo_id":"1341986915","filename":"file5"},{"photo_id":"1341986811","filename":"file2"},{"photo_id":"1341986860","filename":"file4"},{"photo_id":"1341986781","filename":"file1"},{"photo_id":"1341986703","filename":"file0"},{"photo_id":"1341986832","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341986781":["hashtag1","hashtag2"]},{"1341986832":["hashtag1","hashtag2"]},{"1341986811":["hashtag1","hashtag2"]},{"1341986703":["hashtag1","hashtag2"]},{"1341986915":["hashtag1","hashtag2"]},{"1341986860":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341986781, 1341986832, 1341986811, 1341986703, 1341986915, 1341986860)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.503183126449585 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 19:53:32.026987
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/19/53/image_08032025_19_53_46_10929.jpg', 2), ('/home/nano/Desktop/images/08032025/19/53/image_08032025_19_53_35_9920.jpg', 2), ('/home/nano/Desktop/images/08032025/19/53/image_08032025_19_53_25_9917.jpg', 2), ('/home/nano/Desktop/images/08032025/19/53/image_08032025_19_53_15_9925.jpg', 2), ('/home/nano/Desktop/images/08032025/19/52/image_08032025_19_53_05_9944.jpg', 2), ('/home/nano/Desktop/images/08032025/19/52/image_08032025_19_52_55_9917.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/19/53/image_08032025_19_53_46_10929.jpg', '/home/nano/Desktop/images/08032025/19/53/image_08032025_19_53_35_9920.jpg', '/home/nano/Desktop/images/08032025/19/53/image_08032025_19_53_25_9917.jpg', '/home/nano/Desktop/images/08032025/19/53/image_08032025_19_53_15_9925.jpg', '/home/nano/Desktop/images/08032025/19/52/image_08032025_19_53_05_9944.jpg', '/home/nano/Desktop/images/08032025/19/52/image_08032025_19_52_55_9917.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/19/53/image_08032025_19_53_46_10929.jpg
/home/nano/Desktop/images/08032025/19/53/image_08032025_19_53_35_9920.jpg
/home/nano/Desktop/images/08032025/19/53/image_08032025_19_53_25_9917.jpg
/home/nano/Desktop/images/08032025/19/53/image_08032025_19_53_15_9925.jpg
/home/nano/Desktop/images/08032025/19/52/image_08032025_19_53_05_9944.jpg
/home/nano/Desktop/images/08032025/19/52/image_08032025_19_52_55_9917.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341987129","1341987167","1341987161","1341987155","1341987164","1341987158"],"photo_ids_order":["1341987129","1341987155","1341987158","1341987161","1341987164","1341987167"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/c19bcbeee66c732bac46d2e5b1f29524.jpg","text":"TemporaryFile(/tmp/multipartBody3245008923381125126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741460072454,"filename":"image_08032025_19_53_46_10929.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/ebca025f41837c9fcc13336d92fd0afd.jpg","text":"TemporaryFile(/tmp/multipartBody2698556219173566370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741460072454,"filename":"image_08032025_19_52_55_9917.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/172b47776f82379cec0c0701feb424d2.jpg","text":"TemporaryFile(/tmp/multipartBody6520681193779634924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741460072454,"filename":"image_08032025_19_53_15_9925.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/96e5d7e599142b42ed8eb570d34df4c7.jpg","text":"TemporaryFile(/tmp/multipartBody936067682899623573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741460072454,"filename":"image_08032025_19_53_35_9920.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/1653e2ec5064c91b3839f4f549c065ed.jpg","text":"TemporaryFile(/tmp/multipartBody522918303313512434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741460072454,"filename":"image_08032025_19_53_05_9944.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/8ac6f5be56fed278f8c11462c38124b2.jpg","text":"TemporaryFile(/tmp/multipartBody1849142954244279665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741460072454,"filename":"image_08032025_19_53_25_9917.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341987158","file1":"1341987155","file0":"1341987129","file4":"1341987164","file5":"1341987167","file3":"1341987161"},"map_files_photo_id_array":[{"photo_id":"1341987167","filename":"file5"},{"photo_id":"1341987158","filename":"file2"},{"photo_id":"1341987164","filename":"file4"},{"photo_id":"1341987155","filename":"file1"},{"photo_id":"1341987129","filename":"file0"},{"photo_id":"1341987161","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341987129":["hashtag1","hashtag2"]},{"1341987167":["hashtag1","hashtag2"]},{"1341987161":["hashtag1","hashtag2"]},{"1341987155":["hashtag1","hashtag2"]},{"1341987164":["hashtag1","hashtag2"]},{"1341987158":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341987129, 1341987167, 1341987161, 1341987155, 1341987164, 1341987158)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.9472541809082 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 19:54:32.107162
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/19/54/image_08032025_19_54_45_9921.jpg', 2), ('/home/nano/Desktop/images/08032025/19/54/image_08032025_19_54_35_9922.jpg', 2), ('/home/nano/Desktop/images/08032025/19/54/image_08032025_19_54_25_9943.jpg', 2), ('/home/nano/Desktop/images/08032025/19/54/image_08032025_19_54_15_9923.jpg', 2), ('/home/nano/Desktop/images/08032025/19/53/image_08032025_19_54_05_9928.jpg', 2), ('/home/nano/Desktop/images/08032025/19/53/image_08032025_19_53_55_9918.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/19/54/image_08032025_19_54_45_9921.jpg', '/home/nano/Desktop/images/08032025/19/54/image_08032025_19_54_35_9922.jpg', '/home/nano/Desktop/images/08032025/19/54/image_08032025_19_54_25_9943.jpg', '/home/nano/Desktop/images/08032025/19/54/image_08032025_19_54_15_9923.jpg', '/home/nano/Desktop/images/08032025/19/53/image_08032025_19_54_05_9928.jpg', '/home/nano/Desktop/images/08032025/19/53/image_08032025_19_53_55_9918.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/19/54/image_08032025_19_54_45_9921.jpg
/home/nano/Desktop/images/08032025/19/54/image_08032025_19_54_35_9922.jpg
/home/nano/Desktop/images/08032025/19/54/image_08032025_19_54_25_9943.jpg
/home/nano/Desktop/images/08032025/19/54/image_08032025_19_54_15_9923.jpg
/home/nano/Desktop/images/08032025/19/53/image_08032025_19_54_05_9928.jpg
/home/nano/Desktop/images/08032025/19/53/image_08032025_19_53_55_9918.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341987337","1341987357","1341987270","1341987281","1341987314","1341987289"],"photo_ids_order":["1341987270","1341987281","1341987289","1341987314","1341987337","1341987357"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/0b33af6b124a172c1cc0f8aa4fedb8f3.jpg","text":"TemporaryFile(/tmp/multipartBody8721059663502484798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741460132531,"filename":"image_08032025_19_54_05_9928.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/e57d45df37bbc596c7531b66b282a81b.jpg","text":"TemporaryFile(/tmp/multipartBody5638258327201880961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741460132531,"filename":"image_08032025_19_53_55_9918.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/584e68abbb94fa320f5ec589820edda8.jpg","text":"TemporaryFile(/tmp/multipartBody3912149163635717988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741460132531,"filename":"image_08032025_19_54_45_9921.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/4b0203d9a3fa3be35721356c33dbb8e1.jpg","text":"TemporaryFile(/tmp/multipartBody4988740507786274831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741460132531,"filename":"image_08032025_19_54_35_9922.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/8a08d3b1527ed427583545573cb88e4f.jpg","text":"TemporaryFile(/tmp/multipartBody6261741340620587011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741460132531,"filename":"image_08032025_19_54_15_9923.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/ab27fdf758f4a13be915fa7eae49b32d.jpg","text":"TemporaryFile(/tmp/multipartBody3239495801240954370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741460132531,"filename":"image_08032025_19_54_25_9943.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341987289","file1":"1341987281","file0":"1341987270","file4":"1341987337","file5":"1341987357","file3":"1341987314"},"map_files_photo_id_array":[{"photo_id":"1341987357","filename":"file5"},{"photo_id":"1341987289","filename":"file2"},{"photo_id":"1341987337","filename":"file4"},{"photo_id":"1341987281","filename":"file1"},{"photo_id":"1341987270","filename":"file0"},{"photo_id":"1341987314","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341987337":["hashtag1","hashtag2"]},{"1341987357":["hashtag1","hashtag2"]},{"1341987270":["hashtag1","hashtag2"]},{"1341987281":["hashtag1","hashtag2"]},{"1341987314":["hashtag1","hashtag2"]},{"1341987289":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341987337, 1341987357, 1341987270, 1341987281, 1341987314, 1341987289)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.56814527511597 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 19:55:32.226101
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/19/55/image_08032025_19_55_45_9921.jpg', 2), ('/home/nano/Desktop/images/08032025/19/55/image_08032025_19_55_35_9922.jpg', 2), ('/home/nano/Desktop/images/08032025/19/55/image_08032025_19_55_25_9921.jpg', 2), ('/home/nano/Desktop/images/08032025/19/55/image_08032025_19_55_15_9922.jpg', 2), ('/home/nano/Desktop/images/08032025/19/54/image_08032025_19_55_05_9948.jpg', 2), ('/home/nano/Desktop/images/08032025/19/54/image_08032025_19_54_55_9923.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/19/55/image_08032025_19_55_45_9921.jpg', '/home/nano/Desktop/images/08032025/19/55/image_08032025_19_55_35_9922.jpg', '/home/nano/Desktop/images/08032025/19/55/image_08032025_19_55_25_9921.jpg', '/home/nano/Desktop/images/08032025/19/55/image_08032025_19_55_15_9922.jpg', '/home/nano/Desktop/images/08032025/19/54/image_08032025_19_55_05_9948.jpg', '/home/nano/Desktop/images/08032025/19/54/image_08032025_19_54_55_9923.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/19/55/image_08032025_19_55_45_9921.jpg
/home/nano/Desktop/images/08032025/19/55/image_08032025_19_55_35_9922.jpg
/home/nano/Desktop/images/08032025/19/55/image_08032025_19_55_25_9921.jpg
/home/nano/Desktop/images/08032025/19/55/image_08032025_19_55_15_9922.jpg
/home/nano/Desktop/images/08032025/19/54/image_08032025_19_55_05_9948.jpg
/home/nano/Desktop/images/08032025/19/54/image_08032025_19_54_55_9923.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341987442","1341987436","1341987418","1341987429","1341987394","1341987397"],"photo_ids_order":["1341987394","1341987397","1341987418","1341987429","1341987436","1341987442"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/cb347eafc46ff94c9f91e5427e393b33.jpg","text":"TemporaryFile(/tmp/multipartBody1588996219806545509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741460192642,"filename":"image_08032025_19_54_55_9923.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/8f05097a4b26996ac0738ae2d8c42df6.jpg","text":"TemporaryFile(/tmp/multipartBody5846169180642042581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741460192642,"filename":"image_08032025_19_55_05_9948.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/f8dc510d711ae76c579e8706ede8bccd.jpg","text":"TemporaryFile(/tmp/multipartBody3817278735736989002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741460192642,"filename":"image_08032025_19_55_25_9921.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/14c289e8aceff053ca8429fd7c29846c.jpg","text":"TemporaryFile(/tmp/multipartBody5656945222032559764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741460192642,"filename":"image_08032025_19_55_15_9922.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/3f35602fb585eec54a8e798a063245db.jpg","text":"TemporaryFile(/tmp/multipartBody6314259267700551438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741460192642,"filename":"image_08032025_19_55_45_9921.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/80dbeb87f422be43302418345f4ad79a.jpg","text":"TemporaryFile(/tmp/multipartBody3864102977195033928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741460192642,"filename":"image_08032025_19_55_35_9922.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341987418","file1":"1341987397","file0":"1341987394","file4":"1341987436","file5":"1341987442","file3":"1341987429"},"map_files_photo_id_array":[{"photo_id":"1341987442","filename":"file5"},{"photo_id":"1341987418","filename":"file2"},{"photo_id":"1341987436","filename":"file4"},{"photo_id":"1341987397","filename":"file1"},{"photo_id":"1341987394","filename":"file0"},{"photo_id":"1341987429","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341987442":["hashtag1","hashtag2"]},{"1341987436":["hashtag1","hashtag2"]},{"1341987418":["hashtag1","hashtag2"]},{"1341987429":["hashtag1","hashtag2"]},{"1341987394":["hashtag1","hashtag2"]},{"1341987397":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341987442, 1341987436, 1341987418, 1341987429, 1341987394, 1341987397)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.60604119300842 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 19:56:32.327445
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/19/56/image_08032025_19_56_45_9936.jpg', 2), ('/home/nano/Desktop/images/08032025/19/56/image_08032025_19_56_35_9920.jpg', 2), ('/home/nano/Desktop/images/08032025/19/56/image_08032025_19_56_25_9915.jpg', 2), ('/home/nano/Desktop/images/08032025/19/56/image_08032025_19_56_15_9939.jpg', 2), ('/home/nano/Desktop/images/08032025/19/55/image_08032025_19_56_06_9943.jpg', 2), ('/home/nano/Desktop/images/08032025/19/55/image_08032025_19_55_56_10933.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/19/56/image_08032025_19_56_45_9936.jpg', '/home/nano/Desktop/images/08032025/19/56/image_08032025_19_56_35_9920.jpg', '/home/nano/Desktop/images/08032025/19/56/image_08032025_19_56_25_9915.jpg', '/home/nano/Desktop/images/08032025/19/56/image_08032025_19_56_15_9939.jpg', '/home/nano/Desktop/images/08032025/19/55/image_08032025_19_56_06_9943.jpg', '/home/nano/Desktop/images/08032025/19/55/image_08032025_19_55_56_10933.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/19/56/image_08032025_19_56_45_9936.jpg
/home/nano/Desktop/images/08032025/19/56/image_08032025_19_56_35_9920.jpg
/home/nano/Desktop/images/08032025/19/56/image_08032025_19_56_25_9915.jpg
/home/nano/Desktop/images/08032025/19/56/image_08032025_19_56_15_9939.jpg
/home/nano/Desktop/images/08032025/19/55/image_08032025_19_56_06_9943.jpg
/home/nano/Desktop/images/08032025/19/55/image_08032025_19_55_56_10933.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341987535","1341987549","1341987543","1341987551","1341987545","1341987539"],"photo_ids_order":["1341987535","1341987539","1341987543","1341987545","1341987549","1341987551"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/cdf20a925cc7de2b63cdc5d0f4cbfc95.jpg","text":"TemporaryFile(/tmp/multipartBody8306432157146708896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741460252738,"filename":"image_08032025_19_56_45_9936.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/9165d6633855155d8baeb589f717172a.jpg","text":"TemporaryFile(/tmp/multipartBody1540796513534472218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741460252738,"filename":"image_08032025_19_56_06_9943.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/8e98aa401933a2b3e8cf258b5b2fc4a7.jpg","text":"TemporaryFile(/tmp/multipartBody6200755292902360433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741460252738,"filename":"image_08032025_19_56_25_9915.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/628af10d025b4303227e3ef34e00a443.jpg","text":"TemporaryFile(/tmp/multipartBody7618130696556496279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741460252738,"filename":"image_08032025_19_55_56_10933.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/5251d1c73b0d37ecbe8ca63bba7f2427.jpg","text":"TemporaryFile(/tmp/multipartBody7408940725985431019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741460252738,"filename":"image_08032025_19_56_15_9939.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/071273a342c4605636a1cbb5142ed985.jpg","text":"TemporaryFile(/tmp/multipartBody7936719150842539368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741460252738,"filename":"image_08032025_19_56_35_9920.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341987543","file1":"1341987539","file0":"1341987535","file4":"1341987549","file5":"1341987551","file3":"1341987545"},"map_files_photo_id_array":[{"photo_id":"1341987551","filename":"file5"},{"photo_id":"1341987543","filename":"file2"},{"photo_id":"1341987549","filename":"file4"},{"photo_id":"1341987539","filename":"file1"},{"photo_id":"1341987535","filename":"file0"},{"photo_id":"1341987545","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341987535":["hashtag1","hashtag2"]},{"1341987549":["hashtag1","hashtag2"]},{"1341987543":["hashtag1","hashtag2"]},{"1341987551":["hashtag1","hashtag2"]},{"1341987545":["hashtag1","hashtag2"]},{"1341987539":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341987535, 1341987549, 1341987543, 1341987551, 1341987545, 1341987539)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.46651887893677 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 19:57:32.412360
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/19/57/image_08032025_19_57_45_9918.jpg', 2), ('/home/nano/Desktop/images/08032025/19/57/image_08032025_19_57_35_9918.jpg', 2), ('/home/nano/Desktop/images/08032025/19/57/image_08032025_19_57_25_9919.jpg', 2), ('/home/nano/Desktop/images/08032025/19/57/image_08032025_19_57_15_9920.jpg', 2), ('/home/nano/Desktop/images/08032025/19/56/image_08032025_19_57_05_9924.jpg', 2), ('/home/nano/Desktop/images/08032025/19/56/image_08032025_19_56_55_9946.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/19/57/image_08032025_19_57_45_9918.jpg', '/home/nano/Desktop/images/08032025/19/57/image_08032025_19_57_35_9918.jpg', '/home/nano/Desktop/images/08032025/19/57/image_08032025_19_57_25_9919.jpg', '/home/nano/Desktop/images/08032025/19/57/image_08032025_19_57_15_9920.jpg', '/home/nano/Desktop/images/08032025/19/56/image_08032025_19_57_05_9924.jpg', '/home/nano/Desktop/images/08032025/19/56/image_08032025_19_56_55_9946.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/19/57/image_08032025_19_57_45_9918.jpg
/home/nano/Desktop/images/08032025/19/57/image_08032025_19_57_35_9918.jpg
/home/nano/Desktop/images/08032025/19/57/image_08032025_19_57_25_9919.jpg
/home/nano/Desktop/images/08032025/19/57/image_08032025_19_57_15_9920.jpg
/home/nano/Desktop/images/08032025/19/56/image_08032025_19_57_05_9924.jpg
/home/nano/Desktop/images/08032025/19/56/image_08032025_19_56_55_9946.jpg
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 19:59:03.183844
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/19/58/image_08032025_19_58_45_9915.jpg', 2), ('/home/nano/Desktop/images/08032025/19/58/image_08032025_19_58_35_9919.jpg', 2), ('/home/nano/Desktop/images/08032025/19/58/image_08032025_19_58_25_9919.jpg', 2), ('/home/nano/Desktop/images/08032025/19/58/image_08032025_19_58_16_10940.jpg', 2), ('/home/nano/Desktop/images/08032025/19/57/image_08032025_19_58_05_9935.jpg', 2), ('/home/nano/Desktop/images/08032025/19/57/image_08032025_19_57_55_9923.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/19/58/image_08032025_19_58_45_9915.jpg', '/home/nano/Desktop/images/08032025/19/58/image_08032025_19_58_35_9919.jpg', '/home/nano/Desktop/images/08032025/19/58/image_08032025_19_58_25_9919.jpg', '/home/nano/Desktop/images/08032025/19/58/image_08032025_19_58_16_10940.jpg', '/home/nano/Desktop/images/08032025/19/57/image_08032025_19_58_05_9935.jpg', '/home/nano/Desktop/images/08032025/19/57/image_08032025_19_57_55_9923.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/19/58/image_08032025_19_58_45_9915.jpg
/home/nano/Desktop/images/08032025/19/58/image_08032025_19_58_35_9919.jpg
/home/nano/Desktop/images/08032025/19/58/image_08032025_19_58_25_9919.jpg
/home/nano/Desktop/images/08032025/19/58/image_08032025_19_58_16_10940.jpg
/home/nano/Desktop/images/08032025/19/57/image_08032025_19_58_05_9935.jpg
/home/nano/Desktop/images/08032025/19/57/image_08032025_19_57_55_9923.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341988644","1341988734","1341988979","1341988853","1341988781","1341988687"],"photo_ids_order":["1341988644","1341988687","1341988734","1341988781","1341988853","1341988979"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/a247b9b4ffb06c320057c12d16a3ee80.jpg","text":"TemporaryFile(/tmp/multipartBody2016526944903490875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741460403622,"filename":"image_08032025_19_58_45_9915.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/72a71ccdf2c0198c09c7d431788fb240.jpg","text":"TemporaryFile(/tmp/multipartBody1550701972143041583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741460403622,"filename":"image_08032025_19_58_25_9919.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/88900d5e89167af4b715990e3bd8cdb9.jpg","text":"TemporaryFile(/tmp/multipartBody6649712738861890986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741460403622,"filename":"image_08032025_19_57_55_9923.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/248b9284592ff89cbf6508b4e9ff3cff.jpg","text":"TemporaryFile(/tmp/multipartBody7425391169640073938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741460403622,"filename":"image_08032025_19_58_05_9935.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/7c6cc936c1708e033cb7f1df688965fc.jpg","text":"TemporaryFile(/tmp/multipartBody6252181820966759776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741460403622,"filename":"image_08032025_19_58_16_10940.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/9fa113b87ed6a253d706f258eb8dcb2c.jpg","text":"TemporaryFile(/tmp/multipartBody7990904246215520184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741460403622,"filename":"image_08032025_19_58_35_9919.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341988734","file1":"1341988687","file0":"1341988644","file4":"1341988853","file5":"1341988979","file3":"1341988781"},"map_files_photo_id_array":[{"photo_id":"1341988979","filename":"file5"},{"photo_id":"1341988734","filename":"file2"},{"photo_id":"1341988853","filename":"file4"},{"photo_id":"1341988687","filename":"file1"},{"photo_id":"1341988644","filename":"file0"},{"photo_id":"1341988781","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341988644":["hashtag1","hashtag2"]},{"1341988734":["hashtag1","hashtag2"]},{"1341988979":["hashtag1","hashtag2"]},{"1341988853":["hashtag1","hashtag2"]},{"1341988781":["hashtag1","hashtag2"]},{"1341988687":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341988644, 1341988734, 1341988979, 1341988853, 1341988781, 1341988687)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.94445848464966 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 20:00:02.908025
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/19/59/image_08032025_19_59_45_9916.jpg', 2), ('/home/nano/Desktop/images/08032025/19/59/image_08032025_19_59_35_9918.jpg', 2), ('/home/nano/Desktop/images/08032025/19/59/image_08032025_19_59_25_9926.jpg', 2), ('/home/nano/Desktop/images/08032025/19/59/image_08032025_19_59_15_9919.jpg', 2), ('/home/nano/Desktop/images/08032025/19/58/image_08032025_19_59_05_9934.jpg', 2), ('/home/nano/Desktop/images/08032025/19/58/image_08032025_19_58_55_9917.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/19/59/image_08032025_19_59_45_9916.jpg', '/home/nano/Desktop/images/08032025/19/59/image_08032025_19_59_35_9918.jpg', '/home/nano/Desktop/images/08032025/19/59/image_08032025_19_59_25_9926.jpg', '/home/nano/Desktop/images/08032025/19/59/image_08032025_19_59_15_9919.jpg', '/home/nano/Desktop/images/08032025/19/58/image_08032025_19_59_05_9934.jpg', '/home/nano/Desktop/images/08032025/19/58/image_08032025_19_58_55_9917.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/19/59/image_08032025_19_59_45_9916.jpg
/home/nano/Desktop/images/08032025/19/59/image_08032025_19_59_35_9918.jpg
/home/nano/Desktop/images/08032025/19/59/image_08032025_19_59_25_9926.jpg
/home/nano/Desktop/images/08032025/19/59/image_08032025_19_59_15_9919.jpg
/home/nano/Desktop/images/08032025/19/58/image_08032025_19_59_05_9934.jpg
/home/nano/Desktop/images/08032025/19/58/image_08032025_19_58_55_9917.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341989426","1341989476","1341989380","1341989410","1341989506","1341989532"],"photo_ids_order":["1341989380","1341989410","1341989426","1341989476","1341989506","1341989532"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/b09af1002ee4aea62078911db0974851.jpg","text":"TemporaryFile(/tmp/multipartBody278792576415466857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741460463494,"filename":"image_08032025_19_59_25_9926.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/fbad29c79110327455d93aa193596641.jpg","text":"TemporaryFile(/tmp/multipartBody8052922932152687584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741460463494,"filename":"image_08032025_19_59_15_9919.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/c4255245fa4b5f735b7324300766edb8.jpg","text":"TemporaryFile(/tmp/multipartBody8036632030513962461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741460463494,"filename":"image_08032025_19_59_45_9916.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/edb9c95778779452c5ae8a1228abdbe0.jpg","text":"TemporaryFile(/tmp/multipartBody8339288074146910926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741460463494,"filename":"image_08032025_19_59_35_9918.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/6c7b3bfdca6a56d29d02157f3d22a37f.jpg","text":"TemporaryFile(/tmp/multipartBody5187863248632074215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741460463494,"filename":"image_08032025_19_59_05_9934.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/53cb62a7d079910a2acea3e804bb56e4.jpg","text":"TemporaryFile(/tmp/multipartBody7574662648204964862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741460463494,"filename":"image_08032025_19_58_55_9917.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341989426","file1":"1341989410","file0":"1341989380","file4":"1341989506","file5":"1341989532","file3":"1341989476"},"map_files_photo_id_array":[{"photo_id":"1341989532","filename":"file5"},{"photo_id":"1341989426","filename":"file2"},{"photo_id":"1341989506","filename":"file4"},{"photo_id":"1341989410","filename":"file1"},{"photo_id":"1341989380","filename":"file0"},{"photo_id":"1341989476","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341989426":["hashtag1","hashtag2"]},{"1341989476":["hashtag1","hashtag2"]},{"1341989380":["hashtag1","hashtag2"]},{"1341989410":["hashtag1","hashtag2"]},{"1341989506":["hashtag1","hashtag2"]},{"1341989532":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341989426, 1341989476, 1341989380, 1341989410, 1341989506, 1341989532)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.49303984642029 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 20:01:02.982001
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/20/00/image_08032025_20_00_45_9945.jpg', 2), ('/home/nano/Desktop/images/08032025/20/00/image_08032025_20_00_35_9916.jpg', 2), ('/home/nano/Desktop/images/08032025/20/00/image_08032025_20_00_26_10926.jpg', 2), ('/home/nano/Desktop/images/08032025/20/00/image_08032025_20_00_15_9941.jpg', 2), ('/home/nano/Desktop/images/08032025/19/59/image_08032025_20_00_05_9924.jpg', 2), ('/home/nano/Desktop/images/08032025/19/59/image_08032025_19_59_55_9922.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/20/00/image_08032025_20_00_45_9945.jpg', '/home/nano/Desktop/images/08032025/20/00/image_08032025_20_00_35_9916.jpg', '/home/nano/Desktop/images/08032025/20/00/image_08032025_20_00_26_10926.jpg', '/home/nano/Desktop/images/08032025/20/00/image_08032025_20_00_15_9941.jpg', '/home/nano/Desktop/images/08032025/19/59/image_08032025_20_00_05_9924.jpg', '/home/nano/Desktop/images/08032025/19/59/image_08032025_19_59_55_9922.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/20/00/image_08032025_20_00_45_9945.jpg
/home/nano/Desktop/images/08032025/20/00/image_08032025_20_00_35_9916.jpg
/home/nano/Desktop/images/08032025/20/00/image_08032025_20_00_26_10926.jpg
/home/nano/Desktop/images/08032025/20/00/image_08032025_20_00_15_9941.jpg
/home/nano/Desktop/images/08032025/19/59/image_08032025_20_00_05_9924.jpg
/home/nano/Desktop/images/08032025/19/59/image_08032025_19_59_55_9922.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341989697","1341989704","1341989688","1341989673","1341989676","1341989670"],"photo_ids_order":["1341989670","1341989673","1341989676","1341989688","1341989697","1341989704"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/31eeff5a6e768aee768c78a819ee9644.jpg","text":"TemporaryFile(/tmp/multipartBody105824475540288213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741460523422,"filename":"image_08032025_20_00_05_9924.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/fa3a8e15adcdb00ced4c0ec29dbd35cb.jpg","text":"TemporaryFile(/tmp/multipartBody6802723305809558571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741460523422,"filename":"image_08032025_19_59_55_9922.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/64364bf79e987de81818b0ac55c5ddf0.jpg","text":"TemporaryFile(/tmp/multipartBody7085417495777423556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741460523422,"filename":"image_08032025_20_00_15_9941.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/3374a2d3839ec7cbd3a3ade02a872c8b.jpg","text":"TemporaryFile(/tmp/multipartBody302922930041530711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741460523422,"filename":"image_08032025_20_00_35_9916.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/d7c1c68f3a5027676ea53f694a873aba.jpg","text":"TemporaryFile(/tmp/multipartBody2585370845131715690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741460523422,"filename":"image_08032025_20_00_26_10926.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/c3155c54162567455639427cfeb1d73c.jpg","text":"TemporaryFile(/tmp/multipartBody1651619297823978478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741460523422,"filename":"image_08032025_20_00_45_9945.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341989676","file1":"1341989673","file0":"1341989670","file4":"1341989697","file5":"1341989704","file3":"1341989688"},"map_files_photo_id_array":[{"photo_id":"1341989704","filename":"file5"},{"photo_id":"1341989676","filename":"file2"},{"photo_id":"1341989697","filename":"file4"},{"photo_id":"1341989673","filename":"file1"},{"photo_id":"1341989670","filename":"file0"},{"photo_id":"1341989688","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341989697":["hashtag1","hashtag2"]},{"1341989704":["hashtag1","hashtag2"]},{"1341989688":["hashtag1","hashtag2"]},{"1341989673":["hashtag1","hashtag2"]},{"1341989676":["hashtag1","hashtag2"]},{"1341989670":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341989697, 1341989704, 1341989688, 1341989673, 1341989676, 1341989670)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.37594389915466 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 20:02:03.134361
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/20/01/image_08032025_20_01_45_9929.jpg', 2), ('/home/nano/Desktop/images/08032025/20/01/image_08032025_20_01_35_9938.jpg', 2), ('/home/nano/Desktop/images/08032025/20/01/image_08032025_20_01_25_9920.jpg', 2), ('/home/nano/Desktop/images/08032025/20/01/image_08032025_20_01_15_9922.jpg', 2), ('/home/nano/Desktop/images/08032025/20/00/image_08032025_20_01_05_9925.jpg', 2), ('/home/nano/Desktop/images/08032025/20/00/image_08032025_20_00_55_9920.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/20/01/image_08032025_20_01_45_9929.jpg', '/home/nano/Desktop/images/08032025/20/01/image_08032025_20_01_35_9938.jpg', '/home/nano/Desktop/images/08032025/20/01/image_08032025_20_01_25_9920.jpg', '/home/nano/Desktop/images/08032025/20/01/image_08032025_20_01_15_9922.jpg', '/home/nano/Desktop/images/08032025/20/00/image_08032025_20_01_05_9925.jpg', '/home/nano/Desktop/images/08032025/20/00/image_08032025_20_00_55_9920.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/20/01/image_08032025_20_01_45_9929.jpg
/home/nano/Desktop/images/08032025/20/01/image_08032025_20_01_35_9938.jpg
/home/nano/Desktop/images/08032025/20/01/image_08032025_20_01_25_9920.jpg
/home/nano/Desktop/images/08032025/20/01/image_08032025_20_01_15_9922.jpg
/home/nano/Desktop/images/08032025/20/00/image_08032025_20_01_05_9925.jpg
/home/nano/Desktop/images/08032025/20/00/image_08032025_20_00_55_9920.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341989897","1341989983","1341990044","1341990196","1341990217","1341990028"],"photo_ids_order":["1341989897","1341989983","1341990028","1341990044","1341990196","1341990217"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/e8de5e7329ea07e3ff6e4412ddd3b17b.jpg","text":"TemporaryFile(/tmp/multipartBody5341612148239654213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741460583569,"filename":"image_08032025_20_01_45_9929.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/dfa9d9d250840fa02750515a4fcdee8d.jpg","text":"TemporaryFile(/tmp/multipartBody4994549024643653219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741460583569,"filename":"image_08032025_20_01_35_9938.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/01ccf8082263f58875efbe0623678ab6.jpg","text":"TemporaryFile(/tmp/multipartBody8465146500647292786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741460583569,"filename":"image_08032025_20_01_15_9922.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/0dd8d071d20195822031310a60d09dc0.jpg","text":"TemporaryFile(/tmp/multipartBody5051613740818452115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741460583569,"filename":"image_08032025_20_01_05_9925.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/ae960809aca29745496dd1d329510bc1.jpg","text":"TemporaryFile(/tmp/multipartBody6605878378152363501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741460583569,"filename":"image_08032025_20_00_55_9920.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/2d195931e971aeeedc1325db42c6eebd.jpg","text":"TemporaryFile(/tmp/multipartBody1241179216658444163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741460583569,"filename":"image_08032025_20_01_25_9920.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341990028","file1":"1341989983","file0":"1341989897","file4":"1341990196","file5":"1341990217","file3":"1341990044"},"map_files_photo_id_array":[{"photo_id":"1341990217","filename":"file5"},{"photo_id":"1341990028","filename":"file2"},{"photo_id":"1341990196","filename":"file4"},{"photo_id":"1341989983","filename":"file1"},{"photo_id":"1341989897","filename":"file0"},{"photo_id":"1341990044","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341989897":["hashtag1","hashtag2"]},{"1341989983":["hashtag1","hashtag2"]},{"1341990044":["hashtag1","hashtag2"]},{"1341990196":["hashtag1","hashtag2"]},{"1341990217":["hashtag1","hashtag2"]},{"1341990028":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341989897, 1341989983, 1341990044, 1341990196, 1341990217, 1341990028)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.78338885307312 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 20:03:03.236151
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/20/02/image_08032025_20_02_46_10930.jpg', 2), ('/home/nano/Desktop/images/08032025/20/02/image_08032025_20_02_35_9918.jpg', 2), ('/home/nano/Desktop/images/08032025/20/02/image_08032025_20_02_25_9922.jpg', 2), ('/home/nano/Desktop/images/08032025/20/02/image_08032025_20_02_15_9951.jpg', 2), ('/home/nano/Desktop/images/08032025/20/01/image_08032025_20_02_05_9923.jpg', 2), ('/home/nano/Desktop/images/08032025/20/01/image_08032025_20_01_55_9926.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/20/02/image_08032025_20_02_46_10930.jpg', '/home/nano/Desktop/images/08032025/20/02/image_08032025_20_02_35_9918.jpg', '/home/nano/Desktop/images/08032025/20/02/image_08032025_20_02_25_9922.jpg', '/home/nano/Desktop/images/08032025/20/02/image_08032025_20_02_15_9951.jpg', '/home/nano/Desktop/images/08032025/20/01/image_08032025_20_02_05_9923.jpg', '/home/nano/Desktop/images/08032025/20/01/image_08032025_20_01_55_9926.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/20/02/image_08032025_20_02_46_10930.jpg
/home/nano/Desktop/images/08032025/20/02/image_08032025_20_02_35_9918.jpg
/home/nano/Desktop/images/08032025/20/02/image_08032025_20_02_25_9922.jpg
/home/nano/Desktop/images/08032025/20/02/image_08032025_20_02_15_9951.jpg
/home/nano/Desktop/images/08032025/20/01/image_08032025_20_02_05_9923.jpg
/home/nano/Desktop/images/08032025/20/01/image_08032025_20_01_55_9926.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341990368","1341990410","1341990404","1341990376","1341990379","1341990412"],"photo_ids_order":["1341990368","1341990376","1341990379","1341990404","1341990410","1341990412"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/80f4ab9471803d31ae97b60c55a6fbcf.jpg","text":"TemporaryFile(/tmp/multipartBody6000030627464250638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741460643673,"filename":"image_08032025_20_02_46_10930.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/f3aecb736b1d3a5342d57325c09df4ed.jpg","text":"TemporaryFile(/tmp/multipartBody8118432962331360612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741460643673,"filename":"image_08032025_20_02_05_9923.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/7a4c8faa62d715a44451c4a1a3ba2c50.jpg","text":"TemporaryFile(/tmp/multipartBody572706797618249813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741460643673,"filename":"image_08032025_20_02_15_9951.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/b0efce2836e694084ec60cc2dbc37b11.jpg","text":"TemporaryFile(/tmp/multipartBody1634793749018616351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741460643673,"filename":"image_08032025_20_02_35_9918.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/a289c6c9b0ca7ff1e79b93769c3e4917.jpg","text":"TemporaryFile(/tmp/multipartBody5934185463366110612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741460643673,"filename":"image_08032025_20_02_25_9922.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/833cb26e55fbb44dde7e93fc085318e4.jpg","text":"TemporaryFile(/tmp/multipartBody4737341579230910757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741460643673,"filename":"image_08032025_20_01_55_9926.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341990379","file1":"1341990376","file0":"1341990368","file4":"1341990410","file5":"1341990412","file3":"1341990404"},"map_files_photo_id_array":[{"photo_id":"1341990412","filename":"file5"},{"photo_id":"1341990379","filename":"file2"},{"photo_id":"1341990410","filename":"file4"},{"photo_id":"1341990376","filename":"file1"},{"photo_id":"1341990368","filename":"file0"},{"photo_id":"1341990404","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341990368":["hashtag1","hashtag2"]},{"1341990410":["hashtag1","hashtag2"]},{"1341990404":["hashtag1","hashtag2"]},{"1341990376":["hashtag1","hashtag2"]},{"1341990379":["hashtag1","hashtag2"]},{"1341990412":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341990368, 1341990410, 1341990404, 1341990376, 1341990379, 1341990412)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.67229127883911 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 20:04:02.769982
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/20/03/image_08032025_20_03_45_9921.jpg', 2), ('/home/nano/Desktop/images/08032025/20/03/image_08032025_20_03_35_9920.jpg', 2), ('/home/nano/Desktop/images/08032025/20/03/image_08032025_20_03_25_9923.jpg', 2), ('/home/nano/Desktop/images/08032025/20/03/image_08032025_20_03_15_9927.jpg', 2), ('/home/nano/Desktop/images/08032025/20/02/image_08032025_20_03_05_9929.jpg', 2), ('/home/nano/Desktop/images/08032025/20/02/image_08032025_20_02_55_9918.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/20/03/image_08032025_20_03_45_9921.jpg', '/home/nano/Desktop/images/08032025/20/03/image_08032025_20_03_35_9920.jpg', '/home/nano/Desktop/images/08032025/20/03/image_08032025_20_03_25_9923.jpg', '/home/nano/Desktop/images/08032025/20/03/image_08032025_20_03_15_9927.jpg', '/home/nano/Desktop/images/08032025/20/02/image_08032025_20_03_05_9929.jpg', '/home/nano/Desktop/images/08032025/20/02/image_08032025_20_02_55_9918.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/20/03/image_08032025_20_03_45_9921.jpg
/home/nano/Desktop/images/08032025/20/03/image_08032025_20_03_35_9920.jpg
/home/nano/Desktop/images/08032025/20/03/image_08032025_20_03_25_9923.jpg
/home/nano/Desktop/images/08032025/20/03/image_08032025_20_03_15_9927.jpg
/home/nano/Desktop/images/08032025/20/02/image_08032025_20_03_05_9929.jpg
/home/nano/Desktop/images/08032025/20/02/image_08032025_20_02_55_9918.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341990966","1341991017","1341990893","1341990776","1341990821","1341990682"],"photo_ids_order":["1341990682","1341990776","1341990821","1341990893","1341990966","1341991017"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/982c139a3f10f094d9a9504151524093.jpg","text":"TemporaryFile(/tmp/multipartBody768063863276112404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741460703196,"filename":"image_08032025_20_03_05_9929.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/edb886d35d778591787b2833a8a9a71b.jpg","text":"TemporaryFile(/tmp/multipartBody1487331632970139450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741460703196,"filename":"image_08032025_20_02_55_9918.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/d8c3b6af781c0194f4b57746a27f74d9.jpg","text":"TemporaryFile(/tmp/multipartBody2780836411521703192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741460703196,"filename":"image_08032025_20_03_15_9927.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/ec2da718001b4b99a3fe8c7269b041e5.jpg","text":"TemporaryFile(/tmp/multipartBody2681049270934656949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741460703196,"filename":"image_08032025_20_03_35_9920.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/b40cfbf80e14d4b58c9de89de93ddeb5.jpg","text":"TemporaryFile(/tmp/multipartBody2042504771406021079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741460703196,"filename":"image_08032025_20_03_25_9923.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/ee11bcff11f7d0ffb3edae25bd67635d.jpg","text":"TemporaryFile(/tmp/multipartBody9149457197596975803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741460703196,"filename":"image_08032025_20_03_45_9921.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341990821","file1":"1341990776","file0":"1341990682","file4":"1341990966","file5":"1341991017","file3":"1341990893"},"map_files_photo_id_array":[{"photo_id":"1341991017","filename":"file5"},{"photo_id":"1341990821","filename":"file2"},{"photo_id":"1341990966","filename":"file4"},{"photo_id":"1341990776","filename":"file1"},{"photo_id":"1341990682","filename":"file0"},{"photo_id":"1341990893","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341990966":["hashtag1","hashtag2"]},{"1341991017":["hashtag1","hashtag2"]},{"1341990893":["hashtag1","hashtag2"]},{"1341990776":["hashtag1","hashtag2"]},{"1341990821":["hashtag1","hashtag2"]},{"1341990682":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341990966, 1341991017, 1341990893, 1341990776, 1341990821, 1341990682)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.6853506565094 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 20:05:02.295785
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/20/04/image_08032025_20_04_45_9923.jpg', 2), ('/home/nano/Desktop/images/08032025/20/04/image_08032025_20_04_35_9920.jpg', 2), ('/home/nano/Desktop/images/08032025/20/04/image_08032025_20_04_25_9919.jpg', 2), ('/home/nano/Desktop/images/08032025/20/04/image_08032025_20_04_15_9921.jpg', 2), ('/home/nano/Desktop/images/08032025/20/03/image_08032025_20_04_05_9921.jpg', 2), ('/home/nano/Desktop/images/08032025/20/03/image_08032025_20_03_55_9922.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/20/04/image_08032025_20_04_45_9923.jpg', '/home/nano/Desktop/images/08032025/20/04/image_08032025_20_04_35_9920.jpg', '/home/nano/Desktop/images/08032025/20/04/image_08032025_20_04_25_9919.jpg', '/home/nano/Desktop/images/08032025/20/04/image_08032025_20_04_15_9921.jpg', '/home/nano/Desktop/images/08032025/20/03/image_08032025_20_04_05_9921.jpg', '/home/nano/Desktop/images/08032025/20/03/image_08032025_20_03_55_9922.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/20/04/image_08032025_20_04_45_9923.jpg
/home/nano/Desktop/images/08032025/20/04/image_08032025_20_04_35_9920.jpg
/home/nano/Desktop/images/08032025/20/04/image_08032025_20_04_25_9919.jpg
/home/nano/Desktop/images/08032025/20/04/image_08032025_20_04_15_9921.jpg
/home/nano/Desktop/images/08032025/20/03/image_08032025_20_04_05_9921.jpg
/home/nano/Desktop/images/08032025/20/03/image_08032025_20_03_55_9922.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341991332","1341991511","1341991355","1341991477","1341991444","1341991417"],"photo_ids_order":["1341991332","1341991355","1341991417","1341991444","1341991477","1341991511"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/7002b519f00179f1052d0d80d1062ede.jpg","text":"TemporaryFile(/tmp/multipartBody79653361304642835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741460762787,"filename":"image_08032025_20_04_45_9923.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/8a7d8740e993c3a045835f537778c64b.jpg","text":"TemporaryFile(/tmp/multipartBody7567238278710006890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741460762787,"filename":"image_08032025_20_03_55_9922.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/c8e201a51de8c1bf9972802927326107.jpg","text":"TemporaryFile(/tmp/multipartBody4049035342849019862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741460762787,"filename":"image_08032025_20_04_35_9920.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/e69ca9a9bb17d54a40702be9566a3949.jpg","text":"TemporaryFile(/tmp/multipartBody7882971528106003202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741460762787,"filename":"image_08032025_20_04_05_9921.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/9ded04a39dd9f3248582147fdab2fd4a.jpg","text":"TemporaryFile(/tmp/multipartBody6237047005865777431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741460762787,"filename":"image_08032025_20_04_15_9921.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/2bf4ec58122160afe3b4f92564c066bf.jpg","text":"TemporaryFile(/tmp/multipartBody8760395619059409837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741460762787,"filename":"image_08032025_20_04_25_9919.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341991417","file1":"1341991355","file0":"1341991332","file4":"1341991477","file5":"1341991511","file3":"1341991444"},"map_files_photo_id_array":[{"photo_id":"1341991511","filename":"file5"},{"photo_id":"1341991417","filename":"file2"},{"photo_id":"1341991477","filename":"file4"},{"photo_id":"1341991355","filename":"file1"},{"photo_id":"1341991332","filename":"file0"},{"photo_id":"1341991444","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341991332":["hashtag1","hashtag2"]},{"1341991511":["hashtag1","hashtag2"]},{"1341991355":["hashtag1","hashtag2"]},{"1341991477":["hashtag1","hashtag2"]},{"1341991444":["hashtag1","hashtag2"]},{"1341991417":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341991332, 1341991511, 1341991355, 1341991477, 1341991444, 1341991417)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.485931158065796 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 20:06:02.637711
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/20/05/image_08032025_20_05_45_9920.jpg', 2), ('/home/nano/Desktop/images/08032025/20/05/image_08032025_20_05_35_9919.jpg', 2), ('/home/nano/Desktop/images/08032025/20/05/image_08032025_20_05_25_9917.jpg', 2), ('/home/nano/Desktop/images/08032025/20/05/image_08032025_20_05_15_9919.jpg', 2), ('/home/nano/Desktop/images/08032025/20/04/image_08032025_20_05_05_9935.jpg', 2), ('/home/nano/Desktop/images/08032025/20/04/image_08032025_20_04_56_10928.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/20/05/image_08032025_20_05_45_9920.jpg', '/home/nano/Desktop/images/08032025/20/05/image_08032025_20_05_35_9919.jpg', '/home/nano/Desktop/images/08032025/20/05/image_08032025_20_05_25_9917.jpg', '/home/nano/Desktop/images/08032025/20/05/image_08032025_20_05_15_9919.jpg', '/home/nano/Desktop/images/08032025/20/04/image_08032025_20_05_05_9935.jpg', '/home/nano/Desktop/images/08032025/20/04/image_08032025_20_04_56_10928.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/20/05/image_08032025_20_05_45_9920.jpg
/home/nano/Desktop/images/08032025/20/05/image_08032025_20_05_35_9919.jpg
/home/nano/Desktop/images/08032025/20/05/image_08032025_20_05_25_9917.jpg
/home/nano/Desktop/images/08032025/20/05/image_08032025_20_05_15_9919.jpg
/home/nano/Desktop/images/08032025/20/04/image_08032025_20_05_05_9935.jpg
/home/nano/Desktop/images/08032025/20/04/image_08032025_20_04_56_10928.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341991676","1341991654","1341991756","1341991720","1341991627","1341991612"],"photo_ids_order":["1341991612","1341991627","1341991654","1341991676","1341991720","1341991756"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/cd09bde6be1ed1a4af877a79e9031e04.jpg","text":"TemporaryFile(/tmp/multipartBody6316331155527806130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741460823068,"filename":"image_08032025_20_05_15_9919.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/f01997ba989a1c4b8704d8fae4f9c7bb.jpg","text":"TemporaryFile(/tmp/multipartBody5427722259886851256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741460823068,"filename":"image_08032025_20_05_25_9917.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/0dd275cc7942ea09c169f1ca0f17731c.jpg","text":"TemporaryFile(/tmp/multipartBody5326312599819817626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741460823068,"filename":"image_08032025_20_04_56_10928.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/6c17801d106154c5228362b812e1fc21.jpg","text":"TemporaryFile(/tmp/multipartBody1584740707220863312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741460823068,"filename":"image_08032025_20_05_05_9935.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/45b86c47317313f565990b0e31a24369.jpg","text":"TemporaryFile(/tmp/multipartBody5085598602121235062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741460823068,"filename":"image_08032025_20_05_35_9919.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/0bdddf8637c1b447fc9ee0e4b2ae286a.jpg","text":"TemporaryFile(/tmp/multipartBody2467744761499680596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741460823068,"filename":"image_08032025_20_05_45_9920.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341991654","file1":"1341991627","file0":"1341991612","file4":"1341991720","file5":"1341991756","file3":"1341991676"},"map_files_photo_id_array":[{"photo_id":"1341991756","filename":"file5"},{"photo_id":"1341991654","filename":"file2"},{"photo_id":"1341991720","filename":"file4"},{"photo_id":"1341991627","filename":"file1"},{"photo_id":"1341991612","filename":"file0"},{"photo_id":"1341991676","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341991676":["hashtag1","hashtag2"]},{"1341991654":["hashtag1","hashtag2"]},{"1341991756":["hashtag1","hashtag2"]},{"1341991720":["hashtag1","hashtag2"]},{"1341991627":["hashtag1","hashtag2"]},{"1341991612":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341991676, 1341991654, 1341991756, 1341991720, 1341991627, 1341991612)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.83292055130005 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 20:07:02.732346
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/20/06/image_08032025_20_06_45_9921.jpg', 2), ('/home/nano/Desktop/images/08032025/20/06/image_08032025_20_06_35_9934.jpg', 2), ('/home/nano/Desktop/images/08032025/20/06/image_08032025_20_06_25_9920.jpg', 2), ('/home/nano/Desktop/images/08032025/20/06/image_08032025_20_06_15_9920.jpg', 2), ('/home/nano/Desktop/images/08032025/20/05/image_08032025_20_06_05_9945.jpg', 2), ('/home/nano/Desktop/images/08032025/20/05/image_08032025_20_05_55_9914.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/20/06/image_08032025_20_06_45_9921.jpg', '/home/nano/Desktop/images/08032025/20/06/image_08032025_20_06_35_9934.jpg', '/home/nano/Desktop/images/08032025/20/06/image_08032025_20_06_25_9920.jpg', '/home/nano/Desktop/images/08032025/20/06/image_08032025_20_06_15_9920.jpg', '/home/nano/Desktop/images/08032025/20/05/image_08032025_20_06_05_9945.jpg', '/home/nano/Desktop/images/08032025/20/05/image_08032025_20_05_55_9914.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/20/06/image_08032025_20_06_45_9921.jpg
/home/nano/Desktop/images/08032025/20/06/image_08032025_20_06_35_9934.jpg
/home/nano/Desktop/images/08032025/20/06/image_08032025_20_06_25_9920.jpg
/home/nano/Desktop/images/08032025/20/06/image_08032025_20_06_15_9920.jpg
/home/nano/Desktop/images/08032025/20/05/image_08032025_20_06_05_9945.jpg
/home/nano/Desktop/images/08032025/20/05/image_08032025_20_05_55_9914.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341992033","1341991991","1341992083","1341992128","1341991945","1341992151"],"photo_ids_order":["1341991945","1341991991","1341992033","1341992083","1341992128","1341992151"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/9f7ef6ae6e0ab2fea2541e50a1c584c0.jpg","text":"TemporaryFile(/tmp/multipartBody8001190018419441976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741460883167,"filename":"image_08032025_20_06_25_9920.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/0780f8830e01ea93537a8aa45a3a6ba7.jpg","text":"TemporaryFile(/tmp/multipartBody392408969919080696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741460883167,"filename":"image_08032025_20_06_35_9934.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/f791c757fe0ddaadf322025f251a83b5.jpg","text":"TemporaryFile(/tmp/multipartBody7789378437975603170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741460883167,"filename":"image_08032025_20_06_15_9920.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/8b39e1ad2701105f17228c0071f43262.jpg","text":"TemporaryFile(/tmp/multipartBody8791004751029204640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741460883167,"filename":"image_08032025_20_06_05_9945.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/57ef9fba6ad58d5655133e709a3241c0.jpg","text":"TemporaryFile(/tmp/multipartBody7713134664765500601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741460883167,"filename":"image_08032025_20_06_45_9921.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/54f9c11eb3cf965661609ac04aeab3df.jpg","text":"TemporaryFile(/tmp/multipartBody2489010799999750422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741460883167,"filename":"image_08032025_20_05_55_9914.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341992033","file1":"1341991991","file0":"1341991945","file4":"1341992128","file5":"1341992151","file3":"1341992083"},"map_files_photo_id_array":[{"photo_id":"1341992151","filename":"file5"},{"photo_id":"1341992033","filename":"file2"},{"photo_id":"1341992128","filename":"file4"},{"photo_id":"1341991991","filename":"file1"},{"photo_id":"1341991945","filename":"file0"},{"photo_id":"1341992083","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341992033":["hashtag1","hashtag2"]},{"1341991991":["hashtag1","hashtag2"]},{"1341992083":["hashtag1","hashtag2"]},{"1341992128":["hashtag1","hashtag2"]},{"1341991945":["hashtag1","hashtag2"]},{"1341992151":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341992033, 1341991991, 1341992083, 1341992128, 1341991945, 1341992151)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.554320335388184 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 20:08:02.691514
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/20/07/image_08032025_20_07_45_9922.jpg', 2), ('/home/nano/Desktop/images/08032025/20/07/image_08032025_20_07_35_9921.jpg', 2), ('/home/nano/Desktop/images/08032025/20/07/image_08032025_20_07_25_9921.jpg', 2), ('/home/nano/Desktop/images/08032025/20/07/image_08032025_20_07_16_10916.jpg', 2), ('/home/nano/Desktop/images/08032025/20/06/image_08032025_20_07_05_9960.jpg', 2), ('/home/nano/Desktop/images/08032025/20/06/image_08032025_20_06_55_9920.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/20/07/image_08032025_20_07_45_9922.jpg', '/home/nano/Desktop/images/08032025/20/07/image_08032025_20_07_35_9921.jpg', '/home/nano/Desktop/images/08032025/20/07/image_08032025_20_07_25_9921.jpg', '/home/nano/Desktop/images/08032025/20/07/image_08032025_20_07_16_10916.jpg', '/home/nano/Desktop/images/08032025/20/06/image_08032025_20_07_05_9960.jpg', '/home/nano/Desktop/images/08032025/20/06/image_08032025_20_06_55_9920.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/20/07/image_08032025_20_07_45_9922.jpg
/home/nano/Desktop/images/08032025/20/07/image_08032025_20_07_35_9921.jpg
/home/nano/Desktop/images/08032025/20/07/image_08032025_20_07_25_9921.jpg
/home/nano/Desktop/images/08032025/20/07/image_08032025_20_07_16_10916.jpg
/home/nano/Desktop/images/08032025/20/06/image_08032025_20_07_05_9960.jpg
/home/nano/Desktop/images/08032025/20/06/image_08032025_20_06_55_9920.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341992383","1341992362","1341992356","1341992388","1341992427","1341992406"],"photo_ids_order":["1341992356","1341992362","1341992383","1341992388","1341992406","1341992427"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/1b6c091a82f25c4ff270bab301400dfa.jpg","text":"TemporaryFile(/tmp/multipartBody4479689051426714056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741460943104,"filename":"image_08032025_20_07_25_9921.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/af09ffc8473613598e60394658ebed13.jpg","text":"TemporaryFile(/tmp/multipartBody733491086649374350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741460943104,"filename":"image_08032025_20_07_35_9921.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/f60d671683d6c085d60260123b499dc3.jpg","text":"TemporaryFile(/tmp/multipartBody5690055480236445315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741460943104,"filename":"image_08032025_20_07_45_9922.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/898b3123e671ebf3dcb9c728783fccb2.jpg","text":"TemporaryFile(/tmp/multipartBody721442407109893126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741460943104,"filename":"image_08032025_20_07_16_10916.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/2e088c6e0df9b5bf4ab396c82f5129fd.jpg","text":"TemporaryFile(/tmp/multipartBody8997694533218462619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741460943104,"filename":"image_08032025_20_06_55_9920.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/0d6db1dfa81f350e45f7375d8386ec39.jpg","text":"TemporaryFile(/tmp/multipartBody3526104284669150454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741460943104,"filename":"image_08032025_20_07_05_9960.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341992383","file1":"1341992362","file0":"1341992356","file4":"1341992406","file5":"1341992427","file3":"1341992388"},"map_files_photo_id_array":[{"photo_id":"1341992427","filename":"file5"},{"photo_id":"1341992383","filename":"file2"},{"photo_id":"1341992406","filename":"file4"},{"photo_id":"1341992362","filename":"file1"},{"photo_id":"1341992356","filename":"file0"},{"photo_id":"1341992388","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341992383":["hashtag1","hashtag2"]},{"1341992362":["hashtag1","hashtag2"]},{"1341992356":["hashtag1","hashtag2"]},{"1341992388":["hashtag1","hashtag2"]},{"1341992427":["hashtag1","hashtag2"]},{"1341992406":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341992383, 1341992362, 1341992356, 1341992388, 1341992427, 1341992406)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.19025135040283 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 20:09:03.177473
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/20/08/image_08032025_20_08_45_9917.jpg', 2), ('/home/nano/Desktop/images/08032025/20/08/image_08032025_20_08_35_9921.jpg', 2), ('/home/nano/Desktop/images/08032025/20/08/image_08032025_20_08_25_9918.jpg', 2), ('/home/nano/Desktop/images/08032025/20/08/image_08032025_20_08_15_9921.jpg', 2), ('/home/nano/Desktop/images/08032025/20/07/image_08032025_20_08_05_9936.jpg', 2), ('/home/nano/Desktop/images/08032025/20/07/image_08032025_20_07_55_9921.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/20/08/image_08032025_20_08_45_9917.jpg', '/home/nano/Desktop/images/08032025/20/08/image_08032025_20_08_35_9921.jpg', '/home/nano/Desktop/images/08032025/20/08/image_08032025_20_08_25_9918.jpg', '/home/nano/Desktop/images/08032025/20/08/image_08032025_20_08_15_9921.jpg', '/home/nano/Desktop/images/08032025/20/07/image_08032025_20_08_05_9936.jpg', '/home/nano/Desktop/images/08032025/20/07/image_08032025_20_07_55_9921.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/20/08/image_08032025_20_08_45_9917.jpg
/home/nano/Desktop/images/08032025/20/08/image_08032025_20_08_35_9921.jpg
/home/nano/Desktop/images/08032025/20/08/image_08032025_20_08_25_9918.jpg
/home/nano/Desktop/images/08032025/20/08/image_08032025_20_08_15_9921.jpg
/home/nano/Desktop/images/08032025/20/07/image_08032025_20_08_05_9936.jpg
/home/nano/Desktop/images/08032025/20/07/image_08032025_20_07_55_9921.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341992774","1341992656","1341992611","1341992676","1341992718","1341992634"],"photo_ids_order":["1341992611","1341992634","1341992656","1341992676","1341992718","1341992774"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/6224c03827e62386d7e1e2f4bdffbaf0.jpg","text":"TemporaryFile(/tmp/multipartBody3203219015472561675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741461003613,"filename":"image_08032025_20_07_55_9921.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/10a30c6c6bfa5f27307a171890ec2ada.jpg","text":"TemporaryFile(/tmp/multipartBody764717244453931927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741461003613,"filename":"image_08032025_20_08_25_9918.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/9f5e94dcc8cd1756309eb7bdf25c6e13.jpg","text":"TemporaryFile(/tmp/multipartBody7238767192462802166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741461003613,"filename":"image_08032025_20_08_45_9917.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/ac5e7e7930eb99a4c75a4164e59a5811.jpg","text":"TemporaryFile(/tmp/multipartBody4535967486451478283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741461003613,"filename":"image_08032025_20_08_15_9921.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/4a9aa896a21d0c56eef8352914a6df2a.jpg","text":"TemporaryFile(/tmp/multipartBody6586026837545279923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741461003613,"filename":"image_08032025_20_08_05_9936.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/4c8fdfe9c3edebfc28d6aafdf7538518.jpg","text":"TemporaryFile(/tmp/multipartBody8602736020686267853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741461003613,"filename":"image_08032025_20_08_35_9921.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341992656","file1":"1341992634","file0":"1341992611","file4":"1341992718","file5":"1341992774","file3":"1341992676"},"map_files_photo_id_array":[{"photo_id":"1341992774","filename":"file5"},{"photo_id":"1341992656","filename":"file2"},{"photo_id":"1341992718","filename":"file4"},{"photo_id":"1341992634","filename":"file1"},{"photo_id":"1341992611","filename":"file0"},{"photo_id":"1341992676","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341992774":["hashtag1","hashtag2"]},{"1341992656":["hashtag1","hashtag2"]},{"1341992611":["hashtag1","hashtag2"]},{"1341992676":["hashtag1","hashtag2"]},{"1341992718":["hashtag1","hashtag2"]},{"1341992634":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341992774, 1341992656, 1341992611, 1341992676, 1341992718, 1341992634)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.008241415023804 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 20:10:03.185380
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/20/09/image_08032025_20_09_45_9921.jpg', 2), ('/home/nano/Desktop/images/08032025/20/09/image_08032025_20_09_35_9917.jpg', 2), ('/home/nano/Desktop/images/08032025/20/09/image_08032025_20_09_26_10927.jpg', 2), ('/home/nano/Desktop/images/08032025/20/09/image_08032025_20_09_15_9925.jpg', 2), ('/home/nano/Desktop/images/08032025/20/08/image_08032025_20_09_05_9926.jpg', 2), ('/home/nano/Desktop/images/08032025/20/08/image_08032025_20_08_55_9916.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/20/09/image_08032025_20_09_45_9921.jpg', '/home/nano/Desktop/images/08032025/20/09/image_08032025_20_09_35_9917.jpg', '/home/nano/Desktop/images/08032025/20/09/image_08032025_20_09_26_10927.jpg', '/home/nano/Desktop/images/08032025/20/09/image_08032025_20_09_15_9925.jpg', '/home/nano/Desktop/images/08032025/20/08/image_08032025_20_09_05_9926.jpg', '/home/nano/Desktop/images/08032025/20/08/image_08032025_20_08_55_9916.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/20/09/image_08032025_20_09_45_9921.jpg
/home/nano/Desktop/images/08032025/20/09/image_08032025_20_09_35_9917.jpg
/home/nano/Desktop/images/08032025/20/09/image_08032025_20_09_26_10927.jpg
/home/nano/Desktop/images/08032025/20/09/image_08032025_20_09_15_9925.jpg
/home/nano/Desktop/images/08032025/20/08/image_08032025_20_09_05_9926.jpg
/home/nano/Desktop/images/08032025/20/08/image_08032025_20_08_55_9916.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.3488593101501465 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 marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 20:10:32.604683
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/20/10/image_08032025_20_10_45_9922.jpg', 2), ('/home/nano/Desktop/images/08032025/20/10/image_08032025_20_10_35_9916.jpg', 2), ('/home/nano/Desktop/images/08032025/20/10/image_08032025_20_10_25_9918.jpg', 2), ('/home/nano/Desktop/images/08032025/20/10/image_08032025_20_10_15_9920.jpg', 2), ('/home/nano/Desktop/images/08032025/20/09/image_08032025_20_10_05_9924.jpg', 2), ('/home/nano/Desktop/images/08032025/20/09/image_08032025_20_09_55_9925.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/20/10/image_08032025_20_10_45_9922.jpg', '/home/nano/Desktop/images/08032025/20/10/image_08032025_20_10_35_9916.jpg', '/home/nano/Desktop/images/08032025/20/10/image_08032025_20_10_25_9918.jpg', '/home/nano/Desktop/images/08032025/20/10/image_08032025_20_10_15_9920.jpg', '/home/nano/Desktop/images/08032025/20/09/image_08032025_20_10_05_9924.jpg', '/home/nano/Desktop/images/08032025/20/09/image_08032025_20_09_55_9925.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/20/10/image_08032025_20_10_45_9922.jpg
/home/nano/Desktop/images/08032025/20/10/image_08032025_20_10_35_9916.jpg
/home/nano/Desktop/images/08032025/20/10/image_08032025_20_10_25_9918.jpg
/home/nano/Desktop/images/08032025/20/10/image_08032025_20_10_15_9920.jpg
/home/nano/Desktop/images/08032025/20/09/image_08032025_20_10_05_9924.jpg
/home/nano/Desktop/images/08032025/20/09/image_08032025_20_09_55_9925.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341993800","1341993844","1341993693","1341993612","1341993755","1341993530"],"photo_ids_order":["1341993530","1341993612","1341993693","1341993755","1341993800","1341993844"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/ae7e287c66d40498394f0aa0942b1b57.jpg","text":"TemporaryFile(/tmp/multipartBody3181427177762120397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741461093120,"filename":"image_08032025_20_10_05_9924.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/031fa9eccc8b9e622c8be7e611889ada.jpg","text":"TemporaryFile(/tmp/multipartBody4749335637549650018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741461093120,"filename":"image_08032025_20_09_55_9925.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/dfa2bfa08a40e53ee8e917e11a2e7312.jpg","text":"TemporaryFile(/tmp/multipartBody1881089993324095086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741461093120,"filename":"image_08032025_20_10_25_9918.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/ef64955dc4dc386114e9ac5e33a6b05d.jpg","text":"TemporaryFile(/tmp/multipartBody6102683823250479104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741461093120,"filename":"image_08032025_20_10_35_9916.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/cb7b8e8aa0d2cb0308b8ddaa12a2e1dd.jpg","text":"TemporaryFile(/tmp/multipartBody7926770489587557004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741461093120,"filename":"image_08032025_20_10_15_9920.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/e679747e450a4ffff87ef1365ca55551.jpg","text":"TemporaryFile(/tmp/multipartBody1123931664165142229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741461093120,"filename":"image_08032025_20_10_45_9922.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341993693","file1":"1341993612","file0":"1341993530","file4":"1341993800","file5":"1341993844","file3":"1341993755"},"map_files_photo_id_array":[{"photo_id":"1341993844","filename":"file5"},{"photo_id":"1341993693","filename":"file2"},{"photo_id":"1341993800","filename":"file4"},{"photo_id":"1341993612","filename":"file1"},{"photo_id":"1341993530","filename":"file0"},{"photo_id":"1341993755","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341993800":["hashtag1","hashtag2"]},{"1341993844":["hashtag1","hashtag2"]},{"1341993693":["hashtag1","hashtag2"]},{"1341993612":["hashtag1","hashtag2"]},{"1341993755":["hashtag1","hashtag2"]},{"1341993530":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341993800, 1341993844, 1341993693, 1341993612, 1341993755, 1341993530)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.10247468948364 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 20:11:32.696775
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/20/11/image_08032025_20_11_45_9919.jpg', 2), ('/home/nano/Desktop/images/08032025/20/11/image_08032025_20_11_36_10933.jpg', 2), ('/home/nano/Desktop/images/08032025/20/11/image_08032025_20_11_25_9914.jpg', 2), ('/home/nano/Desktop/images/08032025/20/11/image_08032025_20_11_15_9912.jpg', 2), ('/home/nano/Desktop/images/08032025/20/10/image_08032025_20_11_05_9955.jpg', 2), ('/home/nano/Desktop/images/08032025/20/10/image_08032025_20_10_55_9934.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/20/11/image_08032025_20_11_45_9919.jpg', '/home/nano/Desktop/images/08032025/20/11/image_08032025_20_11_36_10933.jpg', '/home/nano/Desktop/images/08032025/20/11/image_08032025_20_11_25_9914.jpg', '/home/nano/Desktop/images/08032025/20/11/image_08032025_20_11_15_9912.jpg', '/home/nano/Desktop/images/08032025/20/10/image_08032025_20_11_05_9955.jpg', '/home/nano/Desktop/images/08032025/20/10/image_08032025_20_10_55_9934.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/20/11/image_08032025_20_11_45_9919.jpg
/home/nano/Desktop/images/08032025/20/11/image_08032025_20_11_36_10933.jpg
/home/nano/Desktop/images/08032025/20/11/image_08032025_20_11_25_9914.jpg
/home/nano/Desktop/images/08032025/20/11/image_08032025_20_11_15_9912.jpg
/home/nano/Desktop/images/08032025/20/10/image_08032025_20_11_05_9955.jpg
/home/nano/Desktop/images/08032025/20/10/image_08032025_20_10_55_9934.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341994252","1341994240","1341994080","1341994122","1341994218","1341994174"],"photo_ids_order":["1341994080","1341994122","1341994174","1341994218","1341994240","1341994252"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/139f58cd0883afff29231b5fdce81cdf.jpg","text":"TemporaryFile(/tmp/multipartBody2095098372368546059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741461153106,"filename":"image_08032025_20_10_55_9934.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/cd8d3778fa1d9707a948462615b6c45b.jpg","text":"TemporaryFile(/tmp/multipartBody6360217989528408236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741461153106,"filename":"image_08032025_20_11_05_9955.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/517c5bf9a03bdca5c04805e774c93caf.jpg","text":"TemporaryFile(/tmp/multipartBody6656602719743303470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741461153106,"filename":"image_08032025_20_11_45_9919.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/a81012e4e77863577a8b7301082081c7.jpg","text":"TemporaryFile(/tmp/multipartBody5301894252434110188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741461153106,"filename":"image_08032025_20_11_36_10933.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/89c4a8531ced066418dca7c7c867dbf5.jpg","text":"TemporaryFile(/tmp/multipartBody949549711528042101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741461153106,"filename":"image_08032025_20_11_15_9912.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/63a0b7cbd8ab01b6ad9d18b13dba9286.jpg","text":"TemporaryFile(/tmp/multipartBody2871392151566163930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741461153106,"filename":"image_08032025_20_11_25_9914.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341994174","file1":"1341994122","file0":"1341994080","file4":"1341994240","file5":"1341994252","file3":"1341994218"},"map_files_photo_id_array":[{"photo_id":"1341994252","filename":"file5"},{"photo_id":"1341994174","filename":"file2"},{"photo_id":"1341994240","filename":"file4"},{"photo_id":"1341994122","filename":"file1"},{"photo_id":"1341994080","filename":"file0"},{"photo_id":"1341994218","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341994252":["hashtag1","hashtag2"]},{"1341994240":["hashtag1","hashtag2"]},{"1341994080":["hashtag1","hashtag2"]},{"1341994122":["hashtag1","hashtag2"]},{"1341994218":["hashtag1","hashtag2"]},{"1341994174":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341994252, 1341994240, 1341994080, 1341994122, 1341994218, 1341994174)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.99934792518616 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 20:12:31.811790
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/20/12/image_08032025_20_12_35_9922.jpg', 2), ('/home/nano/Desktop/images/08032025/20/12/image_08032025_20_12_25_9951.jpg', 2), ('/home/nano/Desktop/images/08032025/20/12/image_08032025_20_12_15_9918.jpg', 2), ('/home/nano/Desktop/images/08032025/20/11/image_08032025_20_12_05_9932.jpg', 2), ('/home/nano/Desktop/images/08032025/20/11/image_08032025_20_11_55_9920.jpg', 2), ('/home/nano/Desktop/images/08032025/20/09/image_08032025_20_09_45_9921.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/20/12/image_08032025_20_12_35_9922.jpg', '/home/nano/Desktop/images/08032025/20/12/image_08032025_20_12_25_9951.jpg', '/home/nano/Desktop/images/08032025/20/12/image_08032025_20_12_15_9918.jpg', '/home/nano/Desktop/images/08032025/20/11/image_08032025_20_12_05_9932.jpg', '/home/nano/Desktop/images/08032025/20/11/image_08032025_20_11_55_9920.jpg', '/home/nano/Desktop/images/08032025/20/09/image_08032025_20_09_45_9921.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/20/12/image_08032025_20_12_35_9922.jpg
/home/nano/Desktop/images/08032025/20/12/image_08032025_20_12_25_9951.jpg
/home/nano/Desktop/images/08032025/20/12/image_08032025_20_12_15_9918.jpg
/home/nano/Desktop/images/08032025/20/11/image_08032025_20_12_05_9932.jpg
/home/nano/Desktop/images/08032025/20/11/image_08032025_20_11_55_9920.jpg
/home/nano/Desktop/images/08032025/20/09/image_08032025_20_09_45_9921.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341994600","1341994512","1341994542","1341994577","1341994484","1341994651"],"photo_ids_order":["1341994484","1341994512","1341994542","1341994577","1341994600","1341994651"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/54c30cd0e92b9c4c41112ae2daa11e78.jpg","text":"TemporaryFile(/tmp/multipartBody6612497864034020796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741461212277,"filename":"image_08032025_20_11_55_9920.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/197dab47b4063900f54e8bf2824ded3f.jpg","text":"TemporaryFile(/tmp/multipartBody5964298718218537297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741461212277,"filename":"image_08032025_20_12_25_9951.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/049703d48f7a51d52668d2adac2d6a05.jpg","text":"TemporaryFile(/tmp/multipartBody293907978140610155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741461212277,"filename":"image_08032025_20_12_15_9918.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/0d0d4caf18071151d7fbe6b4a867faef.jpg","text":"TemporaryFile(/tmp/multipartBody6495946937629769770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741461212277,"filename":"image_08032025_20_12_05_9932.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/6826ba10e69bfccfcca4213395683229.jpg","text":"TemporaryFile(/tmp/multipartBody5208376998775849502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741461212277,"filename":"image_08032025_20_12_35_9922.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/3159fc703bf8d5da30f8ffe9177952b2.jpg","text":"TemporaryFile(/tmp/multipartBody8093825119315103718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741461212277,"filename":"image_08032025_20_09_45_9921.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341994542","file1":"1341994512","file0":"1341994484","file4":"1341994600","file5":"1341994651","file3":"1341994577"},"map_files_photo_id_array":[{"photo_id":"1341994651","filename":"file5"},{"photo_id":"1341994542","filename":"file2"},{"photo_id":"1341994600","filename":"file4"},{"photo_id":"1341994512","filename":"file1"},{"photo_id":"1341994484","filename":"file0"},{"photo_id":"1341994577","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341994600":["hashtag1","hashtag2"]},{"1341994512":["hashtag1","hashtag2"]},{"1341994542":["hashtag1","hashtag2"]},{"1341994577":["hashtag1","hashtag2"]},{"1341994484":["hashtag1","hashtag2"]},{"1341994651":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341994600, 1341994512, 1341994542, 1341994577, 1341994484, 1341994651)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.858598947525024 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 20:13:31.892395
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/20/13/image_08032025_20_13_46_10928.jpg', 2), ('/home/nano/Desktop/images/08032025/20/13/image_08032025_20_13_35_9923.jpg', 2), ('/home/nano/Desktop/images/08032025/20/13/image_08032025_20_13_25_9920.jpg', 2), ('/home/nano/Desktop/images/08032025/20/13/image_08032025_20_13_15_9919.jpg', 2), ('/home/nano/Desktop/images/08032025/20/12/image_08032025_20_13_05_9928.jpg', 2), ('/home/nano/Desktop/images/08032025/20/12/image_08032025_20_12_45_9919.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/20/13/image_08032025_20_13_46_10928.jpg', '/home/nano/Desktop/images/08032025/20/13/image_08032025_20_13_35_9923.jpg', '/home/nano/Desktop/images/08032025/20/13/image_08032025_20_13_25_9920.jpg', '/home/nano/Desktop/images/08032025/20/13/image_08032025_20_13_15_9919.jpg', '/home/nano/Desktop/images/08032025/20/12/image_08032025_20_13_05_9928.jpg', '/home/nano/Desktop/images/08032025/20/12/image_08032025_20_12_45_9919.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/20/13/image_08032025_20_13_46_10928.jpg
/home/nano/Desktop/images/08032025/20/13/image_08032025_20_13_35_9923.jpg
/home/nano/Desktop/images/08032025/20/13/image_08032025_20_13_25_9920.jpg
/home/nano/Desktop/images/08032025/20/13/image_08032025_20_13_15_9919.jpg
/home/nano/Desktop/images/08032025/20/12/image_08032025_20_13_05_9928.jpg
/home/nano/Desktop/images/08032025/20/12/image_08032025_20_12_45_9919.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341995035","1341995061","1341995118","1341995222","1341995173","1341995242"],"photo_ids_order":["1341995035","1341995061","1341995118","1341995173","1341995222","1341995242"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/75e8cfbf4249494f4a73f39429972564.jpg","text":"TemporaryFile(/tmp/multipartBody4095633998434872501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741461272381,"filename":"image_08032025_20_13_46_10928.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/8359c00298566424e2183bf1cded3876.jpg","text":"TemporaryFile(/tmp/multipartBody6013695207328405979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741461272381,"filename":"image_08032025_20_13_35_9923.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/df3e9bb73387ad9ad9969f4630227cfd.jpg","text":"TemporaryFile(/tmp/multipartBody4876367069456376292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741461272381,"filename":"image_08032025_20_13_25_9920.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/b81e393e17e89e2857ebb6c8e8644864.jpg","text":"TemporaryFile(/tmp/multipartBody5918479458070168760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741461272381,"filename":"image_08032025_20_13_05_9928.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/3f968ae07cbfe74d4fdecb5eb7ef0a77.jpg","text":"TemporaryFile(/tmp/multipartBody7676288874937226114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741461272381,"filename":"image_08032025_20_13_15_9919.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/cba8865aed110e844b3ba0bd3215caa6.jpg","text":"TemporaryFile(/tmp/multipartBody2861411770810339598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741461272381,"filename":"image_08032025_20_12_45_9919.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341995118","file1":"1341995061","file0":"1341995035","file4":"1341995222","file5":"1341995242","file3":"1341995173"},"map_files_photo_id_array":[{"photo_id":"1341995242","filename":"file5"},{"photo_id":"1341995118","filename":"file2"},{"photo_id":"1341995222","filename":"file4"},{"photo_id":"1341995061","filename":"file1"},{"photo_id":"1341995035","filename":"file0"},{"photo_id":"1341995173","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341995035":["hashtag1","hashtag2"]},{"1341995061":["hashtag1","hashtag2"]},{"1341995118":["hashtag1","hashtag2"]},{"1341995222":["hashtag1","hashtag2"]},{"1341995173":["hashtag1","hashtag2"]},{"1341995242":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341995035, 1341995061, 1341995118, 1341995222, 1341995173, 1341995242)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.134958267211914 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 20:14:31.993642
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/20/14/image_08032025_20_14_45_9920.jpg', 2), ('/home/nano/Desktop/images/08032025/20/14/image_08032025_20_14_35_9921.jpg', 2), ('/home/nano/Desktop/images/08032025/20/14/image_08032025_20_14_25_9923.jpg', 2), ('/home/nano/Desktop/images/08032025/20/14/image_08032025_20_14_15_9923.jpg', 2), ('/home/nano/Desktop/images/08032025/20/13/image_08032025_20_14_05_9926.jpg', 2), ('/home/nano/Desktop/images/08032025/20/13/image_08032025_20_13_55_9922.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/20/14/image_08032025_20_14_45_9920.jpg', '/home/nano/Desktop/images/08032025/20/14/image_08032025_20_14_35_9921.jpg', '/home/nano/Desktop/images/08032025/20/14/image_08032025_20_14_25_9923.jpg', '/home/nano/Desktop/images/08032025/20/14/image_08032025_20_14_15_9923.jpg', '/home/nano/Desktop/images/08032025/20/13/image_08032025_20_14_05_9926.jpg', '/home/nano/Desktop/images/08032025/20/13/image_08032025_20_13_55_9922.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/20/14/image_08032025_20_14_45_9920.jpg
/home/nano/Desktop/images/08032025/20/14/image_08032025_20_14_35_9921.jpg
/home/nano/Desktop/images/08032025/20/14/image_08032025_20_14_25_9923.jpg
/home/nano/Desktop/images/08032025/20/14/image_08032025_20_14_15_9923.jpg
/home/nano/Desktop/images/08032025/20/13/image_08032025_20_14_05_9926.jpg
/home/nano/Desktop/images/08032025/20/13/image_08032025_20_13_55_9922.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341995523","1341995582","1341995593","1341995596","1341995479","1341995452"],"photo_ids_order":["1341995452","1341995479","1341995523","1341995582","1341995593","1341995596"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/792cf1b2a68347e685ceb6cb6b241b46.jpg","text":"TemporaryFile(/tmp/multipartBody1410947350483145846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741461332472,"filename":"image_08032025_20_14_25_9923.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/ce3fb2c4311ac75c2403c5c217d06730.jpg","text":"TemporaryFile(/tmp/multipartBody8517887999928192980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741461332472,"filename":"image_08032025_20_14_15_9923.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/8f9d53b130d2995e1ebeef080f2859fc.jpg","text":"TemporaryFile(/tmp/multipartBody3352535980763397084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741461332472,"filename":"image_08032025_20_14_05_9926.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/188098bb563025bc3db59b9eabf189ef.jpg","text":"TemporaryFile(/tmp/multipartBody3613211862433710051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741461332472,"filename":"image_08032025_20_13_55_9922.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/00c0dd3a518e7a00e0178753d82c9d79.jpg","text":"TemporaryFile(/tmp/multipartBody8086411430153985324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741461332472,"filename":"image_08032025_20_14_35_9921.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/180637783d85d1061219a538e184b53f.jpg","text":"TemporaryFile(/tmp/multipartBody7014313822099292636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741461332472,"filename":"image_08032025_20_14_45_9920.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341995523","file1":"1341995479","file0":"1341995452","file4":"1341995593","file5":"1341995596","file3":"1341995582"},"map_files_photo_id_array":[{"photo_id":"1341995596","filename":"file5"},{"photo_id":"1341995523","filename":"file2"},{"photo_id":"1341995593","filename":"file4"},{"photo_id":"1341995479","filename":"file1"},{"photo_id":"1341995452","filename":"file0"},{"photo_id":"1341995582","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341995523":["hashtag1","hashtag2"]},{"1341995582":["hashtag1","hashtag2"]},{"1341995593":["hashtag1","hashtag2"]},{"1341995596":["hashtag1","hashtag2"]},{"1341995479":["hashtag1","hashtag2"]},{"1341995452":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341995523, 1341995582, 1341995593, 1341995596, 1341995479, 1341995452)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.40999960899353 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 20:15:32.130511
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/20/15/image_08032025_20_15_45_9921.jpg', 2), ('/home/nano/Desktop/images/08032025/20/15/image_08032025_20_15_35_9920.jpg', 2), ('/home/nano/Desktop/images/08032025/20/15/image_08032025_20_15_25_9919.jpg', 2), ('/home/nano/Desktop/images/08032025/20/15/image_08032025_20_15_15_9918.jpg', 2), ('/home/nano/Desktop/images/08032025/20/14/image_08032025_20_15_05_9926.jpg', 2), ('/home/nano/Desktop/images/08032025/20/14/image_08032025_20_14_55_9920.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/20/15/image_08032025_20_15_45_9921.jpg', '/home/nano/Desktop/images/08032025/20/15/image_08032025_20_15_35_9920.jpg', '/home/nano/Desktop/images/08032025/20/15/image_08032025_20_15_25_9919.jpg', '/home/nano/Desktop/images/08032025/20/15/image_08032025_20_15_15_9918.jpg', '/home/nano/Desktop/images/08032025/20/14/image_08032025_20_15_05_9926.jpg', '/home/nano/Desktop/images/08032025/20/14/image_08032025_20_14_55_9920.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/20/15/image_08032025_20_15_45_9921.jpg
/home/nano/Desktop/images/08032025/20/15/image_08032025_20_15_35_9920.jpg
/home/nano/Desktop/images/08032025/20/15/image_08032025_20_15_25_9919.jpg
/home/nano/Desktop/images/08032025/20/15/image_08032025_20_15_15_9918.jpg
/home/nano/Desktop/images/08032025/20/14/image_08032025_20_15_05_9926.jpg
/home/nano/Desktop/images/08032025/20/14/image_08032025_20_14_55_9920.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341995809","1341995799","1341995829","1341995820","1341995805","1341995813"],"photo_ids_order":["1341995799","1341995805","1341995809","1341995813","1341995820","1341995829"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/324f8c3c3ac2b18ffc73331bf5f09199.jpg","text":"TemporaryFile(/tmp/multipartBody6371679716229615157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741461392603,"filename":"image_08032025_20_15_25_9919.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/41666230afb074f9943e7608989be3d3.jpg","text":"TemporaryFile(/tmp/multipartBody5712206150504375407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741461392603,"filename":"image_08032025_20_15_45_9921.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/b5978bc151acc72acd066366b1bdd4b8.jpg","text":"TemporaryFile(/tmp/multipartBody4402414783697353803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741461392603,"filename":"image_08032025_20_14_55_9920.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/86027a605da142d5c586225b71cec9f9.jpg","text":"TemporaryFile(/tmp/multipartBody8842914672020896863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741461392603,"filename":"image_08032025_20_15_05_9926.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/445ee13dd020e296c08113263ed06cf7.jpg","text":"TemporaryFile(/tmp/multipartBody400026010565482806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741461392603,"filename":"image_08032025_20_15_35_9920.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/7456dd59283643625cd81b9d03035f14.jpg","text":"TemporaryFile(/tmp/multipartBody1419761669821298047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741461392603,"filename":"image_08032025_20_15_15_9918.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341995809","file1":"1341995805","file0":"1341995799","file4":"1341995820","file5":"1341995829","file3":"1341995813"},"map_files_photo_id_array":[{"photo_id":"1341995829","filename":"file5"},{"photo_id":"1341995809","filename":"file2"},{"photo_id":"1341995820","filename":"file4"},{"photo_id":"1341995805","filename":"file1"},{"photo_id":"1341995799","filename":"file0"},{"photo_id":"1341995813","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341995809":["hashtag1","hashtag2"]},{"1341995799":["hashtag1","hashtag2"]},{"1341995829":["hashtag1","hashtag2"]},{"1341995820":["hashtag1","hashtag2"]},{"1341995805":["hashtag1","hashtag2"]},{"1341995813":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341995809, 1341995799, 1341995829, 1341995820, 1341995805, 1341995813)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 49.443225145339966 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 20:16:32.232366
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/20/16/image_08032025_20_16_45_9945.jpg', 2), ('/home/nano/Desktop/images/08032025/20/16/image_08032025_20_16_35_9920.jpg', 2), ('/home/nano/Desktop/images/08032025/20/16/image_08032025_20_16_25_9953.jpg', 2), ('/home/nano/Desktop/images/08032025/20/16/image_08032025_20_16_15_9920.jpg', 2), ('/home/nano/Desktop/images/08032025/20/15/image_08032025_20_16_05_9928.jpg', 2), ('/home/nano/Desktop/images/08032025/20/15/image_08032025_20_15_56_10932.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/20/16/image_08032025_20_16_45_9945.jpg', '/home/nano/Desktop/images/08032025/20/16/image_08032025_20_16_35_9920.jpg', '/home/nano/Desktop/images/08032025/20/16/image_08032025_20_16_25_9953.jpg', '/home/nano/Desktop/images/08032025/20/16/image_08032025_20_16_15_9920.jpg', '/home/nano/Desktop/images/08032025/20/15/image_08032025_20_16_05_9928.jpg', '/home/nano/Desktop/images/08032025/20/15/image_08032025_20_15_56_10932.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/20/16/image_08032025_20_16_45_9945.jpg
/home/nano/Desktop/images/08032025/20/16/image_08032025_20_16_35_9920.jpg
/home/nano/Desktop/images/08032025/20/16/image_08032025_20_16_25_9953.jpg
/home/nano/Desktop/images/08032025/20/16/image_08032025_20_16_15_9920.jpg
/home/nano/Desktop/images/08032025/20/15/image_08032025_20_16_05_9928.jpg
/home/nano/Desktop/images/08032025/20/15/image_08032025_20_15_56_10932.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341995850","1341995853","1341995847","1341995841","1341995844","1341995855"],"photo_ids_order":["1341995841","1341995844","1341995847","1341995850","1341995853","1341995855"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/55c1638f163c5ed3e9e81f86eb28ec84.jpg","text":"TemporaryFile(/tmp/multipartBody3817411523840628634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741461452675,"filename":"image_08032025_20_16_15_9920.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/f72ef6c2370ec20cc457e39c3e43f433.jpg","text":"TemporaryFile(/tmp/multipartBody352856398099739058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741461452675,"filename":"image_08032025_20_16_05_9928.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/81f8f964d1f5dd5513a2a1b4246d751d.jpg","text":"TemporaryFile(/tmp/multipartBody5596896601931684451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741461452675,"filename":"image_08032025_20_16_25_9953.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/cf50f99a03258651753db8555b81c41c.jpg","text":"TemporaryFile(/tmp/multipartBody2418068790544354325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741461452675,"filename":"image_08032025_20_16_45_9945.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/12b3d64dbad804dac284805fe63994b1.jpg","text":"TemporaryFile(/tmp/multipartBody6014645199325594701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741461452675,"filename":"image_08032025_20_16_35_9920.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/714e2749841d99dc3e8b14c2675ae589.jpg","text":"TemporaryFile(/tmp/multipartBody601133368575826112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741461452675,"filename":"image_08032025_20_15_56_10932.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341995847","file1":"1341995844","file0":"1341995841","file4":"1341995853","file5":"1341995855","file3":"1341995850"},"map_files_photo_id_array":[{"photo_id":"1341995855","filename":"file5"},{"photo_id":"1341995847","filename":"file2"},{"photo_id":"1341995853","filename":"file4"},{"photo_id":"1341995844","filename":"file1"},{"photo_id":"1341995841","filename":"file0"},{"photo_id":"1341995850","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341995850":["hashtag1","hashtag2"]},{"1341995853":["hashtag1","hashtag2"]},{"1341995847":["hashtag1","hashtag2"]},{"1341995841":["hashtag1","hashtag2"]},{"1341995844":["hashtag1","hashtag2"]},{"1341995855":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341995850, 1341995853, 1341995847, 1341995841, 1341995844, 1341995855)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.39194893836975 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 20:17:32.325086
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/20/17/image_08032025_20_17_45_9931.jpg', 2), ('/home/nano/Desktop/images/08032025/20/17/image_08032025_20_17_35_9923.jpg', 2), ('/home/nano/Desktop/images/08032025/20/17/image_08032025_20_17_25_9931.jpg', 2), ('/home/nano/Desktop/images/08032025/20/17/image_08032025_20_17_15_9923.jpg', 2), ('/home/nano/Desktop/images/08032025/20/16/image_08032025_20_17_05_9942.jpg', 2), ('/home/nano/Desktop/images/08032025/20/16/image_08032025_20_16_55_9921.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/20/17/image_08032025_20_17_45_9931.jpg', '/home/nano/Desktop/images/08032025/20/17/image_08032025_20_17_35_9923.jpg', '/home/nano/Desktop/images/08032025/20/17/image_08032025_20_17_25_9931.jpg', '/home/nano/Desktop/images/08032025/20/17/image_08032025_20_17_15_9923.jpg', '/home/nano/Desktop/images/08032025/20/16/image_08032025_20_17_05_9942.jpg', '/home/nano/Desktop/images/08032025/20/16/image_08032025_20_16_55_9921.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/20/17/image_08032025_20_17_45_9931.jpg
/home/nano/Desktop/images/08032025/20/17/image_08032025_20_17_35_9923.jpg
/home/nano/Desktop/images/08032025/20/17/image_08032025_20_17_25_9931.jpg
/home/nano/Desktop/images/08032025/20/17/image_08032025_20_17_15_9923.jpg
/home/nano/Desktop/images/08032025/20/16/image_08032025_20_17_05_9942.jpg
/home/nano/Desktop/images/08032025/20/16/image_08032025_20_16_55_9921.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341995891","1341995894","1341995885","1341995906","1341995909","1341995896"],"photo_ids_order":["1341995885","1341995891","1341995894","1341995896","1341995906","1341995909"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/66bb000da16c7480afc77da3433022cd.jpg","text":"TemporaryFile(/tmp/multipartBody6222915459419628000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741461512747,"filename":"image_08032025_20_17_35_9923.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/151fb0147e611d9118ae7a9ad3dbc915.jpg","text":"TemporaryFile(/tmp/multipartBody9109597639890433329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741461512747,"filename":"image_08032025_20_17_25_9931.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/4688cb237993035add3247d698febf34.jpg","text":"TemporaryFile(/tmp/multipartBody2378695457841779280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741461512747,"filename":"image_08032025_20_17_45_9931.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/f5296f9c66dc58f89e6939c4ad88d4fe.jpg","text":"TemporaryFile(/tmp/multipartBody5157451883000116425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741461512747,"filename":"image_08032025_20_17_05_9942.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/efd8e8c45a9827fb546b6068635a1179.jpg","text":"TemporaryFile(/tmp/multipartBody3595214559208860900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741461512747,"filename":"image_08032025_20_16_55_9921.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/e7b660e81b19dc801698980e6ddd26da.jpg","text":"TemporaryFile(/tmp/multipartBody1915441447712258469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741461512747,"filename":"image_08032025_20_17_15_9923.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341995894","file1":"1341995891","file0":"1341995885","file4":"1341995906","file5":"1341995909","file3":"1341995896"},"map_files_photo_id_array":[{"photo_id":"1341995909","filename":"file5"},{"photo_id":"1341995894","filename":"file2"},{"photo_id":"1341995906","filename":"file4"},{"photo_id":"1341995891","filename":"file1"},{"photo_id":"1341995885","filename":"file0"},{"photo_id":"1341995896","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341995891":["hashtag1","hashtag2"]},{"1341995894":["hashtag1","hashtag2"]},{"1341995885":["hashtag1","hashtag2"]},{"1341995906":["hashtag1","hashtag2"]},{"1341995909":["hashtag1","hashtag2"]},{"1341995896":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341995891, 1341995894, 1341995885, 1341995906, 1341995909, 1341995896)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.69828414916992 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 20:18:32.425941
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/20/18/image_08032025_20_18_45_9941.jpg', 2), ('/home/nano/Desktop/images/08032025/20/18/image_08032025_20_18_35_9920.jpg', 2), ('/home/nano/Desktop/images/08032025/20/18/image_08032025_20_18_26_10938.jpg', 2), ('/home/nano/Desktop/images/08032025/20/18/image_08032025_20_18_15_9923.jpg', 2), ('/home/nano/Desktop/images/08032025/20/17/image_08032025_20_18_05_9924.jpg', 2), ('/home/nano/Desktop/images/08032025/20/17/image_08032025_20_17_55_9922.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/20/18/image_08032025_20_18_45_9941.jpg', '/home/nano/Desktop/images/08032025/20/18/image_08032025_20_18_35_9920.jpg', '/home/nano/Desktop/images/08032025/20/18/image_08032025_20_18_26_10938.jpg', '/home/nano/Desktop/images/08032025/20/18/image_08032025_20_18_15_9923.jpg', '/home/nano/Desktop/images/08032025/20/17/image_08032025_20_18_05_9924.jpg', '/home/nano/Desktop/images/08032025/20/17/image_08032025_20_17_55_9922.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/20/18/image_08032025_20_18_45_9941.jpg
/home/nano/Desktop/images/08032025/20/18/image_08032025_20_18_35_9920.jpg
/home/nano/Desktop/images/08032025/20/18/image_08032025_20_18_26_10938.jpg
/home/nano/Desktop/images/08032025/20/18/image_08032025_20_18_15_9923.jpg
/home/nano/Desktop/images/08032025/20/17/image_08032025_20_18_05_9924.jpg
/home/nano/Desktop/images/08032025/20/17/image_08032025_20_17_55_9922.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341996135","1341996089","1341996026","1341995971","1341995941","1341995938"],"photo_ids_order":["1341995938","1341995941","1341995971","1341996026","1341996089","1341996135"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/f2af02f55931c686c5438044ed25748a.jpg","text":"TemporaryFile(/tmp/multipartBody6559319169604602754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741461572938,"filename":"image_08032025_20_17_55_9922.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/5ba8ba2cefda50d704080983deba3c94.jpg","text":"TemporaryFile(/tmp/multipartBody2859835410171091125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741461572938,"filename":"image_08032025_20_18_05_9924.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/8423293d29ab308df461a30957f146bd.jpg","text":"TemporaryFile(/tmp/multipartBody5678255004706722621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741461572938,"filename":"image_08032025_20_18_15_9923.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/5f8b4ec9c4a37f28d7db005b37f73af0.jpg","text":"TemporaryFile(/tmp/multipartBody5965318988202228085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741461572938,"filename":"image_08032025_20_18_26_10938.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/3cc59de3a10407b58bb7814be1fee27c.jpg","text":"TemporaryFile(/tmp/multipartBody5366467912829006204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741461572938,"filename":"image_08032025_20_18_35_9920.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/1e593e64d616b415cfb279222556c17b.jpg","text":"TemporaryFile(/tmp/multipartBody6865544939565358654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741461572938,"filename":"image_08032025_20_18_45_9941.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341995971","file1":"1341995941","file0":"1341995938","file4":"1341996089","file5":"1341996135","file3":"1341996026"},"map_files_photo_id_array":[{"photo_id":"1341996135","filename":"file5"},{"photo_id":"1341995971","filename":"file2"},{"photo_id":"1341996089","filename":"file4"},{"photo_id":"1341995941","filename":"file1"},{"photo_id":"1341995938","filename":"file0"},{"photo_id":"1341996026","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341996135":["hashtag1","hashtag2"]},{"1341996089":["hashtag1","hashtag2"]},{"1341996026":["hashtag1","hashtag2"]},{"1341995971":["hashtag1","hashtag2"]},{"1341995941":["hashtag1","hashtag2"]},{"1341995938":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341996135, 1341996089, 1341996026, 1341995971, 1341995941, 1341995938)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.58647537231445 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 20:19:32.537805
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/20/19/image_08032025_20_19_45_9916.jpg', 2), ('/home/nano/Desktop/images/08032025/20/19/image_08032025_20_19_35_9944.jpg', 2), ('/home/nano/Desktop/images/08032025/20/19/image_08032025_20_19_25_9933.jpg', 2), ('/home/nano/Desktop/images/08032025/20/19/image_08032025_20_19_15_9922.jpg', 2), ('/home/nano/Desktop/images/08032025/20/18/image_08032025_20_19_05_9936.jpg', 2), ('/home/nano/Desktop/images/08032025/20/18/image_08032025_20_18_55_9926.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/20/19/image_08032025_20_19_45_9916.jpg', '/home/nano/Desktop/images/08032025/20/19/image_08032025_20_19_35_9944.jpg', '/home/nano/Desktop/images/08032025/20/19/image_08032025_20_19_25_9933.jpg', '/home/nano/Desktop/images/08032025/20/19/image_08032025_20_19_15_9922.jpg', '/home/nano/Desktop/images/08032025/20/18/image_08032025_20_19_05_9936.jpg', '/home/nano/Desktop/images/08032025/20/18/image_08032025_20_18_55_9926.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/20/19/image_08032025_20_19_45_9916.jpg
/home/nano/Desktop/images/08032025/20/19/image_08032025_20_19_35_9944.jpg
/home/nano/Desktop/images/08032025/20/19/image_08032025_20_19_25_9933.jpg
/home/nano/Desktop/images/08032025/20/19/image_08032025_20_19_15_9922.jpg
/home/nano/Desktop/images/08032025/20/18/image_08032025_20_19_05_9936.jpg
/home/nano/Desktop/images/08032025/20/18/image_08032025_20_18_55_9926.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341996336","1341996339","1341996324","1341996333","1341996380","1341996328"],"photo_ids_order":["1341996324","1341996328","1341996333","1341996336","1341996339","1341996380"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/c632b8e28334ce270c3249f86441a433.jpg","text":"TemporaryFile(/tmp/multipartBody1102292835331922159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741461632956,"filename":"image_08032025_20_19_15_9922.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/7f1587ae133fd9272bd6d9f2b7a19314.jpg","text":"TemporaryFile(/tmp/multipartBody7241490682681716305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741461632956,"filename":"image_08032025_20_19_05_9936.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/99f18f1177ce06416b790dc255b97ff0.jpg","text":"TemporaryFile(/tmp/multipartBody7378520299014778878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741461632956,"filename":"image_08032025_20_19_45_9916.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/933c5669f4dfdc6b44e2f1d9af70e653.jpg","text":"TemporaryFile(/tmp/multipartBody7153976173975991673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741461632956,"filename":"image_08032025_20_19_25_9933.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/be544fa6404a5bebc7ddc921aabaa37a.jpg","text":"TemporaryFile(/tmp/multipartBody4986802178439773254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741461632956,"filename":"image_08032025_20_18_55_9926.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/442868df438cb58a705349ed45a3df14.jpg","text":"TemporaryFile(/tmp/multipartBody1474426679140606162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741461632956,"filename":"image_08032025_20_19_35_9944.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341996333","file1":"1341996328","file0":"1341996324","file4":"1341996339","file5":"1341996380","file3":"1341996336"},"map_files_photo_id_array":[{"photo_id":"1341996380","filename":"file5"},{"photo_id":"1341996333","filename":"file2"},{"photo_id":"1341996339","filename":"file4"},{"photo_id":"1341996328","filename":"file1"},{"photo_id":"1341996324","filename":"file0"},{"photo_id":"1341996336","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341996336":["hashtag1","hashtag2"]},{"1341996339":["hashtag1","hashtag2"]},{"1341996324":["hashtag1","hashtag2"]},{"1341996333":["hashtag1","hashtag2"]},{"1341996380":["hashtag1","hashtag2"]},{"1341996328":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341996336, 1341996339, 1341996324, 1341996333, 1341996380, 1341996328)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.042678356170654 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 20:20:32.648776
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/20/20/image_08032025_20_20_46_10929.jpg', 2), ('/home/nano/Desktop/images/08032025/20/20/image_08032025_20_20_35_9917.jpg', 2), ('/home/nano/Desktop/images/08032025/20/20/image_08032025_20_20_25_9936.jpg', 2), ('/home/nano/Desktop/images/08032025/20/20/image_08032025_20_20_15_9928.jpg', 2), ('/home/nano/Desktop/images/08032025/20/19/image_08032025_20_20_05_9929.jpg', 2), ('/home/nano/Desktop/images/08032025/20/19/image_08032025_20_19_55_9919.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/20/20/image_08032025_20_20_46_10929.jpg', '/home/nano/Desktop/images/08032025/20/20/image_08032025_20_20_35_9917.jpg', '/home/nano/Desktop/images/08032025/20/20/image_08032025_20_20_25_9936.jpg', '/home/nano/Desktop/images/08032025/20/20/image_08032025_20_20_15_9928.jpg', '/home/nano/Desktop/images/08032025/20/19/image_08032025_20_20_05_9929.jpg', '/home/nano/Desktop/images/08032025/20/19/image_08032025_20_19_55_9919.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/20/20/image_08032025_20_20_46_10929.jpg
/home/nano/Desktop/images/08032025/20/20/image_08032025_20_20_35_9917.jpg
/home/nano/Desktop/images/08032025/20/20/image_08032025_20_20_25_9936.jpg
/home/nano/Desktop/images/08032025/20/20/image_08032025_20_20_15_9928.jpg
/home/nano/Desktop/images/08032025/20/19/image_08032025_20_20_05_9929.jpg
/home/nano/Desktop/images/08032025/20/19/image_08032025_20_19_55_9919.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341996501","1341996426","1341996473","1341996431","1341996499","1341996437"],"photo_ids_order":["1341996426","1341996431","1341996437","1341996473","1341996499","1341996501"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/3d87388c6ee49e4be8ee2206bd61bc67.jpg","text":"TemporaryFile(/tmp/multipartBody210603522009818504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741461693099,"filename":"image_08032025_20_19_55_9919.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/daf4a97d908099c85374db021d8eedc0.jpg","text":"TemporaryFile(/tmp/multipartBody749834034148201906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741461693099,"filename":"image_08032025_20_20_46_10929.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/ff90637c8a5fc7480230aec195b8cf98.jpg","text":"TemporaryFile(/tmp/multipartBody2076945653431933398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741461693099,"filename":"image_08032025_20_20_15_9928.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/c0904f0f902f2476a6020c150935a684.jpg","text":"TemporaryFile(/tmp/multipartBody7028983818640526389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741461693099,"filename":"image_08032025_20_20_35_9917.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/d3870d0a159ff9cb12442a8dab11ccad.jpg","text":"TemporaryFile(/tmp/multipartBody4420359540470910966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741461693099,"filename":"image_08032025_20_20_05_9929.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/bfafb270ad1e8b250654bd630feae276.jpg","text":"TemporaryFile(/tmp/multipartBody3223934169399267980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741461693099,"filename":"image_08032025_20_20_25_9936.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341996437","file1":"1341996431","file0":"1341996426","file4":"1341996499","file5":"1341996501","file3":"1341996473"},"map_files_photo_id_array":[{"photo_id":"1341996501","filename":"file5"},{"photo_id":"1341996437","filename":"file2"},{"photo_id":"1341996499","filename":"file4"},{"photo_id":"1341996431","filename":"file1"},{"photo_id":"1341996426","filename":"file0"},{"photo_id":"1341996473","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341996501":["hashtag1","hashtag2"]},{"1341996426":["hashtag1","hashtag2"]},{"1341996473":["hashtag1","hashtag2"]},{"1341996431":["hashtag1","hashtag2"]},{"1341996499":["hashtag1","hashtag2"]},{"1341996437":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341996501, 1341996426, 1341996473, 1341996431, 1341996499, 1341996437)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.190022230148315 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 20:21:32.755615
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/20/21/image_08032025_20_21_45_9919.jpg', 2), ('/home/nano/Desktop/images/08032025/20/21/image_08032025_20_21_35_9937.jpg', 2), ('/home/nano/Desktop/images/08032025/20/21/image_08032025_20_21_25_9978.jpg', 2), ('/home/nano/Desktop/images/08032025/20/21/image_08032025_20_21_15_9925.jpg', 2), ('/home/nano/Desktop/images/08032025/20/20/image_08032025_20_21_05_9939.jpg', 2), ('/home/nano/Desktop/images/08032025/20/20/image_08032025_20_20_55_9918.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/20/21/image_08032025_20_21_45_9919.jpg', '/home/nano/Desktop/images/08032025/20/21/image_08032025_20_21_35_9937.jpg', '/home/nano/Desktop/images/08032025/20/21/image_08032025_20_21_25_9978.jpg', '/home/nano/Desktop/images/08032025/20/21/image_08032025_20_21_15_9925.jpg', '/home/nano/Desktop/images/08032025/20/20/image_08032025_20_21_05_9939.jpg', '/home/nano/Desktop/images/08032025/20/20/image_08032025_20_20_55_9918.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/20/21/image_08032025_20_21_45_9919.jpg
/home/nano/Desktop/images/08032025/20/21/image_08032025_20_21_35_9937.jpg
/home/nano/Desktop/images/08032025/20/21/image_08032025_20_21_25_9978.jpg
/home/nano/Desktop/images/08032025/20/21/image_08032025_20_21_15_9925.jpg
/home/nano/Desktop/images/08032025/20/20/image_08032025_20_21_05_9939.jpg
/home/nano/Desktop/images/08032025/20/20/image_08032025_20_20_55_9918.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.34360575675964355 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 marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 20:22:02.365966
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/20/21/image_08032025_20_21_45_9919.jpg', 2), ('/home/nano/Desktop/images/08032025/20/21/image_08032025_20_21_35_9937.jpg', 2), ('/home/nano/Desktop/images/08032025/20/21/image_08032025_20_21_25_9978.jpg', 2), ('/home/nano/Desktop/images/08032025/20/21/image_08032025_20_21_15_9925.jpg', 2), ('/home/nano/Desktop/images/08032025/20/20/image_08032025_20_21_05_9939.jpg', 2), ('/home/nano/Desktop/images/08032025/20/20/image_08032025_20_20_55_9918.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/20/21/image_08032025_20_21_45_9919.jpg', '/home/nano/Desktop/images/08032025/20/21/image_08032025_20_21_35_9937.jpg', '/home/nano/Desktop/images/08032025/20/21/image_08032025_20_21_25_9978.jpg', '/home/nano/Desktop/images/08032025/20/21/image_08032025_20_21_15_9925.jpg', '/home/nano/Desktop/images/08032025/20/20/image_08032025_20_21_05_9939.jpg', '/home/nano/Desktop/images/08032025/20/20/image_08032025_20_20_55_9918.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/20/21/image_08032025_20_21_45_9919.jpg
/home/nano/Desktop/images/08032025/20/21/image_08032025_20_21_35_9937.jpg
/home/nano/Desktop/images/08032025/20/21/image_08032025_20_21_25_9978.jpg
/home/nano/Desktop/images/08032025/20/21/image_08032025_20_21_15_9925.jpg
/home/nano/Desktop/images/08032025/20/20/image_08032025_20_21_05_9939.jpg
/home/nano/Desktop/images/08032025/20/20/image_08032025_20_20_55_9918.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341996791","1341996793","1341996748","1341996795","1341996675","1341996798"],"photo_ids_order":["1341996675","1341996748","1341996791","1341996793","1341996795","1341996798"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/f85a6d789bdb6df3659f76055e59dcc3.jpg","text":"TemporaryFile(/tmp/multipartBody7846670414827408297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741461782813,"filename":"image_08032025_20_21_25_9978.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/7894ce146c7c27dcbfce8d5ef7335e4b.jpg","text":"TemporaryFile(/tmp/multipartBody7784222019567415237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741461782813,"filename":"image_08032025_20_21_15_9925.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/242db16e36255d703d6b82d5a67625c3.jpg","text":"TemporaryFile(/tmp/multipartBody5974454861832103239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741461782813,"filename":"image_08032025_20_21_35_9937.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/5c4614ee66863258f5b0a84d11905dea.jpg","text":"TemporaryFile(/tmp/multipartBody6890689515194720797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741461782813,"filename":"image_08032025_20_21_05_9939.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/0341d47f8a1c8c2766b311b0d4c04aa2.jpg","text":"TemporaryFile(/tmp/multipartBody4620432859622980961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741461782813,"filename":"image_08032025_20_21_45_9919.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/5cd72e98caf423a95d9d2df5537768f6.jpg","text":"TemporaryFile(/tmp/multipartBody9100380695644467050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741461782813,"filename":"image_08032025_20_20_55_9918.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341996791","file1":"1341996748","file0":"1341996675","file4":"1341996795","file5":"1341996798","file3":"1341996793"},"map_files_photo_id_array":[{"photo_id":"1341996798","filename":"file5"},{"photo_id":"1341996791","filename":"file2"},{"photo_id":"1341996795","filename":"file4"},{"photo_id":"1341996748","filename":"file1"},{"photo_id":"1341996675","filename":"file0"},{"photo_id":"1341996793","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341996791":["hashtag1","hashtag2"]},{"1341996793":["hashtag1","hashtag2"]},{"1341996748":["hashtag1","hashtag2"]},{"1341996795":["hashtag1","hashtag2"]},{"1341996675":["hashtag1","hashtag2"]},{"1341996798":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341996791, 1341996793, 1341996748, 1341996795, 1341996675, 1341996798)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.958893537521362 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 20:23:02.551033
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/20/22/image_08032025_20_22_45_9917.jpg', 2), ('/home/nano/Desktop/images/08032025/20/22/image_08032025_20_22_35_9949.jpg', 2), ('/home/nano/Desktop/images/08032025/20/22/image_08032025_20_22_25_9918.jpg', 2), ('/home/nano/Desktop/images/08032025/20/22/image_08032025_20_22_15_9955.jpg', 2), ('/home/nano/Desktop/images/08032025/20/21/image_08032025_20_22_05_9937.jpg', 2), ('/home/nano/Desktop/images/08032025/20/21/image_08032025_20_21_55_9916.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/20/22/image_08032025_20_22_45_9917.jpg', '/home/nano/Desktop/images/08032025/20/22/image_08032025_20_22_35_9949.jpg', '/home/nano/Desktop/images/08032025/20/22/image_08032025_20_22_25_9918.jpg', '/home/nano/Desktop/images/08032025/20/22/image_08032025_20_22_15_9955.jpg', '/home/nano/Desktop/images/08032025/20/21/image_08032025_20_22_05_9937.jpg', '/home/nano/Desktop/images/08032025/20/21/image_08032025_20_21_55_9916.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/20/22/image_08032025_20_22_45_9917.jpg
/home/nano/Desktop/images/08032025/20/22/image_08032025_20_22_35_9949.jpg
/home/nano/Desktop/images/08032025/20/22/image_08032025_20_22_25_9918.jpg
/home/nano/Desktop/images/08032025/20/22/image_08032025_20_22_15_9955.jpg
/home/nano/Desktop/images/08032025/20/21/image_08032025_20_22_05_9937.jpg
/home/nano/Desktop/images/08032025/20/21/image_08032025_20_21_55_9916.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341997145","1341997148","1341997217","1341997240","1341997150","1341997153"],"photo_ids_order":["1341997145","1341997148","1341997150","1341997153","1341997217","1341997240"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/a25606f0d70f994134245948f1e6afd6.jpg","text":"TemporaryFile(/tmp/multipartBody3021343901743286848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741461842998,"filename":"image_08032025_20_22_45_9917.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/b59ee05a4e6848911716cbbd0f7556bb.jpg","text":"TemporaryFile(/tmp/multipartBody2270857813141518454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741461842998,"filename":"image_08032025_20_22_35_9949.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/606cf857459d80ac67cb0f5003fcce10.jpg","text":"TemporaryFile(/tmp/multipartBody5157331719490446480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741461842998,"filename":"image_08032025_20_22_05_9937.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/7a47c946a3fea5222a23d7acde426609.jpg","text":"TemporaryFile(/tmp/multipartBody6703102034520861529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741461842998,"filename":"image_08032025_20_21_55_9916.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/2101c6e7e757c95f97ec54e0fdeccbcb.jpg","text":"TemporaryFile(/tmp/multipartBody4309246076879230925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741461842998,"filename":"image_08032025_20_22_25_9918.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/a87588a2934baeb4676230063965ca9f.jpg","text":"TemporaryFile(/tmp/multipartBody5315051957984834990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741461842998,"filename":"image_08032025_20_22_15_9955.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341997150","file1":"1341997148","file0":"1341997145","file4":"1341997217","file5":"1341997240","file3":"1341997153"},"map_files_photo_id_array":[{"photo_id":"1341997240","filename":"file5"},{"photo_id":"1341997150","filename":"file2"},{"photo_id":"1341997217","filename":"file4"},{"photo_id":"1341997148","filename":"file1"},{"photo_id":"1341997145","filename":"file0"},{"photo_id":"1341997153","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341997145":["hashtag1","hashtag2"]},{"1341997148":["hashtag1","hashtag2"]},{"1341997217":["hashtag1","hashtag2"]},{"1341997240":["hashtag1","hashtag2"]},{"1341997150":["hashtag1","hashtag2"]},{"1341997153":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341997145, 1341997148, 1341997217, 1341997240, 1341997150, 1341997153)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.59018850326538 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 20:24:02.945756
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/20/23/image_08032025_20_23_45_9921.jpg', 2), ('/home/nano/Desktop/images/08032025/20/23/image_08032025_20_23_35_9942.jpg', 2), ('/home/nano/Desktop/images/08032025/20/23/image_08032025_20_23_25_9931.jpg', 2), ('/home/nano/Desktop/images/08032025/20/23/image_08032025_20_23_16_10952.jpg', 2), ('/home/nano/Desktop/images/08032025/20/22/image_08032025_20_23_05_9938.jpg', 2), ('/home/nano/Desktop/images/08032025/20/22/image_08032025_20_22_55_9917.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/20/23/image_08032025_20_23_45_9921.jpg', '/home/nano/Desktop/images/08032025/20/23/image_08032025_20_23_35_9942.jpg', '/home/nano/Desktop/images/08032025/20/23/image_08032025_20_23_25_9931.jpg', '/home/nano/Desktop/images/08032025/20/23/image_08032025_20_23_16_10952.jpg', '/home/nano/Desktop/images/08032025/20/22/image_08032025_20_23_05_9938.jpg', '/home/nano/Desktop/images/08032025/20/22/image_08032025_20_22_55_9917.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/20/23/image_08032025_20_23_45_9921.jpg
/home/nano/Desktop/images/08032025/20/23/image_08032025_20_23_35_9942.jpg
/home/nano/Desktop/images/08032025/20/23/image_08032025_20_23_25_9931.jpg
/home/nano/Desktop/images/08032025/20/23/image_08032025_20_23_16_10952.jpg
/home/nano/Desktop/images/08032025/20/22/image_08032025_20_23_05_9938.jpg
/home/nano/Desktop/images/08032025/20/22/image_08032025_20_22_55_9917.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341997343","1341997331","1341997319","1341997340","1341997357","1341997324"],"photo_ids_order":["1341997319","1341997324","1341997331","1341997340","1341997343","1341997357"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/042874fa974fc19c4ba36185ce6e0ff6.jpg","text":"TemporaryFile(/tmp/multipartBody7687965235122885232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741461903364,"filename":"image_08032025_20_23_05_9938.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/f28cd2470c5d41b5aeb1547e3b47a912.jpg","text":"TemporaryFile(/tmp/multipartBody8596244369418120133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741461903364,"filename":"image_08032025_20_23_25_9931.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/14a08ef77b95e1b1d1a14792d19d52a5.jpg","text":"TemporaryFile(/tmp/multipartBody1231990417327171148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741461903364,"filename":"image_08032025_20_23_45_9921.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/ca057a997abae27928f9b2166276ea3a.jpg","text":"TemporaryFile(/tmp/multipartBody7959771072307862869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741461903364,"filename":"image_08032025_20_23_16_10952.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/0d0cbefd02a0cbece5a7c9db8e40bcb4.jpg","text":"TemporaryFile(/tmp/multipartBody2520990299441061983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741461903364,"filename":"image_08032025_20_22_55_9917.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/14b06114a2719cebb4c9fecf89fae305.jpg","text":"TemporaryFile(/tmp/multipartBody4989177595167669591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741461903364,"filename":"image_08032025_20_23_35_9942.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341997331","file1":"1341997324","file0":"1341997319","file4":"1341997343","file5":"1341997357","file3":"1341997340"},"map_files_photo_id_array":[{"photo_id":"1341997357","filename":"file5"},{"photo_id":"1341997331","filename":"file2"},{"photo_id":"1341997343","filename":"file4"},{"photo_id":"1341997324","filename":"file1"},{"photo_id":"1341997319","filename":"file0"},{"photo_id":"1341997340","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341997343":["hashtag1","hashtag2"]},{"1341997331":["hashtag1","hashtag2"]},{"1341997319":["hashtag1","hashtag2"]},{"1341997340":["hashtag1","hashtag2"]},{"1341997357":["hashtag1","hashtag2"]},{"1341997324":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341997343, 1341997331, 1341997319, 1341997340, 1341997357, 1341997324)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.81020545959473 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 20:25:02.785461
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/20/24/image_08032025_20_24_45_9913.jpg', 2), ('/home/nano/Desktop/images/08032025/20/24/image_08032025_20_24_35_9913.jpg', 2), ('/home/nano/Desktop/images/08032025/20/24/image_08032025_20_24_25_9955.jpg', 2), ('/home/nano/Desktop/images/08032025/20/24/image_08032025_20_24_15_9920.jpg', 2), ('/home/nano/Desktop/images/08032025/20/23/image_08032025_20_24_05_9928.jpg', 2), ('/home/nano/Desktop/images/08032025/20/23/image_08032025_20_23_55_9919.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/20/24/image_08032025_20_24_45_9913.jpg', '/home/nano/Desktop/images/08032025/20/24/image_08032025_20_24_35_9913.jpg', '/home/nano/Desktop/images/08032025/20/24/image_08032025_20_24_25_9955.jpg', '/home/nano/Desktop/images/08032025/20/24/image_08032025_20_24_15_9920.jpg', '/home/nano/Desktop/images/08032025/20/23/image_08032025_20_24_05_9928.jpg', '/home/nano/Desktop/images/08032025/20/23/image_08032025_20_23_55_9919.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/20/24/image_08032025_20_24_45_9913.jpg
/home/nano/Desktop/images/08032025/20/24/image_08032025_20_24_35_9913.jpg
/home/nano/Desktop/images/08032025/20/24/image_08032025_20_24_25_9955.jpg
/home/nano/Desktop/images/08032025/20/24/image_08032025_20_24_15_9920.jpg
/home/nano/Desktop/images/08032025/20/23/image_08032025_20_24_05_9928.jpg
/home/nano/Desktop/images/08032025/20/23/image_08032025_20_23_55_9919.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341997382","1341997385","1341997384","1341997387","1341997383","1341997386"],"photo_ids_order":["1341997382","1341997383","1341997384","1341997385","1341997386","1341997387"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/ba559d31b4b94183df438950d8dd37e1.jpg","text":"TemporaryFile(/tmp/multipartBody1741951790509981307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741461963217,"filename":"image_08032025_20_24_45_9913.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/b49b7e96eb13f394d6608f0b49ad4ac1.jpg","text":"TemporaryFile(/tmp/multipartBody7888149538653891510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741461963217,"filename":"image_08032025_20_24_15_9920.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/0b29236e217a76bc248d9547d692cbd3.jpg","text":"TemporaryFile(/tmp/multipartBody4003028424832330322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741461963217,"filename":"image_08032025_20_24_25_9955.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/3cf64791d482b409b5e2d0a0d99c36d4.jpg","text":"TemporaryFile(/tmp/multipartBody6595335077435604830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741461963217,"filename":"image_08032025_20_23_55_9919.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/249c1b841cee76ba360d2b7f355bb437.jpg","text":"TemporaryFile(/tmp/multipartBody9024022674476852726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741461963217,"filename":"image_08032025_20_24_35_9913.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/e564838b54e4d8ae3214e037792eeceb.jpg","text":"TemporaryFile(/tmp/multipartBody2493509400550427723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741461963217,"filename":"image_08032025_20_24_05_9928.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341997384","file1":"1341997383","file0":"1341997382","file4":"1341997386","file5":"1341997387","file3":"1341997385"},"map_files_photo_id_array":[{"photo_id":"1341997387","filename":"file5"},{"photo_id":"1341997384","filename":"file2"},{"photo_id":"1341997386","filename":"file4"},{"photo_id":"1341997383","filename":"file1"},{"photo_id":"1341997382","filename":"file0"},{"photo_id":"1341997385","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341997382":["hashtag1","hashtag2"]},{"1341997385":["hashtag1","hashtag2"]},{"1341997384":["hashtag1","hashtag2"]},{"1341997387":["hashtag1","hashtag2"]},{"1341997383":["hashtag1","hashtag2"]},{"1341997386":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341997382, 1341997385, 1341997384, 1341997387, 1341997383, 1341997386)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.6731858253479 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 20:26:02.846000
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/20/25/image_08032025_20_25_45_9921.jpg', 2), ('/home/nano/Desktop/images/08032025/20/25/image_08032025_20_25_36_10927.jpg', 2), ('/home/nano/Desktop/images/08032025/20/25/image_08032025_20_25_25_9944.jpg', 2), ('/home/nano/Desktop/images/08032025/20/25/image_08032025_20_25_15_9921.jpg', 2), ('/home/nano/Desktop/images/08032025/20/24/image_08032025_20_25_05_9930.jpg', 2), ('/home/nano/Desktop/images/08032025/20/24/image_08032025_20_24_55_9919.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/20/25/image_08032025_20_25_45_9921.jpg', '/home/nano/Desktop/images/08032025/20/25/image_08032025_20_25_36_10927.jpg', '/home/nano/Desktop/images/08032025/20/25/image_08032025_20_25_25_9944.jpg', '/home/nano/Desktop/images/08032025/20/25/image_08032025_20_25_15_9921.jpg', '/home/nano/Desktop/images/08032025/20/24/image_08032025_20_25_05_9930.jpg', '/home/nano/Desktop/images/08032025/20/24/image_08032025_20_24_55_9919.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/20/25/image_08032025_20_25_45_9921.jpg
/home/nano/Desktop/images/08032025/20/25/image_08032025_20_25_36_10927.jpg
/home/nano/Desktop/images/08032025/20/25/image_08032025_20_25_25_9944.jpg
/home/nano/Desktop/images/08032025/20/25/image_08032025_20_25_15_9921.jpg
/home/nano/Desktop/images/08032025/20/24/image_08032025_20_25_05_9930.jpg
/home/nano/Desktop/images/08032025/20/24/image_08032025_20_24_55_9919.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341997419","1341997424","1341997427","1341997415","1341997425","1341997422"],"photo_ids_order":["1341997415","1341997419","1341997422","1341997424","1341997425","1341997427"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/f4f42cadae1d69e1b97ea896c601449d.jpg","text":"TemporaryFile(/tmp/multipartBody6851816625449803097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741462023279,"filename":"image_08032025_20_25_36_10927.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/02359346ec64178d377c924726898a8b.jpg","text":"TemporaryFile(/tmp/multipartBody3644001315521997565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741462023279,"filename":"image_08032025_20_25_15_9921.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/b4af94bc92b6eaebbe963781053e0132.jpg","text":"TemporaryFile(/tmp/multipartBody4945369416381275868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741462023279,"filename":"image_08032025_20_24_55_9919.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/d10bfd92afbfe1eff4e83f95f9c53333.jpg","text":"TemporaryFile(/tmp/multipartBody808614256258584000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741462023279,"filename":"image_08032025_20_25_45_9921.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/b41ba4afa5a44efd4531853514114cfe.jpg","text":"TemporaryFile(/tmp/multipartBody2786938145265477226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741462023279,"filename":"image_08032025_20_25_05_9930.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/a72ae840903993b10f8bf8c70b2aa90e.jpg","text":"TemporaryFile(/tmp/multipartBody3889627877633944484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741462023279,"filename":"image_08032025_20_25_25_9944.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341997422","file1":"1341997419","file0":"1341997415","file4":"1341997425","file5":"1341997427","file3":"1341997424"},"map_files_photo_id_array":[{"photo_id":"1341997427","filename":"file5"},{"photo_id":"1341997422","filename":"file2"},{"photo_id":"1341997425","filename":"file4"},{"photo_id":"1341997419","filename":"file1"},{"photo_id":"1341997415","filename":"file0"},{"photo_id":"1341997424","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341997419":["hashtag1","hashtag2"]},{"1341997424":["hashtag1","hashtag2"]},{"1341997427":["hashtag1","hashtag2"]},{"1341997415":["hashtag1","hashtag2"]},{"1341997425":["hashtag1","hashtag2"]},{"1341997422":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341997419, 1341997424, 1341997427, 1341997415, 1341997425, 1341997422)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.145251512527466 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 20:27:03.021342
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/20/26/image_08032025_20_26_45_9925.jpg', 2), ('/home/nano/Desktop/images/08032025/20/26/image_08032025_20_26_35_9924.jpg', 2), ('/home/nano/Desktop/images/08032025/20/26/image_08032025_20_26_25_9934.jpg', 2), ('/home/nano/Desktop/images/08032025/20/26/image_08032025_20_26_15_9919.jpg', 2), ('/home/nano/Desktop/images/08032025/20/25/image_08032025_20_26_05_9966.jpg', 2), ('/home/nano/Desktop/images/08032025/20/25/image_08032025_20_25_55_9943.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/20/26/image_08032025_20_26_45_9925.jpg', '/home/nano/Desktop/images/08032025/20/26/image_08032025_20_26_35_9924.jpg', '/home/nano/Desktop/images/08032025/20/26/image_08032025_20_26_25_9934.jpg', '/home/nano/Desktop/images/08032025/20/26/image_08032025_20_26_15_9919.jpg', '/home/nano/Desktop/images/08032025/20/25/image_08032025_20_26_05_9966.jpg', '/home/nano/Desktop/images/08032025/20/25/image_08032025_20_25_55_9943.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/20/26/image_08032025_20_26_45_9925.jpg
/home/nano/Desktop/images/08032025/20/26/image_08032025_20_26_35_9924.jpg
/home/nano/Desktop/images/08032025/20/26/image_08032025_20_26_25_9934.jpg
/home/nano/Desktop/images/08032025/20/26/image_08032025_20_26_15_9919.jpg
/home/nano/Desktop/images/08032025/20/25/image_08032025_20_26_05_9966.jpg
/home/nano/Desktop/images/08032025/20/25/image_08032025_20_25_55_9943.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341997607","1341997601","1341997564","1341997600","1341997603","1341997605"],"photo_ids_order":["1341997564","1341997600","1341997601","1341997603","1341997605","1341997607"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/5e1aa2794b3dea13da8604d9b2603b66.jpg","text":"TemporaryFile(/tmp/multipartBody2201045581175989996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741462083443,"filename":"image_08032025_20_25_55_9943.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/5a4bbba0cbb116793ef6cedaabee7dfa.jpg","text":"TemporaryFile(/tmp/multipartBody6000171720972548762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741462083443,"filename":"image_08032025_20_26_25_9934.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/678f805aea6f53b22b3ad9ba40ed3422.jpg","text":"TemporaryFile(/tmp/multipartBody6643149356104376174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741462083443,"filename":"image_08032025_20_26_45_9925.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/6bfbf006b6b7809b96b88e2d4c33c8de.jpg","text":"TemporaryFile(/tmp/multipartBody6882604080325484933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741462083443,"filename":"image_08032025_20_26_35_9924.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/285f0fc300dfb76c587620f1a7b902ae.jpg","text":"TemporaryFile(/tmp/multipartBody347003278362146034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741462083443,"filename":"image_08032025_20_26_15_9919.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/c1f599e361f946c931b7fffb11cde083.jpg","text":"TemporaryFile(/tmp/multipartBody1413795478079424525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741462083443,"filename":"image_08032025_20_26_05_9966.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341997601","file1":"1341997600","file0":"1341997564","file4":"1341997605","file5":"1341997607","file3":"1341997603"},"map_files_photo_id_array":[{"photo_id":"1341997607","filename":"file5"},{"photo_id":"1341997601","filename":"file2"},{"photo_id":"1341997605","filename":"file4"},{"photo_id":"1341997600","filename":"file1"},{"photo_id":"1341997564","filename":"file0"},{"photo_id":"1341997603","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341997607":["hashtag1","hashtag2"]},{"1341997601":["hashtag1","hashtag2"]},{"1341997564":["hashtag1","hashtag2"]},{"1341997600":["hashtag1","hashtag2"]},{"1341997603":["hashtag1","hashtag2"]},{"1341997605":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341997607, 1341997601, 1341997564, 1341997600, 1341997603, 1341997605)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.16478419303894 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 20:28:02.953343
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/20/27/image_08032025_20_27_45_9924.jpg', 2), ('/home/nano/Desktop/images/08032025/20/27/image_08032025_20_27_35_9921.jpg', 2), ('/home/nano/Desktop/images/08032025/20/27/image_08032025_20_27_25_9915.jpg', 2), ('/home/nano/Desktop/images/08032025/20/27/image_08032025_20_27_15_9926.jpg', 2), ('/home/nano/Desktop/images/08032025/20/26/image_08032025_20_27_05_9929.jpg', 2), ('/home/nano/Desktop/images/08032025/20/26/image_08032025_20_26_55_9938.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/20/27/image_08032025_20_27_45_9924.jpg', '/home/nano/Desktop/images/08032025/20/27/image_08032025_20_27_35_9921.jpg', '/home/nano/Desktop/images/08032025/20/27/image_08032025_20_27_25_9915.jpg', '/home/nano/Desktop/images/08032025/20/27/image_08032025_20_27_15_9926.jpg', '/home/nano/Desktop/images/08032025/20/26/image_08032025_20_27_05_9929.jpg', '/home/nano/Desktop/images/08032025/20/26/image_08032025_20_26_55_9938.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/20/27/image_08032025_20_27_45_9924.jpg
/home/nano/Desktop/images/08032025/20/27/image_08032025_20_27_35_9921.jpg
/home/nano/Desktop/images/08032025/20/27/image_08032025_20_27_25_9915.jpg
/home/nano/Desktop/images/08032025/20/27/image_08032025_20_27_15_9926.jpg
/home/nano/Desktop/images/08032025/20/26/image_08032025_20_27_05_9929.jpg
/home/nano/Desktop/images/08032025/20/26/image_08032025_20_26_55_9938.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341997667","1341997739","1341997738","1341997669","1341997668","1341997743"],"photo_ids_order":["1341997667","1341997668","1341997669","1341997738","1341997739","1341997743"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/eba3cf11eaed941b296850ae4bbd0f2b.jpg","text":"TemporaryFile(/tmp/multipartBody8596779215692603401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741462143366,"filename":"image_08032025_20_27_45_9924.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/a5292ac1fc2fd08785cef016c1f320fc.jpg","text":"TemporaryFile(/tmp/multipartBody3068429048427415368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741462143366,"filename":"image_08032025_20_27_05_9929.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/7907115be45a435438da75d4bb8cf93a.jpg","text":"TemporaryFile(/tmp/multipartBody7018514290142800069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741462143366,"filename":"image_08032025_20_27_15_9926.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/1ce9195110595f9fa2754301e72e7a87.jpg","text":"TemporaryFile(/tmp/multipartBody6690545186043430971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741462143366,"filename":"image_08032025_20_27_25_9915.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/a913ec5e96be85c2f17a24d57d7f4f68.jpg","text":"TemporaryFile(/tmp/multipartBody8178181956385649066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741462143366,"filename":"image_08032025_20_27_35_9921.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/91b86abb38554abe99158b6dd1e20813.jpg","text":"TemporaryFile(/tmp/multipartBody3234649533027786936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741462143366,"filename":"image_08032025_20_26_55_9938.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341997669","file1":"1341997668","file0":"1341997667","file4":"1341997739","file5":"1341997743","file3":"1341997738"},"map_files_photo_id_array":[{"photo_id":"1341997743","filename":"file5"},{"photo_id":"1341997669","filename":"file2"},{"photo_id":"1341997739","filename":"file4"},{"photo_id":"1341997668","filename":"file1"},{"photo_id":"1341997667","filename":"file0"},{"photo_id":"1341997738","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341997667":["hashtag1","hashtag2"]},{"1341997739":["hashtag1","hashtag2"]},{"1341997738":["hashtag1","hashtag2"]},{"1341997669":["hashtag1","hashtag2"]},{"1341997668":["hashtag1","hashtag2"]},{"1341997743":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341997667, 1341997739, 1341997738, 1341997669, 1341997668, 1341997743)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.2276725769043 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 20:29:03.464636
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/20/29/image_08032025_20_29_25_9923.jpg', 2), ('/home/nano/Desktop/images/08032025/20/28/image_08032025_20_28_45_9936.jpg', 2), ('/home/nano/Desktop/images/08032025/20/28/image_08032025_20_28_35_9920.jpg', 2), ('/home/nano/Desktop/images/08032025/20/28/image_08032025_20_28_25_9927.jpg', 2), ('/home/nano/Desktop/images/08032025/20/28/image_08032025_20_28_15_9938.jpg', 2), ('/home/nano/Desktop/images/08032025/20/27/image_08032025_20_28_06_9940.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/20/29/image_08032025_20_29_25_9923.jpg', '/home/nano/Desktop/images/08032025/20/28/image_08032025_20_28_45_9936.jpg', '/home/nano/Desktop/images/08032025/20/28/image_08032025_20_28_35_9920.jpg', '/home/nano/Desktop/images/08032025/20/28/image_08032025_20_28_25_9927.jpg', '/home/nano/Desktop/images/08032025/20/28/image_08032025_20_28_15_9938.jpg', '/home/nano/Desktop/images/08032025/20/27/image_08032025_20_28_06_9940.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/20/29/image_08032025_20_29_25_9923.jpg
/home/nano/Desktop/images/08032025/20/28/image_08032025_20_28_45_9936.jpg
/home/nano/Desktop/images/08032025/20/28/image_08032025_20_28_35_9920.jpg
/home/nano/Desktop/images/08032025/20/28/image_08032025_20_28_25_9927.jpg
/home/nano/Desktop/images/08032025/20/28/image_08032025_20_28_15_9938.jpg
/home/nano/Desktop/images/08032025/20/27/image_08032025_20_28_06_9940.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341997832","1341997808","1341997831","1341997807","1341997839","1341997824"],"photo_ids_order":["1341997807","1341997808","1341997824","1341997831","1341997832","1341997839"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/8d5ab081cd393bf99c03e80dd66d73cc.jpg","text":"TemporaryFile(/tmp/multipartBody1142544746793974648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741462203918,"filename":"image_08032025_20_28_15_9938.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/2db2af2738eb2c70d5bb027f821b561c.jpg","text":"TemporaryFile(/tmp/multipartBody79437665172688681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741462203918,"filename":"image_08032025_20_28_45_9936.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/c307a9903f64f5db9cac5f2e421d679c.jpg","text":"TemporaryFile(/tmp/multipartBody8460668788704771641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741462203918,"filename":"image_08032025_20_28_25_9927.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/f3f2e230b01c262701f4590f6f06f858.jpg","text":"TemporaryFile(/tmp/multipartBody2817936548328385086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741462203918,"filename":"image_08032025_20_29_25_9923.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/07a9ffe2618512beac3648e33d4e4a3f.jpg","text":"TemporaryFile(/tmp/multipartBody3791335073620266152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741462203918,"filename":"image_08032025_20_28_06_9940.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/4da34e0d34acd29f01cae514e8566a6e.jpg","text":"TemporaryFile(/tmp/multipartBody1601059939010695841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741462203918,"filename":"image_08032025_20_28_35_9920.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341997824","file1":"1341997808","file0":"1341997807","file4":"1341997832","file5":"1341997839","file3":"1341997831"},"map_files_photo_id_array":[{"photo_id":"1341997839","filename":"file5"},{"photo_id":"1341997824","filename":"file2"},{"photo_id":"1341997832","filename":"file4"},{"photo_id":"1341997808","filename":"file1"},{"photo_id":"1341997807","filename":"file0"},{"photo_id":"1341997831","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341997832":["hashtag1","hashtag2"]},{"1341997808":["hashtag1","hashtag2"]},{"1341997831":["hashtag1","hashtag2"]},{"1341997807":["hashtag1","hashtag2"]},{"1341997839":["hashtag1","hashtag2"]},{"1341997824":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341997832, 1341997808, 1341997831, 1341997807, 1341997839, 1341997824)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.10502505302429 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 20:30:03.294437
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/20/29/image_08032025_20_29_45_9924.jpg', 2), ('/home/nano/Desktop/images/08032025/20/29/image_08032025_20_29_35_9922.jpg', 2), ('/home/nano/Desktop/images/08032025/20/29/image_08032025_20_29_15_9921.jpg', 2), ('/home/nano/Desktop/images/08032025/20/28/image_08032025_20_29_05_9945.jpg', 2), ('/home/nano/Desktop/images/08032025/20/28/image_08032025_20_28_55_9925.jpg', 2), ('/home/nano/Desktop/images/08032025/20/27/image_08032025_20_27_56_10934.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/20/29/image_08032025_20_29_45_9924.jpg', '/home/nano/Desktop/images/08032025/20/29/image_08032025_20_29_35_9922.jpg', '/home/nano/Desktop/images/08032025/20/29/image_08032025_20_29_15_9921.jpg', '/home/nano/Desktop/images/08032025/20/28/image_08032025_20_29_05_9945.jpg', '/home/nano/Desktop/images/08032025/20/28/image_08032025_20_28_55_9925.jpg', '/home/nano/Desktop/images/08032025/20/27/image_08032025_20_27_56_10934.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/20/29/image_08032025_20_29_45_9924.jpg
/home/nano/Desktop/images/08032025/20/29/image_08032025_20_29_35_9922.jpg
/home/nano/Desktop/images/08032025/20/29/image_08032025_20_29_15_9921.jpg
/home/nano/Desktop/images/08032025/20/28/image_08032025_20_29_05_9945.jpg
/home/nano/Desktop/images/08032025/20/28/image_08032025_20_28_55_9925.jpg
/home/nano/Desktop/images/08032025/20/27/image_08032025_20_27_56_10934.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341997914","1341997913","1341997951","1341997924","1341997953","1341997950"],"photo_ids_order":["1341997913","1341997914","1341997924","1341997950","1341997951","1341997953"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/d02cf0ac96bb3a81ba418a7348a5cf67.jpg","text":"TemporaryFile(/tmp/multipartBody4657638284180727183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741462263707,"filename":"image_08032025_20_29_35_9922.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/7240348eb41f0fbd5567d0c3d51e72f9.jpg","text":"TemporaryFile(/tmp/multipartBody979439514362201628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741462263707,"filename":"image_08032025_20_29_45_9924.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/03657d67d3517eef34d5832ca2282532.jpg","text":"TemporaryFile(/tmp/multipartBody8636878734567006870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741462263707,"filename":"image_08032025_20_28_55_9925.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/fb19274deff3ba229668323b4fd38767.jpg","text":"TemporaryFile(/tmp/multipartBody6441792367923134524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741462263707,"filename":"image_08032025_20_29_15_9921.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/d86615aa8ed00c45bbde63027b1a86a1.jpg","text":"TemporaryFile(/tmp/multipartBody7773780305568209675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741462263707,"filename":"image_08032025_20_27_56_10934.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/46b853e38cbb299d829d7ec6c5fc2f4a.jpg","text":"TemporaryFile(/tmp/multipartBody2627961032604712889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741462263707,"filename":"image_08032025_20_29_05_9945.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341997924","file1":"1341997914","file0":"1341997913","file4":"1341997951","file5":"1341997953","file3":"1341997950"},"map_files_photo_id_array":[{"photo_id":"1341997953","filename":"file5"},{"photo_id":"1341997924","filename":"file2"},{"photo_id":"1341997951","filename":"file4"},{"photo_id":"1341997914","filename":"file1"},{"photo_id":"1341997913","filename":"file0"},{"photo_id":"1341997950","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341997914":["hashtag1","hashtag2"]},{"1341997913":["hashtag1","hashtag2"]},{"1341997951":["hashtag1","hashtag2"]},{"1341997924":["hashtag1","hashtag2"]},{"1341997953":["hashtag1","hashtag2"]},{"1341997950":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341997914, 1341997913, 1341997951, 1341997924, 1341997953, 1341997950)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.48800873756409 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 20:31:03.236564
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/20/30/image_08032025_20_30_35_9922.jpg', 2), ('/home/nano/Desktop/images/08032025/20/30/image_08032025_20_30_26_9918.jpg', 2), ('/home/nano/Desktop/images/08032025/20/30/image_08032025_20_30_16_10933.jpg', 2), ('/home/nano/Desktop/images/08032025/20/29/image_08032025_20_30_05_9941.jpg', 2), ('/home/nano/Desktop/images/08032025/20/29/image_08032025_20_29_55_9917.jpg', 2), ('/home/nano/Desktop/images/08032025/20/09/image_08032025_20_09_35_9917.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/20/30/image_08032025_20_30_35_9922.jpg', '/home/nano/Desktop/images/08032025/20/30/image_08032025_20_30_26_9918.jpg', '/home/nano/Desktop/images/08032025/20/30/image_08032025_20_30_16_10933.jpg', '/home/nano/Desktop/images/08032025/20/29/image_08032025_20_30_05_9941.jpg', '/home/nano/Desktop/images/08032025/20/29/image_08032025_20_29_55_9917.jpg', '/home/nano/Desktop/images/08032025/20/09/image_08032025_20_09_35_9917.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/20/30/image_08032025_20_30_35_9922.jpg
/home/nano/Desktop/images/08032025/20/30/image_08032025_20_30_26_9918.jpg
/home/nano/Desktop/images/08032025/20/30/image_08032025_20_30_16_10933.jpg
/home/nano/Desktop/images/08032025/20/29/image_08032025_20_30_05_9941.jpg
/home/nano/Desktop/images/08032025/20/29/image_08032025_20_29_55_9917.jpg
/home/nano/Desktop/images/08032025/20/09/image_08032025_20_09_35_9917.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341998092","1341998089","1341998094","1341998091","1341998088","1341998090"],"photo_ids_order":["1341998088","1341998089","1341998090","1341998091","1341998092","1341998094"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/660c9ab9bb91159be7c70dbc140337d2.jpg","text":"TemporaryFile(/tmp/multipartBody97032891488597339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741462323661,"filename":"image_08032025_20_29_55_9917.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/503dcea91cda652006d38d8ea37ee175.jpg","text":"TemporaryFile(/tmp/multipartBody522171169111188656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741462323661,"filename":"image_08032025_20_30_26_9918.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/ac9bf0ddcb4d223e467386be6b8ecb0b.jpg","text":"TemporaryFile(/tmp/multipartBody390459178952264405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741462323661,"filename":"image_08032025_20_09_35_9917.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/734f4372d52e266d8e8878a1af747fcd.jpg","text":"TemporaryFile(/tmp/multipartBody7652468153834432763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741462323661,"filename":"image_08032025_20_30_05_9941.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/83428a6db48929a06beac5e17c42485f.jpg","text":"TemporaryFile(/tmp/multipartBody7981982095998013883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741462323661,"filename":"image_08032025_20_30_35_9922.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/08b0c82dbbbb0547a9112e821c44f200.jpg","text":"TemporaryFile(/tmp/multipartBody1636139968342021230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741462323661,"filename":"image_08032025_20_30_16_10933.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341998090","file1":"1341998089","file0":"1341998088","file4":"1341998092","file5":"1341998094","file3":"1341998091"},"map_files_photo_id_array":[{"photo_id":"1341998094","filename":"file5"},{"photo_id":"1341998090","filename":"file2"},{"photo_id":"1341998092","filename":"file4"},{"photo_id":"1341998089","filename":"file1"},{"photo_id":"1341998088","filename":"file0"},{"photo_id":"1341998091","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341998092":["hashtag1","hashtag2"]},{"1341998089":["hashtag1","hashtag2"]},{"1341998094":["hashtag1","hashtag2"]},{"1341998091":["hashtag1","hashtag2"]},{"1341998088":["hashtag1","hashtag2"]},{"1341998090":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341998092, 1341998089, 1341998094, 1341998091, 1341998088, 1341998090)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.71589994430542 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 20:32:02.477389
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/20/31/image_08032025_20_31_45_9932.jpg', 2), ('/home/nano/Desktop/images/08032025/20/31/image_08032025_20_31_35_9947.jpg', 2), ('/home/nano/Desktop/images/08032025/20/31/image_08032025_20_31_25_9923.jpg', 2), ('/home/nano/Desktop/images/08032025/20/31/image_08032025_20_31_15_9920.jpg', 2), ('/home/nano/Desktop/images/08032025/20/30/image_08032025_20_31_05_9929.jpg', 2), ('/home/nano/Desktop/images/08032025/20/30/image_08032025_20_30_55_9925.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/20/31/image_08032025_20_31_45_9932.jpg', '/home/nano/Desktop/images/08032025/20/31/image_08032025_20_31_35_9947.jpg', '/home/nano/Desktop/images/08032025/20/31/image_08032025_20_31_25_9923.jpg', '/home/nano/Desktop/images/08032025/20/31/image_08032025_20_31_15_9920.jpg', '/home/nano/Desktop/images/08032025/20/30/image_08032025_20_31_05_9929.jpg', '/home/nano/Desktop/images/08032025/20/30/image_08032025_20_30_55_9925.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/20/31/image_08032025_20_31_45_9932.jpg
/home/nano/Desktop/images/08032025/20/31/image_08032025_20_31_35_9947.jpg
/home/nano/Desktop/images/08032025/20/31/image_08032025_20_31_25_9923.jpg
/home/nano/Desktop/images/08032025/20/31/image_08032025_20_31_15_9920.jpg
/home/nano/Desktop/images/08032025/20/30/image_08032025_20_31_05_9929.jpg
/home/nano/Desktop/images/08032025/20/30/image_08032025_20_30_55_9925.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341998123","1341998120","1341998117","1341998119","1341998121","1341998118"],"photo_ids_order":["1341998117","1341998118","1341998119","1341998120","1341998121","1341998123"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/84716d28ce8a95786d41a2ab54841c17.jpg","text":"TemporaryFile(/tmp/multipartBody2790819871797393433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741462383117,"filename":"image_08032025_20_30_55_9925.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/f5a7ea947f71a8fee09606245ce17354.jpg","text":"TemporaryFile(/tmp/multipartBody6664565356459502146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741462383117,"filename":"image_08032025_20_31_15_9920.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/7b63499c85d5dd0b8d3bc2bb2106a8fa.jpg","text":"TemporaryFile(/tmp/multipartBody5046615497365900417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741462383117,"filename":"image_08032025_20_31_45_9932.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/f04e4fbe1b409ab53bbdf4c138bbc7a1.jpg","text":"TemporaryFile(/tmp/multipartBody3684713233105666131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741462383117,"filename":"image_08032025_20_31_25_9923.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/a8886991b77ae68c3f70b96e40e4fcd5.jpg","text":"TemporaryFile(/tmp/multipartBody3956719422235005352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741462383117,"filename":"image_08032025_20_31_05_9929.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/f5ad9475a35b9218a9bdbcc7c5eed3d6.jpg","text":"TemporaryFile(/tmp/multipartBody4354813026984314952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741462383117,"filename":"image_08032025_20_31_35_9947.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341998119","file1":"1341998118","file0":"1341998117","file4":"1341998121","file5":"1341998123","file3":"1341998120"},"map_files_photo_id_array":[{"photo_id":"1341998123","filename":"file5"},{"photo_id":"1341998119","filename":"file2"},{"photo_id":"1341998121","filename":"file4"},{"photo_id":"1341998118","filename":"file1"},{"photo_id":"1341998117","filename":"file0"},{"photo_id":"1341998120","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341998123":["hashtag1","hashtag2"]},{"1341998120":["hashtag1","hashtag2"]},{"1341998117":["hashtag1","hashtag2"]},{"1341998119":["hashtag1","hashtag2"]},{"1341998121":["hashtag1","hashtag2"]},{"1341998118":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341998123, 1341998120, 1341998117, 1341998119, 1341998121, 1341998118)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.15921974182129 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 20:33:02.444879
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/20/32/image_08032025_20_32_45_9918.jpg', 2), ('/home/nano/Desktop/images/08032025/20/32/image_08032025_20_32_36_10932.jpg', 2), ('/home/nano/Desktop/images/08032025/20/32/image_08032025_20_32_25_9918.jpg', 2), ('/home/nano/Desktop/images/08032025/20/32/image_08032025_20_32_15_9922.jpg', 2), ('/home/nano/Desktop/images/08032025/20/31/image_08032025_20_32_05_9928.jpg', 2), ('/home/nano/Desktop/images/08032025/20/31/image_08032025_20_31_55_9921.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/20/32/image_08032025_20_32_45_9918.jpg', '/home/nano/Desktop/images/08032025/20/32/image_08032025_20_32_36_10932.jpg', '/home/nano/Desktop/images/08032025/20/32/image_08032025_20_32_25_9918.jpg', '/home/nano/Desktop/images/08032025/20/32/image_08032025_20_32_15_9922.jpg', '/home/nano/Desktop/images/08032025/20/31/image_08032025_20_32_05_9928.jpg', '/home/nano/Desktop/images/08032025/20/31/image_08032025_20_31_55_9921.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/20/32/image_08032025_20_32_45_9918.jpg
/home/nano/Desktop/images/08032025/20/32/image_08032025_20_32_36_10932.jpg
/home/nano/Desktop/images/08032025/20/32/image_08032025_20_32_25_9918.jpg
/home/nano/Desktop/images/08032025/20/32/image_08032025_20_32_15_9922.jpg
/home/nano/Desktop/images/08032025/20/31/image_08032025_20_32_05_9928.jpg
/home/nano/Desktop/images/08032025/20/31/image_08032025_20_31_55_9921.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341998171","1341998213","1341998216","1341998209","1341998211","1341998174"],"photo_ids_order":["1341998171","1341998174","1341998209","1341998211","1341998213","1341998216"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/9e04d6d30cc9f60c247ecdfe41717d32.jpg","text":"TemporaryFile(/tmp/multipartBody2736442289638832323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741462443122,"filename":"image_08032025_20_32_45_9918.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/80ed30f8514e49f527e1b5bfff8d98de.jpg","text":"TemporaryFile(/tmp/multipartBody4988741159217929063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741462443122,"filename":"image_08032025_20_32_05_9928.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/3a864f289dd378101b11be4900dfa3ca.jpg","text":"TemporaryFile(/tmp/multipartBody3167912597088204026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741462443122,"filename":"image_08032025_20_31_55_9921.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/a3eecf2ef6828709d6606f0dc8468b1c.jpg","text":"TemporaryFile(/tmp/multipartBody1842430587354544132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741462443122,"filename":"image_08032025_20_32_25_9918.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/6f5fcfe1ab6f08933b3b92c7bdc17d9e.jpg","text":"TemporaryFile(/tmp/multipartBody6269673134247943061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741462443122,"filename":"image_08032025_20_32_15_9922.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/54ad8886ba07c27895a25b18d71b73eb.jpg","text":"TemporaryFile(/tmp/multipartBody6077723465032035556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741462443122,"filename":"image_08032025_20_32_36_10932.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341998209","file1":"1341998174","file0":"1341998171","file4":"1341998213","file5":"1341998216","file3":"1341998211"},"map_files_photo_id_array":[{"photo_id":"1341998216","filename":"file5"},{"photo_id":"1341998209","filename":"file2"},{"photo_id":"1341998213","filename":"file4"},{"photo_id":"1341998174","filename":"file1"},{"photo_id":"1341998171","filename":"file0"},{"photo_id":"1341998211","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341998171":["hashtag1","hashtag2"]},{"1341998213":["hashtag1","hashtag2"]},{"1341998216":["hashtag1","hashtag2"]},{"1341998209":["hashtag1","hashtag2"]},{"1341998211":["hashtag1","hashtag2"]},{"1341998174":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341998171, 1341998213, 1341998216, 1341998209, 1341998211, 1341998174)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.97181963920593 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 20:34:02.986021
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/20/33/image_08032025_20_33_45_9917.jpg', 2), ('/home/nano/Desktop/images/08032025/20/33/image_08032025_20_33_35_9923.jpg', 2), ('/home/nano/Desktop/images/08032025/20/33/image_08032025_20_33_25_9937.jpg', 2), ('/home/nano/Desktop/images/08032025/20/33/image_08032025_20_33_15_9919.jpg', 2), ('/home/nano/Desktop/images/08032025/20/32/image_08032025_20_33_05_9939.jpg', 2), ('/home/nano/Desktop/images/08032025/20/32/image_08032025_20_32_55_9923.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/20/33/image_08032025_20_33_45_9917.jpg', '/home/nano/Desktop/images/08032025/20/33/image_08032025_20_33_35_9923.jpg', '/home/nano/Desktop/images/08032025/20/33/image_08032025_20_33_25_9937.jpg', '/home/nano/Desktop/images/08032025/20/33/image_08032025_20_33_15_9919.jpg', '/home/nano/Desktop/images/08032025/20/32/image_08032025_20_33_05_9939.jpg', '/home/nano/Desktop/images/08032025/20/32/image_08032025_20_32_55_9923.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/20/33/image_08032025_20_33_45_9917.jpg
/home/nano/Desktop/images/08032025/20/33/image_08032025_20_33_35_9923.jpg
/home/nano/Desktop/images/08032025/20/33/image_08032025_20_33_25_9937.jpg
/home/nano/Desktop/images/08032025/20/33/image_08032025_20_33_15_9919.jpg
/home/nano/Desktop/images/08032025/20/32/image_08032025_20_33_05_9939.jpg
/home/nano/Desktop/images/08032025/20/32/image_08032025_20_32_55_9923.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341998243","1341998237","1341998246","1341998234","1341998256","1341998240"],"photo_ids_order":["1341998234","1341998237","1341998240","1341998243","1341998246","1341998256"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/4192630dacaa2fdb6dbe4774b8a1a033.jpg","text":"TemporaryFile(/tmp/multipartBody5190530285047595826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741462503597,"filename":"image_08032025_20_33_15_9919.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/56782084ead939a393d651189dd23602.jpg","text":"TemporaryFile(/tmp/multipartBody880460410849637253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741462503597,"filename":"image_08032025_20_33_35_9923.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/18b64960c646a5e191febe734717c985.jpg","text":"TemporaryFile(/tmp/multipartBody3248871076731060413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741462503597,"filename":"image_08032025_20_33_05_9939.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/83533ce6e7ab723b17cf6f794a31545f.jpg","text":"TemporaryFile(/tmp/multipartBody4542829558571183910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741462503597,"filename":"image_08032025_20_33_45_9917.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/03c72ee6d0c3ba8ceb727565e3cd6b94.jpg","text":"TemporaryFile(/tmp/multipartBody8739499279072039976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741462503597,"filename":"image_08032025_20_32_55_9923.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/2c9e3663b766bfbe616a9955d46994e0.jpg","text":"TemporaryFile(/tmp/multipartBody3909843869166426438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741462503597,"filename":"image_08032025_20_33_25_9937.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341998240","file1":"1341998237","file0":"1341998234","file4":"1341998246","file5":"1341998256","file3":"1341998243"},"map_files_photo_id_array":[{"photo_id":"1341998256","filename":"file5"},{"photo_id":"1341998240","filename":"file2"},{"photo_id":"1341998246","filename":"file4"},{"photo_id":"1341998237","filename":"file1"},{"photo_id":"1341998234","filename":"file0"},{"photo_id":"1341998243","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341998243":["hashtag1","hashtag2"]},{"1341998237":["hashtag1","hashtag2"]},{"1341998246":["hashtag1","hashtag2"]},{"1341998234":["hashtag1","hashtag2"]},{"1341998256":["hashtag1","hashtag2"]},{"1341998240":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341998243, 1341998237, 1341998246, 1341998234, 1341998256, 1341998240)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.85666799545288 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 20:35:02.821075
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/20/34/image_08032025_20_34_45_9923.jpg', 2), ('/home/nano/Desktop/images/08032025/20/34/image_08032025_20_34_35_9938.jpg', 2), ('/home/nano/Desktop/images/08032025/20/34/image_08032025_20_34_25_9923.jpg', 2), ('/home/nano/Desktop/images/08032025/20/34/image_08032025_20_34_15_9921.jpg', 2), ('/home/nano/Desktop/images/08032025/20/33/image_08032025_20_34_05_9961.jpg', 2), ('/home/nano/Desktop/images/08032025/20/33/image_08032025_20_33_55_9917.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/20/34/image_08032025_20_34_45_9923.jpg', '/home/nano/Desktop/images/08032025/20/34/image_08032025_20_34_35_9938.jpg', '/home/nano/Desktop/images/08032025/20/34/image_08032025_20_34_25_9923.jpg', '/home/nano/Desktop/images/08032025/20/34/image_08032025_20_34_15_9921.jpg', '/home/nano/Desktop/images/08032025/20/33/image_08032025_20_34_05_9961.jpg', '/home/nano/Desktop/images/08032025/20/33/image_08032025_20_33_55_9917.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/20/34/image_08032025_20_34_45_9923.jpg
/home/nano/Desktop/images/08032025/20/34/image_08032025_20_34_35_9938.jpg
/home/nano/Desktop/images/08032025/20/34/image_08032025_20_34_25_9923.jpg
/home/nano/Desktop/images/08032025/20/34/image_08032025_20_34_15_9921.jpg
/home/nano/Desktop/images/08032025/20/33/image_08032025_20_34_05_9961.jpg
/home/nano/Desktop/images/08032025/20/33/image_08032025_20_33_55_9917.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341998374","1341998370","1341998358","1341998367","1341998340","1341998354"],"photo_ids_order":["1341998340","1341998354","1341998358","1341998367","1341998370","1341998374"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/5f16aa9badec3731e7f35421d98f4353.jpg","text":"TemporaryFile(/tmp/multipartBody6517961096813087239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741462563347,"filename":"image_08032025_20_33_55_9917.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/5e56b3ad5d4163141da31947b16525a8.jpg","text":"TemporaryFile(/tmp/multipartBody7381331097863031123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741462563347,"filename":"image_08032025_20_34_05_9961.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/960b6b51458bbb6527684b94c375addc.jpg","text":"TemporaryFile(/tmp/multipartBody4041175374128402375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741462563347,"filename":"image_08032025_20_34_25_9923.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/22d542ce6ad936fc706a6b1bc0fd8036.jpg","text":"TemporaryFile(/tmp/multipartBody8427516190635807974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741462563347,"filename":"image_08032025_20_34_15_9921.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/c72976d9ddc93f62c539a888550eff7b.jpg","text":"TemporaryFile(/tmp/multipartBody5359394713648266084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741462563347,"filename":"image_08032025_20_34_45_9923.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/f624884ce19a1bc32302e7cb5636c5cd.jpg","text":"TemporaryFile(/tmp/multipartBody7210686434865836180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741462563347,"filename":"image_08032025_20_34_35_9938.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341998358","file1":"1341998354","file0":"1341998340","file4":"1341998370","file5":"1341998374","file3":"1341998367"},"map_files_photo_id_array":[{"photo_id":"1341998374","filename":"file5"},{"photo_id":"1341998358","filename":"file2"},{"photo_id":"1341998370","filename":"file4"},{"photo_id":"1341998354","filename":"file1"},{"photo_id":"1341998340","filename":"file0"},{"photo_id":"1341998367","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341998374":["hashtag1","hashtag2"]},{"1341998370":["hashtag1","hashtag2"]},{"1341998358":["hashtag1","hashtag2"]},{"1341998367":["hashtag1","hashtag2"]},{"1341998340":["hashtag1","hashtag2"]},{"1341998354":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341998374, 1341998370, 1341998358, 1341998367, 1341998340, 1341998354)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.83883738517761 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 20:36:02.797947
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/20/35/image_08032025_20_35_45_9925.jpg', 2), ('/home/nano/Desktop/images/08032025/20/35/image_08032025_20_35_35_9918.jpg', 2), ('/home/nano/Desktop/images/08032025/20/35/image_08032025_20_35_25_9922.jpg', 2), ('/home/nano/Desktop/images/08032025/20/35/image_08032025_20_35_15_9925.jpg', 2), ('/home/nano/Desktop/images/08032025/20/34/image_08032025_20_35_05_9934.jpg', 2), ('/home/nano/Desktop/images/08032025/20/34/image_08032025_20_34_56_10932.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/20/35/image_08032025_20_35_45_9925.jpg', '/home/nano/Desktop/images/08032025/20/35/image_08032025_20_35_35_9918.jpg', '/home/nano/Desktop/images/08032025/20/35/image_08032025_20_35_25_9922.jpg', '/home/nano/Desktop/images/08032025/20/35/image_08032025_20_35_15_9925.jpg', '/home/nano/Desktop/images/08032025/20/34/image_08032025_20_35_05_9934.jpg', '/home/nano/Desktop/images/08032025/20/34/image_08032025_20_34_56_10932.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/20/35/image_08032025_20_35_45_9925.jpg
/home/nano/Desktop/images/08032025/20/35/image_08032025_20_35_35_9918.jpg
/home/nano/Desktop/images/08032025/20/35/image_08032025_20_35_25_9922.jpg
/home/nano/Desktop/images/08032025/20/35/image_08032025_20_35_15_9925.jpg
/home/nano/Desktop/images/08032025/20/34/image_08032025_20_35_05_9934.jpg
/home/nano/Desktop/images/08032025/20/34/image_08032025_20_34_56_10932.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341998429","1341998432","1341998542","1341998440","1341998515","1341998471"],"photo_ids_order":["1341998429","1341998432","1341998440","1341998471","1341998515","1341998542"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/c522b362a02052b8f8d25c8b66b7b0f9.jpg","text":"TemporaryFile(/tmp/multipartBody2363201352559478061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741462623367,"filename":"image_08032025_20_35_45_9925.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/983a45c5369498bbdd5e160ef9450e05.jpg","text":"TemporaryFile(/tmp/multipartBody6410685144898990980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741462623367,"filename":"image_08032025_20_35_35_9918.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/b357e9346c3eba2dc9872e533285ee97.jpg","text":"TemporaryFile(/tmp/multipartBody9105624254549364858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741462623367,"filename":"image_08032025_20_34_56_10932.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/5bffd2f59a0d4a80eac1fec4ab921588.jpg","text":"TemporaryFile(/tmp/multipartBody4594379113728480863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741462623367,"filename":"image_08032025_20_35_25_9922.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/f03167861660eba5846ea0284936977d.jpg","text":"TemporaryFile(/tmp/multipartBody6415217123428502732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741462623367,"filename":"image_08032025_20_35_05_9934.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/474b8776f1ad2f14f1a9013b4f3e40ff.jpg","text":"TemporaryFile(/tmp/multipartBody6157879149403623048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741462623367,"filename":"image_08032025_20_35_15_9925.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341998440","file1":"1341998432","file0":"1341998429","file4":"1341998515","file5":"1341998542","file3":"1341998471"},"map_files_photo_id_array":[{"photo_id":"1341998542","filename":"file5"},{"photo_id":"1341998440","filename":"file2"},{"photo_id":"1341998515","filename":"file4"},{"photo_id":"1341998432","filename":"file1"},{"photo_id":"1341998429","filename":"file0"},{"photo_id":"1341998471","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341998429":["hashtag1","hashtag2"]},{"1341998432":["hashtag1","hashtag2"]},{"1341998542":["hashtag1","hashtag2"]},{"1341998440":["hashtag1","hashtag2"]},{"1341998515":["hashtag1","hashtag2"]},{"1341998471":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341998429, 1341998432, 1341998542, 1341998440, 1341998515, 1341998471)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.316346406936646 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 20:37:03.097318
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/20/36/image_08032025_20_36_45_9923.jpg', 2), ('/home/nano/Desktop/images/08032025/20/36/image_08032025_20_36_35_9924.jpg', 2), ('/home/nano/Desktop/images/08032025/20/36/image_08032025_20_36_25_9927.jpg', 2), ('/home/nano/Desktop/images/08032025/20/36/image_08032025_20_36_15_9924.jpg', 2), ('/home/nano/Desktop/images/08032025/20/35/image_08032025_20_36_05_9935.jpg', 2), ('/home/nano/Desktop/images/08032025/20/35/image_08032025_20_35_55_9925.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/20/36/image_08032025_20_36_45_9923.jpg', '/home/nano/Desktop/images/08032025/20/36/image_08032025_20_36_35_9924.jpg', '/home/nano/Desktop/images/08032025/20/36/image_08032025_20_36_25_9927.jpg', '/home/nano/Desktop/images/08032025/20/36/image_08032025_20_36_15_9924.jpg', '/home/nano/Desktop/images/08032025/20/35/image_08032025_20_36_05_9935.jpg', '/home/nano/Desktop/images/08032025/20/35/image_08032025_20_35_55_9925.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/20/36/image_08032025_20_36_45_9923.jpg
/home/nano/Desktop/images/08032025/20/36/image_08032025_20_36_35_9924.jpg
/home/nano/Desktop/images/08032025/20/36/image_08032025_20_36_25_9927.jpg
/home/nano/Desktop/images/08032025/20/36/image_08032025_20_36_15_9924.jpg
/home/nano/Desktop/images/08032025/20/35/image_08032025_20_36_05_9935.jpg
/home/nano/Desktop/images/08032025/20/35/image_08032025_20_35_55_9925.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341998725","1341998632","1341998586","1341998565","1341998663","1341998657"],"photo_ids_order":["1341998565","1341998586","1341998632","1341998657","1341998663","1341998725"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/9091ac0b22f82630ceea9f508d0a1533.jpg","text":"TemporaryFile(/tmp/multipartBody629896349898359426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741462683515,"filename":"image_08032025_20_35_55_9925.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/7f6c4d8cd912141002e5b7ef8b30f3d7.jpg","text":"TemporaryFile(/tmp/multipartBody3379701768886952731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741462683515,"filename":"image_08032025_20_36_25_9927.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/3a75e4c8ead9753d9b3c7e0b4dba60fe.jpg","text":"TemporaryFile(/tmp/multipartBody5602988889767402906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741462683515,"filename":"image_08032025_20_36_35_9924.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/a4e583058415280616d8db8fdddb0802.jpg","text":"TemporaryFile(/tmp/multipartBody6441228206962845106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741462683515,"filename":"image_08032025_20_36_45_9923.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/d689cbe16dbe434d067eebc84a22173a.jpg","text":"TemporaryFile(/tmp/multipartBody6998011960403032417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741462683515,"filename":"image_08032025_20_36_05_9935.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/4d522687a02b425f4022ab97166f8635.jpg","text":"TemporaryFile(/tmp/multipartBody4231171314831732554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741462683515,"filename":"image_08032025_20_36_15_9924.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341998632","file1":"1341998586","file0":"1341998565","file4":"1341998663","file5":"1341998725","file3":"1341998657"},"map_files_photo_id_array":[{"photo_id":"1341998725","filename":"file5"},{"photo_id":"1341998632","filename":"file2"},{"photo_id":"1341998663","filename":"file4"},{"photo_id":"1341998586","filename":"file1"},{"photo_id":"1341998565","filename":"file0"},{"photo_id":"1341998657","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341998725":["hashtag1","hashtag2"]},{"1341998632":["hashtag1","hashtag2"]},{"1341998586":["hashtag1","hashtag2"]},{"1341998565":["hashtag1","hashtag2"]},{"1341998663":["hashtag1","hashtag2"]},{"1341998657":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341998725, 1341998632, 1341998586, 1341998565, 1341998663, 1341998657)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.134066104888916 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 20:38:03.248752
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/20/38/image_08032025_20_38_35_9940.jpg', 2), ('/home/nano/Desktop/images/08032025/20/37/image_08032025_20_37_45_9918.jpg', 2), ('/home/nano/Desktop/images/08032025/20/37/image_08032025_20_37_35_9914.jpg', 2), ('/home/nano/Desktop/images/08032025/20/37/image_08032025_20_37_25_9917.jpg', 2), ('/home/nano/Desktop/images/08032025/20/37/image_08032025_20_37_16_10958.jpg', 2), ('/home/nano/Desktop/images/08032025/20/36/image_08032025_20_37_05_9928.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/20/38/image_08032025_20_38_35_9940.jpg', '/home/nano/Desktop/images/08032025/20/37/image_08032025_20_37_45_9918.jpg', '/home/nano/Desktop/images/08032025/20/37/image_08032025_20_37_35_9914.jpg', '/home/nano/Desktop/images/08032025/20/37/image_08032025_20_37_25_9917.jpg', '/home/nano/Desktop/images/08032025/20/37/image_08032025_20_37_16_10958.jpg', '/home/nano/Desktop/images/08032025/20/36/image_08032025_20_37_05_9928.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/20/38/image_08032025_20_38_35_9940.jpg
/home/nano/Desktop/images/08032025/20/37/image_08032025_20_37_45_9918.jpg
/home/nano/Desktop/images/08032025/20/37/image_08032025_20_37_35_9914.jpg
/home/nano/Desktop/images/08032025/20/37/image_08032025_20_37_25_9917.jpg
/home/nano/Desktop/images/08032025/20/37/image_08032025_20_37_16_10958.jpg
/home/nano/Desktop/images/08032025/20/36/image_08032025_20_37_05_9928.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341998927","1341998890","1341998902","1341998873","1341998870","1341998864"],"photo_ids_order":["1341998864","1341998870","1341998873","1341998890","1341998902","1341998927"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/d7757d53a985f2dfa7a449043d7c5c5f.jpg","text":"TemporaryFile(/tmp/multipartBody5735701009274470931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741462743741,"filename":"image_08032025_20_37_05_9928.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/2db58032e37190afb7d7eec6d5713a58.jpg","text":"TemporaryFile(/tmp/multipartBody6096372153324562882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741462743741,"filename":"image_08032025_20_37_25_9917.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/6901b1c327db0d5522f95fc69ec7739a.jpg","text":"TemporaryFile(/tmp/multipartBody8460104297078782731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741462743741,"filename":"image_08032025_20_37_16_10958.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/6c12ab688c81619b8d342aaef86cae19.jpg","text":"TemporaryFile(/tmp/multipartBody5639024322066957504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741462743741,"filename":"image_08032025_20_37_35_9914.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/521d761b00fd4b5a2c2479957ed08388.jpg","text":"TemporaryFile(/tmp/multipartBody4536481431325117561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741462743741,"filename":"image_08032025_20_37_45_9918.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/0f68f3b20466ceb21c72eb7d7755fd98.jpg","text":"TemporaryFile(/tmp/multipartBody7046874953568451506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741462743741,"filename":"image_08032025_20_38_35_9940.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341998873","file1":"1341998870","file0":"1341998864","file4":"1341998902","file5":"1341998927","file3":"1341998890"},"map_files_photo_id_array":[{"photo_id":"1341998927","filename":"file5"},{"photo_id":"1341998873","filename":"file2"},{"photo_id":"1341998902","filename":"file4"},{"photo_id":"1341998870","filename":"file1"},{"photo_id":"1341998864","filename":"file0"},{"photo_id":"1341998890","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341998927":["hashtag1","hashtag2"]},{"1341998890":["hashtag1","hashtag2"]},{"1341998902":["hashtag1","hashtag2"]},{"1341998873":["hashtag1","hashtag2"]},{"1341998870":["hashtag1","hashtag2"]},{"1341998864":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341998927, 1341998890, 1341998902, 1341998873, 1341998870, 1341998864)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.282010555267334 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 20:39:02.581194
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/20/38/image_08032025_20_38_45_9921.jpg', 2), ('/home/nano/Desktop/images/08032025/20/38/image_08032025_20_38_25_9920.jpg', 2), ('/home/nano/Desktop/images/08032025/20/38/image_08032025_20_38_15_9916.jpg', 2), ('/home/nano/Desktop/images/08032025/20/37/image_08032025_20_38_05_9922.jpg', 2), ('/home/nano/Desktop/images/08032025/20/37/image_08032025_20_37_55_9915.jpg', 2), ('/home/nano/Desktop/images/08032025/20/36/image_08032025_20_36_55_9920.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/20/38/image_08032025_20_38_45_9921.jpg', '/home/nano/Desktop/images/08032025/20/38/image_08032025_20_38_25_9920.jpg', '/home/nano/Desktop/images/08032025/20/38/image_08032025_20_38_15_9916.jpg', '/home/nano/Desktop/images/08032025/20/37/image_08032025_20_38_05_9922.jpg', '/home/nano/Desktop/images/08032025/20/37/image_08032025_20_37_55_9915.jpg', '/home/nano/Desktop/images/08032025/20/36/image_08032025_20_36_55_9920.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/20/38/image_08032025_20_38_45_9921.jpg
/home/nano/Desktop/images/08032025/20/38/image_08032025_20_38_25_9920.jpg
/home/nano/Desktop/images/08032025/20/38/image_08032025_20_38_15_9916.jpg
/home/nano/Desktop/images/08032025/20/37/image_08032025_20_38_05_9922.jpg
/home/nano/Desktop/images/08032025/20/37/image_08032025_20_37_55_9915.jpg
/home/nano/Desktop/images/08032025/20/36/image_08032025_20_36_55_9920.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341999028","1341999024","1341999036","1341999092","1341999053","1341999026"],"photo_ids_order":["1341999024","1341999026","1341999028","1341999036","1341999053","1341999092"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/f091905a92f9a2450ff92652246e2087.jpg","text":"TemporaryFile(/tmp/multipartBody8315474065592070418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741462803022,"filename":"image_08032025_20_38_15_9916.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/22663b0858627978f47b8093b3af105b.jpg","text":"TemporaryFile(/tmp/multipartBody6348798984114197831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741462803022,"filename":"image_08032025_20_38_45_9921.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/e08bb85aa854f419861dd076f07fd2f1.jpg","text":"TemporaryFile(/tmp/multipartBody1280257551415380285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741462803022,"filename":"image_08032025_20_38_05_9922.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/d18148ef7c619925fea1b941ee41301b.jpg","text":"TemporaryFile(/tmp/multipartBody1345617067595141668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741462803022,"filename":"image_08032025_20_36_55_9920.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/dde294f21aec128f4865c45114e3a6b7.jpg","text":"TemporaryFile(/tmp/multipartBody6193142789765948390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741462803022,"filename":"image_08032025_20_37_55_9915.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/dc8dc178399a5504fc9090a4fc9bb253.jpg","text":"TemporaryFile(/tmp/multipartBody4691010351823218358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741462803022,"filename":"image_08032025_20_38_25_9920.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341999028","file1":"1341999026","file0":"1341999024","file4":"1341999053","file5":"1341999092","file3":"1341999036"},"map_files_photo_id_array":[{"photo_id":"1341999092","filename":"file5"},{"photo_id":"1341999028","filename":"file2"},{"photo_id":"1341999053","filename":"file4"},{"photo_id":"1341999026","filename":"file1"},{"photo_id":"1341999024","filename":"file0"},{"photo_id":"1341999036","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341999028":["hashtag1","hashtag2"]},{"1341999024":["hashtag1","hashtag2"]},{"1341999036":["hashtag1","hashtag2"]},{"1341999092":["hashtag1","hashtag2"]},{"1341999053":["hashtag1","hashtag2"]},{"1341999026":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341999028, 1341999024, 1341999036, 1341999092, 1341999053, 1341999026)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.77961730957031 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 20:40:02.377285
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/20/39/image_08032025_20_39_45_9919.jpg', 2), ('/home/nano/Desktop/images/08032025/20/39/image_08032025_20_39_35_9915.jpg', 2), ('/home/nano/Desktop/images/08032025/20/39/image_08032025_20_39_26_10933.jpg', 2), ('/home/nano/Desktop/images/08032025/20/39/image_08032025_20_39_15_9926.jpg', 2), ('/home/nano/Desktop/images/08032025/20/38/image_08032025_20_39_05_9932.jpg', 2), ('/home/nano/Desktop/images/08032025/20/38/image_08032025_20_38_55_9935.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/20/39/image_08032025_20_39_45_9919.jpg', '/home/nano/Desktop/images/08032025/20/39/image_08032025_20_39_35_9915.jpg', '/home/nano/Desktop/images/08032025/20/39/image_08032025_20_39_26_10933.jpg', '/home/nano/Desktop/images/08032025/20/39/image_08032025_20_39_15_9926.jpg', '/home/nano/Desktop/images/08032025/20/38/image_08032025_20_39_05_9932.jpg', '/home/nano/Desktop/images/08032025/20/38/image_08032025_20_38_55_9935.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/20/39/image_08032025_20_39_45_9919.jpg
/home/nano/Desktop/images/08032025/20/39/image_08032025_20_39_35_9915.jpg
/home/nano/Desktop/images/08032025/20/39/image_08032025_20_39_26_10933.jpg
/home/nano/Desktop/images/08032025/20/39/image_08032025_20_39_15_9926.jpg
/home/nano/Desktop/images/08032025/20/38/image_08032025_20_39_05_9932.jpg
/home/nano/Desktop/images/08032025/20/38/image_08032025_20_38_55_9935.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341999311","1341999439","1341999477","1341999393","1341999369","1341999507"],"photo_ids_order":["1341999311","1341999369","1341999393","1341999439","1341999477","1341999507"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/0ce0bf892aaa3f564cce0b6348f53f50.jpg","text":"TemporaryFile(/tmp/multipartBody5430355798327299963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741462862886,"filename":"image_08032025_20_39_45_9919.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/a32989da2cc84eb7d50693727f1732f7.jpg","text":"TemporaryFile(/tmp/multipartBody3219501094642460919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741462862886,"filename":"image_08032025_20_39_15_9926.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/6c400ae7ab96d3076072927bb5744254.jpg","text":"TemporaryFile(/tmp/multipartBody5743734710252689294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741462862886,"filename":"image_08032025_20_39_05_9932.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/f1cffe3207caa3a5df95f8e9adc478ea.jpg","text":"TemporaryFile(/tmp/multipartBody221116004628207973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741462862886,"filename":"image_08032025_20_39_26_10933.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/7cffcc47604be47e17429df166f29915.jpg","text":"TemporaryFile(/tmp/multipartBody3589690125367854447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741462862886,"filename":"image_08032025_20_39_35_9915.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/dc486371772360c65f0f26ff3751d1ba.jpg","text":"TemporaryFile(/tmp/multipartBody385374084086386955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741462862886,"filename":"image_08032025_20_38_55_9935.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341999393","file1":"1341999369","file0":"1341999311","file4":"1341999477","file5":"1341999507","file3":"1341999439"},"map_files_photo_id_array":[{"photo_id":"1341999507","filename":"file5"},{"photo_id":"1341999393","filename":"file2"},{"photo_id":"1341999477","filename":"file4"},{"photo_id":"1341999369","filename":"file1"},{"photo_id":"1341999311","filename":"file0"},{"photo_id":"1341999439","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341999311":["hashtag1","hashtag2"]},{"1341999439":["hashtag1","hashtag2"]},{"1341999477":["hashtag1","hashtag2"]},{"1341999393":["hashtag1","hashtag2"]},{"1341999369":["hashtag1","hashtag2"]},{"1341999507":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341999311, 1341999439, 1341999477, 1341999393, 1341999369, 1341999507)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.30138182640076 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 20:41:02.504487
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/20/40/image_08032025_20_40_45_9914.jpg', 2), ('/home/nano/Desktop/images/08032025/20/40/image_08032025_20_40_35_9915.jpg', 2), ('/home/nano/Desktop/images/08032025/20/40/image_08032025_20_40_25_9918.jpg', 2), ('/home/nano/Desktop/images/08032025/20/40/image_08032025_20_40_15_9923.jpg', 2), ('/home/nano/Desktop/images/08032025/20/39/image_08032025_20_40_05_9921.jpg', 2), ('/home/nano/Desktop/images/08032025/20/39/image_08032025_20_39_55_9914.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/20/40/image_08032025_20_40_45_9914.jpg', '/home/nano/Desktop/images/08032025/20/40/image_08032025_20_40_35_9915.jpg', '/home/nano/Desktop/images/08032025/20/40/image_08032025_20_40_25_9918.jpg', '/home/nano/Desktop/images/08032025/20/40/image_08032025_20_40_15_9923.jpg', '/home/nano/Desktop/images/08032025/20/39/image_08032025_20_40_05_9921.jpg', '/home/nano/Desktop/images/08032025/20/39/image_08032025_20_39_55_9914.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/20/40/image_08032025_20_40_45_9914.jpg
/home/nano/Desktop/images/08032025/20/40/image_08032025_20_40_35_9915.jpg
/home/nano/Desktop/images/08032025/20/40/image_08032025_20_40_25_9918.jpg
/home/nano/Desktop/images/08032025/20/40/image_08032025_20_40_15_9923.jpg
/home/nano/Desktop/images/08032025/20/39/image_08032025_20_40_05_9921.jpg
/home/nano/Desktop/images/08032025/20/39/image_08032025_20_39_55_9914.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1341999678","1341999705","1341999683","1341999716","1341999626","1341999713"],"photo_ids_order":["1341999626","1341999678","1341999683","1341999705","1341999713","1341999716"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/d437b735f6de8322c34335e07964e529.jpg","text":"TemporaryFile(/tmp/multipartBody2534790459214521666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741462922929,"filename":"image_08032025_20_40_35_9915.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/670369c50c61ca4186c104c23ffd478b.jpg","text":"TemporaryFile(/tmp/multipartBody3527844110794249168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741462922929,"filename":"image_08032025_20_40_15_9923.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/bd9eac9cf6d8ad87702f0afff6006a72.jpg","text":"TemporaryFile(/tmp/multipartBody3022841343247239475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741462922929,"filename":"image_08032025_20_40_25_9918.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/33ee403a88c29b52125c16a1d412a9ed.jpg","text":"TemporaryFile(/tmp/multipartBody859166504159912260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741462922929,"filename":"image_08032025_20_39_55_9914.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/032cf8f74bd60e3b5531aad618f5e303.jpg","text":"TemporaryFile(/tmp/multipartBody8116282693033858048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741462922929,"filename":"image_08032025_20_40_45_9914.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/e0478ba92a904fd139d702ad7e392c5c.jpg","text":"TemporaryFile(/tmp/multipartBody650570223727175915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741462922929,"filename":"image_08032025_20_40_05_9921.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341999683","file1":"1341999678","file0":"1341999626","file4":"1341999713","file5":"1341999716","file3":"1341999705"},"map_files_photo_id_array":[{"photo_id":"1341999716","filename":"file5"},{"photo_id":"1341999683","filename":"file2"},{"photo_id":"1341999713","filename":"file4"},{"photo_id":"1341999678","filename":"file1"},{"photo_id":"1341999626","filename":"file0"},{"photo_id":"1341999705","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1341999678":["hashtag1","hashtag2"]},{"1341999705":["hashtag1","hashtag2"]},{"1341999683":["hashtag1","hashtag2"]},{"1341999716":["hashtag1","hashtag2"]},{"1341999626":["hashtag1","hashtag2"]},{"1341999713":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1341999678, 1341999705, 1341999683, 1341999716, 1341999626, 1341999713)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.33268141746521 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 20:42:02.647125
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/20/41/image_08032025_20_41_45_9917.jpg', 2), ('/home/nano/Desktop/images/08032025/20/41/image_08032025_20_41_36_10927.jpg', 2), ('/home/nano/Desktop/images/08032025/20/41/image_08032025_20_41_25_9915.jpg', 2), ('/home/nano/Desktop/images/08032025/20/41/image_08032025_20_41_15_9915.jpg', 2), ('/home/nano/Desktop/images/08032025/20/40/image_08032025_20_41_05_9927.jpg', 2), ('/home/nano/Desktop/images/08032025/20/40/image_08032025_20_40_55_9941.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/20/41/image_08032025_20_41_45_9917.jpg', '/home/nano/Desktop/images/08032025/20/41/image_08032025_20_41_36_10927.jpg', '/home/nano/Desktop/images/08032025/20/41/image_08032025_20_41_25_9915.jpg', '/home/nano/Desktop/images/08032025/20/41/image_08032025_20_41_15_9915.jpg', '/home/nano/Desktop/images/08032025/20/40/image_08032025_20_41_05_9927.jpg', '/home/nano/Desktop/images/08032025/20/40/image_08032025_20_40_55_9941.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/20/41/image_08032025_20_41_45_9917.jpg
/home/nano/Desktop/images/08032025/20/41/image_08032025_20_41_36_10927.jpg
/home/nano/Desktop/images/08032025/20/41/image_08032025_20_41_25_9915.jpg
/home/nano/Desktop/images/08032025/20/41/image_08032025_20_41_15_9915.jpg
/home/nano/Desktop/images/08032025/20/40/image_08032025_20_41_05_9927.jpg
/home/nano/Desktop/images/08032025/20/40/image_08032025_20_40_55_9941.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1342000076","1341999948","1341999974","1342000042","1342000015","1341999902"],"photo_ids_order":["1341999902","1341999948","1341999974","1342000015","1342000042","1342000076"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/a300bb74e5ced7098e801dbd96d17de2.jpg","text":"TemporaryFile(/tmp/multipartBody7068968426609508667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741462983096,"filename":"image_08032025_20_40_55_9941.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/db009549e574cf54fef9cc02808dc859.jpg","text":"TemporaryFile(/tmp/multipartBody259101613197675584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741462983096,"filename":"image_08032025_20_41_36_10927.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/67aa531e2356b2ba5f09100285a4cabd.jpg","text":"TemporaryFile(/tmp/multipartBody3175191447005914749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741462983096,"filename":"image_08032025_20_41_25_9915.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/168ca0dcd5b4cb7777a6d2e4dd209406.jpg","text":"TemporaryFile(/tmp/multipartBody7110008561062911631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741462983096,"filename":"image_08032025_20_41_05_9927.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/130d51e3ec67cfaf7e0e37d7995f0028.jpg","text":"TemporaryFile(/tmp/multipartBody415153340472589215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741462983096,"filename":"image_08032025_20_41_15_9915.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/a2247d23ef05f8754fecdac630aa84af.jpg","text":"TemporaryFile(/tmp/multipartBody1131767739426771712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741462983096,"filename":"image_08032025_20_41_45_9917.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1341999974","file1":"1341999948","file0":"1341999902","file4":"1342000042","file5":"1342000076","file3":"1342000015"},"map_files_photo_id_array":[{"photo_id":"1342000076","filename":"file5"},{"photo_id":"1341999974","filename":"file2"},{"photo_id":"1342000042","filename":"file4"},{"photo_id":"1341999948","filename":"file1"},{"photo_id":"1341999902","filename":"file0"},{"photo_id":"1342000015","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1342000076":["hashtag1","hashtag2"]},{"1341999948":["hashtag1","hashtag2"]},{"1341999974":["hashtag1","hashtag2"]},{"1342000042":["hashtag1","hashtag2"]},{"1342000015":["hashtag1","hashtag2"]},{"1341999902":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1342000076, 1341999948, 1341999974, 1342000042, 1342000015, 1341999902)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.691051721572876 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 20:43:02.780102
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/20/42/image_08032025_20_42_45_9920.jpg', 2), ('/home/nano/Desktop/images/08032025/20/42/image_08032025_20_42_35_9920.jpg', 2), ('/home/nano/Desktop/images/08032025/20/42/image_08032025_20_42_25_9919.jpg', 2), ('/home/nano/Desktop/images/08032025/20/42/image_08032025_20_42_15_9918.jpg', 2), ('/home/nano/Desktop/images/08032025/20/41/image_08032025_20_42_05_9949.jpg', 2), ('/home/nano/Desktop/images/08032025/20/41/image_08032025_20_41_55_9922.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/20/42/image_08032025_20_42_45_9920.jpg', '/home/nano/Desktop/images/08032025/20/42/image_08032025_20_42_35_9920.jpg', '/home/nano/Desktop/images/08032025/20/42/image_08032025_20_42_25_9919.jpg', '/home/nano/Desktop/images/08032025/20/42/image_08032025_20_42_15_9918.jpg', '/home/nano/Desktop/images/08032025/20/41/image_08032025_20_42_05_9949.jpg', '/home/nano/Desktop/images/08032025/20/41/image_08032025_20_41_55_9922.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/20/42/image_08032025_20_42_45_9920.jpg
/home/nano/Desktop/images/08032025/20/42/image_08032025_20_42_35_9920.jpg
/home/nano/Desktop/images/08032025/20/42/image_08032025_20_42_25_9919.jpg
/home/nano/Desktop/images/08032025/20/42/image_08032025_20_42_15_9918.jpg
/home/nano/Desktop/images/08032025/20/41/image_08032025_20_42_05_9949.jpg
/home/nano/Desktop/images/08032025/20/41/image_08032025_20_41_55_9922.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1342000301","1342000360","1342000336","1342000339","1342000324","1342000333"],"photo_ids_order":["1342000301","1342000324","1342000333","1342000336","1342000339","1342000360"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/9da6d80ad6cd8e74e8774da346d37fdf.jpg","text":"TemporaryFile(/tmp/multipartBody8130523844960606646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741463043255,"filename":"image_08032025_20_42_45_9920.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/a07f2cedaa1159e2ef381d40cbe0d4db.jpg","text":"TemporaryFile(/tmp/multipartBody5304455412684309360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741463043255,"filename":"image_08032025_20_41_55_9922.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/b725794882871e00f97e2746d330f598.jpg","text":"TemporaryFile(/tmp/multipartBody2975490583437853620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741463043255,"filename":"image_08032025_20_42_15_9918.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/645a1130bbf8ca3d80e15d7c606a4540.jpg","text":"TemporaryFile(/tmp/multipartBody4793267787272503332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741463043255,"filename":"image_08032025_20_42_05_9949.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/9f7253d9c4f9a6485b8f15723d9fdfd0.jpg","text":"TemporaryFile(/tmp/multipartBody1917786747692408128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741463043255,"filename":"image_08032025_20_42_35_9920.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/e841b1afad022f6e968b3fb59b809736.jpg","text":"TemporaryFile(/tmp/multipartBody6461013172455775457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741463043255,"filename":"image_08032025_20_42_25_9919.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1342000333","file1":"1342000324","file0":"1342000301","file4":"1342000339","file5":"1342000360","file3":"1342000336"},"map_files_photo_id_array":[{"photo_id":"1342000360","filename":"file5"},{"photo_id":"1342000333","filename":"file2"},{"photo_id":"1342000339","filename":"file4"},{"photo_id":"1342000324","filename":"file1"},{"photo_id":"1342000301","filename":"file0"},{"photo_id":"1342000336","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1342000301":["hashtag1","hashtag2"]},{"1342000360":["hashtag1","hashtag2"]},{"1342000336":["hashtag1","hashtag2"]},{"1342000339":["hashtag1","hashtag2"]},{"1342000324":["hashtag1","hashtag2"]},{"1342000333":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1342000301, 1342000360, 1342000336, 1342000339, 1342000324, 1342000333)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.75047159194946 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 20:44:03.358112
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/20/43/image_08032025_20_43_46_10932.jpg', 2), ('/home/nano/Desktop/images/08032025/20/43/image_08032025_20_43_35_9921.jpg', 2), ('/home/nano/Desktop/images/08032025/20/43/image_08032025_20_43_25_9920.jpg', 2), ('/home/nano/Desktop/images/08032025/20/43/image_08032025_20_43_15_9933.jpg', 2), ('/home/nano/Desktop/images/08032025/20/42/image_08032025_20_43_05_9927.jpg', 2), ('/home/nano/Desktop/images/08032025/20/42/image_08032025_20_42_55_9922.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/20/43/image_08032025_20_43_46_10932.jpg', '/home/nano/Desktop/images/08032025/20/43/image_08032025_20_43_35_9921.jpg', '/home/nano/Desktop/images/08032025/20/43/image_08032025_20_43_25_9920.jpg', '/home/nano/Desktop/images/08032025/20/43/image_08032025_20_43_15_9933.jpg', '/home/nano/Desktop/images/08032025/20/42/image_08032025_20_43_05_9927.jpg', '/home/nano/Desktop/images/08032025/20/42/image_08032025_20_42_55_9922.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/20/43/image_08032025_20_43_46_10932.jpg
/home/nano/Desktop/images/08032025/20/43/image_08032025_20_43_35_9921.jpg
/home/nano/Desktop/images/08032025/20/43/image_08032025_20_43_25_9920.jpg
/home/nano/Desktop/images/08032025/20/43/image_08032025_20_43_15_9933.jpg
/home/nano/Desktop/images/08032025/20/42/image_08032025_20_43_05_9927.jpg
/home/nano/Desktop/images/08032025/20/42/image_08032025_20_42_55_9922.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1342000443","1342000437","1342000422","1342000425","1342000433","1342000420"],"photo_ids_order":["1342000420","1342000422","1342000425","1342000433","1342000437","1342000443"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/f9240bac77db28c0e370994a38d441f4.jpg","text":"TemporaryFile(/tmp/multipartBody7594045072626882944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741463103789,"filename":"image_08032025_20_42_55_9922.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/cdbf1b2a44cfbef48c57c3f1fc887a41.jpg","text":"TemporaryFile(/tmp/multipartBody1141248834979845336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741463103789,"filename":"image_08032025_20_43_05_9927.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/cac072ad9374590cc42ca2deff335eb9.jpg","text":"TemporaryFile(/tmp/multipartBody5447334062067822895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741463103789,"filename":"image_08032025_20_43_35_9921.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/d55c3bc9ea40eb826b313d8896c1ed74.jpg","text":"TemporaryFile(/tmp/multipartBody3150341794160878244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741463103789,"filename":"image_08032025_20_43_25_9920.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/5c9e520f961ac977467d48cff3f875b3.jpg","text":"TemporaryFile(/tmp/multipartBody8284809618020685710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741463103789,"filename":"image_08032025_20_43_15_9933.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/133a966f25087fb316561d91a80dacfe.jpg","text":"TemporaryFile(/tmp/multipartBody7052108029855755973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741463103789,"filename":"image_08032025_20_43_46_10932.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1342000425","file1":"1342000422","file0":"1342000420","file4":"1342000437","file5":"1342000443","file3":"1342000433"},"map_files_photo_id_array":[{"photo_id":"1342000443","filename":"file5"},{"photo_id":"1342000425","filename":"file2"},{"photo_id":"1342000437","filename":"file4"},{"photo_id":"1342000422","filename":"file1"},{"photo_id":"1342000420","filename":"file0"},{"photo_id":"1342000433","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1342000443":["hashtag1","hashtag2"]},{"1342000437":["hashtag1","hashtag2"]},{"1342000422":["hashtag1","hashtag2"]},{"1342000425":["hashtag1","hashtag2"]},{"1342000433":["hashtag1","hashtag2"]},{"1342000420":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1342000443, 1342000437, 1342000422, 1342000425, 1342000433, 1342000420)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.014297008514404 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 20:45:03.013967
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/20/44/image_08032025_20_44_45_9922.jpg', 2), ('/home/nano/Desktop/images/08032025/20/44/image_08032025_20_44_35_9923.jpg', 2), ('/home/nano/Desktop/images/08032025/20/44/image_08032025_20_44_25_9924.jpg', 2), ('/home/nano/Desktop/images/08032025/20/44/image_08032025_20_44_15_9942.jpg', 2), ('/home/nano/Desktop/images/08032025/20/43/image_08032025_20_44_05_9939.jpg', 2), ('/home/nano/Desktop/images/08032025/20/43/image_08032025_20_43_55_9920.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/20/44/image_08032025_20_44_45_9922.jpg', '/home/nano/Desktop/images/08032025/20/44/image_08032025_20_44_35_9923.jpg', '/home/nano/Desktop/images/08032025/20/44/image_08032025_20_44_25_9924.jpg', '/home/nano/Desktop/images/08032025/20/44/image_08032025_20_44_15_9942.jpg', '/home/nano/Desktop/images/08032025/20/43/image_08032025_20_44_05_9939.jpg', '/home/nano/Desktop/images/08032025/20/43/image_08032025_20_43_55_9920.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/20/44/image_08032025_20_44_45_9922.jpg
/home/nano/Desktop/images/08032025/20/44/image_08032025_20_44_35_9923.jpg
/home/nano/Desktop/images/08032025/20/44/image_08032025_20_44_25_9924.jpg
/home/nano/Desktop/images/08032025/20/44/image_08032025_20_44_15_9942.jpg
/home/nano/Desktop/images/08032025/20/43/image_08032025_20_44_05_9939.jpg
/home/nano/Desktop/images/08032025/20/43/image_08032025_20_43_55_9920.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1342000536","1342000580","1342000613","1342000582","1342000576","1342000584"],"photo_ids_order":["1342000536","1342000576","1342000580","1342000582","1342000584","1342000613"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/3e7d21f098c973a013798ba95f89d652.jpg","text":"TemporaryFile(/tmp/multipartBody185434086321012986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741463163469,"filename":"image_08032025_20_44_45_9922.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/24119baa046a4005346dd9f1bd1ff1de.jpg","text":"TemporaryFile(/tmp/multipartBody4800101959418797599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741463163469,"filename":"image_08032025_20_44_25_9924.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/32eda5341d1d934069ce532fca2cbb4d.jpg","text":"TemporaryFile(/tmp/multipartBody9092623884215536138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741463163469,"filename":"image_08032025_20_43_55_9920.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/2d0d3df9f92317b9279f88ebf5370950.jpg","text":"TemporaryFile(/tmp/multipartBody4949888972529503818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741463163469,"filename":"image_08032025_20_44_15_9942.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/99d31ccca4cb88d50275fd14f9db8874.jpg","text":"TemporaryFile(/tmp/multipartBody2215170617065251793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741463163469,"filename":"image_08032025_20_44_35_9923.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/dc8b524c162c739ce64e2fc04a41b4dc.jpg","text":"TemporaryFile(/tmp/multipartBody6689376934634348904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741463163469,"filename":"image_08032025_20_44_05_9939.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1342000580","file1":"1342000576","file0":"1342000536","file4":"1342000584","file5":"1342000613","file3":"1342000582"},"map_files_photo_id_array":[{"photo_id":"1342000613","filename":"file5"},{"photo_id":"1342000580","filename":"file2"},{"photo_id":"1342000584","filename":"file4"},{"photo_id":"1342000576","filename":"file1"},{"photo_id":"1342000536","filename":"file0"},{"photo_id":"1342000582","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1342000536":["hashtag1","hashtag2"]},{"1342000580":["hashtag1","hashtag2"]},{"1342000613":["hashtag1","hashtag2"]},{"1342000582":["hashtag1","hashtag2"]},{"1342000576":["hashtag1","hashtag2"]},{"1342000584":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1342000536, 1342000580, 1342000613, 1342000582, 1342000576, 1342000584)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.61143445968628 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 20:46:03.197753
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/20/45/image_08032025_20_45_45_9923.jpg', 2), ('/home/nano/Desktop/images/08032025/20/45/image_08032025_20_45_35_9920.jpg', 2), ('/home/nano/Desktop/images/08032025/20/45/image_08032025_20_45_25_9920.jpg', 2), ('/home/nano/Desktop/images/08032025/20/45/image_08032025_20_45_15_9922.jpg', 2), ('/home/nano/Desktop/images/08032025/20/44/image_08032025_20_45_05_9940.jpg', 2), ('/home/nano/Desktop/images/08032025/20/44/image_08032025_20_44_55_9923.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/20/45/image_08032025_20_45_45_9923.jpg', '/home/nano/Desktop/images/08032025/20/45/image_08032025_20_45_35_9920.jpg', '/home/nano/Desktop/images/08032025/20/45/image_08032025_20_45_25_9920.jpg', '/home/nano/Desktop/images/08032025/20/45/image_08032025_20_45_15_9922.jpg', '/home/nano/Desktop/images/08032025/20/44/image_08032025_20_45_05_9940.jpg', '/home/nano/Desktop/images/08032025/20/44/image_08032025_20_44_55_9923.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/20/45/image_08032025_20_45_45_9923.jpg
/home/nano/Desktop/images/08032025/20/45/image_08032025_20_45_35_9920.jpg
/home/nano/Desktop/images/08032025/20/45/image_08032025_20_45_25_9920.jpg
/home/nano/Desktop/images/08032025/20/45/image_08032025_20_45_15_9922.jpg
/home/nano/Desktop/images/08032025/20/44/image_08032025_20_45_05_9940.jpg
/home/nano/Desktop/images/08032025/20/44/image_08032025_20_44_55_9923.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1342000983","1342000977","1342000917","1342000987","1342000975","1342000980"],"photo_ids_order":["1342000917","1342000975","1342000977","1342000980","1342000983","1342000987"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/8361197ceec0f8ab56b5a5cbca616965.jpg","text":"TemporaryFile(/tmp/multipartBody5249333325901301179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741463223615,"filename":"image_08032025_20_45_05_9940.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/2a43be55ec2403a68b8573805977381c.jpg","text":"TemporaryFile(/tmp/multipartBody1678218555263383171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741463223615,"filename":"image_08032025_20_45_25_9920.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/57f4fed4c3390cf8461b8d8e550eb710.jpg","text":"TemporaryFile(/tmp/multipartBody3517389307088047301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741463223615,"filename":"image_08032025_20_45_45_9923.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/4fbb535ba11c1b571b0aada64d8334f2.jpg","text":"TemporaryFile(/tmp/multipartBody9056807240265854251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741463223615,"filename":"image_08032025_20_44_55_9923.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/8b5b88741be9dffe8235b17b5792764a.jpg","text":"TemporaryFile(/tmp/multipartBody4463886040978581077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741463223615,"filename":"image_08032025_20_45_35_9920.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/176249963daf1a4b89b09774d1a4fbaf.jpg","text":"TemporaryFile(/tmp/multipartBody8631811387254843712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741463223615,"filename":"image_08032025_20_45_15_9922.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1342000977","file1":"1342000975","file0":"1342000917","file4":"1342000983","file5":"1342000987","file3":"1342000980"},"map_files_photo_id_array":[{"photo_id":"1342000987","filename":"file5"},{"photo_id":"1342000977","filename":"file2"},{"photo_id":"1342000983","filename":"file4"},{"photo_id":"1342000975","filename":"file1"},{"photo_id":"1342000917","filename":"file0"},{"photo_id":"1342000980","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1342000983":["hashtag1","hashtag2"]},{"1342000977":["hashtag1","hashtag2"]},{"1342000917":["hashtag1","hashtag2"]},{"1342000987":["hashtag1","hashtag2"]},{"1342000975":["hashtag1","hashtag2"]},{"1342000980":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1342000983, 1342000977, 1342000917, 1342000987, 1342000975, 1342000980)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.052244424819946 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 20:47:03.303389
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/20/47/image_08032025_20_47_45_9921.jpg', 2), ('/home/nano/Desktop/images/08032025/20/46/image_08032025_20_46_45_9946.jpg', 2), ('/home/nano/Desktop/images/08032025/20/46/image_08032025_20_46_35_9921.jpg', 2), ('/home/nano/Desktop/images/08032025/20/46/image_08032025_20_46_25_9925.jpg', 2), ('/home/nano/Desktop/images/08032025/20/46/image_08032025_20_46_15_9920.jpg', 2), ('/home/nano/Desktop/images/08032025/20/45/image_08032025_20_46_06_10952.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/20/47/image_08032025_20_47_45_9921.jpg', '/home/nano/Desktop/images/08032025/20/46/image_08032025_20_46_45_9946.jpg', '/home/nano/Desktop/images/08032025/20/46/image_08032025_20_46_35_9921.jpg', '/home/nano/Desktop/images/08032025/20/46/image_08032025_20_46_25_9925.jpg', '/home/nano/Desktop/images/08032025/20/46/image_08032025_20_46_15_9920.jpg', '/home/nano/Desktop/images/08032025/20/45/image_08032025_20_46_06_10952.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/20/47/image_08032025_20_47_45_9921.jpg
/home/nano/Desktop/images/08032025/20/46/image_08032025_20_46_45_9946.jpg
/home/nano/Desktop/images/08032025/20/46/image_08032025_20_46_35_9921.jpg
/home/nano/Desktop/images/08032025/20/46/image_08032025_20_46_25_9925.jpg
/home/nano/Desktop/images/08032025/20/46/image_08032025_20_46_15_9920.jpg
/home/nano/Desktop/images/08032025/20/45/image_08032025_20_46_06_10952.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1342001004","1342001007","1342001009","1342001012","1342001005","1342001002"],"photo_ids_order":["1342001002","1342001004","1342001005","1342001007","1342001009","1342001012"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/16ecc080b00953284d592f9c90c7551b.jpg","text":"TemporaryFile(/tmp/multipartBody2361571857011060405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741463283735,"filename":"image_08032025_20_46_45_9946.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/43d21b79e65d695d836986f53baddf3c.jpg","text":"TemporaryFile(/tmp/multipartBody3532669179241958915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741463283735,"filename":"image_08032025_20_46_25_9925.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/e66c04ace67baed92d0df1c1a040e9ea.jpg","text":"TemporaryFile(/tmp/multipartBody2420050373900446107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741463283735,"filename":"image_08032025_20_46_15_9920.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/640e9a48d28bdc05edb39ce4db4674cf.jpg","text":"TemporaryFile(/tmp/multipartBody6819228881461423867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741463283735,"filename":"image_08032025_20_46_06_10952.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/52437ce5ac7c54edba07ac3637752585.jpg","text":"TemporaryFile(/tmp/multipartBody4951302784840923158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741463283735,"filename":"image_08032025_20_46_35_9921.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/58fe242a3d688e4266c23dff14742b40.jpg","text":"TemporaryFile(/tmp/multipartBody3517319628508262631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741463283735,"filename":"image_08032025_20_47_45_9921.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1342001005","file1":"1342001004","file0":"1342001002","file4":"1342001009","file5":"1342001012","file3":"1342001007"},"map_files_photo_id_array":[{"photo_id":"1342001012","filename":"file5"},{"photo_id":"1342001005","filename":"file2"},{"photo_id":"1342001009","filename":"file4"},{"photo_id":"1342001004","filename":"file1"},{"photo_id":"1342001002","filename":"file0"},{"photo_id":"1342001007","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1342001004":["hashtag1","hashtag2"]},{"1342001007":["hashtag1","hashtag2"]},{"1342001009":["hashtag1","hashtag2"]},{"1342001012":["hashtag1","hashtag2"]},{"1342001005":["hashtag1","hashtag2"]},{"1342001002":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1342001004, 1342001007, 1342001009, 1342001012, 1342001005, 1342001002)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.944522619247437 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 20:48:03.436829
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/20/47/image_08032025_20_47_35_9922.jpg', 2), ('/home/nano/Desktop/images/08032025/20/47/image_08032025_20_47_25_9912.jpg', 2), ('/home/nano/Desktop/images/08032025/20/47/image_08032025_20_47_15_9920.jpg', 2), ('/home/nano/Desktop/images/08032025/20/46/image_08032025_20_47_05_9930.jpg', 2), ('/home/nano/Desktop/images/08032025/20/46/image_08032025_20_46_55_9921.jpg', 2), ('/home/nano/Desktop/images/08032025/20/45/image_08032025_20_45_55_9915.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/20/47/image_08032025_20_47_35_9922.jpg', '/home/nano/Desktop/images/08032025/20/47/image_08032025_20_47_25_9912.jpg', '/home/nano/Desktop/images/08032025/20/47/image_08032025_20_47_15_9920.jpg', '/home/nano/Desktop/images/08032025/20/46/image_08032025_20_47_05_9930.jpg', '/home/nano/Desktop/images/08032025/20/46/image_08032025_20_46_55_9921.jpg', '/home/nano/Desktop/images/08032025/20/45/image_08032025_20_45_55_9915.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/20/47/image_08032025_20_47_35_9922.jpg
/home/nano/Desktop/images/08032025/20/47/image_08032025_20_47_25_9912.jpg
/home/nano/Desktop/images/08032025/20/47/image_08032025_20_47_15_9920.jpg
/home/nano/Desktop/images/08032025/20/46/image_08032025_20_47_05_9930.jpg
/home/nano/Desktop/images/08032025/20/46/image_08032025_20_46_55_9921.jpg
/home/nano/Desktop/images/08032025/20/45/image_08032025_20_45_55_9915.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1342001054","1342001056","1342001050","1342001052","1342001061","1342001058"],"photo_ids_order":["1342001050","1342001052","1342001054","1342001056","1342001058","1342001061"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/50b2c0da343f4c2f8d732b0f3f74011a.jpg","text":"TemporaryFile(/tmp/multipartBody4704915433638729837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741463343873,"filename":"image_08032025_20_47_15_9920.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/4e86a1606b51234f0afb24d46deca9c9.jpg","text":"TemporaryFile(/tmp/multipartBody974228739328622493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741463343873,"filename":"image_08032025_20_47_05_9930.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/fc07f6348827b31cc53710f69b47c9b8.jpg","text":"TemporaryFile(/tmp/multipartBody8927816503424719456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741463343873,"filename":"image_08032025_20_47_35_9922.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/277441cbb1a6ef31d002e2eb5fb09c2e.jpg","text":"TemporaryFile(/tmp/multipartBody7324887113936754072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741463343873,"filename":"image_08032025_20_47_25_9912.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/4828f0c956e93287be34cc825b7d496b.jpg","text":"TemporaryFile(/tmp/multipartBody6111750687889161032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741463343873,"filename":"image_08032025_20_45_55_9915.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/eb6c6b6fe0990dc451674ac32721f94c.jpg","text":"TemporaryFile(/tmp/multipartBody6939835636416543406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741463343873,"filename":"image_08032025_20_46_55_9921.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1342001054","file1":"1342001052","file0":"1342001050","file4":"1342001058","file5":"1342001061","file3":"1342001056"},"map_files_photo_id_array":[{"photo_id":"1342001061","filename":"file5"},{"photo_id":"1342001054","filename":"file2"},{"photo_id":"1342001058","filename":"file4"},{"photo_id":"1342001052","filename":"file1"},{"photo_id":"1342001050","filename":"file0"},{"photo_id":"1342001056","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1342001054":["hashtag1","hashtag2"]},{"1342001056":["hashtag1","hashtag2"]},{"1342001050":["hashtag1","hashtag2"]},{"1342001052":["hashtag1","hashtag2"]},{"1342001061":["hashtag1","hashtag2"]},{"1342001058":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1342001054, 1342001056, 1342001050, 1342001052, 1342001061, 1342001058)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.25963282585144 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 20:49:02.653461
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/20/48/image_08032025_20_48_45_9935.jpg', 2), ('/home/nano/Desktop/images/08032025/20/48/image_08032025_20_48_35_9920.jpg', 2), ('/home/nano/Desktop/images/08032025/20/48/image_08032025_20_48_26_9920.jpg', 2), ('/home/nano/Desktop/images/08032025/20/48/image_08032025_20_48_16_10933.jpg', 2), ('/home/nano/Desktop/images/08032025/20/47/image_08032025_20_48_05_9944.jpg', 2), ('/home/nano/Desktop/images/08032025/20/47/image_08032025_20_47_55_9923.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/20/48/image_08032025_20_48_45_9935.jpg', '/home/nano/Desktop/images/08032025/20/48/image_08032025_20_48_35_9920.jpg', '/home/nano/Desktop/images/08032025/20/48/image_08032025_20_48_26_9920.jpg', '/home/nano/Desktop/images/08032025/20/48/image_08032025_20_48_16_10933.jpg', '/home/nano/Desktop/images/08032025/20/47/image_08032025_20_48_05_9944.jpg', '/home/nano/Desktop/images/08032025/20/47/image_08032025_20_47_55_9923.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/20/48/image_08032025_20_48_45_9935.jpg
/home/nano/Desktop/images/08032025/20/48/image_08032025_20_48_35_9920.jpg
/home/nano/Desktop/images/08032025/20/48/image_08032025_20_48_26_9920.jpg
/home/nano/Desktop/images/08032025/20/48/image_08032025_20_48_16_10933.jpg
/home/nano/Desktop/images/08032025/20/47/image_08032025_20_48_05_9944.jpg
/home/nano/Desktop/images/08032025/20/47/image_08032025_20_47_55_9923.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1342001372","1342001621","1342001450","1342001504","1342001545","1342001313"],"photo_ids_order":["1342001313","1342001372","1342001450","1342001504","1342001545","1342001621"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/9d230d336aba4edbd4da8a8b62342b0e.jpg","text":"TemporaryFile(/tmp/multipartBody1327278903242553945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741463403242,"filename":"image_08032025_20_48_35_9920.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/7e5ff7cc0fc69c29f66b872d13292fe9.jpg","text":"TemporaryFile(/tmp/multipartBody1471011493650383673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741463403242,"filename":"image_08032025_20_47_55_9923.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/b99093d3bb01e731eb050a2147628e43.jpg","text":"TemporaryFile(/tmp/multipartBody7620247337354618069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741463403242,"filename":"image_08032025_20_48_26_9920.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/73d52e320e7bfa142952cd4e8e64713e.jpg","text":"TemporaryFile(/tmp/multipartBody2323325595035874304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741463403242,"filename":"image_08032025_20_48_16_10933.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/ddb3b845c834270b0d05477dea246511.jpg","text":"TemporaryFile(/tmp/multipartBody6202006249782404819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741463403242,"filename":"image_08032025_20_48_05_9944.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/68d200377b4f9b3ea401b8ea7402b342.jpg","text":"TemporaryFile(/tmp/multipartBody1460012869906141941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741463403242,"filename":"image_08032025_20_48_45_9935.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1342001450","file1":"1342001372","file0":"1342001313","file4":"1342001545","file5":"1342001621","file3":"1342001504"},"map_files_photo_id_array":[{"photo_id":"1342001621","filename":"file5"},{"photo_id":"1342001450","filename":"file2"},{"photo_id":"1342001545","filename":"file4"},{"photo_id":"1342001372","filename":"file1"},{"photo_id":"1342001313","filename":"file0"},{"photo_id":"1342001504","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1342001372":["hashtag1","hashtag2"]},{"1342001621":["hashtag1","hashtag2"]},{"1342001450":["hashtag1","hashtag2"]},{"1342001504":["hashtag1","hashtag2"]},{"1342001545":["hashtag1","hashtag2"]},{"1342001313":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1342001372, 1342001621, 1342001450, 1342001504, 1342001545, 1342001313)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.518314838409424 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 20:50:02.547305
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/20/49/image_08032025_20_49_45_9924.jpg', 2), ('/home/nano/Desktop/images/08032025/20/49/image_08032025_20_49_35_9920.jpg', 2), ('/home/nano/Desktop/images/08032025/20/49/image_08032025_20_49_25_9919.jpg', 2), ('/home/nano/Desktop/images/08032025/20/49/image_08032025_20_49_15_9917.jpg', 2), ('/home/nano/Desktop/images/08032025/20/48/image_08032025_20_49_05_9927.jpg', 2), ('/home/nano/Desktop/images/08032025/20/48/image_08032025_20_48_55_9918.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/20/49/image_08032025_20_49_45_9924.jpg', '/home/nano/Desktop/images/08032025/20/49/image_08032025_20_49_35_9920.jpg', '/home/nano/Desktop/images/08032025/20/49/image_08032025_20_49_25_9919.jpg', '/home/nano/Desktop/images/08032025/20/49/image_08032025_20_49_15_9917.jpg', '/home/nano/Desktop/images/08032025/20/48/image_08032025_20_49_05_9927.jpg', '/home/nano/Desktop/images/08032025/20/48/image_08032025_20_48_55_9918.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/20/49/image_08032025_20_49_45_9924.jpg
/home/nano/Desktop/images/08032025/20/49/image_08032025_20_49_35_9920.jpg
/home/nano/Desktop/images/08032025/20/49/image_08032025_20_49_25_9919.jpg
/home/nano/Desktop/images/08032025/20/49/image_08032025_20_49_15_9917.jpg
/home/nano/Desktop/images/08032025/20/48/image_08032025_20_49_05_9927.jpg
/home/nano/Desktop/images/08032025/20/48/image_08032025_20_48_55_9918.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1342001904","1342002134","1342002079","1342002166","1342002039","1342001988"],"photo_ids_order":["1342001904","1342001988","1342002039","1342002079","1342002134","1342002166"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/9c68f2dd00a4cde685a9004977dcf62e.jpg","text":"TemporaryFile(/tmp/multipartBody7151906105215135478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741463463061,"filename":"image_08032025_20_49_45_9924.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/fbd887daf30c8814075c70418a8cb79c.jpg","text":"TemporaryFile(/tmp/multipartBody2100187377670755957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741463463061,"filename":"image_08032025_20_49_05_9927.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/a2a60e0879476d1b2a32ece8def58658.jpg","text":"TemporaryFile(/tmp/multipartBody1785356559668663031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741463463061,"filename":"image_08032025_20_49_15_9917.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/85ddd44c7c598d871c8903bc6f0aed80.jpg","text":"TemporaryFile(/tmp/multipartBody8169024725209578895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741463463061,"filename":"image_08032025_20_48_55_9918.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/789c9c77514fa7d50a8b1616a6596739.jpg","text":"TemporaryFile(/tmp/multipartBody1319457783009846127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741463463061,"filename":"image_08032025_20_49_25_9919.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/b2de8b3d55a455f81f34b5b621948f09.jpg","text":"TemporaryFile(/tmp/multipartBody8494807568294448363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741463463061,"filename":"image_08032025_20_49_35_9920.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1342002039","file1":"1342001988","file0":"1342001904","file4":"1342002134","file5":"1342002166","file3":"1342002079"},"map_files_photo_id_array":[{"photo_id":"1342002166","filename":"file5"},{"photo_id":"1342002039","filename":"file2"},{"photo_id":"1342002134","filename":"file4"},{"photo_id":"1342001988","filename":"file1"},{"photo_id":"1342001904","filename":"file0"},{"photo_id":"1342002079","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1342001904":["hashtag1","hashtag2"]},{"1342002134":["hashtag1","hashtag2"]},{"1342002079":["hashtag1","hashtag2"]},{"1342002166":["hashtag1","hashtag2"]},{"1342002039":["hashtag1","hashtag2"]},{"1342001988":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1342001904, 1342002134, 1342002079, 1342002166, 1342002039, 1342001988)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 50.56047511100769 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 20:51:02.644721
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/20/50/image_08032025_20_50_45_9935.jpg', 2), ('/home/nano/Desktop/images/08032025/20/50/image_08032025_20_50_36_10931.jpg', 2), ('/home/nano/Desktop/images/08032025/20/50/image_08032025_20_50_25_9923.jpg', 2), ('/home/nano/Desktop/images/08032025/20/50/image_08032025_20_50_15_9926.jpg', 2), ('/home/nano/Desktop/images/08032025/20/49/image_08032025_20_50_05_9929.jpg', 2), ('/home/nano/Desktop/images/08032025/20/49/image_08032025_20_49_55_9921.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/20/50/image_08032025_20_50_45_9935.jpg', '/home/nano/Desktop/images/08032025/20/50/image_08032025_20_50_36_10931.jpg', '/home/nano/Desktop/images/08032025/20/50/image_08032025_20_50_25_9923.jpg', '/home/nano/Desktop/images/08032025/20/50/image_08032025_20_50_15_9926.jpg', '/home/nano/Desktop/images/08032025/20/49/image_08032025_20_50_05_9929.jpg', '/home/nano/Desktop/images/08032025/20/49/image_08032025_20_49_55_9921.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/20/50/image_08032025_20_50_45_9935.jpg
/home/nano/Desktop/images/08032025/20/50/image_08032025_20_50_36_10931.jpg
/home/nano/Desktop/images/08032025/20/50/image_08032025_20_50_25_9923.jpg
/home/nano/Desktop/images/08032025/20/50/image_08032025_20_50_15_9926.jpg
/home/nano/Desktop/images/08032025/20/49/image_08032025_20_50_05_9929.jpg
/home/nano/Desktop/images/08032025/20/49/image_08032025_20_49_55_9921.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.49623560905456543 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 marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 20:51:32.082891
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/20/51/image_08032025_20_51_45_9921.jpg', 2), ('/home/nano/Desktop/images/08032025/20/51/image_08032025_20_51_35_9921.jpg', 2), ('/home/nano/Desktop/images/08032025/20/51/image_08032025_20_51_25_9938.jpg', 2), ('/home/nano/Desktop/images/08032025/20/51/image_08032025_20_51_15_9916.jpg', 2), ('/home/nano/Desktop/images/08032025/20/50/image_08032025_20_51_05_9927.jpg', 2), ('/home/nano/Desktop/images/08032025/20/50/image_08032025_20_50_55_9918.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/20/51/image_08032025_20_51_45_9921.jpg', '/home/nano/Desktop/images/08032025/20/51/image_08032025_20_51_35_9921.jpg', '/home/nano/Desktop/images/08032025/20/51/image_08032025_20_51_25_9938.jpg', '/home/nano/Desktop/images/08032025/20/51/image_08032025_20_51_15_9916.jpg', '/home/nano/Desktop/images/08032025/20/50/image_08032025_20_51_05_9927.jpg', '/home/nano/Desktop/images/08032025/20/50/image_08032025_20_50_55_9918.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/20/51/image_08032025_20_51_45_9921.jpg
/home/nano/Desktop/images/08032025/20/51/image_08032025_20_51_35_9921.jpg
/home/nano/Desktop/images/08032025/20/51/image_08032025_20_51_25_9938.jpg
/home/nano/Desktop/images/08032025/20/51/image_08032025_20_51_15_9916.jpg
/home/nano/Desktop/images/08032025/20/50/image_08032025_20_51_05_9927.jpg
/home/nano/Desktop/images/08032025/20/50/image_08032025_20_50_55_9918.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1342002626","1342002521","1342002577","1342002526","1342002727","1342002675"],"photo_ids_order":["1342002521","1342002526","1342002577","1342002626","1342002675","1342002727"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/c480430dcc24c935b47fd57a3cff3ac3.jpg","text":"TemporaryFile(/tmp/multipartBody1211333183712651374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741463552508,"filename":"image_08032025_20_51_15_9916.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/bb377f618311696322213ec024b7e5b6.jpg","text":"TemporaryFile(/tmp/multipartBody7935997336507059568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741463552508,"filename":"image_08032025_20_51_45_9921.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/2d5bc245c44f05aed3f9d2cbdb541e43.jpg","text":"TemporaryFile(/tmp/multipartBody3356269775823169103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741463552508,"filename":"image_08032025_20_51_25_9938.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/5b8723ab2d2433e1436a0ac3ced893da.jpg","text":"TemporaryFile(/tmp/multipartBody7488864605879859331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741463552508,"filename":"image_08032025_20_51_35_9921.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/0957aff8f070788e1f7cf14a29d67f9d.jpg","text":"TemporaryFile(/tmp/multipartBody4336521401128891956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741463552508,"filename":"image_08032025_20_50_55_9918.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/cabc55f3e7509a02467e0cc8f5f10475.jpg","text":"TemporaryFile(/tmp/multipartBody200001772501858814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741463552508,"filename":"image_08032025_20_51_05_9927.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1342002577","file1":"1342002526","file0":"1342002521","file4":"1342002675","file5":"1342002727","file3":"1342002626"},"map_files_photo_id_array":[{"photo_id":"1342002727","filename":"file5"},{"photo_id":"1342002577","filename":"file2"},{"photo_id":"1342002675","filename":"file4"},{"photo_id":"1342002526","filename":"file1"},{"photo_id":"1342002521","filename":"file0"},{"photo_id":"1342002626","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1342002626":["hashtag1","hashtag2"]},{"1342002521":["hashtag1","hashtag2"]},{"1342002577":["hashtag1","hashtag2"]},{"1342002526":["hashtag1","hashtag2"]},{"1342002727":["hashtag1","hashtag2"]},{"1342002675":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1342002626, 1342002521, 1342002577, 1342002526, 1342002727, 1342002675)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.98090744018555 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 20:52:32.216285
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/20/52/image_08032025_20_52_46_10935.jpg', 2), ('/home/nano/Desktop/images/08032025/20/52/image_08032025_20_52_35_9925.jpg', 2), ('/home/nano/Desktop/images/08032025/20/52/image_08032025_20_52_25_9918.jpg', 2), ('/home/nano/Desktop/images/08032025/20/52/image_08032025_20_52_15_9920.jpg', 2), ('/home/nano/Desktop/images/08032025/20/51/image_08032025_20_52_05_9922.jpg', 2), ('/home/nano/Desktop/images/08032025/20/51/image_08032025_20_51_55_9923.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/20/52/image_08032025_20_52_46_10935.jpg', '/home/nano/Desktop/images/08032025/20/52/image_08032025_20_52_35_9925.jpg', '/home/nano/Desktop/images/08032025/20/52/image_08032025_20_52_25_9918.jpg', '/home/nano/Desktop/images/08032025/20/52/image_08032025_20_52_15_9920.jpg', '/home/nano/Desktop/images/08032025/20/51/image_08032025_20_52_05_9922.jpg', '/home/nano/Desktop/images/08032025/20/51/image_08032025_20_51_55_9923.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/20/52/image_08032025_20_52_46_10935.jpg
/home/nano/Desktop/images/08032025/20/52/image_08032025_20_52_35_9925.jpg
/home/nano/Desktop/images/08032025/20/52/image_08032025_20_52_25_9918.jpg
/home/nano/Desktop/images/08032025/20/52/image_08032025_20_52_15_9920.jpg
/home/nano/Desktop/images/08032025/20/51/image_08032025_20_52_05_9922.jpg
/home/nano/Desktop/images/08032025/20/51/image_08032025_20_51_55_9923.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1342003156","1342003039","1342003179","1342002943","1342003128","1342003082"],"photo_ids_order":["1342002943","1342003039","1342003082","1342003128","1342003156","1342003179"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/9bc4960ebff6bce16421ad8f2b4dbeaf.jpg","text":"TemporaryFile(/tmp/multipartBody881996163675201900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741463612636,"filename":"image_08032025_20_52_05_9922.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/fe829d742d26da74217ad0ba331e0460.jpg","text":"TemporaryFile(/tmp/multipartBody1576894797589314654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741463612636,"filename":"image_08032025_20_52_35_9925.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/3eeb6cd015ada67413a472ef7f961529.jpg","text":"TemporaryFile(/tmp/multipartBody2857777240292141200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741463612636,"filename":"image_08032025_20_51_55_9923.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/1c75d62fc501a37104acf3c5b42e85ae.jpg","text":"TemporaryFile(/tmp/multipartBody9194030660191314664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741463612636,"filename":"image_08032025_20_52_46_10935.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/4440240b686b10cc5f482c6bd0dfe57f.jpg","text":"TemporaryFile(/tmp/multipartBody7056206478060227513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741463612636,"filename":"image_08032025_20_52_15_9920.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/ffeb95c6d8955b09316890908d55219e.jpg","text":"TemporaryFile(/tmp/multipartBody2643089844612344653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741463612636,"filename":"image_08032025_20_52_25_9918.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1342003082","file1":"1342003039","file0":"1342002943","file4":"1342003156","file5":"1342003179","file3":"1342003128"},"map_files_photo_id_array":[{"photo_id":"1342003179","filename":"file5"},{"photo_id":"1342003082","filename":"file2"},{"photo_id":"1342003156","filename":"file4"},{"photo_id":"1342003039","filename":"file1"},{"photo_id":"1342002943","filename":"file0"},{"photo_id":"1342003128","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1342003156":["hashtag1","hashtag2"]},{"1342003039":["hashtag1","hashtag2"]},{"1342003179":["hashtag1","hashtag2"]},{"1342002943":["hashtag1","hashtag2"]},{"1342003128":["hashtag1","hashtag2"]},{"1342003082":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1342003156, 1342003039, 1342003179, 1342002943, 1342003128, 1342003082)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.70107626914978 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 20:53:32.275704
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/20/53/image_08032025_20_53_45_9921.jpg', 2), ('/home/nano/Desktop/images/08032025/20/53/image_08032025_20_53_35_9926.jpg', 2), ('/home/nano/Desktop/images/08032025/20/53/image_08032025_20_53_25_9940.jpg', 2), ('/home/nano/Desktop/images/08032025/20/53/image_08032025_20_53_15_9925.jpg', 2), ('/home/nano/Desktop/images/08032025/20/52/image_08032025_20_53_05_9924.jpg', 2), ('/home/nano/Desktop/images/08032025/20/52/image_08032025_20_52_55_9924.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/20/53/image_08032025_20_53_45_9921.jpg', '/home/nano/Desktop/images/08032025/20/53/image_08032025_20_53_35_9926.jpg', '/home/nano/Desktop/images/08032025/20/53/image_08032025_20_53_25_9940.jpg', '/home/nano/Desktop/images/08032025/20/53/image_08032025_20_53_15_9925.jpg', '/home/nano/Desktop/images/08032025/20/52/image_08032025_20_53_05_9924.jpg', '/home/nano/Desktop/images/08032025/20/52/image_08032025_20_52_55_9924.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/20/53/image_08032025_20_53_45_9921.jpg
/home/nano/Desktop/images/08032025/20/53/image_08032025_20_53_35_9926.jpg
/home/nano/Desktop/images/08032025/20/53/image_08032025_20_53_25_9940.jpg
/home/nano/Desktop/images/08032025/20/53/image_08032025_20_53_15_9925.jpg
/home/nano/Desktop/images/08032025/20/52/image_08032025_20_53_05_9924.jpg
/home/nano/Desktop/images/08032025/20/52/image_08032025_20_52_55_9924.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1342003774","1342003752","1342003527","1342003461","1342003617","1342003673"],"photo_ids_order":["1342003461","1342003527","1342003617","1342003673","1342003752","1342003774"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/ebe15e16bb9560e87725e4175a5bf40c.jpg","text":"TemporaryFile(/tmp/multipartBody4884428816043805670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741463672715,"filename":"image_08032025_20_52_55_9924.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/b0f58b2dd49b2266e99b96d3ab28672c.jpg","text":"TemporaryFile(/tmp/multipartBody5804917230557929630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741463672715,"filename":"image_08032025_20_53_05_9924.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/8a1c4dea6016e4a9baa1d548c35cc69f.jpg","text":"TemporaryFile(/tmp/multipartBody4885728759281048922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741463672715,"filename":"image_08032025_20_53_35_9926.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/2534f4c60a0463661fdc7ce14dd13c35.jpg","text":"TemporaryFile(/tmp/multipartBody556139710255572928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741463672715,"filename":"image_08032025_20_53_45_9921.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/7222aeb0020226915cf1b88fcef9c4db.jpg","text":"TemporaryFile(/tmp/multipartBody7123350552410047259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741463672715,"filename":"image_08032025_20_53_25_9940.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/12d4938023354b057805df66f3aa2d8c.jpg","text":"TemporaryFile(/tmp/multipartBody7304284035037239296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741463672715,"filename":"image_08032025_20_53_15_9925.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1342003617","file1":"1342003527","file0":"1342003461","file4":"1342003752","file5":"1342003774","file3":"1342003673"},"map_files_photo_id_array":[{"photo_id":"1342003774","filename":"file5"},{"photo_id":"1342003617","filename":"file2"},{"photo_id":"1342003752","filename":"file4"},{"photo_id":"1342003527","filename":"file1"},{"photo_id":"1342003461","filename":"file0"},{"photo_id":"1342003673","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1342003774":["hashtag1","hashtag2"]},{"1342003752":["hashtag1","hashtag2"]},{"1342003527":["hashtag1","hashtag2"]},{"1342003461":["hashtag1","hashtag2"]},{"1342003617":["hashtag1","hashtag2"]},{"1342003673":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1342003774, 1342003752, 1342003527, 1342003461, 1342003617, 1342003673)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.78283619880676 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 20:54:32.421712
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/20/54/image_08032025_20_54_45_9916.jpg', 2), ('/home/nano/Desktop/images/08032025/20/54/image_08032025_20_54_35_9921.jpg', 2), ('/home/nano/Desktop/images/08032025/20/54/image_08032025_20_54_25_9919.jpg', 2), ('/home/nano/Desktop/images/08032025/20/54/image_08032025_20_54_15_9926.jpg', 2), ('/home/nano/Desktop/images/08032025/20/53/image_08032025_20_54_05_9923.jpg', 2), ('/home/nano/Desktop/images/08032025/20/53/image_08032025_20_53_55_9920.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/20/54/image_08032025_20_54_45_9916.jpg', '/home/nano/Desktop/images/08032025/20/54/image_08032025_20_54_35_9921.jpg', '/home/nano/Desktop/images/08032025/20/54/image_08032025_20_54_25_9919.jpg', '/home/nano/Desktop/images/08032025/20/54/image_08032025_20_54_15_9926.jpg', '/home/nano/Desktop/images/08032025/20/53/image_08032025_20_54_05_9923.jpg', '/home/nano/Desktop/images/08032025/20/53/image_08032025_20_53_55_9920.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/20/54/image_08032025_20_54_45_9916.jpg
/home/nano/Desktop/images/08032025/20/54/image_08032025_20_54_35_9921.jpg
/home/nano/Desktop/images/08032025/20/54/image_08032025_20_54_25_9919.jpg
/home/nano/Desktop/images/08032025/20/54/image_08032025_20_54_15_9926.jpg
/home/nano/Desktop/images/08032025/20/53/image_08032025_20_54_05_9923.jpg
/home/nano/Desktop/images/08032025/20/53/image_08032025_20_53_55_9920.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1342004155","1342004187","1342004183","1342004171","1342004216","1342004191"],"photo_ids_order":["1342004155","1342004171","1342004183","1342004187","1342004191","1342004216"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/14b8a2f117587933a59e64da3fa09519.jpg","text":"TemporaryFile(/tmp/multipartBody629730504692644140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741463732851,"filename":"image_08032025_20_54_45_9916.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/c35fbfb9c09a8fe8b715586b06565ad1.jpg","text":"TemporaryFile(/tmp/multipartBody4182587104101506540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741463732851,"filename":"image_08032025_20_54_15_9926.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/287e5c01ee71546e5f030038cef248dc.jpg","text":"TemporaryFile(/tmp/multipartBody2285252354818962520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741463732851,"filename":"image_08032025_20_54_25_9919.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/8b93728c55c69d90712028526fb0bd07.jpg","text":"TemporaryFile(/tmp/multipartBody4866168814227127654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741463732851,"filename":"image_08032025_20_54_35_9921.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/af81a6e028da0b526531f3518ac776e5.jpg","text":"TemporaryFile(/tmp/multipartBody8059539982480735256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741463732851,"filename":"image_08032025_20_53_55_9920.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/ab59c08c48befd94a1782e291de9d7c6.jpg","text":"TemporaryFile(/tmp/multipartBody5125748603528398234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741463732851,"filename":"image_08032025_20_54_05_9923.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1342004183","file1":"1342004171","file0":"1342004155","file4":"1342004191","file5":"1342004216","file3":"1342004187"},"map_files_photo_id_array":[{"photo_id":"1342004216","filename":"file5"},{"photo_id":"1342004183","filename":"file2"},{"photo_id":"1342004191","filename":"file4"},{"photo_id":"1342004171","filename":"file1"},{"photo_id":"1342004155","filename":"file0"},{"photo_id":"1342004187","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1342004155":["hashtag1","hashtag2"]},{"1342004187":["hashtag1","hashtag2"]},{"1342004183":["hashtag1","hashtag2"]},{"1342004171":["hashtag1","hashtag2"]},{"1342004216":["hashtag1","hashtag2"]},{"1342004191":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1342004155, 1342004187, 1342004183, 1342004171, 1342004216, 1342004191)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.93764543533325 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 20:55:32.533661
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/20/55/image_08032025_20_55_45_9919.jpg', 2), ('/home/nano/Desktop/images/08032025/20/55/image_08032025_20_55_35_9941.jpg', 2), ('/home/nano/Desktop/images/08032025/20/55/image_08032025_20_55_25_9916.jpg', 2), ('/home/nano/Desktop/images/08032025/20/55/image_08032025_20_55_15_9923.jpg', 2), ('/home/nano/Desktop/images/08032025/20/54/image_08032025_20_55_06_9944.jpg', 2), ('/home/nano/Desktop/images/08032025/20/54/image_08032025_20_54_56_10930.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/20/55/image_08032025_20_55_45_9919.jpg', '/home/nano/Desktop/images/08032025/20/55/image_08032025_20_55_35_9941.jpg', '/home/nano/Desktop/images/08032025/20/55/image_08032025_20_55_25_9916.jpg', '/home/nano/Desktop/images/08032025/20/55/image_08032025_20_55_15_9923.jpg', '/home/nano/Desktop/images/08032025/20/54/image_08032025_20_55_06_9944.jpg', '/home/nano/Desktop/images/08032025/20/54/image_08032025_20_54_56_10930.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/20/55/image_08032025_20_55_45_9919.jpg
/home/nano/Desktop/images/08032025/20/55/image_08032025_20_55_35_9941.jpg
/home/nano/Desktop/images/08032025/20/55/image_08032025_20_55_25_9916.jpg
/home/nano/Desktop/images/08032025/20/55/image_08032025_20_55_15_9923.jpg
/home/nano/Desktop/images/08032025/20/54/image_08032025_20_55_06_9944.jpg
/home/nano/Desktop/images/08032025/20/54/image_08032025_20_54_56_10930.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1342004332","1342004323","1342004397","1342004336","1342004327","1342004350"],"photo_ids_order":["1342004323","1342004327","1342004332","1342004336","1342004350","1342004397"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/cdde84eabd0e2a946276e1b9e34016f3.jpg","text":"TemporaryFile(/tmp/multipartBody5468654092261573768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741463792967,"filename":"image_08032025_20_55_25_9916.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/e68fa1b5aea9e9e8b79d942e67dd28d9.jpg","text":"TemporaryFile(/tmp/multipartBody7272748327775593345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741463792967,"filename":"image_08032025_20_55_45_9919.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/cb908287ca1a56236870693037606cc3.jpg","text":"TemporaryFile(/tmp/multipartBody888491360645054149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741463792967,"filename":"image_08032025_20_54_56_10930.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/ba664c85833ba871e4ea7a044b655cff.jpg","text":"TemporaryFile(/tmp/multipartBody4379592316873000584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741463792967,"filename":"image_08032025_20_55_15_9923.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/38cbcff5bc93090237f8618bcc21db4e.jpg","text":"TemporaryFile(/tmp/multipartBody5320079823048247346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741463792967,"filename":"image_08032025_20_55_35_9941.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/bd6446db1d952b7435bbd67ad58dad34.jpg","text":"TemporaryFile(/tmp/multipartBody8116491394042085739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741463792967,"filename":"image_08032025_20_55_06_9944.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1342004332","file1":"1342004327","file0":"1342004323","file4":"1342004350","file5":"1342004397","file3":"1342004336"},"map_files_photo_id_array":[{"photo_id":"1342004397","filename":"file5"},{"photo_id":"1342004332","filename":"file2"},{"photo_id":"1342004350","filename":"file4"},{"photo_id":"1342004327","filename":"file1"},{"photo_id":"1342004323","filename":"file0"},{"photo_id":"1342004336","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1342004332":["hashtag1","hashtag2"]},{"1342004323":["hashtag1","hashtag2"]},{"1342004397":["hashtag1","hashtag2"]},{"1342004336":["hashtag1","hashtag2"]},{"1342004327":["hashtag1","hashtag2"]},{"1342004350":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1342004332, 1342004323, 1342004397, 1342004336, 1342004327, 1342004350)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.75211024284363 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 20:56:32.618828
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/20/56/image_08032025_20_56_55_9920.jpg', 2), ('/home/nano/Desktop/images/08032025/20/56/image_08032025_20_56_35_9920.jpg', 2), ('/home/nano/Desktop/images/08032025/20/56/image_08032025_20_56_25_9922.jpg', 2), ('/home/nano/Desktop/images/08032025/20/56/image_08032025_20_56_15_9925.jpg', 2), ('/home/nano/Desktop/images/08032025/20/55/image_08032025_20_56_05_9929.jpg', 2), ('/home/nano/Desktop/images/08032025/20/55/image_08032025_20_55_55_9925.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/20/56/image_08032025_20_56_55_9920.jpg', '/home/nano/Desktop/images/08032025/20/56/image_08032025_20_56_35_9920.jpg', '/home/nano/Desktop/images/08032025/20/56/image_08032025_20_56_25_9922.jpg', '/home/nano/Desktop/images/08032025/20/56/image_08032025_20_56_15_9925.jpg', '/home/nano/Desktop/images/08032025/20/55/image_08032025_20_56_05_9929.jpg', '/home/nano/Desktop/images/08032025/20/55/image_08032025_20_55_55_9925.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/20/56/image_08032025_20_56_55_9920.jpg
/home/nano/Desktop/images/08032025/20/56/image_08032025_20_56_35_9920.jpg
/home/nano/Desktop/images/08032025/20/56/image_08032025_20_56_25_9922.jpg
/home/nano/Desktop/images/08032025/20/56/image_08032025_20_56_15_9925.jpg
/home/nano/Desktop/images/08032025/20/55/image_08032025_20_56_05_9929.jpg
/home/nano/Desktop/images/08032025/20/55/image_08032025_20_55_55_9925.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1342004671","1342004713","1342004586","1342004634","1342004698","1342004542"],"photo_ids_order":["1342004542","1342004586","1342004634","1342004671","1342004698","1342004713"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/ea62b7691be4b6f9e1e1348c77fadc50.jpg","text":"TemporaryFile(/tmp/multipartBody3119770186890879880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741463853058,"filename":"image_08032025_20_56_15_9925.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/9d919079c29ce1fa19aa48da6ef7be15.jpg","text":"TemporaryFile(/tmp/multipartBody6521258558494167108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741463853058,"filename":"image_08032025_20_55_55_9925.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/83b71c20992b48c36377ff7e750c4e67.jpg","text":"TemporaryFile(/tmp/multipartBody8922825506128081308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741463853058,"filename":"image_08032025_20_56_35_9920.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/67e5de048667928864d9f3ac032b0dd9.jpg","text":"TemporaryFile(/tmp/multipartBody7137804023960683128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741463853058,"filename":"image_08032025_20_56_25_9922.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/cbdfc72de8a259b271953b3ac698a6f4.jpg","text":"TemporaryFile(/tmp/multipartBody8378803685359054674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741463853058,"filename":"image_08032025_20_56_05_9929.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/2ac924d13220e6993cbf6d78246cd1dd.jpg","text":"TemporaryFile(/tmp/multipartBody386316271255899024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741463853058,"filename":"image_08032025_20_56_55_9920.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1342004634","file1":"1342004586","file0":"1342004542","file4":"1342004698","file5":"1342004713","file3":"1342004671"},"map_files_photo_id_array":[{"photo_id":"1342004713","filename":"file5"},{"photo_id":"1342004634","filename":"file2"},{"photo_id":"1342004698","filename":"file4"},{"photo_id":"1342004586","filename":"file1"},{"photo_id":"1342004542","filename":"file0"},{"photo_id":"1342004671","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1342004671":["hashtag1","hashtag2"]},{"1342004713":["hashtag1","hashtag2"]},{"1342004586":["hashtag1","hashtag2"]},{"1342004634":["hashtag1","hashtag2"]},{"1342004698":["hashtag1","hashtag2"]},{"1342004542":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1342004671, 1342004713, 1342004586, 1342004634, 1342004698, 1342004542)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.10078573226929 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 20:57:32.760238
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/20/57/image_08032025_20_57_45_9920.jpg', 2), ('/home/nano/Desktop/images/08032025/20/57/image_08032025_20_57_35_9921.jpg', 2), ('/home/nano/Desktop/images/08032025/20/57/image_08032025_20_57_25_9921.jpg', 2), ('/home/nano/Desktop/images/08032025/20/57/image_08032025_20_57_16_10939.jpg', 2), ('/home/nano/Desktop/images/08032025/20/56/image_08032025_20_57_05_9933.jpg', 2), ('/home/nano/Desktop/images/08032025/20/56/image_08032025_20_56_45_9916.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/20/57/image_08032025_20_57_45_9920.jpg', '/home/nano/Desktop/images/08032025/20/57/image_08032025_20_57_35_9921.jpg', '/home/nano/Desktop/images/08032025/20/57/image_08032025_20_57_25_9921.jpg', '/home/nano/Desktop/images/08032025/20/57/image_08032025_20_57_16_10939.jpg', '/home/nano/Desktop/images/08032025/20/56/image_08032025_20_57_05_9933.jpg', '/home/nano/Desktop/images/08032025/20/56/image_08032025_20_56_45_9916.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/20/57/image_08032025_20_57_45_9920.jpg
/home/nano/Desktop/images/08032025/20/57/image_08032025_20_57_35_9921.jpg
/home/nano/Desktop/images/08032025/20/57/image_08032025_20_57_25_9921.jpg
/home/nano/Desktop/images/08032025/20/57/image_08032025_20_57_16_10939.jpg
/home/nano/Desktop/images/08032025/20/56/image_08032025_20_57_05_9933.jpg
/home/nano/Desktop/images/08032025/20/56/image_08032025_20_56_45_9916.jpg
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 20:59:03.359842
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/20/58/image_08032025_20_58_45_9949.jpg', 2), ('/home/nano/Desktop/images/08032025/20/58/image_08032025_20_58_35_9919.jpg', 2), ('/home/nano/Desktop/images/08032025/20/58/image_08032025_20_58_25_9923.jpg', 2), ('/home/nano/Desktop/images/08032025/20/58/image_08032025_20_58_15_9926.jpg', 2), ('/home/nano/Desktop/images/08032025/20/57/image_08032025_20_58_05_9937.jpg', 2), ('/home/nano/Desktop/images/08032025/20/57/image_08032025_20_57_55_9921.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/20/58/image_08032025_20_58_45_9949.jpg', '/home/nano/Desktop/images/08032025/20/58/image_08032025_20_58_35_9919.jpg', '/home/nano/Desktop/images/08032025/20/58/image_08032025_20_58_25_9923.jpg', '/home/nano/Desktop/images/08032025/20/58/image_08032025_20_58_15_9926.jpg', '/home/nano/Desktop/images/08032025/20/57/image_08032025_20_58_05_9937.jpg', '/home/nano/Desktop/images/08032025/20/57/image_08032025_20_57_55_9921.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/20/58/image_08032025_20_58_45_9949.jpg
/home/nano/Desktop/images/08032025/20/58/image_08032025_20_58_35_9919.jpg
/home/nano/Desktop/images/08032025/20/58/image_08032025_20_58_25_9923.jpg
/home/nano/Desktop/images/08032025/20/58/image_08032025_20_58_15_9926.jpg
/home/nano/Desktop/images/08032025/20/57/image_08032025_20_58_05_9937.jpg
/home/nano/Desktop/images/08032025/20/57/image_08032025_20_57_55_9921.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1342005318","1342005398","1342005293","1342005362","1342005274","1342005340"],"photo_ids_order":["1342005274","1342005293","1342005318","1342005340","1342005362","1342005398"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/87d408019d788eeecfbde6ab55581471.jpg","text":"TemporaryFile(/tmp/multipartBody1918577711223819458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741464004151,"filename":"image_08032025_20_58_25_9923.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/58d4f6ebe5e10fc76f4e303a87d2c69f.jpg","text":"TemporaryFile(/tmp/multipartBody1424241371021914477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741464004151,"filename":"image_08032025_20_57_55_9921.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/6982ba5550ee8e53d7f53c0ad3a7462b.jpg","text":"TemporaryFile(/tmp/multipartBody1028985423927466733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741464004151,"filename":"image_08032025_20_58_35_9919.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/624949424a036aed3d463929eef029b6.jpg","text":"TemporaryFile(/tmp/multipartBody5751360606649270823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741464004151,"filename":"image_08032025_20_58_05_9937.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/dc90c3fa11c1b8d78275fb9f2d65e39d.jpg","text":"TemporaryFile(/tmp/multipartBody6376185356903003128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741464004151,"filename":"image_08032025_20_58_45_9949.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/5f37d4ec4c66cd621ffb2d126dd8e3d9.jpg","text":"TemporaryFile(/tmp/multipartBody1132901946659886308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741464004151,"filename":"image_08032025_20_58_15_9926.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1342005318","file1":"1342005293","file0":"1342005274","file4":"1342005362","file5":"1342005398","file3":"1342005340"},"map_files_photo_id_array":[{"photo_id":"1342005398","filename":"file5"},{"photo_id":"1342005318","filename":"file2"},{"photo_id":"1342005362","filename":"file4"},{"photo_id":"1342005293","filename":"file1"},{"photo_id":"1342005274","filename":"file0"},{"photo_id":"1342005340","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1342005318":["hashtag1","hashtag2"]},{"1342005398":["hashtag1","hashtag2"]},{"1342005293":["hashtag1","hashtag2"]},{"1342005362":["hashtag1","hashtag2"]},{"1342005274":["hashtag1","hashtag2"]},{"1342005340":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1342005318, 1342005398, 1342005293, 1342005362, 1342005274, 1342005340)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.5160813331604 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 21:00:03.135463
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/20/59/image_08032025_20_59_45_9929.jpg', 2), ('/home/nano/Desktop/images/08032025/20/59/image_08032025_20_59_25_9943.jpg', 2), ('/home/nano/Desktop/images/08032025/20/59/image_08032025_20_59_15_9923.jpg', 2), ('/home/nano/Desktop/images/08032025/20/58/image_08032025_20_59_05_9931.jpg', 2), ('/home/nano/Desktop/images/08032025/20/58/image_08032025_20_58_55_9925.jpg', 2), ('/home/nano/Desktop/images/08032025/20/57/image_08032025_20_57_45_9920.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/20/59/image_08032025_20_59_45_9929.jpg', '/home/nano/Desktop/images/08032025/20/59/image_08032025_20_59_25_9943.jpg', '/home/nano/Desktop/images/08032025/20/59/image_08032025_20_59_15_9923.jpg', '/home/nano/Desktop/images/08032025/20/58/image_08032025_20_59_05_9931.jpg', '/home/nano/Desktop/images/08032025/20/58/image_08032025_20_58_55_9925.jpg', '/home/nano/Desktop/images/08032025/20/57/image_08032025_20_57_45_9920.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/20/59/image_08032025_20_59_45_9929.jpg
/home/nano/Desktop/images/08032025/20/59/image_08032025_20_59_25_9943.jpg
/home/nano/Desktop/images/08032025/20/59/image_08032025_20_59_15_9923.jpg
/home/nano/Desktop/images/08032025/20/58/image_08032025_20_59_05_9931.jpg
/home/nano/Desktop/images/08032025/20/58/image_08032025_20_58_55_9925.jpg
/home/nano/Desktop/images/08032025/20/57/image_08032025_20_57_45_9920.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1342005633","1342005621","1342005618","1342005587","1342005626","1342005610"],"photo_ids_order":["1342005587","1342005610","1342005618","1342005621","1342005626","1342005633"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/3d9fcd666f6fec5e6b73d341d88b3b50.jpg","text":"TemporaryFile(/tmp/multipartBody7850871738315794962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741464063745,"filename":"image_08032025_20_57_45_9920.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/bc55b07a66924cb171d35fadf0ef276a.jpg","text":"TemporaryFile(/tmp/multipartBody7078518835193824406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741464063745,"filename":"image_08032025_20_59_05_9931.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/56c52a4358b44ae41fc848880db3c2ac.jpg","text":"TemporaryFile(/tmp/multipartBody4941494802717057328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741464063745,"filename":"image_08032025_20_59_15_9923.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/808fea8f7921cf24254728239bb4ce5d.jpg","text":"TemporaryFile(/tmp/multipartBody7123966304050498338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741464063745,"filename":"image_08032025_20_59_45_9929.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/508cfe73190fd4e40dba3db321337c97.jpg","text":"TemporaryFile(/tmp/multipartBody3248818615461540083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741464063745,"filename":"image_08032025_20_58_55_9925.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/cfb90d1f3cf01b8416e9f069c37b5e71.jpg","text":"TemporaryFile(/tmp/multipartBody4675346006678970919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741464063745,"filename":"image_08032025_20_59_25_9943.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1342005618","file1":"1342005610","file0":"1342005587","file4":"1342005626","file5":"1342005633","file3":"1342005621"},"map_files_photo_id_array":[{"photo_id":"1342005633","filename":"file5"},{"photo_id":"1342005618","filename":"file2"},{"photo_id":"1342005626","filename":"file4"},{"photo_id":"1342005610","filename":"file1"},{"photo_id":"1342005587","filename":"file0"},{"photo_id":"1342005621","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1342005633":["hashtag1","hashtag2"]},{"1342005621":["hashtag1","hashtag2"]},{"1342005618":["hashtag1","hashtag2"]},{"1342005587":["hashtag1","hashtag2"]},{"1342005626":["hashtag1","hashtag2"]},{"1342005610":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1342005633, 1342005621, 1342005618, 1342005587, 1342005626, 1342005610)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.35906744003296 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 21:01:02.464056
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/21/00/image_08032025_21_00_45_9922.jpg', 2), ('/home/nano/Desktop/images/08032025/21/00/image_08032025_21_00_35_9921.jpg', 2), ('/home/nano/Desktop/images/08032025/21/00/image_08032025_21_00_25_9920.jpg', 2), ('/home/nano/Desktop/images/08032025/21/00/image_08032025_21_00_15_9923.jpg', 2), ('/home/nano/Desktop/images/08032025/20/59/image_08032025_21_00_05_9934.jpg', 2), ('/home/nano/Desktop/images/08032025/20/59/image_08032025_20_59_55_9919.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/21/00/image_08032025_21_00_45_9922.jpg', '/home/nano/Desktop/images/08032025/21/00/image_08032025_21_00_35_9921.jpg', '/home/nano/Desktop/images/08032025/21/00/image_08032025_21_00_25_9920.jpg', '/home/nano/Desktop/images/08032025/21/00/image_08032025_21_00_15_9923.jpg', '/home/nano/Desktop/images/08032025/20/59/image_08032025_21_00_05_9934.jpg', '/home/nano/Desktop/images/08032025/20/59/image_08032025_20_59_55_9919.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/21/00/image_08032025_21_00_45_9922.jpg
/home/nano/Desktop/images/08032025/21/00/image_08032025_21_00_35_9921.jpg
/home/nano/Desktop/images/08032025/21/00/image_08032025_21_00_25_9920.jpg
/home/nano/Desktop/images/08032025/21/00/image_08032025_21_00_15_9923.jpg
/home/nano/Desktop/images/08032025/20/59/image_08032025_21_00_05_9934.jpg
/home/nano/Desktop/images/08032025/20/59/image_08032025_20_59_55_9919.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1342005789","1342005744","1342005896","1342005828","1342005860","1342006031"],"photo_ids_order":["1342005744","1342005789","1342005828","1342005860","1342005896","1342006031"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/9b1e286421aaf393b51c2b03537100ef.jpg","text":"TemporaryFile(/tmp/multipartBody1633132404421745330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741464122899,"filename":"image_08032025_21_00_35_9921.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/f887f08636a9627918c4556d29ede82f.jpg","text":"TemporaryFile(/tmp/multipartBody5244998046327391887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741464122899,"filename":"image_08032025_21_00_45_9922.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/ea0c283fb9ee4bed4bb527f09fa0154d.jpg","text":"TemporaryFile(/tmp/multipartBody4152761398875601562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741464122899,"filename":"image_08032025_21_00_05_9934.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/ac5fbae520e5b7b67bd9835fd81e6176.jpg","text":"TemporaryFile(/tmp/multipartBody2352656722751546981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741464122899,"filename":"image_08032025_21_00_25_9920.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/7fecf3ecd8ee857c3734bfd1e9d9600f.jpg","text":"TemporaryFile(/tmp/multipartBody4414125506063145697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741464122899,"filename":"image_08032025_21_00_15_9923.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/c927738c8954bacd9af72272f92ed6b1.jpg","text":"TemporaryFile(/tmp/multipartBody2399989166746306612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741464122899,"filename":"image_08032025_20_59_55_9919.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1342005828","file1":"1342005789","file0":"1342005744","file4":"1342005896","file5":"1342006031","file3":"1342005860"},"map_files_photo_id_array":[{"photo_id":"1342006031","filename":"file5"},{"photo_id":"1342005828","filename":"file2"},{"photo_id":"1342005896","filename":"file4"},{"photo_id":"1342005789","filename":"file1"},{"photo_id":"1342005744","filename":"file0"},{"photo_id":"1342005860","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1342005789":["hashtag1","hashtag2"]},{"1342005744":["hashtag1","hashtag2"]},{"1342005896":["hashtag1","hashtag2"]},{"1342005828":["hashtag1","hashtag2"]},{"1342005860":["hashtag1","hashtag2"]},{"1342006031":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1342005789, 1342005744, 1342005896, 1342005828, 1342005860, 1342006031)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.042765617370605 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 21:02:02.470145
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/21/01/image_08032025_21_01_46_10932.jpg', 2), ('/home/nano/Desktop/images/08032025/21/01/image_08032025_21_01_35_9922.jpg', 2), ('/home/nano/Desktop/images/08032025/21/01/image_08032025_21_01_25_9920.jpg', 2), ('/home/nano/Desktop/images/08032025/21/01/image_08032025_21_01_15_9916.jpg', 2), ('/home/nano/Desktop/images/08032025/21/00/image_08032025_21_01_05_9936.jpg', 2), ('/home/nano/Desktop/images/08032025/21/00/image_08032025_21_00_55_9924.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/21/01/image_08032025_21_01_46_10932.jpg', '/home/nano/Desktop/images/08032025/21/01/image_08032025_21_01_35_9922.jpg', '/home/nano/Desktop/images/08032025/21/01/image_08032025_21_01_25_9920.jpg', '/home/nano/Desktop/images/08032025/21/01/image_08032025_21_01_15_9916.jpg', '/home/nano/Desktop/images/08032025/21/00/image_08032025_21_01_05_9936.jpg', '/home/nano/Desktop/images/08032025/21/00/image_08032025_21_00_55_9924.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/21/01/image_08032025_21_01_46_10932.jpg
/home/nano/Desktop/images/08032025/21/01/image_08032025_21_01_35_9922.jpg
/home/nano/Desktop/images/08032025/21/01/image_08032025_21_01_25_9920.jpg
/home/nano/Desktop/images/08032025/21/01/image_08032025_21_01_15_9916.jpg
/home/nano/Desktop/images/08032025/21/00/image_08032025_21_01_05_9936.jpg
/home/nano/Desktop/images/08032025/21/00/image_08032025_21_00_55_9924.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1342006707","1342006958","1342006780","1342006882","1342006924","1342007022"],"photo_ids_order":["1342006707","1342006780","1342006882","1342006924","1342006958","1342007022"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/03db700ba332f9086289e29247d4a6da.jpg","text":"TemporaryFile(/tmp/multipartBody5951205393840493704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741464182945,"filename":"image_08032025_21_01_46_10932.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/151239a1d20a89f651b5eaa42679969b.jpg","text":"TemporaryFile(/tmp/multipartBody5958659192019161650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741464182945,"filename":"image_08032025_21_01_05_9936.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/0ee6cf015ffc68e7a24ca8571c57d29e.jpg","text":"TemporaryFile(/tmp/multipartBody168760453093643123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741464182945,"filename":"image_08032025_21_01_35_9922.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/2c595ad07aaa286a3969a504e8c767f0.jpg","text":"TemporaryFile(/tmp/multipartBody4270670724767408816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741464182945,"filename":"image_08032025_21_01_25_9920.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/11d5c5854e5e47c2677d62c518cf5f73.jpg","text":"TemporaryFile(/tmp/multipartBody894170835784957008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741464182945,"filename":"image_08032025_21_01_15_9916.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/097610f7aa494743f49b3fe20b3a3296.jpg","text":"TemporaryFile(/tmp/multipartBody8523287388489343272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741464182945,"filename":"image_08032025_21_00_55_9924.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1342006882","file1":"1342006780","file0":"1342006707","file4":"1342006958","file5":"1342007022","file3":"1342006924"},"map_files_photo_id_array":[{"photo_id":"1342007022","filename":"file5"},{"photo_id":"1342006882","filename":"file2"},{"photo_id":"1342006958","filename":"file4"},{"photo_id":"1342006780","filename":"file1"},{"photo_id":"1342006707","filename":"file0"},{"photo_id":"1342006924","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1342006707":["hashtag1","hashtag2"]},{"1342006958":["hashtag1","hashtag2"]},{"1342006780":["hashtag1","hashtag2"]},{"1342006882":["hashtag1","hashtag2"]},{"1342006924":["hashtag1","hashtag2"]},{"1342007022":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1342006707, 1342006958, 1342006780, 1342006882, 1342006924, 1342007022)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.18158292770386 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 21:03:02.611144
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/21/02/image_08032025_21_02_45_9921.jpg', 2), ('/home/nano/Desktop/images/08032025/21/02/image_08032025_21_02_35_9918.jpg', 2), ('/home/nano/Desktop/images/08032025/21/02/image_08032025_21_02_25_9921.jpg', 2), ('/home/nano/Desktop/images/08032025/21/02/image_08032025_21_02_15_9924.jpg', 2), ('/home/nano/Desktop/images/08032025/21/01/image_08032025_21_02_05_9939.jpg', 2), ('/home/nano/Desktop/images/08032025/21/01/image_08032025_21_01_55_9917.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/21/02/image_08032025_21_02_45_9921.jpg', '/home/nano/Desktop/images/08032025/21/02/image_08032025_21_02_35_9918.jpg', '/home/nano/Desktop/images/08032025/21/02/image_08032025_21_02_25_9921.jpg', '/home/nano/Desktop/images/08032025/21/02/image_08032025_21_02_15_9924.jpg', '/home/nano/Desktop/images/08032025/21/01/image_08032025_21_02_05_9939.jpg', '/home/nano/Desktop/images/08032025/21/01/image_08032025_21_01_55_9917.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/21/02/image_08032025_21_02_45_9921.jpg
/home/nano/Desktop/images/08032025/21/02/image_08032025_21_02_35_9918.jpg
/home/nano/Desktop/images/08032025/21/02/image_08032025_21_02_25_9921.jpg
/home/nano/Desktop/images/08032025/21/02/image_08032025_21_02_15_9924.jpg
/home/nano/Desktop/images/08032025/21/01/image_08032025_21_02_05_9939.jpg
/home/nano/Desktop/images/08032025/21/01/image_08032025_21_01_55_9917.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1342007421","1342007390","1342007345","1342007581","1342007634","1342007511"],"photo_ids_order":["1342007345","1342007390","1342007421","1342007511","1342007581","1342007634"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/cfdd0d38048fdc4dde735a23ed32f54f.jpg","text":"TemporaryFile(/tmp/multipartBody4074308168802211615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741464243049,"filename":"image_08032025_21_02_25_9921.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/6ee42a1e386530c8c9119ee5fb7933a2.jpg","text":"TemporaryFile(/tmp/multipartBody5317212942992039148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741464243049,"filename":"image_08032025_21_02_35_9918.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/465df40c4c57334f355ffcadc304ff03.jpg","text":"TemporaryFile(/tmp/multipartBody5583704380148364391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741464243049,"filename":"image_08032025_21_02_45_9921.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/b9d269936d9322f045cc389cbabefab8.jpg","text":"TemporaryFile(/tmp/multipartBody3690522871998625569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741464243049,"filename":"image_08032025_21_02_05_9939.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/4d934f047786e9fe5001672ff78f4ca6.jpg","text":"TemporaryFile(/tmp/multipartBody5774460480958740154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741464243049,"filename":"image_08032025_21_01_55_9917.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/0a1e10d4707423d610cc5ad686c65ec5.jpg","text":"TemporaryFile(/tmp/multipartBody1843746381216041463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741464243049,"filename":"image_08032025_21_02_15_9924.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1342007421","file1":"1342007390","file0":"1342007345","file4":"1342007581","file5":"1342007634","file3":"1342007511"},"map_files_photo_id_array":[{"photo_id":"1342007634","filename":"file5"},{"photo_id":"1342007421","filename":"file2"},{"photo_id":"1342007581","filename":"file4"},{"photo_id":"1342007390","filename":"file1"},{"photo_id":"1342007345","filename":"file0"},{"photo_id":"1342007511","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1342007421":["hashtag1","hashtag2"]},{"1342007390":["hashtag1","hashtag2"]},{"1342007345":["hashtag1","hashtag2"]},{"1342007581":["hashtag1","hashtag2"]},{"1342007634":["hashtag1","hashtag2"]},{"1342007511":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1342007421, 1342007390, 1342007345, 1342007581, 1342007634, 1342007511)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.11944842338562 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 21:04:02.763079
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/21/03/image_08032025_21_03_45_9918.jpg', 2), ('/home/nano/Desktop/images/08032025/21/03/image_08032025_21_03_35_9918.jpg', 2), ('/home/nano/Desktop/images/08032025/21/03/image_08032025_21_03_25_9925.jpg', 2), ('/home/nano/Desktop/images/08032025/21/03/image_08032025_21_03_15_9922.jpg', 2), ('/home/nano/Desktop/images/08032025/21/02/image_08032025_21_03_05_9923.jpg', 2), ('/home/nano/Desktop/images/08032025/21/02/image_08032025_21_02_55_9920.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/21/03/image_08032025_21_03_45_9918.jpg', '/home/nano/Desktop/images/08032025/21/03/image_08032025_21_03_35_9918.jpg', '/home/nano/Desktop/images/08032025/21/03/image_08032025_21_03_25_9925.jpg', '/home/nano/Desktop/images/08032025/21/03/image_08032025_21_03_15_9922.jpg', '/home/nano/Desktop/images/08032025/21/02/image_08032025_21_03_05_9923.jpg', '/home/nano/Desktop/images/08032025/21/02/image_08032025_21_02_55_9920.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/21/03/image_08032025_21_03_45_9918.jpg
/home/nano/Desktop/images/08032025/21/03/image_08032025_21_03_35_9918.jpg
/home/nano/Desktop/images/08032025/21/03/image_08032025_21_03_25_9925.jpg
/home/nano/Desktop/images/08032025/21/03/image_08032025_21_03_15_9922.jpg
/home/nano/Desktop/images/08032025/21/02/image_08032025_21_03_05_9923.jpg
/home/nano/Desktop/images/08032025/21/02/image_08032025_21_02_55_9920.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1342008347","1342008400","1342008387","1342008432","1342008482","1342008458"],"photo_ids_order":["1342008347","1342008387","1342008400","1342008432","1342008458","1342008482"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/6f54ed3a28a811a1948a95a2419ad431.jpg","text":"TemporaryFile(/tmp/multipartBody4042772381565029588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741464303180,"filename":"image_08032025_21_03_45_9918.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/d0e2f89f4a3ae3bfd7291460944f31f6.jpg","text":"TemporaryFile(/tmp/multipartBody33797168870749540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741464303180,"filename":"image_08032025_21_03_25_9925.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/dc40b7cce481e1d62341f815838e313f.jpg","text":"TemporaryFile(/tmp/multipartBody5969981852592570279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741464303180,"filename":"image_08032025_21_03_35_9918.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/a43fc963dac8bdab6dc2b6bdd9aef932.jpg","text":"TemporaryFile(/tmp/multipartBody6235497081526757202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741464303180,"filename":"image_08032025_21_03_15_9922.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/b9cd8c47dad05e8c74b0e9966ab49d1b.jpg","text":"TemporaryFile(/tmp/multipartBody6997553731546559628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741464303180,"filename":"image_08032025_21_02_55_9920.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/47a544974bd227dae38e0c9469569b5b.jpg","text":"TemporaryFile(/tmp/multipartBody7216157927734614582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741464303180,"filename":"image_08032025_21_03_05_9923.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1342008400","file1":"1342008387","file0":"1342008347","file4":"1342008458","file5":"1342008482","file3":"1342008432"},"map_files_photo_id_array":[{"photo_id":"1342008482","filename":"file5"},{"photo_id":"1342008400","filename":"file2"},{"photo_id":"1342008458","filename":"file4"},{"photo_id":"1342008387","filename":"file1"},{"photo_id":"1342008347","filename":"file0"},{"photo_id":"1342008432","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1342008347":["hashtag1","hashtag2"]},{"1342008400":["hashtag1","hashtag2"]},{"1342008387":["hashtag1","hashtag2"]},{"1342008432":["hashtag1","hashtag2"]},{"1342008482":["hashtag1","hashtag2"]},{"1342008458":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1342008347, 1342008400, 1342008387, 1342008432, 1342008482, 1342008458)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.35726022720337 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 21:05:02.782160
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/21/04/image_08032025_21_04_45_9920.jpg', 2), ('/home/nano/Desktop/images/08032025/21/04/image_08032025_21_04_35_9918.jpg', 2), ('/home/nano/Desktop/images/08032025/21/04/image_08032025_21_04_25_9920.jpg', 2), ('/home/nano/Desktop/images/08032025/21/04/image_08032025_21_04_15_9920.jpg', 2), ('/home/nano/Desktop/images/08032025/21/03/image_08032025_21_04_06_10972.jpg', 2), ('/home/nano/Desktop/images/08032025/21/03/image_08032025_21_03_55_9940.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/21/04/image_08032025_21_04_45_9920.jpg', '/home/nano/Desktop/images/08032025/21/04/image_08032025_21_04_35_9918.jpg', '/home/nano/Desktop/images/08032025/21/04/image_08032025_21_04_25_9920.jpg', '/home/nano/Desktop/images/08032025/21/04/image_08032025_21_04_15_9920.jpg', '/home/nano/Desktop/images/08032025/21/03/image_08032025_21_04_06_10972.jpg', '/home/nano/Desktop/images/08032025/21/03/image_08032025_21_03_55_9940.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/21/04/image_08032025_21_04_45_9920.jpg
/home/nano/Desktop/images/08032025/21/04/image_08032025_21_04_35_9918.jpg
/home/nano/Desktop/images/08032025/21/04/image_08032025_21_04_25_9920.jpg
/home/nano/Desktop/images/08032025/21/04/image_08032025_21_04_15_9920.jpg
/home/nano/Desktop/images/08032025/21/03/image_08032025_21_04_06_10972.jpg
/home/nano/Desktop/images/08032025/21/03/image_08032025_21_03_55_9940.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1342008943","1342009003","1342008808","1342008732","1342008633","1342008977"],"photo_ids_order":["1342008633","1342008732","1342008808","1342008943","1342008977","1342009003"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/2150229416122dd6b3f9269c2fc8cce1.jpg","text":"TemporaryFile(/tmp/multipartBody7887922365339164686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741464363222,"filename":"image_08032025_21_04_15_9920.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/1d52e0d4b3f6d45267ceebff3262242c.jpg","text":"TemporaryFile(/tmp/multipartBody507857557681490799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741464363222,"filename":"image_08032025_21_03_55_9940.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/bb3e84dd96578b08c3432bf768715a73.jpg","text":"TemporaryFile(/tmp/multipartBody1890064988700007655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741464363222,"filename":"image_08032025_21_04_25_9920.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/bb6c9f69513590cf97bb64aa932adfee.jpg","text":"TemporaryFile(/tmp/multipartBody8625877774547884324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741464363222,"filename":"image_08032025_21_04_35_9918.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/1c027a3ed6ea7e8ca1fbc570ea8060b7.jpg","text":"TemporaryFile(/tmp/multipartBody686010327054939903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741464363222,"filename":"image_08032025_21_04_45_9920.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/da5d9a1db1012f2cfe00ccf0e0dd3387.jpg","text":"TemporaryFile(/tmp/multipartBody172085231524621166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741464363222,"filename":"image_08032025_21_04_06_10972.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1342008808","file1":"1342008732","file0":"1342008633","file4":"1342008977","file5":"1342009003","file3":"1342008943"},"map_files_photo_id_array":[{"photo_id":"1342009003","filename":"file5"},{"photo_id":"1342008808","filename":"file2"},{"photo_id":"1342008977","filename":"file4"},{"photo_id":"1342008732","filename":"file1"},{"photo_id":"1342008633","filename":"file0"},{"photo_id":"1342008943","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1342008943":["hashtag1","hashtag2"]},{"1342009003":["hashtag1","hashtag2"]},{"1342008808":["hashtag1","hashtag2"]},{"1342008732":["hashtag1","hashtag2"]},{"1342008633":["hashtag1","hashtag2"]},{"1342008977":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1342008943, 1342009003, 1342008808, 1342008732, 1342008633, 1342008977)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.64310574531555 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 21:06:03.042746
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/21/05/image_08032025_21_05_45_9917.jpg', 2), ('/home/nano/Desktop/images/08032025/21/05/image_08032025_21_05_35_9921.jpg', 2), ('/home/nano/Desktop/images/08032025/21/05/image_08032025_21_05_25_9919.jpg', 2), ('/home/nano/Desktop/images/08032025/21/05/image_08032025_21_05_15_9923.jpg', 2), ('/home/nano/Desktop/images/08032025/21/04/image_08032025_21_04_55_9920.jpg', 2), ('/home/nano/Desktop/images/08032025/20/57/image_08032025_20_57_35_9921.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/21/05/image_08032025_21_05_45_9917.jpg', '/home/nano/Desktop/images/08032025/21/05/image_08032025_21_05_35_9921.jpg', '/home/nano/Desktop/images/08032025/21/05/image_08032025_21_05_25_9919.jpg', '/home/nano/Desktop/images/08032025/21/05/image_08032025_21_05_15_9923.jpg', '/home/nano/Desktop/images/08032025/21/04/image_08032025_21_04_55_9920.jpg', '/home/nano/Desktop/images/08032025/20/57/image_08032025_20_57_35_9921.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/21/05/image_08032025_21_05_45_9917.jpg
/home/nano/Desktop/images/08032025/21/05/image_08032025_21_05_35_9921.jpg
/home/nano/Desktop/images/08032025/21/05/image_08032025_21_05_25_9919.jpg
/home/nano/Desktop/images/08032025/21/05/image_08032025_21_05_15_9923.jpg
/home/nano/Desktop/images/08032025/21/04/image_08032025_21_04_55_9920.jpg
/home/nano/Desktop/images/08032025/20/57/image_08032025_20_57_35_9921.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1342009267","1342009456","1342009339","1342009504","1342009422","1342009184"],"photo_ids_order":["1342009184","1342009267","1342009339","1342009422","1342009456","1342009504"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/12a526730c10b2a3dc9d00d05b265969.jpg","text":"TemporaryFile(/tmp/multipartBody801735002710405492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741464423494,"filename":"image_08032025_21_05_35_9921.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/f72b4a2845b07c7fe703a9270c214a35.jpg","text":"TemporaryFile(/tmp/multipartBody845160946314910360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741464423494,"filename":"image_08032025_21_04_55_9920.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/ebcad763e67c5f22dd25163cb1fea100.jpg","text":"TemporaryFile(/tmp/multipartBody1543148093120459117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741464423494,"filename":"image_08032025_21_05_25_9919.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/5b873e361ecc5c4032214732d3136444.jpg","text":"TemporaryFile(/tmp/multipartBody9146719604278065329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741464423494,"filename":"image_08032025_20_57_35_9921.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/876a1a7eaa05c05c148ce7f92b19a820.jpg","text":"TemporaryFile(/tmp/multipartBody857703752747965089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741464423494,"filename":"image_08032025_21_05_15_9923.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/b127c51ba1a72401d48aa4962a5c0e61.jpg","text":"TemporaryFile(/tmp/multipartBody4558622491948764165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741464423494,"filename":"image_08032025_21_05_45_9917.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1342009339","file1":"1342009267","file0":"1342009184","file4":"1342009456","file5":"1342009504","file3":"1342009422"},"map_files_photo_id_array":[{"photo_id":"1342009504","filename":"file5"},{"photo_id":"1342009339","filename":"file2"},{"photo_id":"1342009456","filename":"file4"},{"photo_id":"1342009267","filename":"file1"},{"photo_id":"1342009184","filename":"file0"},{"photo_id":"1342009422","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1342009267":["hashtag1","hashtag2"]},{"1342009456":["hashtag1","hashtag2"]},{"1342009339":["hashtag1","hashtag2"]},{"1342009504":["hashtag1","hashtag2"]},{"1342009422":["hashtag1","hashtag2"]},{"1342009184":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1342009267, 1342009456, 1342009339, 1342009504, 1342009422, 1342009184)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.61146545410156 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 21:07:03.013669
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/21/06/image_08032025_21_06_45_9917.jpg', 2), ('/home/nano/Desktop/images/08032025/21/06/image_08032025_21_06_35_9943.jpg', 2), ('/home/nano/Desktop/images/08032025/21/06/image_08032025_21_06_26_9923.jpg', 2), ('/home/nano/Desktop/images/08032025/21/06/image_08032025_21_06_16_10935.jpg', 2), ('/home/nano/Desktop/images/08032025/21/05/image_08032025_21_06_05_9931.jpg', 2), ('/home/nano/Desktop/images/08032025/21/05/image_08032025_21_05_55_9920.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/21/06/image_08032025_21_06_45_9917.jpg', '/home/nano/Desktop/images/08032025/21/06/image_08032025_21_06_35_9943.jpg', '/home/nano/Desktop/images/08032025/21/06/image_08032025_21_06_26_9923.jpg', '/home/nano/Desktop/images/08032025/21/06/image_08032025_21_06_16_10935.jpg', '/home/nano/Desktop/images/08032025/21/05/image_08032025_21_06_05_9931.jpg', '/home/nano/Desktop/images/08032025/21/05/image_08032025_21_05_55_9920.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/21/06/image_08032025_21_06_45_9917.jpg
/home/nano/Desktop/images/08032025/21/06/image_08032025_21_06_35_9943.jpg
/home/nano/Desktop/images/08032025/21/06/image_08032025_21_06_26_9923.jpg
/home/nano/Desktop/images/08032025/21/06/image_08032025_21_06_16_10935.jpg
/home/nano/Desktop/images/08032025/21/05/image_08032025_21_06_05_9931.jpg
/home/nano/Desktop/images/08032025/21/05/image_08032025_21_05_55_9920.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1342009975","1342009960","1342009903","1342009702","1342009931","1342009868"],"photo_ids_order":["1342009702","1342009868","1342009903","1342009931","1342009960","1342009975"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/949ced491feda400a7257b237d64debf.jpg","text":"TemporaryFile(/tmp/multipartBody6726646829544266555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741464483597,"filename":"image_08032025_21_05_55_9920.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/980b31db6eeeda0e1fc4b7d3575a2c48.jpg","text":"TemporaryFile(/tmp/multipartBody6616269686020802420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741464483597,"filename":"image_08032025_21_06_05_9931.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/7745c46721a2b9ff9c4750483175161e.jpg","text":"TemporaryFile(/tmp/multipartBody8713406622423459504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741464483597,"filename":"image_08032025_21_06_26_9923.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/4b584e09acf1a9954d486ff82b3b792a.jpg","text":"TemporaryFile(/tmp/multipartBody7403011809478515793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741464483597,"filename":"image_08032025_21_06_45_9917.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/35c7ff6390a63e2217626b152d1bab2e.jpg","text":"TemporaryFile(/tmp/multipartBody2380336633143703839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741464483597,"filename":"image_08032025_21_06_16_10935.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/1b4f4b6c87ee1ab341e349f41e433b4f.jpg","text":"TemporaryFile(/tmp/multipartBody7054449723345622567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741464483597,"filename":"image_08032025_21_06_35_9943.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1342009903","file1":"1342009868","file0":"1342009702","file4":"1342009960","file5":"1342009975","file3":"1342009931"},"map_files_photo_id_array":[{"photo_id":"1342009975","filename":"file5"},{"photo_id":"1342009903","filename":"file2"},{"photo_id":"1342009960","filename":"file4"},{"photo_id":"1342009868","filename":"file1"},{"photo_id":"1342009702","filename":"file0"},{"photo_id":"1342009931","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1342009975":["hashtag1","hashtag2"]},{"1342009960":["hashtag1","hashtag2"]},{"1342009903":["hashtag1","hashtag2"]},{"1342009702":["hashtag1","hashtag2"]},{"1342009931":["hashtag1","hashtag2"]},{"1342009868":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1342009975, 1342009960, 1342009903, 1342009702, 1342009931, 1342009868)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.39405107498169 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 21:08:03.180539
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/21/07/image_08032025_21_07_45_9927.jpg', 2), ('/home/nano/Desktop/images/08032025/21/07/image_08032025_21_07_35_9921.jpg', 2), ('/home/nano/Desktop/images/08032025/21/07/image_08032025_21_07_25_9923.jpg', 2), ('/home/nano/Desktop/images/08032025/21/07/image_08032025_21_07_15_9926.jpg', 2), ('/home/nano/Desktop/images/08032025/21/06/image_08032025_21_07_05_9927.jpg', 2), ('/home/nano/Desktop/images/08032025/21/06/image_08032025_21_06_55_9919.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/21/07/image_08032025_21_07_45_9927.jpg', '/home/nano/Desktop/images/08032025/21/07/image_08032025_21_07_35_9921.jpg', '/home/nano/Desktop/images/08032025/21/07/image_08032025_21_07_25_9923.jpg', '/home/nano/Desktop/images/08032025/21/07/image_08032025_21_07_15_9926.jpg', '/home/nano/Desktop/images/08032025/21/06/image_08032025_21_07_05_9927.jpg', '/home/nano/Desktop/images/08032025/21/06/image_08032025_21_06_55_9919.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/21/07/image_08032025_21_07_45_9927.jpg
/home/nano/Desktop/images/08032025/21/07/image_08032025_21_07_35_9921.jpg
/home/nano/Desktop/images/08032025/21/07/image_08032025_21_07_25_9923.jpg
/home/nano/Desktop/images/08032025/21/07/image_08032025_21_07_15_9926.jpg
/home/nano/Desktop/images/08032025/21/06/image_08032025_21_07_05_9927.jpg
/home/nano/Desktop/images/08032025/21/06/image_08032025_21_06_55_9919.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1342010213","1342010314","1342010323","1342010178","1342010267","1342010156"],"photo_ids_order":["1342010156","1342010178","1342010213","1342010267","1342010314","1342010323"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/2f8a076024f67fed2bfbb0708b4cae1c.jpg","text":"TemporaryFile(/tmp/multipartBody7864969428364061734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741464543697,"filename":"image_08032025_21_07_25_9923.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/11b3264b7cc03ae4c1f12f7e4b98330a.jpg","text":"TemporaryFile(/tmp/multipartBody6237603397064681235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741464543697,"filename":"image_08032025_21_07_05_9927.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/d337f83c82bc6395975f0f96ea7f3b5b.jpg","text":"TemporaryFile(/tmp/multipartBody6986360235578427505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741464543697,"filename":"image_08032025_21_06_55_9919.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/e78e5f8efbb8a7d38bb871d9a68bb02b.jpg","text":"TemporaryFile(/tmp/multipartBody4872362641765398927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741464543697,"filename":"image_08032025_21_07_35_9921.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/798e760fb8622d66ea2e0d25061a9b4b.jpg","text":"TemporaryFile(/tmp/multipartBody6999060544349782546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741464543697,"filename":"image_08032025_21_07_15_9926.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/727c12049bb3616c38d25c14741019c8.jpg","text":"TemporaryFile(/tmp/multipartBody4613222689784776039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741464543697,"filename":"image_08032025_21_07_45_9927.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1342010213","file1":"1342010178","file0":"1342010156","file4":"1342010314","file5":"1342010323","file3":"1342010267"},"map_files_photo_id_array":[{"photo_id":"1342010323","filename":"file5"},{"photo_id":"1342010213","filename":"file2"},{"photo_id":"1342010314","filename":"file4"},{"photo_id":"1342010178","filename":"file1"},{"photo_id":"1342010156","filename":"file0"},{"photo_id":"1342010267","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1342010213":["hashtag1","hashtag2"]},{"1342010314":["hashtag1","hashtag2"]},{"1342010323":["hashtag1","hashtag2"]},{"1342010178":["hashtag1","hashtag2"]},{"1342010267":["hashtag1","hashtag2"]},{"1342010156":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1342010213, 1342010314, 1342010323, 1342010178, 1342010267, 1342010156)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.34956169128418 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 21:09:03.614510
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/21/08/image_08032025_21_08_46_9920.jpg', 2), ('/home/nano/Desktop/images/08032025/21/08/image_08032025_21_08_36_10933.jpg', 2), ('/home/nano/Desktop/images/08032025/21/08/image_08032025_21_08_25_9927.jpg', 2), ('/home/nano/Desktop/images/08032025/21/08/image_08032025_21_08_15_9927.jpg', 2), ('/home/nano/Desktop/images/08032025/21/07/image_08032025_21_08_05_9957.jpg', 2), ('/home/nano/Desktop/images/08032025/21/07/image_08032025_21_07_55_9925.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/21/08/image_08032025_21_08_46_9920.jpg', '/home/nano/Desktop/images/08032025/21/08/image_08032025_21_08_36_10933.jpg', '/home/nano/Desktop/images/08032025/21/08/image_08032025_21_08_25_9927.jpg', '/home/nano/Desktop/images/08032025/21/08/image_08032025_21_08_15_9927.jpg', '/home/nano/Desktop/images/08032025/21/07/image_08032025_21_08_05_9957.jpg', '/home/nano/Desktop/images/08032025/21/07/image_08032025_21_07_55_9925.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/21/08/image_08032025_21_08_46_9920.jpg
/home/nano/Desktop/images/08032025/21/08/image_08032025_21_08_36_10933.jpg
/home/nano/Desktop/images/08032025/21/08/image_08032025_21_08_25_9927.jpg
/home/nano/Desktop/images/08032025/21/08/image_08032025_21_08_15_9927.jpg
/home/nano/Desktop/images/08032025/21/07/image_08032025_21_08_05_9957.jpg
/home/nano/Desktop/images/08032025/21/07/image_08032025_21_07_55_9925.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1342010413","1342010397","1342010370","1342010406","1342010471","1342010381"],"photo_ids_order":["1342010370","1342010381","1342010397","1342010406","1342010413","1342010471"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/7890fed9d9d70aff1a6bd7622b62aae7.jpg","text":"TemporaryFile(/tmp/multipartBody7261218960398588500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741464604052,"filename":"image_08032025_21_08_05_9957.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/b1c0b16925ff029ea12701f2c699731f.jpg","text":"TemporaryFile(/tmp/multipartBody8438766230708672344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741464604052,"filename":"image_08032025_21_08_25_9927.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/ba13954095305e2e69c4ec7fc9be6c89.jpg","text":"TemporaryFile(/tmp/multipartBody3739139787748892049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741464604052,"filename":"image_08032025_21_08_46_9920.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/6a043539fc8267a88a684b89975be5af.jpg","text":"TemporaryFile(/tmp/multipartBody1494423055404976502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741464604052,"filename":"image_08032025_21_08_15_9927.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/1bb372d47b66560bb57ba7979112a57d.jpg","text":"TemporaryFile(/tmp/multipartBody3573794390843464520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741464604052,"filename":"image_08032025_21_07_55_9925.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/532c024bcf286ba114d4800087ab924f.jpg","text":"TemporaryFile(/tmp/multipartBody3803026019894156033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741464604052,"filename":"image_08032025_21_08_36_10933.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1342010397","file1":"1342010381","file0":"1342010370","file4":"1342010413","file5":"1342010471","file3":"1342010406"},"map_files_photo_id_array":[{"photo_id":"1342010471","filename":"file5"},{"photo_id":"1342010397","filename":"file2"},{"photo_id":"1342010413","filename":"file4"},{"photo_id":"1342010381","filename":"file1"},{"photo_id":"1342010370","filename":"file0"},{"photo_id":"1342010406","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1342010413":["hashtag1","hashtag2"]},{"1342010397":["hashtag1","hashtag2"]},{"1342010370":["hashtag1","hashtag2"]},{"1342010406":["hashtag1","hashtag2"]},{"1342010471":["hashtag1","hashtag2"]},{"1342010381":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1342010413, 1342010397, 1342010370, 1342010406, 1342010471, 1342010381)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.64472270011902 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 21:10:02.361666
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/21/09/image_08032025_21_09_45_9936.jpg', 2), ('/home/nano/Desktop/images/08032025/21/09/image_08032025_21_09_35_9919.jpg', 2), ('/home/nano/Desktop/images/08032025/21/09/image_08032025_21_09_25_9925.jpg', 2), ('/home/nano/Desktop/images/08032025/21/09/image_08032025_21_09_15_9924.jpg', 2), ('/home/nano/Desktop/images/08032025/21/08/image_08032025_21_09_05_9939.jpg', 2), ('/home/nano/Desktop/images/08032025/21/08/image_08032025_21_08_55_9923.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/21/09/image_08032025_21_09_45_9936.jpg', '/home/nano/Desktop/images/08032025/21/09/image_08032025_21_09_35_9919.jpg', '/home/nano/Desktop/images/08032025/21/09/image_08032025_21_09_25_9925.jpg', '/home/nano/Desktop/images/08032025/21/09/image_08032025_21_09_15_9924.jpg', '/home/nano/Desktop/images/08032025/21/08/image_08032025_21_09_05_9939.jpg', '/home/nano/Desktop/images/08032025/21/08/image_08032025_21_08_55_9923.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/21/09/image_08032025_21_09_45_9936.jpg
/home/nano/Desktop/images/08032025/21/09/image_08032025_21_09_35_9919.jpg
/home/nano/Desktop/images/08032025/21/09/image_08032025_21_09_25_9925.jpg
/home/nano/Desktop/images/08032025/21/09/image_08032025_21_09_15_9924.jpg
/home/nano/Desktop/images/08032025/21/08/image_08032025_21_09_05_9939.jpg
/home/nano/Desktop/images/08032025/21/08/image_08032025_21_08_55_9923.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1342010669","1342010660","1342010682","1342010679","1342010684","1342010666"],"photo_ids_order":["1342010660","1342010666","1342010669","1342010679","1342010682","1342010684"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/bfc65b5f3522ffd684b663e6e58e3dfc.jpg","text":"TemporaryFile(/tmp/multipartBody6996842236715318886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741464662787,"filename":"image_08032025_21_09_25_9925.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/fb84d0ce1b89316b0faccdeef7ef8b75.jpg","text":"TemporaryFile(/tmp/multipartBody1215543074767733207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741464662787,"filename":"image_08032025_21_09_45_9936.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/c3be0817bbd0b298e96293296141da42.jpg","text":"TemporaryFile(/tmp/multipartBody2898728939674707923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741464662787,"filename":"image_08032025_21_09_05_9939.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/b9733be3c9e333b3441f290b7c735e47.jpg","text":"TemporaryFile(/tmp/multipartBody7441424061499568364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741464662787,"filename":"image_08032025_21_09_15_9924.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/90ae8bc83e9991c96e932b0f5c4e29ba.jpg","text":"TemporaryFile(/tmp/multipartBody5954619877913969745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741464662787,"filename":"image_08032025_21_08_55_9923.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/0a1ae657d3f48c7ae82115cf0562f319.jpg","text":"TemporaryFile(/tmp/multipartBody6974970497793630038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741464662787,"filename":"image_08032025_21_09_35_9919.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1342010669","file1":"1342010666","file0":"1342010660","file4":"1342010682","file5":"1342010684","file3":"1342010679"},"map_files_photo_id_array":[{"photo_id":"1342010684","filename":"file5"},{"photo_id":"1342010669","filename":"file2"},{"photo_id":"1342010682","filename":"file4"},{"photo_id":"1342010666","filename":"file1"},{"photo_id":"1342010660","filename":"file0"},{"photo_id":"1342010679","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1342010669":["hashtag1","hashtag2"]},{"1342010660":["hashtag1","hashtag2"]},{"1342010682":["hashtag1","hashtag2"]},{"1342010679":["hashtag1","hashtag2"]},{"1342010684":["hashtag1","hashtag2"]},{"1342010666":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1342010669, 1342010660, 1342010682, 1342010679, 1342010684, 1342010666)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.56317925453186 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 21:11:02.563364
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/21/10/image_08032025_21_10_45_9920.jpg', 2), ('/home/nano/Desktop/images/08032025/21/10/image_08032025_21_10_35_9939.jpg', 2), ('/home/nano/Desktop/images/08032025/21/10/image_08032025_21_10_25_9924.jpg', 2), ('/home/nano/Desktop/images/08032025/21/10/image_08032025_21_10_15_9926.jpg', 2), ('/home/nano/Desktop/images/08032025/21/09/image_08032025_21_10_05_9945.jpg', 2), ('/home/nano/Desktop/images/08032025/21/09/image_08032025_21_09_55_9919.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/21/10/image_08032025_21_10_45_9920.jpg', '/home/nano/Desktop/images/08032025/21/10/image_08032025_21_10_35_9939.jpg', '/home/nano/Desktop/images/08032025/21/10/image_08032025_21_10_25_9924.jpg', '/home/nano/Desktop/images/08032025/21/10/image_08032025_21_10_15_9926.jpg', '/home/nano/Desktop/images/08032025/21/09/image_08032025_21_10_05_9945.jpg', '/home/nano/Desktop/images/08032025/21/09/image_08032025_21_09_55_9919.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/21/10/image_08032025_21_10_45_9920.jpg
/home/nano/Desktop/images/08032025/21/10/image_08032025_21_10_35_9939.jpg
/home/nano/Desktop/images/08032025/21/10/image_08032025_21_10_25_9924.jpg
/home/nano/Desktop/images/08032025/21/10/image_08032025_21_10_15_9926.jpg
/home/nano/Desktop/images/08032025/21/09/image_08032025_21_10_05_9945.jpg
/home/nano/Desktop/images/08032025/21/09/image_08032025_21_09_55_9919.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1342010822","1342010801","1342010889","1342010799","1342010790","1342010811"],"photo_ids_order":["1342010790","1342010799","1342010801","1342010811","1342010822","1342010889"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/d5b05c2bd8f514ddd348782215ddd7ce.jpg","text":"TemporaryFile(/tmp/multipartBody1220066921711889353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741464722973,"filename":"image_08032025_21_10_05_9945.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/5827f6311ba5124866eec5da52573063.jpg","text":"TemporaryFile(/tmp/multipartBody7216926826306351013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741464722973,"filename":"image_08032025_21_10_25_9924.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/5baf0dcedf894439d71f86f59d7df738.jpg","text":"TemporaryFile(/tmp/multipartBody8584908168163406126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741464722973,"filename":"image_08032025_21_09_55_9919.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/3def583a5bf7acf120056463d0c74503.jpg","text":"TemporaryFile(/tmp/multipartBody1597264883998084825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741464722973,"filename":"image_08032025_21_10_35_9939.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/0c0f6ac35d976da2789b4bf7cf33a68b.jpg","text":"TemporaryFile(/tmp/multipartBody8614052578051208115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741464722973,"filename":"image_08032025_21_10_45_9920.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/6cc6610eebb40aa962411d4f0e8e450e.jpg","text":"TemporaryFile(/tmp/multipartBody8765359629659043644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741464722973,"filename":"image_08032025_21_10_15_9926.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1342010801","file1":"1342010799","file0":"1342010790","file4":"1342010822","file5":"1342010889","file3":"1342010811"},"map_files_photo_id_array":[{"photo_id":"1342010889","filename":"file5"},{"photo_id":"1342010801","filename":"file2"},{"photo_id":"1342010822","filename":"file4"},{"photo_id":"1342010799","filename":"file1"},{"photo_id":"1342010790","filename":"file0"},{"photo_id":"1342010811","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1342010822":["hashtag1","hashtag2"]},{"1342010801":["hashtag1","hashtag2"]},{"1342010889":["hashtag1","hashtag2"]},{"1342010799":["hashtag1","hashtag2"]},{"1342010790":["hashtag1","hashtag2"]},{"1342010811":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1342010822, 1342010801, 1342010889, 1342010799, 1342010790, 1342010811)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.34195566177368 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 21:12:02.676070
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/21/11/image_08032025_21_11_45_9922.jpg', 2), ('/home/nano/Desktop/images/08032025/21/11/image_08032025_21_11_35_9919.jpg', 2), ('/home/nano/Desktop/images/08032025/21/11/image_08032025_21_11_25_9916.jpg', 2), ('/home/nano/Desktop/images/08032025/21/11/image_08032025_21_11_15_9919.jpg', 2), ('/home/nano/Desktop/images/08032025/21/10/image_08032025_21_11_06_9927.jpg', 2), ('/home/nano/Desktop/images/08032025/21/10/image_08032025_21_10_56_10928.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/21/11/image_08032025_21_11_45_9922.jpg', '/home/nano/Desktop/images/08032025/21/11/image_08032025_21_11_35_9919.jpg', '/home/nano/Desktop/images/08032025/21/11/image_08032025_21_11_25_9916.jpg', '/home/nano/Desktop/images/08032025/21/11/image_08032025_21_11_15_9919.jpg', '/home/nano/Desktop/images/08032025/21/10/image_08032025_21_11_06_9927.jpg', '/home/nano/Desktop/images/08032025/21/10/image_08032025_21_10_56_10928.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/21/11/image_08032025_21_11_45_9922.jpg
/home/nano/Desktop/images/08032025/21/11/image_08032025_21_11_35_9919.jpg
/home/nano/Desktop/images/08032025/21/11/image_08032025_21_11_25_9916.jpg
/home/nano/Desktop/images/08032025/21/11/image_08032025_21_11_15_9919.jpg
/home/nano/Desktop/images/08032025/21/10/image_08032025_21_11_06_9927.jpg
/home/nano/Desktop/images/08032025/21/10/image_08032025_21_10_56_10928.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1342011328","1342011106","1342011354","1342011159","1342011213","1342011074"],"photo_ids_order":["1342011074","1342011106","1342011159","1342011213","1342011328","1342011354"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/e8606888da22aaa57bb597e6ca47ef69.jpg","text":"TemporaryFile(/tmp/multipartBody6860076645860257680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741464783124,"filename":"image_08032025_21_11_06_9927.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/20d83582cb63924bfd508a0ca0c48bb5.jpg","text":"TemporaryFile(/tmp/multipartBody1289814146481630693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741464783124,"filename":"image_08032025_21_11_35_9919.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/3907be8e6cb4d50acc0cea4bf967af90.jpg","text":"TemporaryFile(/tmp/multipartBody3219388662847821682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741464783124,"filename":"image_08032025_21_10_56_10928.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/75f4e0005ca5139b6352620facce908a.jpg","text":"TemporaryFile(/tmp/multipartBody1847775907004187199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741464783124,"filename":"image_08032025_21_11_25_9916.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/02fa6f6b1c2e46212462bf2cc7167b78.jpg","text":"TemporaryFile(/tmp/multipartBody2336443271288187403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741464783124,"filename":"image_08032025_21_11_15_9919.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/4ca0f42e34f615c9e3854f633d474132.jpg","text":"TemporaryFile(/tmp/multipartBody1920934787702099398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741464783124,"filename":"image_08032025_21_11_45_9922.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1342011159","file1":"1342011106","file0":"1342011074","file4":"1342011328","file5":"1342011354","file3":"1342011213"},"map_files_photo_id_array":[{"photo_id":"1342011354","filename":"file5"},{"photo_id":"1342011159","filename":"file2"},{"photo_id":"1342011328","filename":"file4"},{"photo_id":"1342011106","filename":"file1"},{"photo_id":"1342011074","filename":"file0"},{"photo_id":"1342011213","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1342011328":["hashtag1","hashtag2"]},{"1342011106":["hashtag1","hashtag2"]},{"1342011354":["hashtag1","hashtag2"]},{"1342011159":["hashtag1","hashtag2"]},{"1342011213":["hashtag1","hashtag2"]},{"1342011074":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1342011328, 1342011106, 1342011354, 1342011159, 1342011213, 1342011074)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.59514665603638 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 21:13:02.774219
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/21/12/image_08032025_21_12_45_9921.jpg', 2), ('/home/nano/Desktop/images/08032025/21/12/image_08032025_21_12_35_9925.jpg', 2), ('/home/nano/Desktop/images/08032025/21/12/image_08032025_21_12_25_9921.jpg', 2), ('/home/nano/Desktop/images/08032025/21/12/image_08032025_21_12_15_9916.jpg', 2), ('/home/nano/Desktop/images/08032025/21/11/image_08032025_21_12_05_9936.jpg', 2), ('/home/nano/Desktop/images/08032025/21/11/image_08032025_21_11_55_9918.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/21/12/image_08032025_21_12_45_9921.jpg', '/home/nano/Desktop/images/08032025/21/12/image_08032025_21_12_35_9925.jpg', '/home/nano/Desktop/images/08032025/21/12/image_08032025_21_12_25_9921.jpg', '/home/nano/Desktop/images/08032025/21/12/image_08032025_21_12_15_9916.jpg', '/home/nano/Desktop/images/08032025/21/11/image_08032025_21_12_05_9936.jpg', '/home/nano/Desktop/images/08032025/21/11/image_08032025_21_11_55_9918.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/21/12/image_08032025_21_12_45_9921.jpg
/home/nano/Desktop/images/08032025/21/12/image_08032025_21_12_35_9925.jpg
/home/nano/Desktop/images/08032025/21/12/image_08032025_21_12_25_9921.jpg
/home/nano/Desktop/images/08032025/21/12/image_08032025_21_12_15_9916.jpg
/home/nano/Desktop/images/08032025/21/11/image_08032025_21_12_05_9936.jpg
/home/nano/Desktop/images/08032025/21/11/image_08032025_21_11_55_9918.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1342011763","1342011871","1342011808","1342011765","1342011767","1342011740"],"photo_ids_order":["1342011740","1342011763","1342011765","1342011767","1342011808","1342011871"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/565bac95d24f0e2df72cc485d801490e.jpg","text":"TemporaryFile(/tmp/multipartBody4220634443395768167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741464843203,"filename":"image_08032025_21_12_35_9925.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/5a353d499b52787883b4e5445cc7cea6.jpg","text":"TemporaryFile(/tmp/multipartBody1532314144320732292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741464843203,"filename":"image_08032025_21_11_55_9918.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/1d39ac2047809f3c513ed38ae984da07.jpg","text":"TemporaryFile(/tmp/multipartBody3048113733908336126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741464843203,"filename":"image_08032025_21_12_05_9936.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/7d5b2fa9dcea70eb4e56015b68359a8c.jpg","text":"TemporaryFile(/tmp/multipartBody2280866221172276826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741464843203,"filename":"image_08032025_21_12_25_9921.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/565a83d4c3bd0a0aa5c1eefcaa9274c5.jpg","text":"TemporaryFile(/tmp/multipartBody1961185549886384942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741464843203,"filename":"image_08032025_21_12_15_9916.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/eead46ee747b08defca2690119d4abb4.jpg","text":"TemporaryFile(/tmp/multipartBody3224062292214734244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741464843203,"filename":"image_08032025_21_12_45_9921.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1342011765","file1":"1342011763","file0":"1342011740","file4":"1342011808","file5":"1342011871","file3":"1342011767"},"map_files_photo_id_array":[{"photo_id":"1342011871","filename":"file5"},{"photo_id":"1342011765","filename":"file2"},{"photo_id":"1342011808","filename":"file4"},{"photo_id":"1342011763","filename":"file1"},{"photo_id":"1342011740","filename":"file0"},{"photo_id":"1342011767","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1342011763":["hashtag1","hashtag2"]},{"1342011871":["hashtag1","hashtag2"]},{"1342011808":["hashtag1","hashtag2"]},{"1342011765":["hashtag1","hashtag2"]},{"1342011767":["hashtag1","hashtag2"]},{"1342011740":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1342011763, 1342011871, 1342011808, 1342011765, 1342011767, 1342011740)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.86847448348999 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 21:14:02.881904
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/21/13/image_08032025_21_13_45_9921.jpg', 2), ('/home/nano/Desktop/images/08032025/21/13/image_08032025_21_13_35_9919.jpg', 2), ('/home/nano/Desktop/images/08032025/21/13/image_08032025_21_13_25_9919.jpg', 2), ('/home/nano/Desktop/images/08032025/21/13/image_08032025_21_13_15_9920.jpg', 2), ('/home/nano/Desktop/images/08032025/21/12/image_08032025_21_13_06_10932.jpg', 2), ('/home/nano/Desktop/images/08032025/21/12/image_08032025_21_12_55_9918.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/21/13/image_08032025_21_13_45_9921.jpg', '/home/nano/Desktop/images/08032025/21/13/image_08032025_21_13_35_9919.jpg', '/home/nano/Desktop/images/08032025/21/13/image_08032025_21_13_25_9919.jpg', '/home/nano/Desktop/images/08032025/21/13/image_08032025_21_13_15_9920.jpg', '/home/nano/Desktop/images/08032025/21/12/image_08032025_21_13_06_10932.jpg', '/home/nano/Desktop/images/08032025/21/12/image_08032025_21_12_55_9918.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/21/13/image_08032025_21_13_45_9921.jpg
/home/nano/Desktop/images/08032025/21/13/image_08032025_21_13_35_9919.jpg
/home/nano/Desktop/images/08032025/21/13/image_08032025_21_13_25_9919.jpg
/home/nano/Desktop/images/08032025/21/13/image_08032025_21_13_15_9920.jpg
/home/nano/Desktop/images/08032025/21/12/image_08032025_21_13_06_10932.jpg
/home/nano/Desktop/images/08032025/21/12/image_08032025_21_12_55_9918.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1342012306","1342012269","1342012335","1342012308","1342012304","1342012348"],"photo_ids_order":["1342012269","1342012304","1342012306","1342012308","1342012335","1342012348"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/71da68f5c99ab15038e232c5bdbdfaca.jpg","text":"TemporaryFile(/tmp/multipartBody3506335516524545098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741464903315,"filename":"image_08032025_21_13_25_9919.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/5e1bbed145808787b00e8771bbf4e9b1.jpg","text":"TemporaryFile(/tmp/multipartBody8142029527822822381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741464903315,"filename":"image_08032025_21_13_45_9921.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/149571b59cb15e166f985f3b9c70dfb6.jpg","text":"TemporaryFile(/tmp/multipartBody4052735136788797138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741464903315,"filename":"image_08032025_21_13_06_10932.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/63e66381469a375a55584b48a992116a.jpg","text":"TemporaryFile(/tmp/multipartBody5357808703457188284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741464903315,"filename":"image_08032025_21_13_15_9920.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/02294b95649289943033ee7261a5db57.jpg","text":"TemporaryFile(/tmp/multipartBody4694993745596247787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741464903315,"filename":"image_08032025_21_13_35_9919.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/0a7d1874f3ed528a4f37023fc005f6fd.jpg","text":"TemporaryFile(/tmp/multipartBody1116616847431449137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741464903315,"filename":"image_08032025_21_12_55_9918.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1342012306","file1":"1342012304","file0":"1342012269","file4":"1342012335","file5":"1342012348","file3":"1342012308"},"map_files_photo_id_array":[{"photo_id":"1342012348","filename":"file5"},{"photo_id":"1342012306","filename":"file2"},{"photo_id":"1342012335","filename":"file4"},{"photo_id":"1342012304","filename":"file1"},{"photo_id":"1342012269","filename":"file0"},{"photo_id":"1342012308","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1342012306":["hashtag1","hashtag2"]},{"1342012269":["hashtag1","hashtag2"]},{"1342012335":["hashtag1","hashtag2"]},{"1342012308":["hashtag1","hashtag2"]},{"1342012304":["hashtag1","hashtag2"]},{"1342012348":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1342012306, 1342012269, 1342012335, 1342012308, 1342012304, 1342012348)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.18294358253479 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 21:15:02.965069
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/21/14/image_08032025_21_14_45_9925.jpg', 2), ('/home/nano/Desktop/images/08032025/21/14/image_08032025_21_14_35_9925.jpg', 2), ('/home/nano/Desktop/images/08032025/21/14/image_08032025_21_14_25_9923.jpg', 2), ('/home/nano/Desktop/images/08032025/21/14/image_08032025_21_14_15_9918.jpg', 2), ('/home/nano/Desktop/images/08032025/21/13/image_08032025_21_14_05_9950.jpg', 2), ('/home/nano/Desktop/images/08032025/21/13/image_08032025_21_13_55_9918.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/21/14/image_08032025_21_14_45_9925.jpg', '/home/nano/Desktop/images/08032025/21/14/image_08032025_21_14_35_9925.jpg', '/home/nano/Desktop/images/08032025/21/14/image_08032025_21_14_25_9923.jpg', '/home/nano/Desktop/images/08032025/21/14/image_08032025_21_14_15_9918.jpg', '/home/nano/Desktop/images/08032025/21/13/image_08032025_21_14_05_9950.jpg', '/home/nano/Desktop/images/08032025/21/13/image_08032025_21_13_55_9918.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/21/14/image_08032025_21_14_45_9925.jpg
/home/nano/Desktop/images/08032025/21/14/image_08032025_21_14_35_9925.jpg
/home/nano/Desktop/images/08032025/21/14/image_08032025_21_14_25_9923.jpg
/home/nano/Desktop/images/08032025/21/14/image_08032025_21_14_15_9918.jpg
/home/nano/Desktop/images/08032025/21/13/image_08032025_21_14_05_9950.jpg
/home/nano/Desktop/images/08032025/21/13/image_08032025_21_13_55_9918.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1342012392","1342012401","1342012404","1342012397","1342012406","1342012399"],"photo_ids_order":["1342012392","1342012397","1342012399","1342012401","1342012404","1342012406"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/8d58681c138e8f5eb779da9a276c3ad1.jpg","text":"TemporaryFile(/tmp/multipartBody2981773192585903815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741464963399,"filename":"image_08032025_21_14_45_9925.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/5c1758e577a871b363fab8eee86f99db.jpg","text":"TemporaryFile(/tmp/multipartBody1651300112745983952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741464963399,"filename":"image_08032025_21_14_15_9918.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/152a67a02196eb189ec8059369f68f1e.jpg","text":"TemporaryFile(/tmp/multipartBody2371502781556930022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741464963399,"filename":"image_08032025_21_14_05_9950.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/a44ecb6297160aac5800b13d2d8a8f9f.jpg","text":"TemporaryFile(/tmp/multipartBody3923941138921530920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741464963399,"filename":"image_08032025_21_14_35_9925.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/255a27ba1667c5f34b8a5fa325da46db.jpg","text":"TemporaryFile(/tmp/multipartBody7179597958752214073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741464963399,"filename":"image_08032025_21_13_55_9918.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/c1c33ca91e5efabcef0722b167b51cd7.jpg","text":"TemporaryFile(/tmp/multipartBody2800195090012250698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741464963399,"filename":"image_08032025_21_14_25_9923.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1342012399","file1":"1342012397","file0":"1342012392","file4":"1342012404","file5":"1342012406","file3":"1342012401"},"map_files_photo_id_array":[{"photo_id":"1342012406","filename":"file5"},{"photo_id":"1342012399","filename":"file2"},{"photo_id":"1342012404","filename":"file4"},{"photo_id":"1342012397","filename":"file1"},{"photo_id":"1342012392","filename":"file0"},{"photo_id":"1342012401","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1342012392":["hashtag1","hashtag2"]},{"1342012401":["hashtag1","hashtag2"]},{"1342012404":["hashtag1","hashtag2"]},{"1342012397":["hashtag1","hashtag2"]},{"1342012406":["hashtag1","hashtag2"]},{"1342012399":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1342012392, 1342012401, 1342012404, 1342012397, 1342012406, 1342012399)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.466063261032104 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 21:16:02.846446
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/21/15/image_08032025_21_15_45_9958.jpg', 2), ('/home/nano/Desktop/images/08032025/21/15/image_08032025_21_15_35_9924.jpg', 2), ('/home/nano/Desktop/images/08032025/21/15/image_08032025_21_15_26_10937.jpg', 2), ('/home/nano/Desktop/images/08032025/21/15/image_08032025_21_15_15_9920.jpg', 2), ('/home/nano/Desktop/images/08032025/21/14/image_08032025_21_15_05_9940.jpg', 2), ('/home/nano/Desktop/images/08032025/21/14/image_08032025_21_14_55_9930.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/21/15/image_08032025_21_15_45_9958.jpg', '/home/nano/Desktop/images/08032025/21/15/image_08032025_21_15_35_9924.jpg', '/home/nano/Desktop/images/08032025/21/15/image_08032025_21_15_26_10937.jpg', '/home/nano/Desktop/images/08032025/21/15/image_08032025_21_15_15_9920.jpg', '/home/nano/Desktop/images/08032025/21/14/image_08032025_21_15_05_9940.jpg', '/home/nano/Desktop/images/08032025/21/14/image_08032025_21_14_55_9930.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/21/15/image_08032025_21_15_45_9958.jpg
/home/nano/Desktop/images/08032025/21/15/image_08032025_21_15_35_9924.jpg
/home/nano/Desktop/images/08032025/21/15/image_08032025_21_15_26_10937.jpg
/home/nano/Desktop/images/08032025/21/15/image_08032025_21_15_15_9920.jpg
/home/nano/Desktop/images/08032025/21/14/image_08032025_21_15_05_9940.jpg
/home/nano/Desktop/images/08032025/21/14/image_08032025_21_14_55_9930.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1342012618","1342012458","1342012518","1342012614","1342012535","1342012582"],"photo_ids_order":["1342012458","1342012518","1342012535","1342012582","1342012614","1342012618"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/b90c1a6328c7e63a01eee2054d6c1c6e.jpg","text":"TemporaryFile(/tmp/multipartBody7968127178638889478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741465023272,"filename":"image_08032025_21_14_55_9930.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/626ef120c951c9fd77c3e1c9b80ac5df.jpg","text":"TemporaryFile(/tmp/multipartBody3122748421225372674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741465023272,"filename":"image_08032025_21_15_45_9958.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/68579647a4ae32aef389a6199cbd350a.jpg","text":"TemporaryFile(/tmp/multipartBody803728493443278565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741465023272,"filename":"image_08032025_21_15_35_9924.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/4198ecbeabc221f0cb370c6fbe6e1d51.jpg","text":"TemporaryFile(/tmp/multipartBody6614736717078642166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741465023272,"filename":"image_08032025_21_15_05_9940.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/d42edfec2489968ba46b2912a3038cd9.jpg","text":"TemporaryFile(/tmp/multipartBody890529499063320159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741465023272,"filename":"image_08032025_21_15_26_10937.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/edaf8e7184fb6975fcd77ea1ec595773.jpg","text":"TemporaryFile(/tmp/multipartBody998131246797723511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741465023272,"filename":"image_08032025_21_15_15_9920.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1342012535","file1":"1342012518","file0":"1342012458","file4":"1342012614","file5":"1342012618","file3":"1342012582"},"map_files_photo_id_array":[{"photo_id":"1342012618","filename":"file5"},{"photo_id":"1342012535","filename":"file2"},{"photo_id":"1342012614","filename":"file4"},{"photo_id":"1342012518","filename":"file1"},{"photo_id":"1342012458","filename":"file0"},{"photo_id":"1342012582","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1342012618":["hashtag1","hashtag2"]},{"1342012458":["hashtag1","hashtag2"]},{"1342012518":["hashtag1","hashtag2"]},{"1342012614":["hashtag1","hashtag2"]},{"1342012535":["hashtag1","hashtag2"]},{"1342012582":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1342012618, 1342012458, 1342012518, 1342012614, 1342012535, 1342012582)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.12884855270386 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 21:17:03.238819
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/21/16/image_08032025_21_16_45_9918.jpg', 2), ('/home/nano/Desktop/images/08032025/21/16/image_08032025_21_16_35_9923.jpg', 2), ('/home/nano/Desktop/images/08032025/21/16/image_08032025_21_16_25_9928.jpg', 2), ('/home/nano/Desktop/images/08032025/21/16/image_08032025_21_16_15_9924.jpg', 2), ('/home/nano/Desktop/images/08032025/21/15/image_08032025_21_16_05_9927.jpg', 2), ('/home/nano/Desktop/images/08032025/21/15/image_08032025_21_15_55_9924.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/21/16/image_08032025_21_16_45_9918.jpg', '/home/nano/Desktop/images/08032025/21/16/image_08032025_21_16_35_9923.jpg', '/home/nano/Desktop/images/08032025/21/16/image_08032025_21_16_25_9928.jpg', '/home/nano/Desktop/images/08032025/21/16/image_08032025_21_16_15_9924.jpg', '/home/nano/Desktop/images/08032025/21/15/image_08032025_21_16_05_9927.jpg', '/home/nano/Desktop/images/08032025/21/15/image_08032025_21_15_55_9924.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/21/16/image_08032025_21_16_45_9918.jpg
/home/nano/Desktop/images/08032025/21/16/image_08032025_21_16_35_9923.jpg
/home/nano/Desktop/images/08032025/21/16/image_08032025_21_16_25_9928.jpg
/home/nano/Desktop/images/08032025/21/16/image_08032025_21_16_15_9924.jpg
/home/nano/Desktop/images/08032025/21/15/image_08032025_21_16_05_9927.jpg
/home/nano/Desktop/images/08032025/21/15/image_08032025_21_15_55_9924.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1342012654","1342012716","1342012718","1342012712","1342012699","1342012651"],"photo_ids_order":["1342012651","1342012654","1342012699","1342012712","1342012716","1342012718"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/0531fe60ac87644654508936cbe13ff2.jpg","text":"TemporaryFile(/tmp/multipartBody4213264688806097534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741465083804,"filename":"image_08032025_21_16_35_9923.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/f5dc9f1f8953b94b27dc28045cfb09b0.jpg","text":"TemporaryFile(/tmp/multipartBody2650149771115837792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741465083804,"filename":"image_08032025_21_16_05_9927.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/e29c3eae4553ef830b9365e68086d82a.jpg","text":"TemporaryFile(/tmp/multipartBody1142014991398605952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741465083804,"filename":"image_08032025_21_15_55_9924.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/7150ab9691523dd7e084d79e362e718a.jpg","text":"TemporaryFile(/tmp/multipartBody4964894064115121521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741465083804,"filename":"image_08032025_21_16_15_9924.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/9f43f17d172c5e51644ed762e6d7f2f3.jpg","text":"TemporaryFile(/tmp/multipartBody1660013317860945429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741465083804,"filename":"image_08032025_21_16_25_9928.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/91343bc68cdd0764f1f43c6a858f1d09.jpg","text":"TemporaryFile(/tmp/multipartBody7990875284782826161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741465083804,"filename":"image_08032025_21_16_45_9918.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1342012699","file1":"1342012654","file0":"1342012651","file4":"1342012716","file5":"1342012718","file3":"1342012712"},"map_files_photo_id_array":[{"photo_id":"1342012718","filename":"file5"},{"photo_id":"1342012699","filename":"file2"},{"photo_id":"1342012716","filename":"file4"},{"photo_id":"1342012654","filename":"file1"},{"photo_id":"1342012651","filename":"file0"},{"photo_id":"1342012712","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1342012654":["hashtag1","hashtag2"]},{"1342012716":["hashtag1","hashtag2"]},{"1342012718":["hashtag1","hashtag2"]},{"1342012712":["hashtag1","hashtag2"]},{"1342012699":["hashtag1","hashtag2"]},{"1342012651":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1342012654, 1342012716, 1342012718, 1342012712, 1342012699, 1342012651)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.44011640548706 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 21:18:03.259007
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/21/17/image_08032025_21_17_46_10930.jpg', 2), ('/home/nano/Desktop/images/08032025/21/17/image_08032025_21_17_35_9937.jpg', 2), ('/home/nano/Desktop/images/08032025/21/17/image_08032025_21_17_25_9925.jpg', 2), ('/home/nano/Desktop/images/08032025/21/17/image_08032025_21_17_15_9932.jpg', 2), ('/home/nano/Desktop/images/08032025/21/16/image_08032025_21_17_05_9921.jpg', 2), ('/home/nano/Desktop/images/08032025/21/16/image_08032025_21_16_55_9920.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/21/17/image_08032025_21_17_46_10930.jpg', '/home/nano/Desktop/images/08032025/21/17/image_08032025_21_17_35_9937.jpg', '/home/nano/Desktop/images/08032025/21/17/image_08032025_21_17_25_9925.jpg', '/home/nano/Desktop/images/08032025/21/17/image_08032025_21_17_15_9932.jpg', '/home/nano/Desktop/images/08032025/21/16/image_08032025_21_17_05_9921.jpg', '/home/nano/Desktop/images/08032025/21/16/image_08032025_21_16_55_9920.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/21/17/image_08032025_21_17_46_10930.jpg
/home/nano/Desktop/images/08032025/21/17/image_08032025_21_17_35_9937.jpg
/home/nano/Desktop/images/08032025/21/17/image_08032025_21_17_25_9925.jpg
/home/nano/Desktop/images/08032025/21/17/image_08032025_21_17_15_9932.jpg
/home/nano/Desktop/images/08032025/21/16/image_08032025_21_17_05_9921.jpg
/home/nano/Desktop/images/08032025/21/16/image_08032025_21_16_55_9920.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1342012825","1342012797","1342012785","1342012782","1342012763","1342012759"],"photo_ids_order":["1342012759","1342012763","1342012782","1342012785","1342012797","1342012825"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/26d1a828114da5447ea026feb91c3cc7.jpg","text":"TemporaryFile(/tmp/multipartBody5661558799401954693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741465143705,"filename":"image_08032025_21_16_55_9920.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/533cfcae492339329e0503e56e22c3d9.jpg","text":"TemporaryFile(/tmp/multipartBody2909463539034949192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741465143705,"filename":"image_08032025_21_17_05_9921.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/4a10ded53a307e0280822f866a11575e.jpg","text":"TemporaryFile(/tmp/multipartBody3773759017193969681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741465143705,"filename":"image_08032025_21_17_15_9932.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/11135ade9e82cd897fb8d4dbd0ed75ba.jpg","text":"TemporaryFile(/tmp/multipartBody8117182881702353110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741465143705,"filename":"image_08032025_21_17_25_9925.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/e400dedc3684b2ea1b85d600e165fc6e.jpg","text":"TemporaryFile(/tmp/multipartBody3941701282346220670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741465143705,"filename":"image_08032025_21_17_35_9937.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/dd7ffc2430907a4a73afbc3a1e4b3023.jpg","text":"TemporaryFile(/tmp/multipartBody1699747348781901078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741465143705,"filename":"image_08032025_21_17_46_10930.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1342012782","file1":"1342012763","file0":"1342012759","file4":"1342012797","file5":"1342012825","file3":"1342012785"},"map_files_photo_id_array":[{"photo_id":"1342012825","filename":"file5"},{"photo_id":"1342012782","filename":"file2"},{"photo_id":"1342012797","filename":"file4"},{"photo_id":"1342012763","filename":"file1"},{"photo_id":"1342012759","filename":"file0"},{"photo_id":"1342012785","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1342012825":["hashtag1","hashtag2"]},{"1342012797":["hashtag1","hashtag2"]},{"1342012785":["hashtag1","hashtag2"]},{"1342012782":["hashtag1","hashtag2"]},{"1342012763":["hashtag1","hashtag2"]},{"1342012759":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1342012825, 1342012797, 1342012785, 1342012782, 1342012763, 1342012759)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.52159285545349 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 21:19:02.399552
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/21/18/image_08032025_21_18_45_9928.jpg', 2), ('/home/nano/Desktop/images/08032025/21/18/image_08032025_21_18_35_9932.jpg', 2), ('/home/nano/Desktop/images/08032025/21/18/image_08032025_21_18_25_9982.jpg', 2), ('/home/nano/Desktop/images/08032025/21/18/image_08032025_21_18_15_9921.jpg', 2), ('/home/nano/Desktop/images/08032025/21/17/image_08032025_21_18_05_9961.jpg', 2), ('/home/nano/Desktop/images/08032025/21/17/image_08032025_21_17_55_9922.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/21/18/image_08032025_21_18_45_9928.jpg', '/home/nano/Desktop/images/08032025/21/18/image_08032025_21_18_35_9932.jpg', '/home/nano/Desktop/images/08032025/21/18/image_08032025_21_18_25_9982.jpg', '/home/nano/Desktop/images/08032025/21/18/image_08032025_21_18_15_9921.jpg', '/home/nano/Desktop/images/08032025/21/17/image_08032025_21_18_05_9961.jpg', '/home/nano/Desktop/images/08032025/21/17/image_08032025_21_17_55_9922.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/21/18/image_08032025_21_18_45_9928.jpg
/home/nano/Desktop/images/08032025/21/18/image_08032025_21_18_35_9932.jpg
/home/nano/Desktop/images/08032025/21/18/image_08032025_21_18_25_9982.jpg
/home/nano/Desktop/images/08032025/21/18/image_08032025_21_18_15_9921.jpg
/home/nano/Desktop/images/08032025/21/17/image_08032025_21_18_05_9961.jpg
/home/nano/Desktop/images/08032025/21/17/image_08032025_21_17_55_9922.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1342013014","1342013115","1342013135","1342013144","1342013132","1342013140"],"photo_ids_order":["1342013014","1342013115","1342013132","1342013135","1342013140","1342013144"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/a9c7e6d7e07696d45bd0940cedc14c87.jpg","text":"TemporaryFile(/tmp/multipartBody8081260030044676826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741465202862,"filename":"image_08032025_21_18_45_9928.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/5c6ee6c04ebf42efac45c85ee16a379d.jpg","text":"TemporaryFile(/tmp/multipartBody4907850466622994800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741465202862,"filename":"image_08032025_21_18_35_9932.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/e7de256ce60798321ab266f9560b7aa8.jpg","text":"TemporaryFile(/tmp/multipartBody587776659954747473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741465202862,"filename":"image_08032025_21_18_15_9921.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/b007eca2eb463daf0190875ab9ef7432.jpg","text":"TemporaryFile(/tmp/multipartBody6620879636459028417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741465202862,"filename":"image_08032025_21_17_55_9922.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/05f6faa30230ebb48e911126654ef358.jpg","text":"TemporaryFile(/tmp/multipartBody1008640496614435180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741465202862,"filename":"image_08032025_21_18_25_9982.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/20375bebac5671516605ba81c0999a6b.jpg","text":"TemporaryFile(/tmp/multipartBody4632361440922149124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741465202862,"filename":"image_08032025_21_18_05_9961.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1342013132","file1":"1342013115","file0":"1342013014","file4":"1342013140","file5":"1342013144","file3":"1342013135"},"map_files_photo_id_array":[{"photo_id":"1342013144","filename":"file5"},{"photo_id":"1342013132","filename":"file2"},{"photo_id":"1342013140","filename":"file4"},{"photo_id":"1342013115","filename":"file1"},{"photo_id":"1342013014","filename":"file0"},{"photo_id":"1342013135","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1342013014":["hashtag1","hashtag2"]},{"1342013115":["hashtag1","hashtag2"]},{"1342013135":["hashtag1","hashtag2"]},{"1342013144":["hashtag1","hashtag2"]},{"1342013132":["hashtag1","hashtag2"]},{"1342013140":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1342013014, 1342013115, 1342013135, 1342013144, 1342013132, 1342013140)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.92596459388733 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 21:20:02.460955
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/21/19/image_08032025_21_19_45_9923.jpg', 2), ('/home/nano/Desktop/images/08032025/21/19/image_08032025_21_19_35_9923.jpg', 2), ('/home/nano/Desktop/images/08032025/21/19/image_08032025_21_19_25_9918.jpg', 2), ('/home/nano/Desktop/images/08032025/21/19/image_08032025_21_19_15_9941.jpg', 2), ('/home/nano/Desktop/images/08032025/21/18/image_08032025_21_19_05_9968.jpg', 2), ('/home/nano/Desktop/images/08032025/21/18/image_08032025_21_18_55_9918.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/21/19/image_08032025_21_19_45_9923.jpg', '/home/nano/Desktop/images/08032025/21/19/image_08032025_21_19_35_9923.jpg', '/home/nano/Desktop/images/08032025/21/19/image_08032025_21_19_25_9918.jpg', '/home/nano/Desktop/images/08032025/21/19/image_08032025_21_19_15_9941.jpg', '/home/nano/Desktop/images/08032025/21/18/image_08032025_21_19_05_9968.jpg', '/home/nano/Desktop/images/08032025/21/18/image_08032025_21_18_55_9918.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/21/19/image_08032025_21_19_45_9923.jpg
/home/nano/Desktop/images/08032025/21/19/image_08032025_21_19_35_9923.jpg
/home/nano/Desktop/images/08032025/21/19/image_08032025_21_19_25_9918.jpg
/home/nano/Desktop/images/08032025/21/19/image_08032025_21_19_15_9941.jpg
/home/nano/Desktop/images/08032025/21/18/image_08032025_21_19_05_9968.jpg
/home/nano/Desktop/images/08032025/21/18/image_08032025_21_18_55_9918.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.4384593963623047 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 marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 21:20:31.863364
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/21/20/image_08032025_21_20_45_9935.jpg', 2), ('/home/nano/Desktop/images/08032025/21/20/image_08032025_21_20_35_9953.jpg', 2), ('/home/nano/Desktop/images/08032025/21/20/image_08032025_21_20_26_10935.jpg', 2), ('/home/nano/Desktop/images/08032025/21/20/image_08032025_21_20_15_9924.jpg', 2), ('/home/nano/Desktop/images/08032025/21/19/image_08032025_21_20_05_9943.jpg', 2), ('/home/nano/Desktop/images/08032025/21/19/image_08032025_21_19_55_9928.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/21/20/image_08032025_21_20_45_9935.jpg', '/home/nano/Desktop/images/08032025/21/20/image_08032025_21_20_35_9953.jpg', '/home/nano/Desktop/images/08032025/21/20/image_08032025_21_20_26_10935.jpg', '/home/nano/Desktop/images/08032025/21/20/image_08032025_21_20_15_9924.jpg', '/home/nano/Desktop/images/08032025/21/19/image_08032025_21_20_05_9943.jpg', '/home/nano/Desktop/images/08032025/21/19/image_08032025_21_19_55_9928.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/21/20/image_08032025_21_20_45_9935.jpg
/home/nano/Desktop/images/08032025/21/20/image_08032025_21_20_35_9953.jpg
/home/nano/Desktop/images/08032025/21/20/image_08032025_21_20_26_10935.jpg
/home/nano/Desktop/images/08032025/21/20/image_08032025_21_20_15_9924.jpg
/home/nano/Desktop/images/08032025/21/19/image_08032025_21_20_05_9943.jpg
/home/nano/Desktop/images/08032025/21/19/image_08032025_21_19_55_9928.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1342013304","1342013333","1342013420","1342013389","1342013362","1342013443"],"photo_ids_order":["1342013304","1342013333","1342013362","1342013389","1342013420","1342013443"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/5efe2f9a024847cd250f750e8cc84896.jpg","text":"TemporaryFile(/tmp/multipartBody9070638986526282356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741465292385,"filename":"image_08032025_21_20_45_9935.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/6150468cf6adaef912f0db95f42e1f5f.jpg","text":"TemporaryFile(/tmp/multipartBody73569306959478254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741465292385,"filename":"image_08032025_21_20_35_9953.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/e59d839c1cc9c541c3196661bd98589d.jpg","text":"TemporaryFile(/tmp/multipartBody8947239969116627114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741465292385,"filename":"image_08032025_21_20_05_9943.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/296e6cdde0586c74fa5b56f215b0445b.jpg","text":"TemporaryFile(/tmp/multipartBody5030962998110996697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741465292385,"filename":"image_08032025_21_20_15_9924.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/12e759af413ac0937f27c12c556cf378.jpg","text":"TemporaryFile(/tmp/multipartBody3404757674696771041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741465292385,"filename":"image_08032025_21_20_26_10935.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/3b0e220d6f5004f11c42cd6e49558976.jpg","text":"TemporaryFile(/tmp/multipartBody6388407179358990225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741465292385,"filename":"image_08032025_21_19_55_9928.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1342013362","file1":"1342013333","file0":"1342013304","file4":"1342013420","file5":"1342013443","file3":"1342013389"},"map_files_photo_id_array":[{"photo_id":"1342013443","filename":"file5"},{"photo_id":"1342013362","filename":"file2"},{"photo_id":"1342013420","filename":"file4"},{"photo_id":"1342013333","filename":"file1"},{"photo_id":"1342013304","filename":"file0"},{"photo_id":"1342013389","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1342013304":["hashtag1","hashtag2"]},{"1342013333":["hashtag1","hashtag2"]},{"1342013420":["hashtag1","hashtag2"]},{"1342013389":["hashtag1","hashtag2"]},{"1342013362":["hashtag1","hashtag2"]},{"1342013443":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1342013304, 1342013333, 1342013420, 1342013389, 1342013362, 1342013443)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.702200412750244 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 21:21:31.962016
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/21/21/image_08032025_21_21_45_9925.jpg', 2), ('/home/nano/Desktop/images/08032025/21/21/image_08032025_21_21_35_9922.jpg', 2), ('/home/nano/Desktop/images/08032025/21/21/image_08032025_21_21_25_9941.jpg', 2), ('/home/nano/Desktop/images/08032025/21/21/image_08032025_21_21_15_9925.jpg', 2), ('/home/nano/Desktop/images/08032025/21/20/image_08032025_21_21_05_9925.jpg', 2), ('/home/nano/Desktop/images/08032025/21/20/image_08032025_21_20_55_9917.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/21/21/image_08032025_21_21_45_9925.jpg', '/home/nano/Desktop/images/08032025/21/21/image_08032025_21_21_35_9922.jpg', '/home/nano/Desktop/images/08032025/21/21/image_08032025_21_21_25_9941.jpg', '/home/nano/Desktop/images/08032025/21/21/image_08032025_21_21_15_9925.jpg', '/home/nano/Desktop/images/08032025/21/20/image_08032025_21_21_05_9925.jpg', '/home/nano/Desktop/images/08032025/21/20/image_08032025_21_20_55_9917.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/21/21/image_08032025_21_21_45_9925.jpg
/home/nano/Desktop/images/08032025/21/21/image_08032025_21_21_35_9922.jpg
/home/nano/Desktop/images/08032025/21/21/image_08032025_21_21_25_9941.jpg
/home/nano/Desktop/images/08032025/21/21/image_08032025_21_21_15_9925.jpg
/home/nano/Desktop/images/08032025/21/20/image_08032025_21_21_05_9925.jpg
/home/nano/Desktop/images/08032025/21/20/image_08032025_21_20_55_9917.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1342013472","1342013481","1342013475","1342013469","1342013477","1342013479"],"photo_ids_order":["1342013469","1342013472","1342013475","1342013477","1342013479","1342013481"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/065e255f9624b4f93b65073532b86279.jpg","text":"TemporaryFile(/tmp/multipartBody3380096738425871767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741465352372,"filename":"image_08032025_21_21_35_9922.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/fe76aa3577a70e9e63ec48eacfa6585c.jpg","text":"TemporaryFile(/tmp/multipartBody4705638684368948671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741465352372,"filename":"image_08032025_21_20_55_9917.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/dad16c5e9184e238501f52effa4a6cab.jpg","text":"TemporaryFile(/tmp/multipartBody7465823596838565489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741465352372,"filename":"image_08032025_21_21_25_9941.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/158503b74921be8eb8f8d42db5842cff.jpg","text":"TemporaryFile(/tmp/multipartBody5395967773291301147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741465352372,"filename":"image_08032025_21_21_45_9925.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/1674bef33946f7a31c2efa9db7b9008b.jpg","text":"TemporaryFile(/tmp/multipartBody2125400249717980922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741465352372,"filename":"image_08032025_21_21_15_9925.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/d7dc1083b9adb4dd32f9d8ecb6ddf26e.jpg","text":"TemporaryFile(/tmp/multipartBody4104844193780705964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741465352372,"filename":"image_08032025_21_21_05_9925.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1342013475","file1":"1342013472","file0":"1342013469","file4":"1342013479","file5":"1342013481","file3":"1342013477"},"map_files_photo_id_array":[{"photo_id":"1342013481","filename":"file5"},{"photo_id":"1342013475","filename":"file2"},{"photo_id":"1342013479","filename":"file4"},{"photo_id":"1342013472","filename":"file1"},{"photo_id":"1342013469","filename":"file0"},{"photo_id":"1342013477","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1342013472":["hashtag1","hashtag2"]},{"1342013481":["hashtag1","hashtag2"]},{"1342013475":["hashtag1","hashtag2"]},{"1342013469":["hashtag1","hashtag2"]},{"1342013477":["hashtag1","hashtag2"]},{"1342013479":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1342013472, 1342013481, 1342013475, 1342013469, 1342013477, 1342013479)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.57578182220459 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 21:22:32.074162
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/21/22/image_08032025_21_22_46_10931.jpg', 2), ('/home/nano/Desktop/images/08032025/21/22/image_08032025_21_22_35_9921.jpg', 2), ('/home/nano/Desktop/images/08032025/21/22/image_08032025_21_22_25_9929.jpg', 2), ('/home/nano/Desktop/images/08032025/21/22/image_08032025_21_22_15_9922.jpg', 2), ('/home/nano/Desktop/images/08032025/21/21/image_08032025_21_22_05_9931.jpg', 2), ('/home/nano/Desktop/images/08032025/21/21/image_08032025_21_21_55_9924.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/21/22/image_08032025_21_22_46_10931.jpg', '/home/nano/Desktop/images/08032025/21/22/image_08032025_21_22_35_9921.jpg', '/home/nano/Desktop/images/08032025/21/22/image_08032025_21_22_25_9929.jpg', '/home/nano/Desktop/images/08032025/21/22/image_08032025_21_22_15_9922.jpg', '/home/nano/Desktop/images/08032025/21/21/image_08032025_21_22_05_9931.jpg', '/home/nano/Desktop/images/08032025/21/21/image_08032025_21_21_55_9924.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/21/22/image_08032025_21_22_46_10931.jpg
/home/nano/Desktop/images/08032025/21/22/image_08032025_21_22_35_9921.jpg
/home/nano/Desktop/images/08032025/21/22/image_08032025_21_22_25_9929.jpg
/home/nano/Desktop/images/08032025/21/22/image_08032025_21_22_15_9922.jpg
/home/nano/Desktop/images/08032025/21/21/image_08032025_21_22_05_9931.jpg
/home/nano/Desktop/images/08032025/21/21/image_08032025_21_21_55_9924.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1342013589","1342013544","1342013591","1342013585","1342013560","1342013530"],"photo_ids_order":["1342013530","1342013544","1342013560","1342013585","1342013589","1342013591"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/bb6942bf786c549c1faf6901152fbac7.jpg","text":"TemporaryFile(/tmp/multipartBody6511606369322369717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741465412534,"filename":"image_08032025_21_22_05_9931.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/4cf83a3cdb4672cf3f395a3ff307cd50.jpg","text":"TemporaryFile(/tmp/multipartBody820767002130625363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741465412534,"filename":"image_08032025_21_22_35_9921.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/9044d25d9f1e023d7c9811f7d2e38706.jpg","text":"TemporaryFile(/tmp/multipartBody5037801774536333875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741465412534,"filename":"image_08032025_21_21_55_9924.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/ebb679e44d64ce445ce81737b34df49b.jpg","text":"TemporaryFile(/tmp/multipartBody9103612487119228157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741465412534,"filename":"image_08032025_21_22_15_9922.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/56208c44c3ea05da4fbf99543349a4df.jpg","text":"TemporaryFile(/tmp/multipartBody5831169517029536410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741465412534,"filename":"image_08032025_21_22_25_9929.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/a136b85a774162de6c176384e9ff4443.jpg","text":"TemporaryFile(/tmp/multipartBody432898990151041441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741465412534,"filename":"image_08032025_21_22_46_10931.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1342013560","file1":"1342013544","file0":"1342013530","file4":"1342013589","file5":"1342013591","file3":"1342013585"},"map_files_photo_id_array":[{"photo_id":"1342013591","filename":"file5"},{"photo_id":"1342013560","filename":"file2"},{"photo_id":"1342013589","filename":"file4"},{"photo_id":"1342013544","filename":"file1"},{"photo_id":"1342013530","filename":"file0"},{"photo_id":"1342013585","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1342013589":["hashtag1","hashtag2"]},{"1342013544":["hashtag1","hashtag2"]},{"1342013591":["hashtag1","hashtag2"]},{"1342013585":["hashtag1","hashtag2"]},{"1342013560":["hashtag1","hashtag2"]},{"1342013530":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1342013589, 1342013544, 1342013591, 1342013585, 1342013560, 1342013530)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.360450744628906 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 21:23:32.177804
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/21/23/image_08032025_21_23_45_9924.jpg', 2), ('/home/nano/Desktop/images/08032025/21/23/image_08032025_21_23_35_9925.jpg', 2), ('/home/nano/Desktop/images/08032025/21/23/image_08032025_21_23_25_9941.jpg', 2), ('/home/nano/Desktop/images/08032025/21/23/image_08032025_21_23_15_9921.jpg', 2), ('/home/nano/Desktop/images/08032025/21/22/image_08032025_21_23_05_9940.jpg', 2), ('/home/nano/Desktop/images/08032025/21/22/image_08032025_21_22_55_9923.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/21/23/image_08032025_21_23_45_9924.jpg', '/home/nano/Desktop/images/08032025/21/23/image_08032025_21_23_35_9925.jpg', '/home/nano/Desktop/images/08032025/21/23/image_08032025_21_23_25_9941.jpg', '/home/nano/Desktop/images/08032025/21/23/image_08032025_21_23_15_9921.jpg', '/home/nano/Desktop/images/08032025/21/22/image_08032025_21_23_05_9940.jpg', '/home/nano/Desktop/images/08032025/21/22/image_08032025_21_22_55_9923.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/21/23/image_08032025_21_23_45_9924.jpg
/home/nano/Desktop/images/08032025/21/23/image_08032025_21_23_35_9925.jpg
/home/nano/Desktop/images/08032025/21/23/image_08032025_21_23_25_9941.jpg
/home/nano/Desktop/images/08032025/21/23/image_08032025_21_23_15_9921.jpg
/home/nano/Desktop/images/08032025/21/22/image_08032025_21_23_05_9940.jpg
/home/nano/Desktop/images/08032025/21/22/image_08032025_21_22_55_9923.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1342013809","1342013759","1342013924","1342013989","1342013971","1342013874"],"photo_ids_order":["1342013759","1342013809","1342013874","1342013924","1342013971","1342013989"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/debaeac93fb09e3a8cff1cb18555ec0a.jpg","text":"TemporaryFile(/tmp/multipartBody2231281558775667557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741465472606,"filename":"image_08032025_21_23_35_9925.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/4d0704f16e1e9eec6e4a5cbcf65159c7.jpg","text":"TemporaryFile(/tmp/multipartBody7293099043017061693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741465472606,"filename":"image_08032025_21_23_45_9924.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/5a6196417754ef037c886c3437211da3.jpg","text":"TemporaryFile(/tmp/multipartBody132255923194718080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741465472606,"filename":"image_08032025_21_23_15_9921.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/a96209ba71a433795c06e91b73976671.jpg","text":"TemporaryFile(/tmp/multipartBody7975343223463569955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741465472606,"filename":"image_08032025_21_22_55_9923.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/f63f062b53ed92c739a5a6c401b5c598.jpg","text":"TemporaryFile(/tmp/multipartBody3939004560575781178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741465472606,"filename":"image_08032025_21_23_05_9940.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/9bb8f5643e638f3556835a78334190af.jpg","text":"TemporaryFile(/tmp/multipartBody1487631270909326531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741465472606,"filename":"image_08032025_21_23_25_9941.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1342013874","file1":"1342013809","file0":"1342013759","file4":"1342013971","file5":"1342013989","file3":"1342013924"},"map_files_photo_id_array":[{"photo_id":"1342013989","filename":"file5"},{"photo_id":"1342013874","filename":"file2"},{"photo_id":"1342013971","filename":"file4"},{"photo_id":"1342013809","filename":"file1"},{"photo_id":"1342013759","filename":"file0"},{"photo_id":"1342013924","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1342013809":["hashtag1","hashtag2"]},{"1342013759":["hashtag1","hashtag2"]},{"1342013924":["hashtag1","hashtag2"]},{"1342013989":["hashtag1","hashtag2"]},{"1342013971":["hashtag1","hashtag2"]},{"1342013874":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1342013809, 1342013759, 1342013924, 1342013989, 1342013971, 1342013874)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.81780457496643 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 21:24:32.261056
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/21/24/image_08032025_21_24_45_9926.jpg', 2), ('/home/nano/Desktop/images/08032025/21/24/image_08032025_21_24_35_9925.jpg', 2), ('/home/nano/Desktop/images/08032025/21/24/image_08032025_21_24_25_9923.jpg', 2), ('/home/nano/Desktop/images/08032025/21/24/image_08032025_21_24_15_9931.jpg', 2), ('/home/nano/Desktop/images/08032025/21/23/image_08032025_21_24_05_9942.jpg', 2), ('/home/nano/Desktop/images/08032025/21/23/image_08032025_21_23_55_9922.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/21/24/image_08032025_21_24_45_9926.jpg', '/home/nano/Desktop/images/08032025/21/24/image_08032025_21_24_35_9925.jpg', '/home/nano/Desktop/images/08032025/21/24/image_08032025_21_24_25_9923.jpg', '/home/nano/Desktop/images/08032025/21/24/image_08032025_21_24_15_9931.jpg', '/home/nano/Desktop/images/08032025/21/23/image_08032025_21_24_05_9942.jpg', '/home/nano/Desktop/images/08032025/21/23/image_08032025_21_23_55_9922.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/21/24/image_08032025_21_24_45_9926.jpg
/home/nano/Desktop/images/08032025/21/24/image_08032025_21_24_35_9925.jpg
/home/nano/Desktop/images/08032025/21/24/image_08032025_21_24_25_9923.jpg
/home/nano/Desktop/images/08032025/21/24/image_08032025_21_24_15_9931.jpg
/home/nano/Desktop/images/08032025/21/23/image_08032025_21_24_05_9942.jpg
/home/nano/Desktop/images/08032025/21/23/image_08032025_21_23_55_9922.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1342014435","1342014323","1342014571","1342014529","1342014471","1342014573"],"photo_ids_order":["1342014323","1342014435","1342014471","1342014529","1342014571","1342014573"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/5b396e677eebdea8e65a9b6c8d0b8e45.jpg","text":"TemporaryFile(/tmp/multipartBody7373025505568839570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741465532682,"filename":"image_08032025_21_24_35_9925.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/76a2c32135c2526f28dbe1aed45fead9.jpg","text":"TemporaryFile(/tmp/multipartBody6285960901505262091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741465532682,"filename":"image_08032025_21_24_45_9926.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/da82766b13ae612fb10a580d8eedd5e8.jpg","text":"TemporaryFile(/tmp/multipartBody1657585751939142309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741465532682,"filename":"image_08032025_21_24_05_9942.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/46493b1abb4aee7428b3820e3ada6b80.jpg","text":"TemporaryFile(/tmp/multipartBody8504182689033681188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741465532682,"filename":"image_08032025_21_24_15_9931.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/f8bd6692e2066fb9e18bcbfc4f396346.jpg","text":"TemporaryFile(/tmp/multipartBody8248299751416754019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741465532682,"filename":"image_08032025_21_24_25_9923.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/c28278520adbc2532cf5d41520341a0b.jpg","text":"TemporaryFile(/tmp/multipartBody8221824086318027495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741465532682,"filename":"image_08032025_21_23_55_9922.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1342014471","file1":"1342014435","file0":"1342014323","file4":"1342014571","file5":"1342014573","file3":"1342014529"},"map_files_photo_id_array":[{"photo_id":"1342014573","filename":"file5"},{"photo_id":"1342014471","filename":"file2"},{"photo_id":"1342014571","filename":"file4"},{"photo_id":"1342014435","filename":"file1"},{"photo_id":"1342014323","filename":"file0"},{"photo_id":"1342014529","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1342014435":["hashtag1","hashtag2"]},{"1342014323":["hashtag1","hashtag2"]},{"1342014571":["hashtag1","hashtag2"]},{"1342014529":["hashtag1","hashtag2"]},{"1342014471":["hashtag1","hashtag2"]},{"1342014573":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1342014435, 1342014323, 1342014571, 1342014529, 1342014471, 1342014573)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.418476819992065 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 21:25:32.348315
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/21/25/image_08032025_21_25_45_9938.jpg', 2), ('/home/nano/Desktop/images/08032025/21/25/image_08032025_21_25_35_9922.jpg', 2), ('/home/nano/Desktop/images/08032025/21/25/image_08032025_21_25_25_9920.jpg', 2), ('/home/nano/Desktop/images/08032025/21/25/image_08032025_21_25_15_9924.jpg', 2), ('/home/nano/Desktop/images/08032025/21/24/image_08032025_21_25_06_10945.jpg', 2), ('/home/nano/Desktop/images/08032025/21/24/image_08032025_21_24_55_9923.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/21/25/image_08032025_21_25_45_9938.jpg', '/home/nano/Desktop/images/08032025/21/25/image_08032025_21_25_35_9922.jpg', '/home/nano/Desktop/images/08032025/21/25/image_08032025_21_25_25_9920.jpg', '/home/nano/Desktop/images/08032025/21/25/image_08032025_21_25_15_9924.jpg', '/home/nano/Desktop/images/08032025/21/24/image_08032025_21_25_06_10945.jpg', '/home/nano/Desktop/images/08032025/21/24/image_08032025_21_24_55_9923.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/21/25/image_08032025_21_25_45_9938.jpg
/home/nano/Desktop/images/08032025/21/25/image_08032025_21_25_35_9922.jpg
/home/nano/Desktop/images/08032025/21/25/image_08032025_21_25_25_9920.jpg
/home/nano/Desktop/images/08032025/21/25/image_08032025_21_25_15_9924.jpg
/home/nano/Desktop/images/08032025/21/24/image_08032025_21_25_06_10945.jpg
/home/nano/Desktop/images/08032025/21/24/image_08032025_21_24_55_9923.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1342014809","1342014824","1342014818","1342014793","1342014820","1342014822"],"photo_ids_order":["1342014793","1342014809","1342014818","1342014820","1342014822","1342014824"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/627e4a2d3f52b7545e3e62ea3c6b83f9.jpg","text":"TemporaryFile(/tmp/multipartBody6396205427514443043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741465592756,"filename":"image_08032025_21_25_35_9922.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/5af97a09124e13c72823794d4265f9d7.jpg","text":"TemporaryFile(/tmp/multipartBody1035977344425711908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741465592756,"filename":"image_08032025_21_24_55_9923.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/4ae06f5b8c630faed1ba7a5ac9d39bd5.jpg","text":"TemporaryFile(/tmp/multipartBody3981783613187216904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741465592756,"filename":"image_08032025_21_25_25_9920.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/4cafbf4a351068aaf833a5afc842e847.jpg","text":"TemporaryFile(/tmp/multipartBody6480887488962316085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741465592756,"filename":"image_08032025_21_25_45_9938.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/266e73690fed592ab62e5c9077cca05d.jpg","text":"TemporaryFile(/tmp/multipartBody6859807445434045916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741465592756,"filename":"image_08032025_21_25_15_9924.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/3a2f22fbbb072ddab9b4508135cf2e5d.jpg","text":"TemporaryFile(/tmp/multipartBody7410372728802044864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741465592756,"filename":"image_08032025_21_25_06_10945.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1342014818","file1":"1342014809","file0":"1342014793","file4":"1342014822","file5":"1342014824","file3":"1342014820"},"map_files_photo_id_array":[{"photo_id":"1342014824","filename":"file5"},{"photo_id":"1342014818","filename":"file2"},{"photo_id":"1342014822","filename":"file4"},{"photo_id":"1342014809","filename":"file1"},{"photo_id":"1342014793","filename":"file0"},{"photo_id":"1342014820","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1342014809":["hashtag1","hashtag2"]},{"1342014824":["hashtag1","hashtag2"]},{"1342014818":["hashtag1","hashtag2"]},{"1342014793":["hashtag1","hashtag2"]},{"1342014820":["hashtag1","hashtag2"]},{"1342014822":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1342014809, 1342014824, 1342014818, 1342014793, 1342014820, 1342014822)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.061352252960205 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 21:26:32.441978
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/21/26/image_08032025_21_26_45_9920.jpg', 2), ('/home/nano/Desktop/images/08032025/21/26/image_08032025_21_26_35_9926.jpg', 2), ('/home/nano/Desktop/images/08032025/21/26/image_08032025_21_26_25_9918.jpg', 2), ('/home/nano/Desktop/images/08032025/21/26/image_08032025_21_26_15_9922.jpg', 2), ('/home/nano/Desktop/images/08032025/21/25/image_08032025_21_26_05_9940.jpg', 2), ('/home/nano/Desktop/images/08032025/21/25/image_08032025_21_25_55_9924.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/21/26/image_08032025_21_26_45_9920.jpg', '/home/nano/Desktop/images/08032025/21/26/image_08032025_21_26_35_9926.jpg', '/home/nano/Desktop/images/08032025/21/26/image_08032025_21_26_25_9918.jpg', '/home/nano/Desktop/images/08032025/21/26/image_08032025_21_26_15_9922.jpg', '/home/nano/Desktop/images/08032025/21/25/image_08032025_21_26_05_9940.jpg', '/home/nano/Desktop/images/08032025/21/25/image_08032025_21_25_55_9924.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/21/26/image_08032025_21_26_45_9920.jpg
/home/nano/Desktop/images/08032025/21/26/image_08032025_21_26_35_9926.jpg
/home/nano/Desktop/images/08032025/21/26/image_08032025_21_26_25_9918.jpg
/home/nano/Desktop/images/08032025/21/26/image_08032025_21_26_15_9922.jpg
/home/nano/Desktop/images/08032025/21/25/image_08032025_21_26_05_9940.jpg
/home/nano/Desktop/images/08032025/21/25/image_08032025_21_25_55_9924.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1342015064","1342014977","1342015049","1342015037","1342015062","1342015032"],"photo_ids_order":["1342014977","1342015032","1342015037","1342015049","1342015062","1342015064"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/a0adff0b6e082e1029f1c78352e1a9d0.jpg","text":"TemporaryFile(/tmp/multipartBody5487721867476947318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741465652860,"filename":"image_08032025_21_25_55_9924.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/71ee33669a1608b6f53c2182fa41f910.jpg","text":"TemporaryFile(/tmp/multipartBody5052623272816186061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741465652860,"filename":"image_08032025_21_26_45_9920.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/003fbebfe0e557a4a5800921eebdad16.jpg","text":"TemporaryFile(/tmp/multipartBody4171011215846819950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741465652860,"filename":"image_08032025_21_26_15_9922.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/17989574b334307ce6c31600100ff019.jpg","text":"TemporaryFile(/tmp/multipartBody2138593835651784590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741465652860,"filename":"image_08032025_21_26_25_9918.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/bd915cc568e120d3f474703efc54c6d9.jpg","text":"TemporaryFile(/tmp/multipartBody2444331837723603641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741465652860,"filename":"image_08032025_21_26_05_9940.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/04a710b391954575e24b663b211e93d1.jpg","text":"TemporaryFile(/tmp/multipartBody8896564376363905665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741465652860,"filename":"image_08032025_21_26_35_9926.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1342015037","file1":"1342015032","file0":"1342014977","file4":"1342015062","file5":"1342015064","file3":"1342015049"},"map_files_photo_id_array":[{"photo_id":"1342015064","filename":"file5"},{"photo_id":"1342015037","filename":"file2"},{"photo_id":"1342015062","filename":"file4"},{"photo_id":"1342015032","filename":"file1"},{"photo_id":"1342014977","filename":"file0"},{"photo_id":"1342015049","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1342015064":["hashtag1","hashtag2"]},{"1342014977":["hashtag1","hashtag2"]},{"1342015049":["hashtag1","hashtag2"]},{"1342015037":["hashtag1","hashtag2"]},{"1342015062":["hashtag1","hashtag2"]},{"1342015032":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1342015064, 1342014977, 1342015049, 1342015037, 1342015062, 1342015032)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.86476230621338 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 21:27:32.564152
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/21/27/image_08032025_21_27_45_9929.jpg', 2), ('/home/nano/Desktop/images/08032025/21/27/image_08032025_21_27_36_9923.jpg', 2), ('/home/nano/Desktop/images/08032025/21/27/image_08032025_21_27_26_10954.jpg', 2), ('/home/nano/Desktop/images/08032025/21/27/image_08032025_21_27_15_9931.jpg', 2), ('/home/nano/Desktop/images/08032025/21/26/image_08032025_21_27_05_9952.jpg', 2), ('/home/nano/Desktop/images/08032025/21/26/image_08032025_21_26_55_9938.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/21/27/image_08032025_21_27_45_9929.jpg', '/home/nano/Desktop/images/08032025/21/27/image_08032025_21_27_36_9923.jpg', '/home/nano/Desktop/images/08032025/21/27/image_08032025_21_27_26_10954.jpg', '/home/nano/Desktop/images/08032025/21/27/image_08032025_21_27_15_9931.jpg', '/home/nano/Desktop/images/08032025/21/26/image_08032025_21_27_05_9952.jpg', '/home/nano/Desktop/images/08032025/21/26/image_08032025_21_26_55_9938.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/21/27/image_08032025_21_27_45_9929.jpg
/home/nano/Desktop/images/08032025/21/27/image_08032025_21_27_36_9923.jpg
/home/nano/Desktop/images/08032025/21/27/image_08032025_21_27_26_10954.jpg
/home/nano/Desktop/images/08032025/21/27/image_08032025_21_27_15_9931.jpg
/home/nano/Desktop/images/08032025/21/26/image_08032025_21_27_05_9952.jpg
/home/nano/Desktop/images/08032025/21/26/image_08032025_21_26_55_9938.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1342015274","1342015294","1342015288","1342015293","1342015296","1342015290"],"photo_ids_order":["1342015274","1342015288","1342015290","1342015293","1342015294","1342015296"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/cfe4cfc6eeb1ba3ae1b3cef0178619cb.jpg","text":"TemporaryFile(/tmp/multipartBody8903831510147351397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741465712990,"filename":"image_08032025_21_27_45_9929.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/e76a9b787adb566a6f123020d2567f56.jpg","text":"TemporaryFile(/tmp/multipartBody3967059969791013475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741465712990,"filename":"image_08032025_21_27_05_9952.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/b747004cb171fd0b3c0039429d40c076.jpg","text":"TemporaryFile(/tmp/multipartBody4059864449638454635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741465712990,"filename":"image_08032025_21_27_36_9923.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/8689f2a8aec9d0400c6e39a6b19de64e.jpg","text":"TemporaryFile(/tmp/multipartBody2114159322826699794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741465712990,"filename":"image_08032025_21_27_15_9931.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/a42071632a7077eef1460ee26fcb1476.jpg","text":"TemporaryFile(/tmp/multipartBody3056532092847011356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741465712990,"filename":"image_08032025_21_26_55_9938.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/3deba8a7ab0cd12d5fd2f89f72c34696.jpg","text":"TemporaryFile(/tmp/multipartBody1934166214985896987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741465712990,"filename":"image_08032025_21_27_26_10954.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1342015290","file1":"1342015288","file0":"1342015274","file4":"1342015294","file5":"1342015296","file3":"1342015293"},"map_files_photo_id_array":[{"photo_id":"1342015296","filename":"file5"},{"photo_id":"1342015290","filename":"file2"},{"photo_id":"1342015294","filename":"file4"},{"photo_id":"1342015288","filename":"file1"},{"photo_id":"1342015274","filename":"file0"},{"photo_id":"1342015293","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1342015274":["hashtag1","hashtag2"]},{"1342015294":["hashtag1","hashtag2"]},{"1342015288":["hashtag1","hashtag2"]},{"1342015293":["hashtag1","hashtag2"]},{"1342015296":["hashtag1","hashtag2"]},{"1342015290":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1342015274, 1342015294, 1342015288, 1342015293, 1342015296, 1342015290)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.98432016372681 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 21:28:32.685084
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/21/28/image_08032025_21_28_45_9922.jpg', 2), ('/home/nano/Desktop/images/08032025/21/28/image_08032025_21_28_35_9923.jpg', 2), ('/home/nano/Desktop/images/08032025/21/28/image_08032025_21_28_25_9924.jpg', 2), ('/home/nano/Desktop/images/08032025/21/28/image_08032025_21_28_15_9930.jpg', 2), ('/home/nano/Desktop/images/08032025/21/27/image_08032025_21_28_05_9936.jpg', 2), ('/home/nano/Desktop/images/08032025/21/27/image_08032025_21_27_55_9923.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/21/28/image_08032025_21_28_45_9922.jpg', '/home/nano/Desktop/images/08032025/21/28/image_08032025_21_28_35_9923.jpg', '/home/nano/Desktop/images/08032025/21/28/image_08032025_21_28_25_9924.jpg', '/home/nano/Desktop/images/08032025/21/28/image_08032025_21_28_15_9930.jpg', '/home/nano/Desktop/images/08032025/21/27/image_08032025_21_28_05_9936.jpg', '/home/nano/Desktop/images/08032025/21/27/image_08032025_21_27_55_9923.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/21/28/image_08032025_21_28_45_9922.jpg
/home/nano/Desktop/images/08032025/21/28/image_08032025_21_28_35_9923.jpg
/home/nano/Desktop/images/08032025/21/28/image_08032025_21_28_25_9924.jpg
/home/nano/Desktop/images/08032025/21/28/image_08032025_21_28_15_9930.jpg
/home/nano/Desktop/images/08032025/21/27/image_08032025_21_28_05_9936.jpg
/home/nano/Desktop/images/08032025/21/27/image_08032025_21_27_55_9923.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.34287500381469727 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 marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 21:29:02.594496
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/21/28/image_08032025_21_28_45_9922.jpg', 2), ('/home/nano/Desktop/images/08032025/21/28/image_08032025_21_28_35_9923.jpg', 2), ('/home/nano/Desktop/images/08032025/21/28/image_08032025_21_28_25_9924.jpg', 2), ('/home/nano/Desktop/images/08032025/21/28/image_08032025_21_28_15_9930.jpg', 2), ('/home/nano/Desktop/images/08032025/21/27/image_08032025_21_28_05_9936.jpg', 2), ('/home/nano/Desktop/images/08032025/21/27/image_08032025_21_27_55_9923.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/21/28/image_08032025_21_28_45_9922.jpg', '/home/nano/Desktop/images/08032025/21/28/image_08032025_21_28_35_9923.jpg', '/home/nano/Desktop/images/08032025/21/28/image_08032025_21_28_25_9924.jpg', '/home/nano/Desktop/images/08032025/21/28/image_08032025_21_28_15_9930.jpg', '/home/nano/Desktop/images/08032025/21/27/image_08032025_21_28_05_9936.jpg', '/home/nano/Desktop/images/08032025/21/27/image_08032025_21_27_55_9923.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/21/28/image_08032025_21_28_45_9922.jpg
/home/nano/Desktop/images/08032025/21/28/image_08032025_21_28_35_9923.jpg
/home/nano/Desktop/images/08032025/21/28/image_08032025_21_28_25_9924.jpg
/home/nano/Desktop/images/08032025/21/28/image_08032025_21_28_15_9930.jpg
/home/nano/Desktop/images/08032025/21/27/image_08032025_21_28_05_9936.jpg
/home/nano/Desktop/images/08032025/21/27/image_08032025_21_27_55_9923.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1342015850","1342015826","1342015727","1342015798","1342015774","1342015744"],"photo_ids_order":["1342015727","1342015744","1342015774","1342015798","1342015826","1342015850"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/1faa13791c2da1e8d86dbcc6bbcf94f0.jpg","text":"TemporaryFile(/tmp/multipartBody2045289631933602909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741465803165,"filename":"image_08032025_21_27_55_9923.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/9427b6cc4307e61dc13e6f1c1976e480.jpg","text":"TemporaryFile(/tmp/multipartBody1169802616324908739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741465803165,"filename":"image_08032025_21_28_05_9936.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/2031b182acb2b6a0779e856099e43f3d.jpg","text":"TemporaryFile(/tmp/multipartBody827224132860682215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741465803165,"filename":"image_08032025_21_28_45_9922.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/fd9e915271ee223b6be711f73847adad.jpg","text":"TemporaryFile(/tmp/multipartBody5813516967079683768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741465803165,"filename":"image_08032025_21_28_15_9930.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/cfc783f09dc8834823b65474838a8b6f.jpg","text":"TemporaryFile(/tmp/multipartBody4720797505914307366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741465803165,"filename":"image_08032025_21_28_25_9924.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/13f11fed131a234037efb6215263a963.jpg","text":"TemporaryFile(/tmp/multipartBody5388138973093448891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741465803165,"filename":"image_08032025_21_28_35_9923.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1342015774","file1":"1342015744","file0":"1342015727","file4":"1342015826","file5":"1342015850","file3":"1342015798"},"map_files_photo_id_array":[{"photo_id":"1342015850","filename":"file5"},{"photo_id":"1342015774","filename":"file2"},{"photo_id":"1342015826","filename":"file4"},{"photo_id":"1342015744","filename":"file1"},{"photo_id":"1342015727","filename":"file0"},{"photo_id":"1342015798","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1342015850":["hashtag1","hashtag2"]},{"1342015826":["hashtag1","hashtag2"]},{"1342015727":["hashtag1","hashtag2"]},{"1342015798":["hashtag1","hashtag2"]},{"1342015774":["hashtag1","hashtag2"]},{"1342015744":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1342015850, 1342015826, 1342015727, 1342015798, 1342015774, 1342015744)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.511600971221924 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 21:30:02.541344
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/21/29/image_08032025_21_29_46_10936.jpg', 2), ('/home/nano/Desktop/images/08032025/21/29/image_08032025_21_29_35_9922.jpg', 2), ('/home/nano/Desktop/images/08032025/21/29/image_08032025_21_29_25_9923.jpg', 2), ('/home/nano/Desktop/images/08032025/21/29/image_08032025_21_29_15_9930.jpg', 2), ('/home/nano/Desktop/images/08032025/21/28/image_08032025_21_29_05_9932.jpg', 2), ('/home/nano/Desktop/images/08032025/21/28/image_08032025_21_28_55_9922.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/21/29/image_08032025_21_29_46_10936.jpg', '/home/nano/Desktop/images/08032025/21/29/image_08032025_21_29_35_9922.jpg', '/home/nano/Desktop/images/08032025/21/29/image_08032025_21_29_25_9923.jpg', '/home/nano/Desktop/images/08032025/21/29/image_08032025_21_29_15_9930.jpg', '/home/nano/Desktop/images/08032025/21/28/image_08032025_21_29_05_9932.jpg', '/home/nano/Desktop/images/08032025/21/28/image_08032025_21_28_55_9922.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/21/29/image_08032025_21_29_46_10936.jpg
/home/nano/Desktop/images/08032025/21/29/image_08032025_21_29_35_9922.jpg
/home/nano/Desktop/images/08032025/21/29/image_08032025_21_29_25_9923.jpg
/home/nano/Desktop/images/08032025/21/29/image_08032025_21_29_15_9930.jpg
/home/nano/Desktop/images/08032025/21/28/image_08032025_21_29_05_9932.jpg
/home/nano/Desktop/images/08032025/21/28/image_08032025_21_28_55_9922.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1342016219","1342016095","1342016275","1342016259","1342016168","1342016141"],"photo_ids_order":["1342016095","1342016141","1342016168","1342016219","1342016259","1342016275"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/3a495e6f6fbeaaf7b318cfc936d5bc02.jpg","text":"TemporaryFile(/tmp/multipartBody5312968622653397273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741465863090,"filename":"image_08032025_21_29_15_9930.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/d7557568b8785a27946d5ae8fe503f93.jpg","text":"TemporaryFile(/tmp/multipartBody2491975619309487045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741465863090,"filename":"image_08032025_21_29_46_10936.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/20ead2be0c60e52a446498c79ff32acd.jpg","text":"TemporaryFile(/tmp/multipartBody3870536984405331601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741465863090,"filename":"image_08032025_21_28_55_9922.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/ffed21192e8d6dd20c0da490e64cd850.jpg","text":"TemporaryFile(/tmp/multipartBody963225701585093113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741465863090,"filename":"image_08032025_21_29_05_9932.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/dfeab4faac956e08896676be56a0c186.jpg","text":"TemporaryFile(/tmp/multipartBody1530716390210279676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741465863090,"filename":"image_08032025_21_29_25_9923.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/93c6ea2be56656b0943f097be81cde29.jpg","text":"TemporaryFile(/tmp/multipartBody2572426747890369425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741465863090,"filename":"image_08032025_21_29_35_9922.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1342016168","file1":"1342016141","file0":"1342016095","file4":"1342016259","file5":"1342016275","file3":"1342016219"},"map_files_photo_id_array":[{"photo_id":"1342016275","filename":"file5"},{"photo_id":"1342016168","filename":"file2"},{"photo_id":"1342016259","filename":"file4"},{"photo_id":"1342016141","filename":"file1"},{"photo_id":"1342016095","filename":"file0"},{"photo_id":"1342016219","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1342016219":["hashtag1","hashtag2"]},{"1342016095":["hashtag1","hashtag2"]},{"1342016275":["hashtag1","hashtag2"]},{"1342016259":["hashtag1","hashtag2"]},{"1342016168":["hashtag1","hashtag2"]},{"1342016141":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1342016219, 1342016095, 1342016275, 1342016259, 1342016168, 1342016141)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.19035291671753 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 21:31:02.657132
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/21/30/image_08032025_21_30_45_9948.jpg', 2), ('/home/nano/Desktop/images/08032025/21/30/image_08032025_21_30_35_9922.jpg', 2), ('/home/nano/Desktop/images/08032025/21/30/image_08032025_21_30_25_9925.jpg', 2), ('/home/nano/Desktop/images/08032025/21/30/image_08032025_21_30_15_9925.jpg', 2), ('/home/nano/Desktop/images/08032025/21/29/image_08032025_21_30_05_9931.jpg', 2), ('/home/nano/Desktop/images/08032025/21/29/image_08032025_21_29_55_9917.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/21/30/image_08032025_21_30_45_9948.jpg', '/home/nano/Desktop/images/08032025/21/30/image_08032025_21_30_35_9922.jpg', '/home/nano/Desktop/images/08032025/21/30/image_08032025_21_30_25_9925.jpg', '/home/nano/Desktop/images/08032025/21/30/image_08032025_21_30_15_9925.jpg', '/home/nano/Desktop/images/08032025/21/29/image_08032025_21_30_05_9931.jpg', '/home/nano/Desktop/images/08032025/21/29/image_08032025_21_29_55_9917.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/21/30/image_08032025_21_30_45_9948.jpg
/home/nano/Desktop/images/08032025/21/30/image_08032025_21_30_35_9922.jpg
/home/nano/Desktop/images/08032025/21/30/image_08032025_21_30_25_9925.jpg
/home/nano/Desktop/images/08032025/21/30/image_08032025_21_30_15_9925.jpg
/home/nano/Desktop/images/08032025/21/29/image_08032025_21_30_05_9931.jpg
/home/nano/Desktop/images/08032025/21/29/image_08032025_21_29_55_9917.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1342016479","1342016419","1342016397","1342016329","1342016400","1342016327"],"photo_ids_order":["1342016327","1342016329","1342016397","1342016400","1342016419","1342016479"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/b728f93dbd48372da21a5cd9d4c5eb15.jpg","text":"TemporaryFile(/tmp/multipartBody6667888935398256306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741465923192,"filename":"image_08032025_21_29_55_9917.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/bc957656e2a777364ce2798420641266.jpg","text":"TemporaryFile(/tmp/multipartBody662089853883555552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741465923192,"filename":"image_08032025_21_30_05_9931.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/01f2c4ded635eb2e2a9e23c558281507.jpg","text":"TemporaryFile(/tmp/multipartBody3945299486578564510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741465923192,"filename":"image_08032025_21_30_25_9925.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/062eecc49a15325998bf4e4b2364b438.jpg","text":"TemporaryFile(/tmp/multipartBody3845500883813173007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741465923192,"filename":"image_08032025_21_30_35_9922.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/4607fabb9c753a9c68ee0d358b86220d.jpg","text":"TemporaryFile(/tmp/multipartBody7261677737539748581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741465923192,"filename":"image_08032025_21_30_15_9925.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/1c7bb50597665b36adeb207a31a0d3bd.jpg","text":"TemporaryFile(/tmp/multipartBody8727817260080795340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741465923192,"filename":"image_08032025_21_30_45_9948.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1342016397","file1":"1342016329","file0":"1342016327","file4":"1342016419","file5":"1342016479","file3":"1342016400"},"map_files_photo_id_array":[{"photo_id":"1342016479","filename":"file5"},{"photo_id":"1342016397","filename":"file2"},{"photo_id":"1342016419","filename":"file4"},{"photo_id":"1342016329","filename":"file1"},{"photo_id":"1342016327","filename":"file0"},{"photo_id":"1342016400","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1342016479":["hashtag1","hashtag2"]},{"1342016419":["hashtag1","hashtag2"]},{"1342016397":["hashtag1","hashtag2"]},{"1342016329":["hashtag1","hashtag2"]},{"1342016400":["hashtag1","hashtag2"]},{"1342016327":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1342016479, 1342016419, 1342016397, 1342016329, 1342016400, 1342016327)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.15048623085022 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 21:32:02.790737
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/21/31/image_08032025_21_31_45_9924.jpg', 2), ('/home/nano/Desktop/images/08032025/21/31/image_08032025_21_31_35_9923.jpg', 2), ('/home/nano/Desktop/images/08032025/21/31/image_08032025_21_31_25_9925.jpg', 2), ('/home/nano/Desktop/images/08032025/21/31/image_08032025_21_31_15_9929.jpg', 2), ('/home/nano/Desktop/images/08032025/21/30/image_08032025_21_31_05_9928.jpg', 2), ('/home/nano/Desktop/images/08032025/21/30/image_08032025_21_30_55_9926.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/21/31/image_08032025_21_31_45_9924.jpg', '/home/nano/Desktop/images/08032025/21/31/image_08032025_21_31_35_9923.jpg', '/home/nano/Desktop/images/08032025/21/31/image_08032025_21_31_25_9925.jpg', '/home/nano/Desktop/images/08032025/21/31/image_08032025_21_31_15_9929.jpg', '/home/nano/Desktop/images/08032025/21/30/image_08032025_21_31_05_9928.jpg', '/home/nano/Desktop/images/08032025/21/30/image_08032025_21_30_55_9926.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/21/31/image_08032025_21_31_45_9924.jpg
/home/nano/Desktop/images/08032025/21/31/image_08032025_21_31_35_9923.jpg
/home/nano/Desktop/images/08032025/21/31/image_08032025_21_31_25_9925.jpg
/home/nano/Desktop/images/08032025/21/31/image_08032025_21_31_15_9929.jpg
/home/nano/Desktop/images/08032025/21/30/image_08032025_21_31_05_9928.jpg
/home/nano/Desktop/images/08032025/21/30/image_08032025_21_30_55_9926.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1342016606","1342016603","1342016650","1342016638","1342016610","1342016645"],"photo_ids_order":["1342016603","1342016606","1342016610","1342016638","1342016645","1342016650"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/b71be17041527ba17e87e8e12173d9c3.jpg","text":"TemporaryFile(/tmp/multipartBody7110708149782298265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741465983302,"filename":"image_08032025_21_31_35_9923.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/f466711ed26b79c8b57eb987b4811476.jpg","text":"TemporaryFile(/tmp/multipartBody6736943850532376838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741465983302,"filename":"image_08032025_21_31_45_9924.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/a6550110604a4d522caed05de6060ea7.jpg","text":"TemporaryFile(/tmp/multipartBody309207563850236656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741465983302,"filename":"image_08032025_21_30_55_9926.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/5528ec606e4cb4f0d4117b14a72c986a.jpg","text":"TemporaryFile(/tmp/multipartBody8821592460176299252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741465983302,"filename":"image_08032025_21_31_15_9929.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/1f00c7b9ffba7a2400670b36cf10f267.jpg","text":"TemporaryFile(/tmp/multipartBody755663104603739883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741465983302,"filename":"image_08032025_21_31_25_9925.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/5dc61ffff90291849101eac8be01e8da.jpg","text":"TemporaryFile(/tmp/multipartBody5439210346014603908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741465983302,"filename":"image_08032025_21_31_05_9928.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1342016610","file1":"1342016606","file0":"1342016603","file4":"1342016645","file5":"1342016650","file3":"1342016638"},"map_files_photo_id_array":[{"photo_id":"1342016650","filename":"file5"},{"photo_id":"1342016610","filename":"file2"},{"photo_id":"1342016645","filename":"file4"},{"photo_id":"1342016606","filename":"file1"},{"photo_id":"1342016603","filename":"file0"},{"photo_id":"1342016638","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1342016606":["hashtag1","hashtag2"]},{"1342016603":["hashtag1","hashtag2"]},{"1342016650":["hashtag1","hashtag2"]},{"1342016638":["hashtag1","hashtag2"]},{"1342016610":["hashtag1","hashtag2"]},{"1342016645":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1342016606, 1342016603, 1342016650, 1342016638, 1342016610, 1342016645)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.85943555831909 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 21:33:02.826338
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/21/32/image_08032025_21_32_45_9947.jpg', 2), ('/home/nano/Desktop/images/08032025/21/32/image_08032025_21_32_35_9925.jpg', 2), ('/home/nano/Desktop/images/08032025/21/32/image_08032025_21_32_25_9927.jpg', 2), ('/home/nano/Desktop/images/08032025/21/32/image_08032025_21_32_16_9939.jpg', 2), ('/home/nano/Desktop/images/08032025/21/31/image_08032025_21_32_06_10957.jpg', 2), ('/home/nano/Desktop/images/08032025/21/31/image_08032025_21_31_55_9925.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/21/32/image_08032025_21_32_45_9947.jpg', '/home/nano/Desktop/images/08032025/21/32/image_08032025_21_32_35_9925.jpg', '/home/nano/Desktop/images/08032025/21/32/image_08032025_21_32_25_9927.jpg', '/home/nano/Desktop/images/08032025/21/32/image_08032025_21_32_16_9939.jpg', '/home/nano/Desktop/images/08032025/21/31/image_08032025_21_32_06_10957.jpg', '/home/nano/Desktop/images/08032025/21/31/image_08032025_21_31_55_9925.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/21/32/image_08032025_21_32_45_9947.jpg
/home/nano/Desktop/images/08032025/21/32/image_08032025_21_32_35_9925.jpg
/home/nano/Desktop/images/08032025/21/32/image_08032025_21_32_25_9927.jpg
/home/nano/Desktop/images/08032025/21/32/image_08032025_21_32_16_9939.jpg
/home/nano/Desktop/images/08032025/21/31/image_08032025_21_32_06_10957.jpg
/home/nano/Desktop/images/08032025/21/31/image_08032025_21_31_55_9925.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1342016782","1342016725","1342016751","1342016792","1342016741","1342016858"],"photo_ids_order":["1342016725","1342016741","1342016751","1342016782","1342016792","1342016858"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/82263bdb7278d3900f3fa4d0b7334724.jpg","text":"TemporaryFile(/tmp/multipartBody3263876910416931330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741466043366,"filename":"image_08032025_21_32_16_9939.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/2d84188297b057e41899ceb68a817810.jpg","text":"TemporaryFile(/tmp/multipartBody2620775983071322099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741466043366,"filename":"image_08032025_21_32_45_9947.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/5fa29e7bb60b535ae1673a3e10832b75.jpg","text":"TemporaryFile(/tmp/multipartBody9094513643718551013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741466043366,"filename":"image_08032025_21_32_25_9927.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/716a932ac3dc1462c04c1b17ae0310d8.jpg","text":"TemporaryFile(/tmp/multipartBody4524927582081909065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741466043366,"filename":"image_08032025_21_32_06_10957.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/b445c6600d0894ba1f8d75bac922537c.jpg","text":"TemporaryFile(/tmp/multipartBody222900368288137833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741466043366,"filename":"image_08032025_21_32_35_9925.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/625a6e1167a65a4010ddd54009b3ec0f.jpg","text":"TemporaryFile(/tmp/multipartBody7338467565586060781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741466043366,"filename":"image_08032025_21_31_55_9925.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1342016751","file1":"1342016741","file0":"1342016725","file4":"1342016792","file5":"1342016858","file3":"1342016782"},"map_files_photo_id_array":[{"photo_id":"1342016858","filename":"file5"},{"photo_id":"1342016751","filename":"file2"},{"photo_id":"1342016792","filename":"file4"},{"photo_id":"1342016741","filename":"file1"},{"photo_id":"1342016725","filename":"file0"},{"photo_id":"1342016782","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1342016782":["hashtag1","hashtag2"]},{"1342016725":["hashtag1","hashtag2"]},{"1342016751":["hashtag1","hashtag2"]},{"1342016792":["hashtag1","hashtag2"]},{"1342016741":["hashtag1","hashtag2"]},{"1342016858":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1342016782, 1342016725, 1342016751, 1342016792, 1342016741, 1342016858)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.54341268539429 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 21:34:03.167586
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/21/33/image_08032025_21_33_45_9919.jpg', 2), ('/home/nano/Desktop/images/08032025/21/33/image_08032025_21_33_35_9924.jpg', 2), ('/home/nano/Desktop/images/08032025/21/33/image_08032025_21_33_25_9920.jpg', 2), ('/home/nano/Desktop/images/08032025/21/33/image_08032025_21_33_15_9924.jpg', 2), ('/home/nano/Desktop/images/08032025/21/32/image_08032025_21_33_05_9929.jpg', 2), ('/home/nano/Desktop/images/08032025/21/32/image_08032025_21_32_55_9921.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/21/33/image_08032025_21_33_45_9919.jpg', '/home/nano/Desktop/images/08032025/21/33/image_08032025_21_33_35_9924.jpg', '/home/nano/Desktop/images/08032025/21/33/image_08032025_21_33_25_9920.jpg', '/home/nano/Desktop/images/08032025/21/33/image_08032025_21_33_15_9924.jpg', '/home/nano/Desktop/images/08032025/21/32/image_08032025_21_33_05_9929.jpg', '/home/nano/Desktop/images/08032025/21/32/image_08032025_21_32_55_9921.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/21/33/image_08032025_21_33_45_9919.jpg
/home/nano/Desktop/images/08032025/21/33/image_08032025_21_33_35_9924.jpg
/home/nano/Desktop/images/08032025/21/33/image_08032025_21_33_25_9920.jpg
/home/nano/Desktop/images/08032025/21/33/image_08032025_21_33_15_9924.jpg
/home/nano/Desktop/images/08032025/21/32/image_08032025_21_33_05_9929.jpg
/home/nano/Desktop/images/08032025/21/32/image_08032025_21_32_55_9921.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.5144131183624268 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 marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 21:34:32.334943
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/21/34/image_08032025_21_34_45_9944.jpg', 2), ('/home/nano/Desktop/images/08032025/21/34/image_08032025_21_34_36_10936.jpg', 2), ('/home/nano/Desktop/images/08032025/21/34/image_08032025_21_34_25_9923.jpg', 2), ('/home/nano/Desktop/images/08032025/21/34/image_08032025_21_34_15_9927.jpg', 2), ('/home/nano/Desktop/images/08032025/21/33/image_08032025_21_34_05_9941.jpg', 2), ('/home/nano/Desktop/images/08032025/21/33/image_08032025_21_33_55_9936.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/21/34/image_08032025_21_34_45_9944.jpg', '/home/nano/Desktop/images/08032025/21/34/image_08032025_21_34_36_10936.jpg', '/home/nano/Desktop/images/08032025/21/34/image_08032025_21_34_25_9923.jpg', '/home/nano/Desktop/images/08032025/21/34/image_08032025_21_34_15_9927.jpg', '/home/nano/Desktop/images/08032025/21/33/image_08032025_21_34_05_9941.jpg', '/home/nano/Desktop/images/08032025/21/33/image_08032025_21_33_55_9936.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/21/34/image_08032025_21_34_45_9944.jpg
/home/nano/Desktop/images/08032025/21/34/image_08032025_21_34_36_10936.jpg
/home/nano/Desktop/images/08032025/21/34/image_08032025_21_34_25_9923.jpg
/home/nano/Desktop/images/08032025/21/34/image_08032025_21_34_15_9927.jpg
/home/nano/Desktop/images/08032025/21/33/image_08032025_21_34_05_9941.jpg
/home/nano/Desktop/images/08032025/21/33/image_08032025_21_33_55_9936.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1342017394","1342017340","1342017396","1342017381","1342017285","1342017383"],"photo_ids_order":["1342017285","1342017340","1342017381","1342017383","1342017394","1342017396"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/7b69c71cd3864bac93fa45f14f66df7f.jpg","text":"TemporaryFile(/tmp/multipartBody4202652417663579943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741466132814,"filename":"image_08032025_21_34_05_9941.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/83afc8b816da43847300ec7f9743588c.jpg","text":"TemporaryFile(/tmp/multipartBody6166431154783078990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741466132814,"filename":"image_08032025_21_34_36_10936.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/fa032591b6cf2aecd78c13e8b685dc9e.jpg","text":"TemporaryFile(/tmp/multipartBody8539599126264268890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741466132814,"filename":"image_08032025_21_33_55_9936.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/cd2b92a4fc5ba4602759626976b60ca2.jpg","text":"TemporaryFile(/tmp/multipartBody3235483376019346876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741466132814,"filename":"image_08032025_21_34_25_9923.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/41305cad17869e08c4f5a095e3163f38.jpg","text":"TemporaryFile(/tmp/multipartBody6056459166092866773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741466132814,"filename":"image_08032025_21_34_45_9944.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/d3b7c424a5f02023704223494e7aad29.jpg","text":"TemporaryFile(/tmp/multipartBody8252019975430087061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741466132814,"filename":"image_08032025_21_34_15_9927.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1342017381","file1":"1342017340","file0":"1342017285","file4":"1342017394","file5":"1342017396","file3":"1342017383"},"map_files_photo_id_array":[{"photo_id":"1342017396","filename":"file5"},{"photo_id":"1342017381","filename":"file2"},{"photo_id":"1342017394","filename":"file4"},{"photo_id":"1342017340","filename":"file1"},{"photo_id":"1342017285","filename":"file0"},{"photo_id":"1342017383","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1342017394":["hashtag1","hashtag2"]},{"1342017340":["hashtag1","hashtag2"]},{"1342017396":["hashtag1","hashtag2"]},{"1342017381":["hashtag1","hashtag2"]},{"1342017285":["hashtag1","hashtag2"]},{"1342017383":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1342017394, 1342017340, 1342017396, 1342017381, 1342017285, 1342017383)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.045021533966064 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 21:35:32.476885
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/21/35/image_08032025_21_35_45_9920.jpg', 2), ('/home/nano/Desktop/images/08032025/21/35/image_08032025_21_35_35_9923.jpg', 2), ('/home/nano/Desktop/images/08032025/21/35/image_08032025_21_35_25_9955.jpg', 2), ('/home/nano/Desktop/images/08032025/21/35/image_08032025_21_35_15_9926.jpg', 2), ('/home/nano/Desktop/images/08032025/21/34/image_08032025_21_35_05_9951.jpg', 2), ('/home/nano/Desktop/images/08032025/21/34/image_08032025_21_34_55_9923.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/21/35/image_08032025_21_35_45_9920.jpg', '/home/nano/Desktop/images/08032025/21/35/image_08032025_21_35_35_9923.jpg', '/home/nano/Desktop/images/08032025/21/35/image_08032025_21_35_25_9955.jpg', '/home/nano/Desktop/images/08032025/21/35/image_08032025_21_35_15_9926.jpg', '/home/nano/Desktop/images/08032025/21/34/image_08032025_21_35_05_9951.jpg', '/home/nano/Desktop/images/08032025/21/34/image_08032025_21_34_55_9923.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/21/35/image_08032025_21_35_45_9920.jpg
/home/nano/Desktop/images/08032025/21/35/image_08032025_21_35_35_9923.jpg
/home/nano/Desktop/images/08032025/21/35/image_08032025_21_35_25_9955.jpg
/home/nano/Desktop/images/08032025/21/35/image_08032025_21_35_15_9926.jpg
/home/nano/Desktop/images/08032025/21/34/image_08032025_21_35_05_9951.jpg
/home/nano/Desktop/images/08032025/21/34/image_08032025_21_34_55_9923.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1342017439","1342017507","1342017414","1342017417","1342017411","1342017419"],"photo_ids_order":["1342017411","1342017414","1342017417","1342017419","1342017439","1342017507"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/d3d859c0831e5e2013699e0cb4653344.jpg","text":"TemporaryFile(/tmp/multipartBody8356616827556240084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741466192891,"filename":"image_08032025_21_35_05_9951.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/bda957ffc53fd05370d248a495f152c0.jpg","text":"TemporaryFile(/tmp/multipartBody2488716488629304951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741466192891,"filename":"image_08032025_21_34_55_9923.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/a86df2423077360e5d6c1945250857a7.jpg","text":"TemporaryFile(/tmp/multipartBody7268418362902461995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741466192891,"filename":"image_08032025_21_35_35_9923.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/cde594b25925b5c4f386ea29b985ad96.jpg","text":"TemporaryFile(/tmp/multipartBody7983298825420355507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741466192891,"filename":"image_08032025_21_35_25_9955.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/88703b6de7b23ca9ccb4fbb18da17f85.jpg","text":"TemporaryFile(/tmp/multipartBody1885542919065706334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741466192891,"filename":"image_08032025_21_35_45_9920.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/3004e6a8b83e251da8683218bff2c290.jpg","text":"TemporaryFile(/tmp/multipartBody8269806317027384791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741466192891,"filename":"image_08032025_21_35_15_9926.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1342017417","file1":"1342017414","file0":"1342017411","file4":"1342017439","file5":"1342017507","file3":"1342017419"},"map_files_photo_id_array":[{"photo_id":"1342017507","filename":"file5"},{"photo_id":"1342017417","filename":"file2"},{"photo_id":"1342017439","filename":"file4"},{"photo_id":"1342017414","filename":"file1"},{"photo_id":"1342017411","filename":"file0"},{"photo_id":"1342017419","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1342017439":["hashtag1","hashtag2"]},{"1342017507":["hashtag1","hashtag2"]},{"1342017414":["hashtag1","hashtag2"]},{"1342017417":["hashtag1","hashtag2"]},{"1342017411":["hashtag1","hashtag2"]},{"1342017419":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1342017439, 1342017507, 1342017414, 1342017417, 1342017411, 1342017419)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.708834648132324 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 21:36:32.583281
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/21/36/image_08032025_21_36_45_9928.jpg', 2), ('/home/nano/Desktop/images/08032025/21/36/image_08032025_21_36_35_9929.jpg', 2), ('/home/nano/Desktop/images/08032025/21/36/image_08032025_21_36_25_9927.jpg', 2), ('/home/nano/Desktop/images/08032025/21/36/image_08032025_21_36_15_9926.jpg', 2), ('/home/nano/Desktop/images/08032025/21/35/image_08032025_21_36_05_9927.jpg', 2), ('/home/nano/Desktop/images/08032025/21/35/image_08032025_21_35_55_9923.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/21/36/image_08032025_21_36_45_9928.jpg', '/home/nano/Desktop/images/08032025/21/36/image_08032025_21_36_35_9929.jpg', '/home/nano/Desktop/images/08032025/21/36/image_08032025_21_36_25_9927.jpg', '/home/nano/Desktop/images/08032025/21/36/image_08032025_21_36_15_9926.jpg', '/home/nano/Desktop/images/08032025/21/35/image_08032025_21_36_05_9927.jpg', '/home/nano/Desktop/images/08032025/21/35/image_08032025_21_35_55_9923.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/21/36/image_08032025_21_36_45_9928.jpg
/home/nano/Desktop/images/08032025/21/36/image_08032025_21_36_35_9929.jpg
/home/nano/Desktop/images/08032025/21/36/image_08032025_21_36_25_9927.jpg
/home/nano/Desktop/images/08032025/21/36/image_08032025_21_36_15_9926.jpg
/home/nano/Desktop/images/08032025/21/35/image_08032025_21_36_05_9927.jpg
/home/nano/Desktop/images/08032025/21/35/image_08032025_21_35_55_9923.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1342018425","1342018393","1342018406","1342018313","1342018453","1342018249"],"photo_ids_order":["1342018249","1342018313","1342018393","1342018406","1342018425","1342018453"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/e3ca16bf3a97282055c8239333230f91.jpg","text":"TemporaryFile(/tmp/multipartBody1935544905863139667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741466252991,"filename":"image_08032025_21_36_05_9927.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/74d418c24c506edec0cf899ce5d70e76.jpg","text":"TemporaryFile(/tmp/multipartBody878266183144854206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741466252991,"filename":"image_08032025_21_36_25_9927.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/3dc819a3f956de69bbfc270139459cfd.jpg","text":"TemporaryFile(/tmp/multipartBody5939506801183548508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741466252991,"filename":"image_08032025_21_36_15_9926.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/0b46de8e1d64d8515e4c4f337d0218e0.jpg","text":"TemporaryFile(/tmp/multipartBody1136518500059876657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741466252991,"filename":"image_08032025_21_36_35_9929.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/06b00c1a5c0db464195a78f3d2c5a1a9.jpg","text":"TemporaryFile(/tmp/multipartBody5718392705610815736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741466252991,"filename":"image_08032025_21_35_55_9923.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/42688814d22e4c0ec14f117da5ff59eb.jpg","text":"TemporaryFile(/tmp/multipartBody4703115628838555657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741466252991,"filename":"image_08032025_21_36_45_9928.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1342018393","file1":"1342018313","file0":"1342018249","file4":"1342018425","file5":"1342018453","file3":"1342018406"},"map_files_photo_id_array":[{"photo_id":"1342018453","filename":"file5"},{"photo_id":"1342018393","filename":"file2"},{"photo_id":"1342018425","filename":"file4"},{"photo_id":"1342018313","filename":"file1"},{"photo_id":"1342018249","filename":"file0"},{"photo_id":"1342018406","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1342018425":["hashtag1","hashtag2"]},{"1342018393":["hashtag1","hashtag2"]},{"1342018406":["hashtag1","hashtag2"]},{"1342018313":["hashtag1","hashtag2"]},{"1342018453":["hashtag1","hashtag2"]},{"1342018249":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1342018425, 1342018393, 1342018406, 1342018313, 1342018453, 1342018249)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.486520528793335 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 21:37:32.689050
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/21/37/image_08032025_21_37_45_9923.jpg', 2), ('/home/nano/Desktop/images/08032025/21/37/image_08032025_21_37_35_9926.jpg', 2), ('/home/nano/Desktop/images/08032025/21/37/image_08032025_21_37_25_9926.jpg', 2), ('/home/nano/Desktop/images/08032025/21/37/image_08032025_21_37_15_9923.jpg', 2), ('/home/nano/Desktop/images/08032025/21/36/image_08032025_21_37_06_9963.jpg', 2), ('/home/nano/Desktop/images/08032025/21/36/image_08032025_21_36_56_10936.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/21/37/image_08032025_21_37_45_9923.jpg', '/home/nano/Desktop/images/08032025/21/37/image_08032025_21_37_35_9926.jpg', '/home/nano/Desktop/images/08032025/21/37/image_08032025_21_37_25_9926.jpg', '/home/nano/Desktop/images/08032025/21/37/image_08032025_21_37_15_9923.jpg', '/home/nano/Desktop/images/08032025/21/36/image_08032025_21_37_06_9963.jpg', '/home/nano/Desktop/images/08032025/21/36/image_08032025_21_36_56_10936.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/21/37/image_08032025_21_37_45_9923.jpg
/home/nano/Desktop/images/08032025/21/37/image_08032025_21_37_35_9926.jpg
/home/nano/Desktop/images/08032025/21/37/image_08032025_21_37_25_9926.jpg
/home/nano/Desktop/images/08032025/21/37/image_08032025_21_37_15_9923.jpg
/home/nano/Desktop/images/08032025/21/36/image_08032025_21_37_06_9963.jpg
/home/nano/Desktop/images/08032025/21/36/image_08032025_21_36_56_10936.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1342018677","1342018635","1342018710","1342018694","1342018607","1342018657"],"photo_ids_order":["1342018607","1342018635","1342018657","1342018677","1342018694","1342018710"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/125d5729ad898d927bf4bd6203bea5cb.jpg","text":"TemporaryFile(/tmp/multipartBody4661780832207538039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741466313120,"filename":"image_08032025_21_37_15_9923.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/5cb9f7de6251840005e674e95ce3e72e.jpg","text":"TemporaryFile(/tmp/multipartBody740635064505963214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741466313120,"filename":"image_08032025_21_37_35_9926.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/8043cd439b25ac99493ba8635391a69f.jpg","text":"TemporaryFile(/tmp/multipartBody2973884959488098218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741466313120,"filename":"image_08032025_21_36_56_10936.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/53e6d07856181b3085db93555d989803.jpg","text":"TemporaryFile(/tmp/multipartBody8213019208734155678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741466313120,"filename":"image_08032025_21_37_06_9963.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/b10a31e903b4e4ef29a0ae039c297057.jpg","text":"TemporaryFile(/tmp/multipartBody7700897375214503375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741466313120,"filename":"image_08032025_21_37_45_9923.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/1f6c9b7c10da9b05ad61a9342409f7ca.jpg","text":"TemporaryFile(/tmp/multipartBody6183693353459150715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741466313120,"filename":"image_08032025_21_37_25_9926.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1342018657","file1":"1342018635","file0":"1342018607","file4":"1342018694","file5":"1342018710","file3":"1342018677"},"map_files_photo_id_array":[{"photo_id":"1342018710","filename":"file5"},{"photo_id":"1342018657","filename":"file2"},{"photo_id":"1342018694","filename":"file4"},{"photo_id":"1342018635","filename":"file1"},{"photo_id":"1342018607","filename":"file0"},{"photo_id":"1342018677","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1342018677":["hashtag1","hashtag2"]},{"1342018635":["hashtag1","hashtag2"]},{"1342018710":["hashtag1","hashtag2"]},{"1342018694":["hashtag1","hashtag2"]},{"1342018607":["hashtag1","hashtag2"]},{"1342018657":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1342018677, 1342018635, 1342018710, 1342018694, 1342018607, 1342018657)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.63016748428345 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 21:38:31.793604
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/21/38/image_08032025_21_38_45_9941.jpg', 2), ('/home/nano/Desktop/images/08032025/21/38/image_08032025_21_38_35_9951.jpg', 2), ('/home/nano/Desktop/images/08032025/21/38/image_08032025_21_38_25_9920.jpg', 2), ('/home/nano/Desktop/images/08032025/21/38/image_08032025_21_38_15_9926.jpg', 2), ('/home/nano/Desktop/images/08032025/21/37/image_08032025_21_38_05_9932.jpg', 2), ('/home/nano/Desktop/images/08032025/21/37/image_08032025_21_37_55_9920.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/21/38/image_08032025_21_38_45_9941.jpg', '/home/nano/Desktop/images/08032025/21/38/image_08032025_21_38_35_9951.jpg', '/home/nano/Desktop/images/08032025/21/38/image_08032025_21_38_25_9920.jpg', '/home/nano/Desktop/images/08032025/21/38/image_08032025_21_38_15_9926.jpg', '/home/nano/Desktop/images/08032025/21/37/image_08032025_21_38_05_9932.jpg', '/home/nano/Desktop/images/08032025/21/37/image_08032025_21_37_55_9920.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/21/38/image_08032025_21_38_45_9941.jpg
/home/nano/Desktop/images/08032025/21/38/image_08032025_21_38_35_9951.jpg
/home/nano/Desktop/images/08032025/21/38/image_08032025_21_38_25_9920.jpg
/home/nano/Desktop/images/08032025/21/38/image_08032025_21_38_15_9926.jpg
/home/nano/Desktop/images/08032025/21/37/image_08032025_21_38_05_9932.jpg
/home/nano/Desktop/images/08032025/21/37/image_08032025_21_37_55_9920.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1342018846","1342018875","1342018872","1342018868","1342018806","1342018849"],"photo_ids_order":["1342018806","1342018846","1342018849","1342018868","1342018872","1342018875"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/c5b2fe5801911803c261564147b922a4.jpg","text":"TemporaryFile(/tmp/multipartBody2067247570865102821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741466372416,"filename":"image_08032025_21_38_35_9951.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/940a7da9af6a185050993944498e5c02.jpg","text":"TemporaryFile(/tmp/multipartBody8796257360288708556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741466372416,"filename":"image_08032025_21_37_55_9920.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/7210c16f4c52e46dd087a82cc23ef64f.jpg","text":"TemporaryFile(/tmp/multipartBody1808813074500738433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741466372416,"filename":"image_08032025_21_38_05_9932.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/59d6ff8736332f72d4ab7052c02ef4c2.jpg","text":"TemporaryFile(/tmp/multipartBody4658758564985343269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741466372416,"filename":"image_08032025_21_38_15_9926.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/cae9e442b0e45d32ab482e2a05870a9c.jpg","text":"TemporaryFile(/tmp/multipartBody628397945107156694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741466372416,"filename":"image_08032025_21_38_45_9941.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/d30796515b5e45fb48487469eb2c5ce2.jpg","text":"TemporaryFile(/tmp/multipartBody3351841185322631049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741466372416,"filename":"image_08032025_21_38_25_9920.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1342018849","file1":"1342018846","file0":"1342018806","file4":"1342018872","file5":"1342018875","file3":"1342018868"},"map_files_photo_id_array":[{"photo_id":"1342018875","filename":"file5"},{"photo_id":"1342018849","filename":"file2"},{"photo_id":"1342018872","filename":"file4"},{"photo_id":"1342018846","filename":"file1"},{"photo_id":"1342018806","filename":"file0"},{"photo_id":"1342018868","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1342018846":["hashtag1","hashtag2"]},{"1342018875":["hashtag1","hashtag2"]},{"1342018872":["hashtag1","hashtag2"]},{"1342018868":["hashtag1","hashtag2"]},{"1342018806":["hashtag1","hashtag2"]},{"1342018849":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1342018846, 1342018875, 1342018872, 1342018868, 1342018806, 1342018849)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.972548961639404 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 21:39:31.904820
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/21/39/image_08032025_21_39_45_9927.jpg', 2), ('/home/nano/Desktop/images/08032025/21/39/image_08032025_21_39_35_9923.jpg', 2), ('/home/nano/Desktop/images/08032025/21/39/image_08032025_21_39_26_10934.jpg', 2), ('/home/nano/Desktop/images/08032025/21/39/image_08032025_21_39_15_9921.jpg', 2), ('/home/nano/Desktop/images/08032025/21/38/image_08032025_21_39_05_9959.jpg', 2), ('/home/nano/Desktop/images/08032025/21/38/image_08032025_21_38_55_9923.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/21/39/image_08032025_21_39_45_9927.jpg', '/home/nano/Desktop/images/08032025/21/39/image_08032025_21_39_35_9923.jpg', '/home/nano/Desktop/images/08032025/21/39/image_08032025_21_39_26_10934.jpg', '/home/nano/Desktop/images/08032025/21/39/image_08032025_21_39_15_9921.jpg', '/home/nano/Desktop/images/08032025/21/38/image_08032025_21_39_05_9959.jpg', '/home/nano/Desktop/images/08032025/21/38/image_08032025_21_38_55_9923.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/21/39/image_08032025_21_39_45_9927.jpg
/home/nano/Desktop/images/08032025/21/39/image_08032025_21_39_35_9923.jpg
/home/nano/Desktop/images/08032025/21/39/image_08032025_21_39_26_10934.jpg
/home/nano/Desktop/images/08032025/21/39/image_08032025_21_39_15_9921.jpg
/home/nano/Desktop/images/08032025/21/38/image_08032025_21_39_05_9959.jpg
/home/nano/Desktop/images/08032025/21/38/image_08032025_21_38_55_9923.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1342019442","1342019159","1342019566","1342019359","1342019524","1342019308"],"photo_ids_order":["1342019159","1342019308","1342019359","1342019442","1342019524","1342019566"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/1aa316f64c5b95df6875e8d1a362c7ec.jpg","text":"TemporaryFile(/tmp/multipartBody5803804209748799104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741466432338,"filename":"image_08032025_21_39_15_9921.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/cb2e43ab22579fb1b79171066a0b3e04.jpg","text":"TemporaryFile(/tmp/multipartBody7486545429781397203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741466432338,"filename":"image_08032025_21_39_45_9927.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/c14881771b577dff9111074449c0f710.jpg","text":"TemporaryFile(/tmp/multipartBody1223273179899462446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741466432338,"filename":"image_08032025_21_38_55_9923.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/953eaeebe50a08338764b3477b8d2cb7.jpg","text":"TemporaryFile(/tmp/multipartBody848244044431730196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741466432338,"filename":"image_08032025_21_39_26_10934.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/d6a205a086fd9f024106b6cf7affd2f0.jpg","text":"TemporaryFile(/tmp/multipartBody5869389224122438027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741466432338,"filename":"image_08032025_21_39_05_9959.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/26657568e0d48415e200dc09640b9d69.jpg","text":"TemporaryFile(/tmp/multipartBody6627157110148325852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741466432338,"filename":"image_08032025_21_39_35_9923.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1342019359","file1":"1342019308","file0":"1342019159","file4":"1342019524","file5":"1342019566","file3":"1342019442"},"map_files_photo_id_array":[{"photo_id":"1342019566","filename":"file5"},{"photo_id":"1342019359","filename":"file2"},{"photo_id":"1342019524","filename":"file4"},{"photo_id":"1342019308","filename":"file1"},{"photo_id":"1342019159","filename":"file0"},{"photo_id":"1342019442","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1342019442":["hashtag1","hashtag2"]},{"1342019159":["hashtag1","hashtag2"]},{"1342019566":["hashtag1","hashtag2"]},{"1342019359":["hashtag1","hashtag2"]},{"1342019524":["hashtag1","hashtag2"]},{"1342019308":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1342019442, 1342019159, 1342019566, 1342019359, 1342019524, 1342019308)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.965421199798584 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 21:40:32.006825
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/21/40/image_08032025_21_40_45_9920.jpg', 2), ('/home/nano/Desktop/images/08032025/21/40/image_08032025_21_40_35_9927.jpg', 2), ('/home/nano/Desktop/images/08032025/21/40/image_08032025_21_40_25_9926.jpg', 2), ('/home/nano/Desktop/images/08032025/21/40/image_08032025_21_40_15_9931.jpg', 2), ('/home/nano/Desktop/images/08032025/21/39/image_08032025_21_40_05_9940.jpg', 2), ('/home/nano/Desktop/images/08032025/21/39/image_08032025_21_39_55_9923.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/21/40/image_08032025_21_40_45_9920.jpg', '/home/nano/Desktop/images/08032025/21/40/image_08032025_21_40_35_9927.jpg', '/home/nano/Desktop/images/08032025/21/40/image_08032025_21_40_25_9926.jpg', '/home/nano/Desktop/images/08032025/21/40/image_08032025_21_40_15_9931.jpg', '/home/nano/Desktop/images/08032025/21/39/image_08032025_21_40_05_9940.jpg', '/home/nano/Desktop/images/08032025/21/39/image_08032025_21_39_55_9923.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/21/40/image_08032025_21_40_45_9920.jpg
/home/nano/Desktop/images/08032025/21/40/image_08032025_21_40_35_9927.jpg
/home/nano/Desktop/images/08032025/21/40/image_08032025_21_40_25_9926.jpg
/home/nano/Desktop/images/08032025/21/40/image_08032025_21_40_15_9931.jpg
/home/nano/Desktop/images/08032025/21/39/image_08032025_21_40_05_9940.jpg
/home/nano/Desktop/images/08032025/21/39/image_08032025_21_39_55_9923.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1342019658","1342019673","1342019628","1342019663","1342019636","1342019630"],"photo_ids_order":["1342019628","1342019630","1342019636","1342019658","1342019663","1342019673"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/50d6a256278d81bdb60a0b869b79a6d9.jpg","text":"TemporaryFile(/tmp/multipartBody4403521335641794201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741466492435,"filename":"image_08032025_21_40_15_9931.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/9a953762a186fde12e3dcf66bc475e97.jpg","text":"TemporaryFile(/tmp/multipartBody2197021390028160069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741466492435,"filename":"image_08032025_21_39_55_9923.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/115c0f2a31990de2a2917b61a9d6d946.jpg","text":"TemporaryFile(/tmp/multipartBody5636178186886199231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741466492435,"filename":"image_08032025_21_40_45_9920.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/d4cb1a7dc3b8543b160054b3057bc16b.jpg","text":"TemporaryFile(/tmp/multipartBody601067879719122910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741466492435,"filename":"image_08032025_21_40_05_9940.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/f1db4d19561bb6dfcb6490f0164bf75e.jpg","text":"TemporaryFile(/tmp/multipartBody1781698474605409091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741466492435,"filename":"image_08032025_21_40_25_9926.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/f30973c2c0a9b0c8ff89ba2673412c82.jpg","text":"TemporaryFile(/tmp/multipartBody6376670838229798583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741466492435,"filename":"image_08032025_21_40_35_9927.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1342019636","file1":"1342019630","file0":"1342019628","file4":"1342019663","file5":"1342019673","file3":"1342019658"},"map_files_photo_id_array":[{"photo_id":"1342019673","filename":"file5"},{"photo_id":"1342019636","filename":"file2"},{"photo_id":"1342019663","filename":"file4"},{"photo_id":"1342019630","filename":"file1"},{"photo_id":"1342019628","filename":"file0"},{"photo_id":"1342019658","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1342019658":["hashtag1","hashtag2"]},{"1342019673":["hashtag1","hashtag2"]},{"1342019628":["hashtag1","hashtag2"]},{"1342019663":["hashtag1","hashtag2"]},{"1342019636":["hashtag1","hashtag2"]},{"1342019630":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1342019658, 1342019673, 1342019628, 1342019663, 1342019636, 1342019630)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.754098653793335 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 21:41:32.150444
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/21/41/image_08032025_21_41_46_10955.jpg', 2), ('/home/nano/Desktop/images/08032025/21/41/image_08032025_21_41_35_9922.jpg', 2), ('/home/nano/Desktop/images/08032025/21/41/image_08032025_21_41_25_9924.jpg', 2), ('/home/nano/Desktop/images/08032025/21/41/image_08032025_21_41_15_9923.jpg', 2), ('/home/nano/Desktop/images/08032025/21/40/image_08032025_21_41_05_9947.jpg', 2), ('/home/nano/Desktop/images/08032025/21/40/image_08032025_21_40_55_9921.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/21/41/image_08032025_21_41_46_10955.jpg', '/home/nano/Desktop/images/08032025/21/41/image_08032025_21_41_35_9922.jpg', '/home/nano/Desktop/images/08032025/21/41/image_08032025_21_41_25_9924.jpg', '/home/nano/Desktop/images/08032025/21/41/image_08032025_21_41_15_9923.jpg', '/home/nano/Desktop/images/08032025/21/40/image_08032025_21_41_05_9947.jpg', '/home/nano/Desktop/images/08032025/21/40/image_08032025_21_40_55_9921.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/21/41/image_08032025_21_41_46_10955.jpg
/home/nano/Desktop/images/08032025/21/41/image_08032025_21_41_35_9922.jpg
/home/nano/Desktop/images/08032025/21/41/image_08032025_21_41_25_9924.jpg
/home/nano/Desktop/images/08032025/21/41/image_08032025_21_41_15_9923.jpg
/home/nano/Desktop/images/08032025/21/40/image_08032025_21_41_05_9947.jpg
/home/nano/Desktop/images/08032025/21/40/image_08032025_21_40_55_9921.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1342019784","1342019786","1342019771","1342019780","1342019777","1342019782"],"photo_ids_order":["1342019771","1342019777","1342019780","1342019782","1342019784","1342019786"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/0ed74afef7fa242da67409a9f4b04892.jpg","text":"TemporaryFile(/tmp/multipartBody6028388573754364460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741466552559,"filename":"image_08032025_21_41_05_9947.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/02431ecffb8b25e3283b169fdea405da.jpg","text":"TemporaryFile(/tmp/multipartBody253391603922349584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741466552559,"filename":"image_08032025_21_40_55_9921.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/936e67cadaf349ccee52db40636c7637.jpg","text":"TemporaryFile(/tmp/multipartBody2968361140526734187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741466552559,"filename":"image_08032025_21_41_46_10955.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/a617bbcfbd4345be65556ca5feb8a4ed.jpg","text":"TemporaryFile(/tmp/multipartBody837476716728377697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741466552559,"filename":"image_08032025_21_41_25_9924.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/2112be2931d703144d030f8593cf68f8.jpg","text":"TemporaryFile(/tmp/multipartBody3342371029977260589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741466552559,"filename":"image_08032025_21_41_35_9922.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/fff91b627835d6d368f6785822dddf6d.jpg","text":"TemporaryFile(/tmp/multipartBody426138724740255867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741466552559,"filename":"image_08032025_21_41_15_9923.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1342019780","file1":"1342019777","file0":"1342019771","file4":"1342019784","file5":"1342019786","file3":"1342019782"},"map_files_photo_id_array":[{"photo_id":"1342019786","filename":"file5"},{"photo_id":"1342019780","filename":"file2"},{"photo_id":"1342019784","filename":"file4"},{"photo_id":"1342019777","filename":"file1"},{"photo_id":"1342019771","filename":"file0"},{"photo_id":"1342019782","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1342019784":["hashtag1","hashtag2"]},{"1342019786":["hashtag1","hashtag2"]},{"1342019771":["hashtag1","hashtag2"]},{"1342019780":["hashtag1","hashtag2"]},{"1342019777":["hashtag1","hashtag2"]},{"1342019782":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1342019784, 1342019786, 1342019771, 1342019780, 1342019777, 1342019782)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.707918405532837 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 21:42:32.256248
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/21/42/image_08032025_21_42_45_9928.jpg', 2), ('/home/nano/Desktop/images/08032025/21/42/image_08032025_21_42_35_9924.jpg', 2), ('/home/nano/Desktop/images/08032025/21/42/image_08032025_21_42_25_9926.jpg', 2), ('/home/nano/Desktop/images/08032025/21/42/image_08032025_21_42_15_9918.jpg', 2), ('/home/nano/Desktop/images/08032025/21/41/image_08032025_21_42_05_9929.jpg', 2), ('/home/nano/Desktop/images/08032025/21/41/image_08032025_21_41_56_9925.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/21/42/image_08032025_21_42_45_9928.jpg', '/home/nano/Desktop/images/08032025/21/42/image_08032025_21_42_35_9924.jpg', '/home/nano/Desktop/images/08032025/21/42/image_08032025_21_42_25_9926.jpg', '/home/nano/Desktop/images/08032025/21/42/image_08032025_21_42_15_9918.jpg', '/home/nano/Desktop/images/08032025/21/41/image_08032025_21_42_05_9929.jpg', '/home/nano/Desktop/images/08032025/21/41/image_08032025_21_41_56_9925.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/21/42/image_08032025_21_42_45_9928.jpg
/home/nano/Desktop/images/08032025/21/42/image_08032025_21_42_35_9924.jpg
/home/nano/Desktop/images/08032025/21/42/image_08032025_21_42_25_9926.jpg
/home/nano/Desktop/images/08032025/21/42/image_08032025_21_42_15_9918.jpg
/home/nano/Desktop/images/08032025/21/41/image_08032025_21_42_05_9929.jpg
/home/nano/Desktop/images/08032025/21/41/image_08032025_21_41_56_9925.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1342020087","1342020162","1342020105","1342020140","1342019977","1342020107"],"photo_ids_order":["1342019977","1342020087","1342020105","1342020107","1342020140","1342020162"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/4f19051f2d81085e339b89fb842638a4.jpg","text":"TemporaryFile(/tmp/multipartBody4736012396133666579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741466612687,"filename":"image_08032025_21_42_35_9924.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/77fa95ce008056d48c603ababff219e2.jpg","text":"TemporaryFile(/tmp/multipartBody8155926265571236562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741466612687,"filename":"image_08032025_21_41_56_9925.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/3bde0de52f0e76526b1f513e04ade07a.jpg","text":"TemporaryFile(/tmp/multipartBody9033180459547733151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741466612687,"filename":"image_08032025_21_42_25_9926.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/ad13a812c38dc054c5921bea5f12d6dc.jpg","text":"TemporaryFile(/tmp/multipartBody6779367423108089504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741466612687,"filename":"image_08032025_21_42_05_9929.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/8c25ff2ca20caf56e735d9ec3e1326a2.jpg","text":"TemporaryFile(/tmp/multipartBody6515981312591026088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741466612687,"filename":"image_08032025_21_42_45_9928.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/9c40661cfdb9dca5cf0095e09c49f34e.jpg","text":"TemporaryFile(/tmp/multipartBody384312211508783670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741466612687,"filename":"image_08032025_21_42_15_9918.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1342020105","file1":"1342020087","file0":"1342019977","file4":"1342020140","file5":"1342020162","file3":"1342020107"},"map_files_photo_id_array":[{"photo_id":"1342020162","filename":"file5"},{"photo_id":"1342020105","filename":"file2"},{"photo_id":"1342020140","filename":"file4"},{"photo_id":"1342020087","filename":"file1"},{"photo_id":"1342019977","filename":"file0"},{"photo_id":"1342020107","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1342020087":["hashtag1","hashtag2"]},{"1342020162":["hashtag1","hashtag2"]},{"1342020105":["hashtag1","hashtag2"]},{"1342020140":["hashtag1","hashtag2"]},{"1342019977":["hashtag1","hashtag2"]},{"1342020107":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1342020087, 1342020162, 1342020105, 1342020140, 1342019977, 1342020107)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.59070825576782 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 21:43:32.373262
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/21/43/image_08032025_21_43_45_9929.jpg', 2), ('/home/nano/Desktop/images/08032025/21/43/image_08032025_21_43_35_9937.jpg', 2), ('/home/nano/Desktop/images/08032025/21/43/image_08032025_21_43_25_9921.jpg', 2), ('/home/nano/Desktop/images/08032025/21/43/image_08032025_21_43_15_9921.jpg', 2), ('/home/nano/Desktop/images/08032025/21/42/image_08032025_21_43_05_9926.jpg', 2), ('/home/nano/Desktop/images/08032025/21/42/image_08032025_21_42_55_9946.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/21/43/image_08032025_21_43_45_9929.jpg', '/home/nano/Desktop/images/08032025/21/43/image_08032025_21_43_35_9937.jpg', '/home/nano/Desktop/images/08032025/21/43/image_08032025_21_43_25_9921.jpg', '/home/nano/Desktop/images/08032025/21/43/image_08032025_21_43_15_9921.jpg', '/home/nano/Desktop/images/08032025/21/42/image_08032025_21_43_05_9926.jpg', '/home/nano/Desktop/images/08032025/21/42/image_08032025_21_42_55_9946.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/21/43/image_08032025_21_43_45_9929.jpg
/home/nano/Desktop/images/08032025/21/43/image_08032025_21_43_35_9937.jpg
/home/nano/Desktop/images/08032025/21/43/image_08032025_21_43_25_9921.jpg
/home/nano/Desktop/images/08032025/21/43/image_08032025_21_43_15_9921.jpg
/home/nano/Desktop/images/08032025/21/42/image_08032025_21_43_05_9926.jpg
/home/nano/Desktop/images/08032025/21/42/image_08032025_21_42_55_9946.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1342020331","1342020275","1342020263","1342020266","1342020269","1342020317"],"photo_ids_order":["1342020263","1342020266","1342020269","1342020275","1342020317","1342020331"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/a7fbdc9b1ad1f6ae1aceccd2c853abf8.jpg","text":"TemporaryFile(/tmp/multipartBody8932768525524458539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741466672784,"filename":"image_08032025_21_42_55_9946.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/9ab05917c803c927df523a40e9824571.jpg","text":"TemporaryFile(/tmp/multipartBody2344363628659269906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741466672784,"filename":"image_08032025_21_43_15_9921.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/30070f9757a101935cd887f59c11d182.jpg","text":"TemporaryFile(/tmp/multipartBody4306008604685910941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741466672784,"filename":"image_08032025_21_43_45_9929.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/7c506751a6651219601198de67f78b64.jpg","text":"TemporaryFile(/tmp/multipartBody4938670383963722852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741466672784,"filename":"image_08032025_21_43_35_9937.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/0a39007f0572d3239f8c8e6ceb86603b.jpg","text":"TemporaryFile(/tmp/multipartBody784780801725603031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741466672784,"filename":"image_08032025_21_43_25_9921.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/b1ff4e9cac593703a1bfef0879dabebf.jpg","text":"TemporaryFile(/tmp/multipartBody3196870165266066988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741466672784,"filename":"image_08032025_21_43_05_9926.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1342020269","file1":"1342020266","file0":"1342020263","file4":"1342020317","file5":"1342020331","file3":"1342020275"},"map_files_photo_id_array":[{"photo_id":"1342020331","filename":"file5"},{"photo_id":"1342020269","filename":"file2"},{"photo_id":"1342020317","filename":"file4"},{"photo_id":"1342020266","filename":"file1"},{"photo_id":"1342020263","filename":"file0"},{"photo_id":"1342020275","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1342020331":["hashtag1","hashtag2"]},{"1342020275":["hashtag1","hashtag2"]},{"1342020263":["hashtag1","hashtag2"]},{"1342020266":["hashtag1","hashtag2"]},{"1342020269":["hashtag1","hashtag2"]},{"1342020317":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1342020331, 1342020275, 1342020263, 1342020266, 1342020269, 1342020317)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.69010782241821 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 21:44:32.498104
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/21/44/image_08032025_21_44_45_9921.jpg', 2), ('/home/nano/Desktop/images/08032025/21/44/image_08032025_21_44_35_9925.jpg', 2), ('/home/nano/Desktop/images/08032025/21/44/image_08032025_21_44_25_9955.jpg', 2), ('/home/nano/Desktop/images/08032025/21/44/image_08032025_21_44_16_9932.jpg', 2), ('/home/nano/Desktop/images/08032025/21/43/image_08032025_21_44_06_10932.jpg', 2), ('/home/nano/Desktop/images/08032025/21/43/image_08032025_21_43_55_9922.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/21/44/image_08032025_21_44_45_9921.jpg', '/home/nano/Desktop/images/08032025/21/44/image_08032025_21_44_35_9925.jpg', '/home/nano/Desktop/images/08032025/21/44/image_08032025_21_44_25_9955.jpg', '/home/nano/Desktop/images/08032025/21/44/image_08032025_21_44_16_9932.jpg', '/home/nano/Desktop/images/08032025/21/43/image_08032025_21_44_06_10932.jpg', '/home/nano/Desktop/images/08032025/21/43/image_08032025_21_43_55_9922.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/21/44/image_08032025_21_44_45_9921.jpg
/home/nano/Desktop/images/08032025/21/44/image_08032025_21_44_35_9925.jpg
/home/nano/Desktop/images/08032025/21/44/image_08032025_21_44_25_9955.jpg
/home/nano/Desktop/images/08032025/21/44/image_08032025_21_44_16_9932.jpg
/home/nano/Desktop/images/08032025/21/43/image_08032025_21_44_06_10932.jpg
/home/nano/Desktop/images/08032025/21/43/image_08032025_21_43_55_9922.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1342020369","1342020367","1342020361","1342020355","1342020364","1342020358"],"photo_ids_order":["1342020355","1342020358","1342020361","1342020364","1342020367","1342020369"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/ad9b484f6f84818e60f3be01c7e5a4e0.jpg","text":"TemporaryFile(/tmp/multipartBody1570979954510867102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741466732924,"filename":"image_08032025_21_43_55_9922.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/c62cdac24861a1bd27f62de3fe85e62d.jpg","text":"TemporaryFile(/tmp/multipartBody4698557400573950297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741466732924,"filename":"image_08032025_21_44_06_10932.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/7cbb5cbf94d3f2cd2cd5aa439115810c.jpg","text":"TemporaryFile(/tmp/multipartBody7608674859501193468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741466732924,"filename":"image_08032025_21_44_25_9955.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/ae6ec31ae7392a4f672aac5a4f0774ec.jpg","text":"TemporaryFile(/tmp/multipartBody2498001144626588955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741466732924,"filename":"image_08032025_21_44_45_9921.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/a4cbe2ffdf954418ad4643833cc3677a.jpg","text":"TemporaryFile(/tmp/multipartBody2511611428484055809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741466732924,"filename":"image_08032025_21_44_16_9932.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/c632d03134aba7c8e51a4d99dced9e2d.jpg","text":"TemporaryFile(/tmp/multipartBody4368440795072450869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741466732924,"filename":"image_08032025_21_44_35_9925.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1342020361","file1":"1342020358","file0":"1342020355","file4":"1342020367","file5":"1342020369","file3":"1342020364"},"map_files_photo_id_array":[{"photo_id":"1342020369","filename":"file5"},{"photo_id":"1342020361","filename":"file2"},{"photo_id":"1342020367","filename":"file4"},{"photo_id":"1342020358","filename":"file1"},{"photo_id":"1342020355","filename":"file0"},{"photo_id":"1342020364","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1342020369":["hashtag1","hashtag2"]},{"1342020367":["hashtag1","hashtag2"]},{"1342020361":["hashtag1","hashtag2"]},{"1342020355":["hashtag1","hashtag2"]},{"1342020364":["hashtag1","hashtag2"]},{"1342020358":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1342020369, 1342020367, 1342020361, 1342020355, 1342020364, 1342020358)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.69981074333191 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 21:45:32.562115
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/21/45/image_08032025_21_45_45_9924.jpg', 2), ('/home/nano/Desktop/images/08032025/21/45/image_08032025_21_45_35_9952.jpg', 2), ('/home/nano/Desktop/images/08032025/21/45/image_08032025_21_45_25_9952.jpg', 2), ('/home/nano/Desktop/images/08032025/21/45/image_08032025_21_45_15_9933.jpg', 2), ('/home/nano/Desktop/images/08032025/21/44/image_08032025_21_45_05_9929.jpg', 2), ('/home/nano/Desktop/images/08032025/21/44/image_08032025_21_44_55_9945.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/21/45/image_08032025_21_45_45_9924.jpg', '/home/nano/Desktop/images/08032025/21/45/image_08032025_21_45_35_9952.jpg', '/home/nano/Desktop/images/08032025/21/45/image_08032025_21_45_25_9952.jpg', '/home/nano/Desktop/images/08032025/21/45/image_08032025_21_45_15_9933.jpg', '/home/nano/Desktop/images/08032025/21/44/image_08032025_21_45_05_9929.jpg', '/home/nano/Desktop/images/08032025/21/44/image_08032025_21_44_55_9945.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/21/45/image_08032025_21_45_45_9924.jpg
/home/nano/Desktop/images/08032025/21/45/image_08032025_21_45_35_9952.jpg
/home/nano/Desktop/images/08032025/21/45/image_08032025_21_45_25_9952.jpg
/home/nano/Desktop/images/08032025/21/45/image_08032025_21_45_15_9933.jpg
/home/nano/Desktop/images/08032025/21/44/image_08032025_21_45_05_9929.jpg
/home/nano/Desktop/images/08032025/21/44/image_08032025_21_44_55_9945.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1342020523","1342020570","1342020513","1342020578","1342020509","1342020580"],"photo_ids_order":["1342020509","1342020513","1342020523","1342020570","1342020578","1342020580"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/8a3bed7e653cb443b1dc2d5908ef0c45.jpg","text":"TemporaryFile(/tmp/multipartBody1580048876504766832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741466792986,"filename":"image_08032025_21_45_25_9952.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/0ed6a376015bfbb934a5456f492f870c.jpg","text":"TemporaryFile(/tmp/multipartBody4856795607812012551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741466792986,"filename":"image_08032025_21_45_15_9933.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/37b6a52614027b07d43f8ed6b91eba9c.jpg","text":"TemporaryFile(/tmp/multipartBody554659251846943688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741466792986,"filename":"image_08032025_21_45_35_9952.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/f5602fd674063af90d2024d48d9995f1.jpg","text":"TemporaryFile(/tmp/multipartBody5326638167439585991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741466792986,"filename":"image_08032025_21_45_05_9929.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/533906e4ec5e65f616ae1d2c3126d5df.jpg","text":"TemporaryFile(/tmp/multipartBody6289390159648342313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741466792986,"filename":"image_08032025_21_45_45_9924.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/fd89092bb6113de07e76c4ef2900c100.jpg","text":"TemporaryFile(/tmp/multipartBody7835897253993474612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741466792986,"filename":"image_08032025_21_44_55_9945.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1342020523","file1":"1342020513","file0":"1342020509","file4":"1342020578","file5":"1342020580","file3":"1342020570"},"map_files_photo_id_array":[{"photo_id":"1342020580","filename":"file5"},{"photo_id":"1342020523","filename":"file2"},{"photo_id":"1342020578","filename":"file4"},{"photo_id":"1342020513","filename":"file1"},{"photo_id":"1342020509","filename":"file0"},{"photo_id":"1342020570","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1342020523":["hashtag1","hashtag2"]},{"1342020570":["hashtag1","hashtag2"]},{"1342020513":["hashtag1","hashtag2"]},{"1342020578":["hashtag1","hashtag2"]},{"1342020509":["hashtag1","hashtag2"]},{"1342020580":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1342020523, 1342020570, 1342020513, 1342020578, 1342020509, 1342020580)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.338345527648926 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 21:46:32.677197
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/21/46/image_08032025_21_46_46_9921.jpg', 2), ('/home/nano/Desktop/images/08032025/21/46/image_08032025_21_46_36_10934.jpg', 2), ('/home/nano/Desktop/images/08032025/21/46/image_08032025_21_46_25_9920.jpg', 2), ('/home/nano/Desktop/images/08032025/21/46/image_08032025_21_46_15_9927.jpg', 2), ('/home/nano/Desktop/images/08032025/21/45/image_08032025_21_46_05_9937.jpg', 2), ('/home/nano/Desktop/images/08032025/21/45/image_08032025_21_45_55_9925.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/21/46/image_08032025_21_46_46_9921.jpg', '/home/nano/Desktop/images/08032025/21/46/image_08032025_21_46_36_10934.jpg', '/home/nano/Desktop/images/08032025/21/46/image_08032025_21_46_25_9920.jpg', '/home/nano/Desktop/images/08032025/21/46/image_08032025_21_46_15_9927.jpg', '/home/nano/Desktop/images/08032025/21/45/image_08032025_21_46_05_9937.jpg', '/home/nano/Desktop/images/08032025/21/45/image_08032025_21_45_55_9925.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/21/46/image_08032025_21_46_46_9921.jpg
/home/nano/Desktop/images/08032025/21/46/image_08032025_21_46_36_10934.jpg
/home/nano/Desktop/images/08032025/21/46/image_08032025_21_46_25_9920.jpg
/home/nano/Desktop/images/08032025/21/46/image_08032025_21_46_15_9927.jpg
/home/nano/Desktop/images/08032025/21/45/image_08032025_21_46_05_9937.jpg
/home/nano/Desktop/images/08032025/21/45/image_08032025_21_45_55_9925.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1342020864","1342020822","1342020825","1342020845","1342020875","1342020827"],"photo_ids_order":["1342020822","1342020825","1342020827","1342020845","1342020864","1342020875"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/8fd6c81360be194a4e05df12e3393b0b.jpg","text":"TemporaryFile(/tmp/multipartBody6126351669032842990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741466853101,"filename":"image_08032025_21_46_05_9937.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/e5f5a216578c3894afd8a5388be59f98.jpg","text":"TemporaryFile(/tmp/multipartBody3450846511697731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741466853101,"filename":"image_08032025_21_46_46_9921.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/56635223163f87e564d9286745c6cab5.jpg","text":"TemporaryFile(/tmp/multipartBody7714774038231836236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741466853101,"filename":"image_08032025_21_46_36_10934.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/e640d5da6cb0b39eac4140f33a97847a.jpg","text":"TemporaryFile(/tmp/multipartBody8561370656793205273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741466853101,"filename":"image_08032025_21_46_15_9927.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/fd642668e9ce920fda49c6298f1e26e4.jpg","text":"TemporaryFile(/tmp/multipartBody2380660149091949724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741466853101,"filename":"image_08032025_21_45_55_9925.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/d5e5024bd2ed7c85aa2653e589d89e79.jpg","text":"TemporaryFile(/tmp/multipartBody6384300856628211567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741466853101,"filename":"image_08032025_21_46_25_9920.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1342020827","file1":"1342020825","file0":"1342020822","file4":"1342020864","file5":"1342020875","file3":"1342020845"},"map_files_photo_id_array":[{"photo_id":"1342020875","filename":"file5"},{"photo_id":"1342020827","filename":"file2"},{"photo_id":"1342020864","filename":"file4"},{"photo_id":"1342020825","filename":"file1"},{"photo_id":"1342020822","filename":"file0"},{"photo_id":"1342020845","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1342020864":["hashtag1","hashtag2"]},{"1342020822":["hashtag1","hashtag2"]},{"1342020825":["hashtag1","hashtag2"]},{"1342020845":["hashtag1","hashtag2"]},{"1342020875":["hashtag1","hashtag2"]},{"1342020827":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1342020864, 1342020822, 1342020825, 1342020845, 1342020875, 1342020827)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.89730930328369 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 21:47:31.814290
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/21/47/image_08032025_21_47_45_9926.jpg', 2), ('/home/nano/Desktop/images/08032025/21/47/image_08032025_21_47_35_9942.jpg', 2), ('/home/nano/Desktop/images/08032025/21/47/image_08032025_21_47_25_9928.jpg', 2), ('/home/nano/Desktop/images/08032025/21/47/image_08032025_21_47_15_9922.jpg', 2), ('/home/nano/Desktop/images/08032025/21/46/image_08032025_21_47_05_9940.jpg', 2), ('/home/nano/Desktop/images/08032025/21/46/image_08032025_21_46_55_9919.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/21/47/image_08032025_21_47_45_9926.jpg', '/home/nano/Desktop/images/08032025/21/47/image_08032025_21_47_35_9942.jpg', '/home/nano/Desktop/images/08032025/21/47/image_08032025_21_47_25_9928.jpg', '/home/nano/Desktop/images/08032025/21/47/image_08032025_21_47_15_9922.jpg', '/home/nano/Desktop/images/08032025/21/46/image_08032025_21_47_05_9940.jpg', '/home/nano/Desktop/images/08032025/21/46/image_08032025_21_46_55_9919.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/21/47/image_08032025_21_47_45_9926.jpg
/home/nano/Desktop/images/08032025/21/47/image_08032025_21_47_35_9942.jpg
/home/nano/Desktop/images/08032025/21/47/image_08032025_21_47_25_9928.jpg
/home/nano/Desktop/images/08032025/21/47/image_08032025_21_47_15_9922.jpg
/home/nano/Desktop/images/08032025/21/46/image_08032025_21_47_05_9940.jpg
/home/nano/Desktop/images/08032025/21/46/image_08032025_21_46_55_9919.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1342021239","1342021178","1342021211","1342021291","1342021273","1342021246"],"photo_ids_order":["1342021178","1342021211","1342021239","1342021246","1342021273","1342021291"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/6abfa507464f93f71f71ac59e9c8165e.jpg","text":"TemporaryFile(/tmp/multipartBody7950893813538732573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741466912223,"filename":"image_08032025_21_47_25_9928.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/88c88146700d3b7566a7cc22c4cf9859.jpg","text":"TemporaryFile(/tmp/multipartBody830708029463335116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741466912223,"filename":"image_08032025_21_47_45_9926.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/a0e7af1fc4227b728be54cd56b415c81.jpg","text":"TemporaryFile(/tmp/multipartBody2071343778151906927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741466912223,"filename":"image_08032025_21_47_35_9942.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/3beb1a1bb3ed0c27f10a66bce8f6d61a.jpg","text":"TemporaryFile(/tmp/multipartBody4086636346102860574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741466912223,"filename":"image_08032025_21_46_55_9919.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/c3bcd299e0198477af02e8747d73b7a5.jpg","text":"TemporaryFile(/tmp/multipartBody6011594389561616546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741466912223,"filename":"image_08032025_21_47_05_9940.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/a4fb07fae964f76a1f067b58ffb3ae04.jpg","text":"TemporaryFile(/tmp/multipartBody6403456932212441593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741466912223,"filename":"image_08032025_21_47_15_9922.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1342021239","file1":"1342021211","file0":"1342021178","file4":"1342021273","file5":"1342021291","file3":"1342021246"},"map_files_photo_id_array":[{"photo_id":"1342021291","filename":"file5"},{"photo_id":"1342021239","filename":"file2"},{"photo_id":"1342021273","filename":"file4"},{"photo_id":"1342021211","filename":"file1"},{"photo_id":"1342021178","filename":"file0"},{"photo_id":"1342021246","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1342021239":["hashtag1","hashtag2"]},{"1342021178":["hashtag1","hashtag2"]},{"1342021211":["hashtag1","hashtag2"]},{"1342021291":["hashtag1","hashtag2"]},{"1342021273":["hashtag1","hashtag2"]},{"1342021246":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1342021239, 1342021178, 1342021211, 1342021291, 1342021273, 1342021246)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.282633781433105 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 21:48:31.889838
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/21/48/image_08032025_21_48_45_9923.jpg', 2), ('/home/nano/Desktop/images/08032025/21/48/image_08032025_21_48_35_9925.jpg', 2), ('/home/nano/Desktop/images/08032025/21/48/image_08032025_21_48_25_9943.jpg', 2), ('/home/nano/Desktop/images/08032025/21/48/image_08032025_21_48_15_9928.jpg', 2), ('/home/nano/Desktop/images/08032025/21/47/image_08032025_21_48_05_9934.jpg', 2), ('/home/nano/Desktop/images/08032025/21/47/image_08032025_21_47_55_9924.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/21/48/image_08032025_21_48_45_9923.jpg', '/home/nano/Desktop/images/08032025/21/48/image_08032025_21_48_35_9925.jpg', '/home/nano/Desktop/images/08032025/21/48/image_08032025_21_48_25_9943.jpg', '/home/nano/Desktop/images/08032025/21/48/image_08032025_21_48_15_9928.jpg', '/home/nano/Desktop/images/08032025/21/47/image_08032025_21_48_05_9934.jpg', '/home/nano/Desktop/images/08032025/21/47/image_08032025_21_47_55_9924.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/21/48/image_08032025_21_48_45_9923.jpg
/home/nano/Desktop/images/08032025/21/48/image_08032025_21_48_35_9925.jpg
/home/nano/Desktop/images/08032025/21/48/image_08032025_21_48_25_9943.jpg
/home/nano/Desktop/images/08032025/21/48/image_08032025_21_48_15_9928.jpg
/home/nano/Desktop/images/08032025/21/47/image_08032025_21_48_05_9934.jpg
/home/nano/Desktop/images/08032025/21/47/image_08032025_21_47_55_9924.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1342021415","1342021418","1342021378","1342021423","1342021402","1342021411"],"photo_ids_order":["1342021378","1342021402","1342021411","1342021415","1342021418","1342021423"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/12de0f82493090821023f94450aed2f5.jpg","text":"TemporaryFile(/tmp/multipartBody8471256044405401947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741466972348,"filename":"image_08032025_21_48_15_9928.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/604857bd53f8426a104f0568f6730760.jpg","text":"TemporaryFile(/tmp/multipartBody8463796363629165928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741466972348,"filename":"image_08032025_21_48_05_9934.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/4e5a7645f3498fa2140745961869edf7.jpg","text":"TemporaryFile(/tmp/multipartBody3572268004073100660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741466972348,"filename":"image_08032025_21_48_45_9923.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/73d1e40a941e64078b07b06fd4de5b37.jpg","text":"TemporaryFile(/tmp/multipartBody145084653107225239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741466972348,"filename":"image_08032025_21_47_55_9924.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/4e411d357ea0b723c17d9a3ec90fefe2.jpg","text":"TemporaryFile(/tmp/multipartBody717448357376698856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741466972348,"filename":"image_08032025_21_48_35_9925.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/40f8a4911aa84171aaf1f4c4644745f6.jpg","text":"TemporaryFile(/tmp/multipartBody7343020554176257374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741466972348,"filename":"image_08032025_21_48_25_9943.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1342021411","file1":"1342021402","file0":"1342021378","file4":"1342021418","file5":"1342021423","file3":"1342021415"},"map_files_photo_id_array":[{"photo_id":"1342021423","filename":"file5"},{"photo_id":"1342021411","filename":"file2"},{"photo_id":"1342021418","filename":"file4"},{"photo_id":"1342021402","filename":"file1"},{"photo_id":"1342021378","filename":"file0"},{"photo_id":"1342021415","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1342021415":["hashtag1","hashtag2"]},{"1342021418":["hashtag1","hashtag2"]},{"1342021378":["hashtag1","hashtag2"]},{"1342021423":["hashtag1","hashtag2"]},{"1342021402":["hashtag1","hashtag2"]},{"1342021411":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1342021415, 1342021418, 1342021378, 1342021423, 1342021402, 1342021411)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.7123818397522 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 21:49:32.043995
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/21/49/image_08032025_21_49_45_9930.jpg', 2), ('/home/nano/Desktop/images/08032025/21/49/image_08032025_21_49_25_9928.jpg', 2), ('/home/nano/Desktop/images/08032025/21/49/image_08032025_21_49_15_9927.jpg', 2), ('/home/nano/Desktop/images/08032025/21/48/image_08032025_21_49_06_10945.jpg', 2), ('/home/nano/Desktop/images/08032025/21/48/image_08032025_21_48_55_9921.jpg', 2), ('/home/nano/Desktop/images/08032025/21/33/image_08032025_21_33_45_9919.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/21/49/image_08032025_21_49_45_9930.jpg', '/home/nano/Desktop/images/08032025/21/49/image_08032025_21_49_25_9928.jpg', '/home/nano/Desktop/images/08032025/21/49/image_08032025_21_49_15_9927.jpg', '/home/nano/Desktop/images/08032025/21/48/image_08032025_21_49_06_10945.jpg', '/home/nano/Desktop/images/08032025/21/48/image_08032025_21_48_55_9921.jpg', '/home/nano/Desktop/images/08032025/21/33/image_08032025_21_33_45_9919.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/21/49/image_08032025_21_49_45_9930.jpg
/home/nano/Desktop/images/08032025/21/49/image_08032025_21_49_25_9928.jpg
/home/nano/Desktop/images/08032025/21/49/image_08032025_21_49_15_9927.jpg
/home/nano/Desktop/images/08032025/21/48/image_08032025_21_49_06_10945.jpg
/home/nano/Desktop/images/08032025/21/48/image_08032025_21_48_55_9921.jpg
/home/nano/Desktop/images/08032025/21/33/image_08032025_21_33_45_9919.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1342021647","1342021548","1342021635","1342021563","1342021579","1342021609"],"photo_ids_order":["1342021548","1342021563","1342021579","1342021609","1342021635","1342021647"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/183458aec0aee1f3b5732c9998852200.jpg","text":"TemporaryFile(/tmp/multipartBody13698847575670614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741467032471,"filename":"image_08032025_21_33_45_9919.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/81c28d2d5b25411d15b70b1c2c573e75.jpg","text":"TemporaryFile(/tmp/multipartBody1546420902141670621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741467032471,"filename":"image_08032025_21_49_45_9930.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/c660f2bb8c84eb224c30fce3c08466a3.jpg","text":"TemporaryFile(/tmp/multipartBody6444487288039322149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741467032471,"filename":"image_08032025_21_48_55_9921.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/13ba1d00928f03681636f3e90e34a12d.jpg","text":"TemporaryFile(/tmp/multipartBody8923627242191787507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741467032471,"filename":"image_08032025_21_49_25_9928.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/766de6a032e13754ca9c91dc9dbfe46f.jpg","text":"TemporaryFile(/tmp/multipartBody3278020961059864575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741467032471,"filename":"image_08032025_21_49_15_9927.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/8fd2e426f931258c7917ee764dbbd8f6.jpg","text":"TemporaryFile(/tmp/multipartBody3693095072876651344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741467032471,"filename":"image_08032025_21_49_06_10945.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1342021579","file1":"1342021563","file0":"1342021548","file4":"1342021635","file5":"1342021647","file3":"1342021609"},"map_files_photo_id_array":[{"photo_id":"1342021647","filename":"file5"},{"photo_id":"1342021579","filename":"file2"},{"photo_id":"1342021635","filename":"file4"},{"photo_id":"1342021563","filename":"file1"},{"photo_id":"1342021548","filename":"file0"},{"photo_id":"1342021609","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1342021647":["hashtag1","hashtag2"]},{"1342021548":["hashtag1","hashtag2"]},{"1342021635":["hashtag1","hashtag2"]},{"1342021563":["hashtag1","hashtag2"]},{"1342021579":["hashtag1","hashtag2"]},{"1342021609":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1342021647, 1342021548, 1342021635, 1342021563, 1342021579, 1342021609)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.665767431259155 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 21:50:32.138395
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/21/50/image_08032025_21_50_45_9927.jpg', 2), ('/home/nano/Desktop/images/08032025/21/50/image_08032025_21_50_35_9927.jpg', 2), ('/home/nano/Desktop/images/08032025/21/50/image_08032025_21_50_25_9925.jpg', 2), ('/home/nano/Desktop/images/08032025/21/50/image_08032025_21_50_15_9927.jpg', 2), ('/home/nano/Desktop/images/08032025/21/49/image_08032025_21_50_05_9955.jpg', 2), ('/home/nano/Desktop/images/08032025/21/49/image_08032025_21_49_55_9926.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/21/50/image_08032025_21_50_45_9927.jpg', '/home/nano/Desktop/images/08032025/21/50/image_08032025_21_50_35_9927.jpg', '/home/nano/Desktop/images/08032025/21/50/image_08032025_21_50_25_9925.jpg', '/home/nano/Desktop/images/08032025/21/50/image_08032025_21_50_15_9927.jpg', '/home/nano/Desktop/images/08032025/21/49/image_08032025_21_50_05_9955.jpg', '/home/nano/Desktop/images/08032025/21/49/image_08032025_21_49_55_9926.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/21/50/image_08032025_21_50_45_9927.jpg
/home/nano/Desktop/images/08032025/21/50/image_08032025_21_50_35_9927.jpg
/home/nano/Desktop/images/08032025/21/50/image_08032025_21_50_25_9925.jpg
/home/nano/Desktop/images/08032025/21/50/image_08032025_21_50_15_9927.jpg
/home/nano/Desktop/images/08032025/21/49/image_08032025_21_50_05_9955.jpg
/home/nano/Desktop/images/08032025/21/49/image_08032025_21_49_55_9926.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1342021719","1342021775","1342021763","1342021739","1342021756","1342021770"],"photo_ids_order":["1342021719","1342021739","1342021756","1342021763","1342021770","1342021775"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/48937c3083a65edef49216b8183f3638.jpg","text":"TemporaryFile(/tmp/multipartBody7560834879005963584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741467092562,"filename":"image_08032025_21_50_45_9927.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/762eab2364fbaf4457d61ff7da903790.jpg","text":"TemporaryFile(/tmp/multipartBody7482059795529390743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741467092562,"filename":"image_08032025_21_49_55_9926.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/e0149ee7e309a2954f9d2985fd3e5f8b.jpg","text":"TemporaryFile(/tmp/multipartBody7165298724331366585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741467092562,"filename":"image_08032025_21_50_15_9927.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/989c704abdc8a16b6fcf1ff13dddceab.jpg","text":"TemporaryFile(/tmp/multipartBody377618688346989259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741467092562,"filename":"image_08032025_21_50_35_9927.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/6548cd7bb0d4146ca5a7524ca4c7538c.jpg","text":"TemporaryFile(/tmp/multipartBody8392431978629506153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741467092562,"filename":"image_08032025_21_50_25_9925.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/24fa3fa27c2fcb1535fd3464b8ba6208.jpg","text":"TemporaryFile(/tmp/multipartBody2209787131612144197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741467092562,"filename":"image_08032025_21_50_05_9955.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1342021756","file1":"1342021739","file0":"1342021719","file4":"1342021770","file5":"1342021775","file3":"1342021763"},"map_files_photo_id_array":[{"photo_id":"1342021775","filename":"file5"},{"photo_id":"1342021756","filename":"file2"},{"photo_id":"1342021770","filename":"file4"},{"photo_id":"1342021739","filename":"file1"},{"photo_id":"1342021719","filename":"file0"},{"photo_id":"1342021763","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1342021719":["hashtag1","hashtag2"]},{"1342021775":["hashtag1","hashtag2"]},{"1342021763":["hashtag1","hashtag2"]},{"1342021739":["hashtag1","hashtag2"]},{"1342021756":["hashtag1","hashtag2"]},{"1342021770":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1342021719, 1342021775, 1342021763, 1342021739, 1342021756, 1342021770)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.9801983833313 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 21:51:32.237238
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/21/51/image_08032025_21_51_45_9926.jpg', 2), ('/home/nano/Desktop/images/08032025/21/51/image_08032025_21_51_36_10934.jpg', 2), ('/home/nano/Desktop/images/08032025/21/51/image_08032025_21_51_25_9940.jpg', 2), ('/home/nano/Desktop/images/08032025/21/51/image_08032025_21_51_15_9952.jpg', 2), ('/home/nano/Desktop/images/08032025/21/50/image_08032025_21_51_05_9926.jpg', 2), ('/home/nano/Desktop/images/08032025/21/50/image_08032025_21_50_55_9928.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/21/51/image_08032025_21_51_45_9926.jpg', '/home/nano/Desktop/images/08032025/21/51/image_08032025_21_51_36_10934.jpg', '/home/nano/Desktop/images/08032025/21/51/image_08032025_21_51_25_9940.jpg', '/home/nano/Desktop/images/08032025/21/51/image_08032025_21_51_15_9952.jpg', '/home/nano/Desktop/images/08032025/21/50/image_08032025_21_51_05_9926.jpg', '/home/nano/Desktop/images/08032025/21/50/image_08032025_21_50_55_9928.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/21/51/image_08032025_21_51_45_9926.jpg
/home/nano/Desktop/images/08032025/21/51/image_08032025_21_51_36_10934.jpg
/home/nano/Desktop/images/08032025/21/51/image_08032025_21_51_25_9940.jpg
/home/nano/Desktop/images/08032025/21/51/image_08032025_21_51_15_9952.jpg
/home/nano/Desktop/images/08032025/21/50/image_08032025_21_51_05_9926.jpg
/home/nano/Desktop/images/08032025/21/50/image_08032025_21_50_55_9928.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1342022093","1342022185","1342022344","1342022292","1342022119","1342022145"],"photo_ids_order":["1342022093","1342022119","1342022145","1342022185","1342022292","1342022344"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/ed298268e02c95b6fd16590dfc9c35fb.jpg","text":"TemporaryFile(/tmp/multipartBody3553547618280342704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741467152644,"filename":"image_08032025_21_51_45_9926.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/d60010f3b644434e71136e8db082f585.jpg","text":"TemporaryFile(/tmp/multipartBody6995588785630364208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741467152644,"filename":"image_08032025_21_51_15_9952.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/5ec54858bf9550b8d546260a2700fdc2.jpg","text":"TemporaryFile(/tmp/multipartBody729324374059235165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741467152644,"filename":"image_08032025_21_50_55_9928.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/0b9599aef9af0a82034fe8aeef8ba8de.jpg","text":"TemporaryFile(/tmp/multipartBody6283005278897704595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741467152644,"filename":"image_08032025_21_51_05_9926.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/1f22dee3d2135de52f997078f39fb41f.jpg","text":"TemporaryFile(/tmp/multipartBody8425437664611195756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741467152644,"filename":"image_08032025_21_51_36_10934.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/605aa734dbcca0aff89f58a401797c81.jpg","text":"TemporaryFile(/tmp/multipartBody4474600279943702418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741467152644,"filename":"image_08032025_21_51_25_9940.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1342022145","file1":"1342022119","file0":"1342022093","file4":"1342022292","file5":"1342022344","file3":"1342022185"},"map_files_photo_id_array":[{"photo_id":"1342022344","filename":"file5"},{"photo_id":"1342022145","filename":"file2"},{"photo_id":"1342022292","filename":"file4"},{"photo_id":"1342022119","filename":"file1"},{"photo_id":"1342022093","filename":"file0"},{"photo_id":"1342022185","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1342022093":["hashtag1","hashtag2"]},{"1342022185":["hashtag1","hashtag2"]},{"1342022344":["hashtag1","hashtag2"]},{"1342022292":["hashtag1","hashtag2"]},{"1342022119":["hashtag1","hashtag2"]},{"1342022145":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1342022093, 1342022185, 1342022344, 1342022292, 1342022119, 1342022145)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.501675844192505 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 21:52:32.369092
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/21/52/image_08032025_21_52_45_9923.jpg', 2), ('/home/nano/Desktop/images/08032025/21/52/image_08032025_21_52_35_9923.jpg', 2), ('/home/nano/Desktop/images/08032025/21/52/image_08032025_21_52_25_9950.jpg', 2), ('/home/nano/Desktop/images/08032025/21/52/image_08032025_21_52_15_9936.jpg', 2), ('/home/nano/Desktop/images/08032025/21/51/image_08032025_21_52_05_9963.jpg', 2), ('/home/nano/Desktop/images/08032025/21/51/image_08032025_21_51_55_9923.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/21/52/image_08032025_21_52_45_9923.jpg', '/home/nano/Desktop/images/08032025/21/52/image_08032025_21_52_35_9923.jpg', '/home/nano/Desktop/images/08032025/21/52/image_08032025_21_52_25_9950.jpg', '/home/nano/Desktop/images/08032025/21/52/image_08032025_21_52_15_9936.jpg', '/home/nano/Desktop/images/08032025/21/51/image_08032025_21_52_05_9963.jpg', '/home/nano/Desktop/images/08032025/21/51/image_08032025_21_51_55_9923.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/21/52/image_08032025_21_52_45_9923.jpg
/home/nano/Desktop/images/08032025/21/52/image_08032025_21_52_35_9923.jpg
/home/nano/Desktop/images/08032025/21/52/image_08032025_21_52_25_9950.jpg
/home/nano/Desktop/images/08032025/21/52/image_08032025_21_52_15_9936.jpg
/home/nano/Desktop/images/08032025/21/51/image_08032025_21_52_05_9963.jpg
/home/nano/Desktop/images/08032025/21/51/image_08032025_21_51_55_9923.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1342022502","1342022525","1342022528","1342022470","1342022512","1342022514"],"photo_ids_order":["1342022470","1342022502","1342022512","1342022514","1342022525","1342022528"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/1b40bd361ba665d9f04549fde261137d.jpg","text":"TemporaryFile(/tmp/multipartBody4253175178288439238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741467212913,"filename":"image_08032025_21_52_35_9923.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/146ca2f75e13695ec0811e7a65954ec3.jpg","text":"TemporaryFile(/tmp/multipartBody93182107830310780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741467212913,"filename":"image_08032025_21_52_05_9963.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/584c2c126f987061eb21fc2b40e3991f.jpg","text":"TemporaryFile(/tmp/multipartBody2094633575024299322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741467212913,"filename":"image_08032025_21_51_55_9923.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/d0aa188a7f0b3c342c1cf8e902201433.jpg","text":"TemporaryFile(/tmp/multipartBody4180962637877289309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741467212913,"filename":"image_08032025_21_52_45_9923.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/4873061913ef44dfd1a1547fa7e3e801.jpg","text":"TemporaryFile(/tmp/multipartBody4116710751365500865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741467212913,"filename":"image_08032025_21_52_25_9950.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/efe27f583b9c1b84cbcecf7eaf15fe31.jpg","text":"TemporaryFile(/tmp/multipartBody1571090975966982116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741467212913,"filename":"image_08032025_21_52_15_9936.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1342022512","file1":"1342022502","file0":"1342022470","file4":"1342022525","file5":"1342022528","file3":"1342022514"},"map_files_photo_id_array":[{"photo_id":"1342022528","filename":"file5"},{"photo_id":"1342022512","filename":"file2"},{"photo_id":"1342022525","filename":"file4"},{"photo_id":"1342022502","filename":"file1"},{"photo_id":"1342022470","filename":"file0"},{"photo_id":"1342022514","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1342022502":["hashtag1","hashtag2"]},{"1342022525":["hashtag1","hashtag2"]},{"1342022528":["hashtag1","hashtag2"]},{"1342022470":["hashtag1","hashtag2"]},{"1342022512":["hashtag1","hashtag2"]},{"1342022514":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1342022502, 1342022525, 1342022528, 1342022470, 1342022512, 1342022514)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.06066179275513 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 21:53:32.459123
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/21/53/image_08032025_21_53_45_9926.jpg', 2), ('/home/nano/Desktop/images/08032025/21/53/image_08032025_21_53_35_9928.jpg', 2), ('/home/nano/Desktop/images/08032025/21/53/image_08032025_21_53_25_9923.jpg', 2), ('/home/nano/Desktop/images/08032025/21/53/image_08032025_21_53_15_9927.jpg', 2), ('/home/nano/Desktop/images/08032025/21/52/image_08032025_21_53_05_9934.jpg', 2), ('/home/nano/Desktop/images/08032025/21/52/image_08032025_21_52_55_9926.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/21/53/image_08032025_21_53_45_9926.jpg', '/home/nano/Desktop/images/08032025/21/53/image_08032025_21_53_35_9928.jpg', '/home/nano/Desktop/images/08032025/21/53/image_08032025_21_53_25_9923.jpg', '/home/nano/Desktop/images/08032025/21/53/image_08032025_21_53_15_9927.jpg', '/home/nano/Desktop/images/08032025/21/52/image_08032025_21_53_05_9934.jpg', '/home/nano/Desktop/images/08032025/21/52/image_08032025_21_52_55_9926.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/21/53/image_08032025_21_53_45_9926.jpg
/home/nano/Desktop/images/08032025/21/53/image_08032025_21_53_35_9928.jpg
/home/nano/Desktop/images/08032025/21/53/image_08032025_21_53_25_9923.jpg
/home/nano/Desktop/images/08032025/21/53/image_08032025_21_53_15_9927.jpg
/home/nano/Desktop/images/08032025/21/52/image_08032025_21_53_05_9934.jpg
/home/nano/Desktop/images/08032025/21/52/image_08032025_21_52_55_9926.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1342022963","1342022735","1342022974","1342022785","1342023001","1342022880"],"photo_ids_order":["1342022735","1342022785","1342022880","1342022963","1342022974","1342023001"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/a9bab8f86fe5b5b2c2f44057808f1e72.jpg","text":"TemporaryFile(/tmp/multipartBody1159551490003646411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741467272879,"filename":"image_08032025_21_53_15_9927.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/53b52c4d969744411c3b346ccd9a8e1b.jpg","text":"TemporaryFile(/tmp/multipartBody3466711807691834027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741467272879,"filename":"image_08032025_21_53_45_9926.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/bc3f9ae6836b5010331b4d3978405bdb.jpg","text":"TemporaryFile(/tmp/multipartBody2521506774068705726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741467272879,"filename":"image_08032025_21_53_05_9934.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/9dfb7d1a064410bdd59a845972966ab8.jpg","text":"TemporaryFile(/tmp/multipartBody7943610129597976009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741467272879,"filename":"image_08032025_21_53_35_9928.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/f4c053cbbc00f82b08a6ec3c2ce82ef4.jpg","text":"TemporaryFile(/tmp/multipartBody2113142477951992153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741467272879,"filename":"image_08032025_21_52_55_9926.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/f5c0da8827bca2449efd66e4ac1b713e.jpg","text":"TemporaryFile(/tmp/multipartBody2892833553580051643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741467272879,"filename":"image_08032025_21_53_25_9923.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1342022880","file1":"1342022785","file0":"1342022735","file4":"1342022974","file5":"1342023001","file3":"1342022963"},"map_files_photo_id_array":[{"photo_id":"1342023001","filename":"file5"},{"photo_id":"1342022880","filename":"file2"},{"photo_id":"1342022974","filename":"file4"},{"photo_id":"1342022785","filename":"file1"},{"photo_id":"1342022735","filename":"file0"},{"photo_id":"1342022963","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1342022963":["hashtag1","hashtag2"]},{"1342022735":["hashtag1","hashtag2"]},{"1342022974":["hashtag1","hashtag2"]},{"1342022785":["hashtag1","hashtag2"]},{"1342023001":["hashtag1","hashtag2"]},{"1342022880":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1342022963, 1342022735, 1342022974, 1342022785, 1342023001, 1342022880)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.0138623714447 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 21:54:32.608632
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/21/54/image_08032025_21_54_45_9924.jpg', 2), ('/home/nano/Desktop/images/08032025/21/54/image_08032025_21_54_35_9929.jpg', 2), ('/home/nano/Desktop/images/08032025/21/54/image_08032025_21_54_25_9939.jpg', 2), ('/home/nano/Desktop/images/08032025/21/54/image_08032025_21_54_15_9923.jpg', 2), ('/home/nano/Desktop/images/08032025/21/53/image_08032025_21_54_06_9929.jpg', 2), ('/home/nano/Desktop/images/08032025/21/53/image_08032025_21_53_56_10933.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/21/54/image_08032025_21_54_45_9924.jpg', '/home/nano/Desktop/images/08032025/21/54/image_08032025_21_54_35_9929.jpg', '/home/nano/Desktop/images/08032025/21/54/image_08032025_21_54_25_9939.jpg', '/home/nano/Desktop/images/08032025/21/54/image_08032025_21_54_15_9923.jpg', '/home/nano/Desktop/images/08032025/21/53/image_08032025_21_54_06_9929.jpg', '/home/nano/Desktop/images/08032025/21/53/image_08032025_21_53_56_10933.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/21/54/image_08032025_21_54_45_9924.jpg
/home/nano/Desktop/images/08032025/21/54/image_08032025_21_54_35_9929.jpg
/home/nano/Desktop/images/08032025/21/54/image_08032025_21_54_25_9939.jpg
/home/nano/Desktop/images/08032025/21/54/image_08032025_21_54_15_9923.jpg
/home/nano/Desktop/images/08032025/21/53/image_08032025_21_54_06_9929.jpg
/home/nano/Desktop/images/08032025/21/53/image_08032025_21_53_56_10933.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1342023074","1342023134","1342023110","1342023028","1342023054","1342023089"],"photo_ids_order":["1342023028","1342023054","1342023074","1342023089","1342023110","1342023134"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/2f425350e8c73033c4a8e07dba572e6d.jpg","text":"TemporaryFile(/tmp/multipartBody7790407748179530362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741467333016,"filename":"image_08032025_21_54_25_9939.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/e777264a047738d6aa4ab20afa4c44e7.jpg","text":"TemporaryFile(/tmp/multipartBody7369135192772354685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741467333016,"filename":"image_08032025_21_53_56_10933.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/999b6a37abb89cc8242b7f6b050f6932.jpg","text":"TemporaryFile(/tmp/multipartBody6045101075618039226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741467333016,"filename":"image_08032025_21_54_06_9929.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/9bafc984ecadbab7479bfdc733914ac1.jpg","text":"TemporaryFile(/tmp/multipartBody9152783584221221209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741467333016,"filename":"image_08032025_21_54_45_9924.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/a4816c5de1e81e6b241f51e3e2035392.jpg","text":"TemporaryFile(/tmp/multipartBody4878079669939107921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741467333016,"filename":"image_08032025_21_54_35_9929.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/65d31b5336797752dd92d0e7f0ea97e4.jpg","text":"TemporaryFile(/tmp/multipartBody2135519917597558088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741467333016,"filename":"image_08032025_21_54_15_9923.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1342023074","file1":"1342023054","file0":"1342023028","file4":"1342023110","file5":"1342023134","file3":"1342023089"},"map_files_photo_id_array":[{"photo_id":"1342023134","filename":"file5"},{"photo_id":"1342023074","filename":"file2"},{"photo_id":"1342023110","filename":"file4"},{"photo_id":"1342023054","filename":"file1"},{"photo_id":"1342023028","filename":"file0"},{"photo_id":"1342023089","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1342023074":["hashtag1","hashtag2"]},{"1342023134":["hashtag1","hashtag2"]},{"1342023110":["hashtag1","hashtag2"]},{"1342023028":["hashtag1","hashtag2"]},{"1342023054":["hashtag1","hashtag2"]},{"1342023089":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1342023074, 1342023134, 1342023110, 1342023028, 1342023054, 1342023089)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.265488147735596 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 21:55:32.710387
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/21/55/image_08032025_21_55_45_9920.jpg', 2), ('/home/nano/Desktop/images/08032025/21/55/image_08032025_21_55_35_9923.jpg', 2), ('/home/nano/Desktop/images/08032025/21/55/image_08032025_21_55_25_9923.jpg', 2), ('/home/nano/Desktop/images/08032025/21/55/image_08032025_21_55_15_9936.jpg', 2), ('/home/nano/Desktop/images/08032025/21/54/image_08032025_21_55_05_9931.jpg', 2), ('/home/nano/Desktop/images/08032025/21/54/image_08032025_21_54_55_9925.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/21/55/image_08032025_21_55_45_9920.jpg', '/home/nano/Desktop/images/08032025/21/55/image_08032025_21_55_35_9923.jpg', '/home/nano/Desktop/images/08032025/21/55/image_08032025_21_55_25_9923.jpg', '/home/nano/Desktop/images/08032025/21/55/image_08032025_21_55_15_9936.jpg', '/home/nano/Desktop/images/08032025/21/54/image_08032025_21_55_05_9931.jpg', '/home/nano/Desktop/images/08032025/21/54/image_08032025_21_54_55_9925.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/21/55/image_08032025_21_55_45_9920.jpg
/home/nano/Desktop/images/08032025/21/55/image_08032025_21_55_35_9923.jpg
/home/nano/Desktop/images/08032025/21/55/image_08032025_21_55_25_9923.jpg
/home/nano/Desktop/images/08032025/21/55/image_08032025_21_55_15_9936.jpg
/home/nano/Desktop/images/08032025/21/54/image_08032025_21_55_05_9931.jpg
/home/nano/Desktop/images/08032025/21/54/image_08032025_21_54_55_9925.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1342023254","1342023209","1342023361","1342023540","1342023435","1342023504"],"photo_ids_order":["1342023209","1342023254","1342023361","1342023435","1342023504","1342023540"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/385cb9e49f4c558c8c361f672d844ee0.jpg","text":"TemporaryFile(/tmp/multipartBody9043579871478444027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741467393159,"filename":"image_08032025_21_55_35_9923.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/2c2ddad00c745d9568191ace9656e6a5.jpg","text":"TemporaryFile(/tmp/multipartBody2413102280178883292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741467393159,"filename":"image_08032025_21_55_45_9920.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/7e361e015cd382e19f4b13518e0c61ae.jpg","text":"TemporaryFile(/tmp/multipartBody5480438597240444323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741467393159,"filename":"image_08032025_21_55_25_9923.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/2c1fb3cfe358a1b725c17bb7800f09bd.jpg","text":"TemporaryFile(/tmp/multipartBody7303128595226951338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741467393159,"filename":"image_08032025_21_54_55_9925.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/efa7eaa493d60a027b10a4dc84e2b438.jpg","text":"TemporaryFile(/tmp/multipartBody6715997108262514527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741467393159,"filename":"image_08032025_21_55_15_9936.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/87eb605360ec7f953e286ff56ed3c1d9.jpg","text":"TemporaryFile(/tmp/multipartBody7897208227418456644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741467393159,"filename":"image_08032025_21_55_05_9931.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1342023361","file1":"1342023254","file0":"1342023209","file4":"1342023504","file5":"1342023540","file3":"1342023435"},"map_files_photo_id_array":[{"photo_id":"1342023540","filename":"file5"},{"photo_id":"1342023361","filename":"file2"},{"photo_id":"1342023504","filename":"file4"},{"photo_id":"1342023254","filename":"file1"},{"photo_id":"1342023209","filename":"file0"},{"photo_id":"1342023435","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1342023254":["hashtag1","hashtag2"]},{"1342023209":["hashtag1","hashtag2"]},{"1342023361":["hashtag1","hashtag2"]},{"1342023540":["hashtag1","hashtag2"]},{"1342023435":["hashtag1","hashtag2"]},{"1342023504":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1342023254, 1342023209, 1342023361, 1342023540, 1342023435, 1342023504)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.660160779953 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 21:56:31.868631
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/21/56/image_08032025_21_56_45_9929.jpg', 2), ('/home/nano/Desktop/images/08032025/21/56/image_08032025_21_56_35_9927.jpg', 2), ('/home/nano/Desktop/images/08032025/21/56/image_08032025_21_56_26_10928.jpg', 2), ('/home/nano/Desktop/images/08032025/21/56/image_08032025_21_56_15_9931.jpg', 2), ('/home/nano/Desktop/images/08032025/21/55/image_08032025_21_56_05_9951.jpg', 2), ('/home/nano/Desktop/images/08032025/21/55/image_08032025_21_55_55_9923.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/21/56/image_08032025_21_56_45_9929.jpg', '/home/nano/Desktop/images/08032025/21/56/image_08032025_21_56_35_9927.jpg', '/home/nano/Desktop/images/08032025/21/56/image_08032025_21_56_26_10928.jpg', '/home/nano/Desktop/images/08032025/21/56/image_08032025_21_56_15_9931.jpg', '/home/nano/Desktop/images/08032025/21/55/image_08032025_21_56_05_9951.jpg', '/home/nano/Desktop/images/08032025/21/55/image_08032025_21_55_55_9923.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/21/56/image_08032025_21_56_45_9929.jpg
/home/nano/Desktop/images/08032025/21/56/image_08032025_21_56_35_9927.jpg
/home/nano/Desktop/images/08032025/21/56/image_08032025_21_56_26_10928.jpg
/home/nano/Desktop/images/08032025/21/56/image_08032025_21_56_15_9931.jpg
/home/nano/Desktop/images/08032025/21/55/image_08032025_21_56_05_9951.jpg
/home/nano/Desktop/images/08032025/21/55/image_08032025_21_55_55_9923.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.3467228412628174 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 marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 21:57:02.615607
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/21/56/image_08032025_21_56_45_9929.jpg', 2), ('/home/nano/Desktop/images/08032025/21/56/image_08032025_21_56_35_9927.jpg', 2), ('/home/nano/Desktop/images/08032025/21/56/image_08032025_21_56_26_10928.jpg', 2), ('/home/nano/Desktop/images/08032025/21/56/image_08032025_21_56_15_9931.jpg', 2), ('/home/nano/Desktop/images/08032025/21/55/image_08032025_21_56_05_9951.jpg', 2), ('/home/nano/Desktop/images/08032025/21/55/image_08032025_21_55_55_9923.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/21/56/image_08032025_21_56_45_9929.jpg', '/home/nano/Desktop/images/08032025/21/56/image_08032025_21_56_35_9927.jpg', '/home/nano/Desktop/images/08032025/21/56/image_08032025_21_56_26_10928.jpg', '/home/nano/Desktop/images/08032025/21/56/image_08032025_21_56_15_9931.jpg', '/home/nano/Desktop/images/08032025/21/55/image_08032025_21_56_05_9951.jpg', '/home/nano/Desktop/images/08032025/21/55/image_08032025_21_55_55_9923.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/21/56/image_08032025_21_56_45_9929.jpg
/home/nano/Desktop/images/08032025/21/56/image_08032025_21_56_35_9927.jpg
/home/nano/Desktop/images/08032025/21/56/image_08032025_21_56_26_10928.jpg
/home/nano/Desktop/images/08032025/21/56/image_08032025_21_56_15_9931.jpg
/home/nano/Desktop/images/08032025/21/55/image_08032025_21_56_05_9951.jpg
/home/nano/Desktop/images/08032025/21/55/image_08032025_21_55_55_9923.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1342023725","1342023694","1342023697","1342023700","1342023714","1342023702"],"photo_ids_order":["1342023694","1342023697","1342023700","1342023702","1342023714","1342023725"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/fbfd8085ed1df31fa5c498bb6ca34fc0.jpg","text":"TemporaryFile(/tmp/multipartBody1782841454490563869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741467483161,"filename":"image_08032025_21_55_55_9923.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/68b3ca923291d59b19c2982eb584cb79.jpg","text":"TemporaryFile(/tmp/multipartBody526872701198006905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741467483161,"filename":"image_08032025_21_56_45_9929.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/7cff417663940edc59ae96116e5d5306.jpg","text":"TemporaryFile(/tmp/multipartBody8056363670893217168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741467483161,"filename":"image_08032025_21_56_35_9927.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/11ae43bcca6e86a6fbc0d98ff796d437.jpg","text":"TemporaryFile(/tmp/multipartBody5490429038029628655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741467483161,"filename":"image_08032025_21_56_26_10928.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/9d696cccb2800698fc60fd54715fef97.jpg","text":"TemporaryFile(/tmp/multipartBody8274682487051355680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741467483161,"filename":"image_08032025_21_56_05_9951.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/6810bab8ec43974f96669f38e03b3f6a.jpg","text":"TemporaryFile(/tmp/multipartBody2496719860182917053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741467483161,"filename":"image_08032025_21_56_15_9931.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1342023700","file1":"1342023697","file0":"1342023694","file4":"1342023714","file5":"1342023725","file3":"1342023702"},"map_files_photo_id_array":[{"photo_id":"1342023725","filename":"file5"},{"photo_id":"1342023700","filename":"file2"},{"photo_id":"1342023714","filename":"file4"},{"photo_id":"1342023697","filename":"file1"},{"photo_id":"1342023694","filename":"file0"},{"photo_id":"1342023702","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1342023725":["hashtag1","hashtag2"]},{"1342023694":["hashtag1","hashtag2"]},{"1342023697":["hashtag1","hashtag2"]},{"1342023700":["hashtag1","hashtag2"]},{"1342023714":["hashtag1","hashtag2"]},{"1342023702":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1342023725, 1342023694, 1342023697, 1342023700, 1342023714, 1342023702)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.70723485946655 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 21:58:32.112307
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/21/58/image_08032025_21_58_46_10934.jpg', 2), ('/home/nano/Desktop/images/08032025/21/58/image_08032025_21_58_35_9925.jpg', 2), ('/home/nano/Desktop/images/08032025/21/58/image_08032025_21_58_25_9918.jpg', 2), ('/home/nano/Desktop/images/08032025/21/58/image_08032025_21_58_15_9922.jpg', 2), ('/home/nano/Desktop/images/08032025/21/57/image_08032025_21_58_05_9962.jpg', 2), ('/home/nano/Desktop/images/08032025/21/57/image_08032025_21_57_55_9920.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/21/58/image_08032025_21_58_46_10934.jpg', '/home/nano/Desktop/images/08032025/21/58/image_08032025_21_58_35_9925.jpg', '/home/nano/Desktop/images/08032025/21/58/image_08032025_21_58_25_9918.jpg', '/home/nano/Desktop/images/08032025/21/58/image_08032025_21_58_15_9922.jpg', '/home/nano/Desktop/images/08032025/21/57/image_08032025_21_58_05_9962.jpg', '/home/nano/Desktop/images/08032025/21/57/image_08032025_21_57_55_9920.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/21/58/image_08032025_21_58_46_10934.jpg
/home/nano/Desktop/images/08032025/21/58/image_08032025_21_58_35_9925.jpg
/home/nano/Desktop/images/08032025/21/58/image_08032025_21_58_25_9918.jpg
/home/nano/Desktop/images/08032025/21/58/image_08032025_21_58_15_9922.jpg
/home/nano/Desktop/images/08032025/21/57/image_08032025_21_58_05_9962.jpg
/home/nano/Desktop/images/08032025/21/57/image_08032025_21_57_55_9920.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1342023932","1342023935","1342023934","1342023933","1342023936","1342023939"],"photo_ids_order":["1342023932","1342023933","1342023934","1342023935","1342023936","1342023939"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/eb65e297f4b4de327507ec82b6cb3bc5.jpg","text":"TemporaryFile(/tmp/multipartBody6962373918062383187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741467572864,"filename":"image_08032025_21_58_46_10934.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/a8c09e31919cf1ecb2bfdbb9b0e7960c.jpg","text":"TemporaryFile(/tmp/multipartBody5995461284132017412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741467572864,"filename":"image_08032025_21_58_15_9922.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/dcd5973207ca6722ce9fdb580acc7d96.jpg","text":"TemporaryFile(/tmp/multipartBody4089144035186258056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741467572864,"filename":"image_08032025_21_58_25_9918.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/2d7c52e5e407c10898349966afb5c176.jpg","text":"TemporaryFile(/tmp/multipartBody2095257164531553288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741467572864,"filename":"image_08032025_21_58_35_9925.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/ff8abd1baff69d64bf0121bab9b0780b.jpg","text":"TemporaryFile(/tmp/multipartBody2654604279546442962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741467572864,"filename":"image_08032025_21_58_05_9962.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/8e176f3d2328f5c2ac13724b453bee68.jpg","text":"TemporaryFile(/tmp/multipartBody6199293217701517433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741467572864,"filename":"image_08032025_21_57_55_9920.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1342023934","file1":"1342023933","file0":"1342023932","file4":"1342023936","file5":"1342023939","file3":"1342023935"},"map_files_photo_id_array":[{"photo_id":"1342023939","filename":"file5"},{"photo_id":"1342023934","filename":"file2"},{"photo_id":"1342023936","filename":"file4"},{"photo_id":"1342023933","filename":"file1"},{"photo_id":"1342023932","filename":"file0"},{"photo_id":"1342023935","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1342023932":["hashtag1","hashtag2"]},{"1342023935":["hashtag1","hashtag2"]},{"1342023934":["hashtag1","hashtag2"]},{"1342023933":["hashtag1","hashtag2"]},{"1342023936":["hashtag1","hashtag2"]},{"1342023939":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1342023932, 1342023935, 1342023934, 1342023933, 1342023936, 1342023939)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.79620122909546 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 21:59:32.237549
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/21/59/image_08032025_21_59_45_9928.jpg', 2), ('/home/nano/Desktop/images/08032025/21/59/image_08032025_21_59_35_9942.jpg', 2), ('/home/nano/Desktop/images/08032025/21/59/image_08032025_21_59_25_9926.jpg', 2), ('/home/nano/Desktop/images/08032025/21/59/image_08032025_21_59_15_9930.jpg', 2), ('/home/nano/Desktop/images/08032025/21/58/image_08032025_21_59_05_9933.jpg', 2), ('/home/nano/Desktop/images/08032025/21/58/image_08032025_21_58_55_9922.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/21/59/image_08032025_21_59_45_9928.jpg', '/home/nano/Desktop/images/08032025/21/59/image_08032025_21_59_35_9942.jpg', '/home/nano/Desktop/images/08032025/21/59/image_08032025_21_59_25_9926.jpg', '/home/nano/Desktop/images/08032025/21/59/image_08032025_21_59_15_9930.jpg', '/home/nano/Desktop/images/08032025/21/58/image_08032025_21_59_05_9933.jpg', '/home/nano/Desktop/images/08032025/21/58/image_08032025_21_58_55_9922.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/21/59/image_08032025_21_59_45_9928.jpg
/home/nano/Desktop/images/08032025/21/59/image_08032025_21_59_35_9942.jpg
/home/nano/Desktop/images/08032025/21/59/image_08032025_21_59_25_9926.jpg
/home/nano/Desktop/images/08032025/21/59/image_08032025_21_59_15_9930.jpg
/home/nano/Desktop/images/08032025/21/58/image_08032025_21_59_05_9933.jpg
/home/nano/Desktop/images/08032025/21/58/image_08032025_21_58_55_9922.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1342023965","1342023973","1342023967","1342023970","1342023963","1342023975"],"photo_ids_order":["1342023963","1342023965","1342023967","1342023970","1342023973","1342023975"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/a247370955ef91d824611da54717335c.jpg","text":"TemporaryFile(/tmp/multipartBody8429257550978636377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741467632662,"filename":"image_08032025_21_59_35_9942.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/9f0a985f607a34c625423af40dc09181.jpg","text":"TemporaryFile(/tmp/multipartBody7424401333087424572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741467632662,"filename":"image_08032025_21_59_05_9933.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/9022db88e2e5ace9c8c2b99773b7f4fa.jpg","text":"TemporaryFile(/tmp/multipartBody2887966416439317364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741467632662,"filename":"image_08032025_21_59_25_9926.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/7e0cd18dfc9208bc57dcca356fd8ae58.jpg","text":"TemporaryFile(/tmp/multipartBody156148341569241613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741467632662,"filename":"image_08032025_21_59_15_9930.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/ed53b7a523dded37ef9faf6b8036c45f.jpg","text":"TemporaryFile(/tmp/multipartBody218107465309951685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741467632662,"filename":"image_08032025_21_59_45_9928.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/2c2c7fe4e9167696a87dade778e3e9df.jpg","text":"TemporaryFile(/tmp/multipartBody2195627406875392873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741467632662,"filename":"image_08032025_21_58_55_9922.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1342023967","file1":"1342023965","file0":"1342023963","file4":"1342023973","file5":"1342023975","file3":"1342023970"},"map_files_photo_id_array":[{"photo_id":"1342023975","filename":"file5"},{"photo_id":"1342023967","filename":"file2"},{"photo_id":"1342023973","filename":"file4"},{"photo_id":"1342023965","filename":"file1"},{"photo_id":"1342023963","filename":"file0"},{"photo_id":"1342023970","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1342023965":["hashtag1","hashtag2"]},{"1342023973":["hashtag1","hashtag2"]},{"1342023967":["hashtag1","hashtag2"]},{"1342023970":["hashtag1","hashtag2"]},{"1342023963":["hashtag1","hashtag2"]},{"1342023975":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1342023965, 1342023973, 1342023967, 1342023970, 1342023963, 1342023975)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.43819856643677 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 22:00:32.359787
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/22/00/image_08032025_22_00_45_9921.jpg', 2), ('/home/nano/Desktop/images/08032025/22/00/image_08032025_22_00_35_9926.jpg', 2), ('/home/nano/Desktop/images/08032025/22/00/image_08032025_22_00_25_9926.jpg', 2), ('/home/nano/Desktop/images/08032025/22/00/image_08032025_22_00_15_9925.jpg', 2), ('/home/nano/Desktop/images/08032025/21/59/image_08032025_22_00_05_9929.jpg', 2), ('/home/nano/Desktop/images/08032025/21/59/image_08032025_21_59_55_9946.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/22/00/image_08032025_22_00_45_9921.jpg', '/home/nano/Desktop/images/08032025/22/00/image_08032025_22_00_35_9926.jpg', '/home/nano/Desktop/images/08032025/22/00/image_08032025_22_00_25_9926.jpg', '/home/nano/Desktop/images/08032025/22/00/image_08032025_22_00_15_9925.jpg', '/home/nano/Desktop/images/08032025/21/59/image_08032025_22_00_05_9929.jpg', '/home/nano/Desktop/images/08032025/21/59/image_08032025_21_59_55_9946.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/22/00/image_08032025_22_00_45_9921.jpg
/home/nano/Desktop/images/08032025/22/00/image_08032025_22_00_35_9926.jpg
/home/nano/Desktop/images/08032025/22/00/image_08032025_22_00_25_9926.jpg
/home/nano/Desktop/images/08032025/22/00/image_08032025_22_00_15_9925.jpg
/home/nano/Desktop/images/08032025/21/59/image_08032025_22_00_05_9929.jpg
/home/nano/Desktop/images/08032025/21/59/image_08032025_21_59_55_9946.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1342024072","1342024197","1342024108","1342024278","1342024239","1342024140"],"photo_ids_order":["1342024072","1342024108","1342024140","1342024197","1342024239","1342024278"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/cb111e9796442cf1d4a06bcd59af9bce.jpg","text":"TemporaryFile(/tmp/multipartBody6804120621240437952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741467692772,"filename":"image_08032025_22_00_45_9921.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/0736fb5040feb302867132fe702cd631.jpg","text":"TemporaryFile(/tmp/multipartBody6508314620366382123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741467692772,"filename":"image_08032025_22_00_15_9925.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/d62ddb0524f98fc853f85164f0ed50dc.jpg","text":"TemporaryFile(/tmp/multipartBody3703519128449422049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741467692772,"filename":"image_08032025_22_00_35_9926.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/0f7e5c292376734f96c1193bb21de1aa.jpg","text":"TemporaryFile(/tmp/multipartBody1204288796081045252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741467692772,"filename":"image_08032025_21_59_55_9946.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/3e8fda0460994569ebfa1429a931b5aa.jpg","text":"TemporaryFile(/tmp/multipartBody7271103244450095299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741467692772,"filename":"image_08032025_22_00_05_9929.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/8553593d4e82259aacf66d6a674bb950.jpg","text":"TemporaryFile(/tmp/multipartBody9005010588759770999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741467692772,"filename":"image_08032025_22_00_25_9926.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1342024140","file1":"1342024108","file0":"1342024072","file4":"1342024239","file5":"1342024278","file3":"1342024197"},"map_files_photo_id_array":[{"photo_id":"1342024278","filename":"file5"},{"photo_id":"1342024140","filename":"file2"},{"photo_id":"1342024239","filename":"file4"},{"photo_id":"1342024108","filename":"file1"},{"photo_id":"1342024072","filename":"file0"},{"photo_id":"1342024197","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1342024072":["hashtag1","hashtag2"]},{"1342024197":["hashtag1","hashtag2"]},{"1342024108":["hashtag1","hashtag2"]},{"1342024278":["hashtag1","hashtag2"]},{"1342024239":["hashtag1","hashtag2"]},{"1342024140":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1342024072, 1342024197, 1342024108, 1342024278, 1342024239, 1342024140)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.333824634552 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 22:01:32.446515
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/22/01/image_08032025_22_01_45_9922.jpg', 2), ('/home/nano/Desktop/images/08032025/22/01/image_08032025_22_01_35_9924.jpg', 2), ('/home/nano/Desktop/images/08032025/22/01/image_08032025_22_01_25_9924.jpg', 2), ('/home/nano/Desktop/images/08032025/22/01/image_08032025_22_01_16_9929.jpg', 2), ('/home/nano/Desktop/images/08032025/22/00/image_08032025_22_01_06_10951.jpg', 2), ('/home/nano/Desktop/images/08032025/22/00/image_08032025_22_00_55_9926.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/22/01/image_08032025_22_01_45_9922.jpg', '/home/nano/Desktop/images/08032025/22/01/image_08032025_22_01_35_9924.jpg', '/home/nano/Desktop/images/08032025/22/01/image_08032025_22_01_25_9924.jpg', '/home/nano/Desktop/images/08032025/22/01/image_08032025_22_01_16_9929.jpg', '/home/nano/Desktop/images/08032025/22/00/image_08032025_22_01_06_10951.jpg', '/home/nano/Desktop/images/08032025/22/00/image_08032025_22_00_55_9926.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/22/01/image_08032025_22_01_45_9922.jpg
/home/nano/Desktop/images/08032025/22/01/image_08032025_22_01_35_9924.jpg
/home/nano/Desktop/images/08032025/22/01/image_08032025_22_01_25_9924.jpg
/home/nano/Desktop/images/08032025/22/01/image_08032025_22_01_16_9929.jpg
/home/nano/Desktop/images/08032025/22/00/image_08032025_22_01_06_10951.jpg
/home/nano/Desktop/images/08032025/22/00/image_08032025_22_00_55_9926.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1342024747","1342025017","1342024816","1342024854","1342024886","1342024922"],"photo_ids_order":["1342024747","1342024816","1342024854","1342024886","1342024922","1342025017"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/212be0d9ddc9535d2eddc98e7d6af72c.jpg","text":"TemporaryFile(/tmp/multipartBody2759137139792297505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741467752857,"filename":"image_08032025_22_01_45_9922.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/8aa17b5bfdf3aecb8cd022223f896fa2.jpg","text":"TemporaryFile(/tmp/multipartBody693075203197605772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741467752857,"filename":"image_08032025_22_00_55_9926.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/431b4a49aaa51223a710d5f85cbd9263.jpg","text":"TemporaryFile(/tmp/multipartBody7616436944104952099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741467752857,"filename":"image_08032025_22_01_35_9924.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/25375fad349e5c9d35d64d281551ef24.jpg","text":"TemporaryFile(/tmp/multipartBody4403936540037526032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741467752857,"filename":"image_08032025_22_01_25_9924.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/ac8039bf5da980098729eede1a4a42bf.jpg","text":"TemporaryFile(/tmp/multipartBody4109634729733971371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741467752857,"filename":"image_08032025_22_01_16_9929.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/7c21840649add7ecbb8d7e2a00fa87fa.jpg","text":"TemporaryFile(/tmp/multipartBody5377956060546001954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741467752857,"filename":"image_08032025_22_01_06_10951.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1342024854","file1":"1342024816","file0":"1342024747","file4":"1342024922","file5":"1342025017","file3":"1342024886"},"map_files_photo_id_array":[{"photo_id":"1342025017","filename":"file5"},{"photo_id":"1342024854","filename":"file2"},{"photo_id":"1342024922","filename":"file4"},{"photo_id":"1342024816","filename":"file1"},{"photo_id":"1342024747","filename":"file0"},{"photo_id":"1342024886","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1342024747":["hashtag1","hashtag2"]},{"1342025017":["hashtag1","hashtag2"]},{"1342024816":["hashtag1","hashtag2"]},{"1342024854":["hashtag1","hashtag2"]},{"1342024886":["hashtag1","hashtag2"]},{"1342024922":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1342024747, 1342025017, 1342024816, 1342024854, 1342024886, 1342024922)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.19227862358093 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 22:02:32.568449
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/22/02/image_08032025_22_02_45_9925.jpg', 2), ('/home/nano/Desktop/images/08032025/22/02/image_08032025_22_02_35_9926.jpg', 2), ('/home/nano/Desktop/images/08032025/22/02/image_08032025_22_02_25_9924.jpg', 2), ('/home/nano/Desktop/images/08032025/22/02/image_08032025_22_02_15_9926.jpg', 2), ('/home/nano/Desktop/images/08032025/22/01/image_08032025_22_02_05_9930.jpg', 2), ('/home/nano/Desktop/images/08032025/22/01/image_08032025_22_01_55_9923.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/22/02/image_08032025_22_02_45_9925.jpg', '/home/nano/Desktop/images/08032025/22/02/image_08032025_22_02_35_9926.jpg', '/home/nano/Desktop/images/08032025/22/02/image_08032025_22_02_25_9924.jpg', '/home/nano/Desktop/images/08032025/22/02/image_08032025_22_02_15_9926.jpg', '/home/nano/Desktop/images/08032025/22/01/image_08032025_22_02_05_9930.jpg', '/home/nano/Desktop/images/08032025/22/01/image_08032025_22_01_55_9923.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/22/02/image_08032025_22_02_45_9925.jpg
/home/nano/Desktop/images/08032025/22/02/image_08032025_22_02_35_9926.jpg
/home/nano/Desktop/images/08032025/22/02/image_08032025_22_02_25_9924.jpg
/home/nano/Desktop/images/08032025/22/02/image_08032025_22_02_15_9926.jpg
/home/nano/Desktop/images/08032025/22/01/image_08032025_22_02_05_9930.jpg
/home/nano/Desktop/images/08032025/22/01/image_08032025_22_01_55_9923.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1342025623","1342025448","1342025489","1342025582","1342025543","1342025395"],"photo_ids_order":["1342025395","1342025448","1342025489","1342025543","1342025582","1342025623"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/7a7a7f3c14685bdbb06367bf6113c99f.jpg","text":"TemporaryFile(/tmp/multipartBody417458948877719083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741467812994,"filename":"image_08032025_22_01_55_9923.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/f1a95370304dfe05b8ce886615a1d497.jpg","text":"TemporaryFile(/tmp/multipartBody1979994485021267316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741467812994,"filename":"image_08032025_22_02_35_9926.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/4c9654abdada69742369db44b34edfa9.jpg","text":"TemporaryFile(/tmp/multipartBody8020655726765614784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741467812994,"filename":"image_08032025_22_02_25_9924.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/60f7f6caab213a4fcd7e24bc16b2084b.jpg","text":"TemporaryFile(/tmp/multipartBody1299003049584376144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741467812994,"filename":"image_08032025_22_02_05_9930.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/de3eaf56580ab8fb12f8befcaf9b5db8.jpg","text":"TemporaryFile(/tmp/multipartBody8198748653345421993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741467812994,"filename":"image_08032025_22_02_15_9926.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/ec188161f0167d2545b7020f2dde632e.jpg","text":"TemporaryFile(/tmp/multipartBody1390630515385564552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741467812994,"filename":"image_08032025_22_02_45_9925.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1342025489","file1":"1342025448","file0":"1342025395","file4":"1342025582","file5":"1342025623","file3":"1342025543"},"map_files_photo_id_array":[{"photo_id":"1342025623","filename":"file5"},{"photo_id":"1342025489","filename":"file2"},{"photo_id":"1342025582","filename":"file4"},{"photo_id":"1342025448","filename":"file1"},{"photo_id":"1342025395","filename":"file0"},{"photo_id":"1342025543","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1342025623":["hashtag1","hashtag2"]},{"1342025448":["hashtag1","hashtag2"]},{"1342025489":["hashtag1","hashtag2"]},{"1342025582":["hashtag1","hashtag2"]},{"1342025543":["hashtag1","hashtag2"]},{"1342025395":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1342025623, 1342025448, 1342025489, 1342025582, 1342025543, 1342025395)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.26028227806091 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 22:03:32.651905
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/22/03/image_08032025_22_03_45_9924.jpg', 2), ('/home/nano/Desktop/images/08032025/22/03/image_08032025_22_03_36_10936.jpg', 2), ('/home/nano/Desktop/images/08032025/22/03/image_08032025_22_03_25_9923.jpg', 2), ('/home/nano/Desktop/images/08032025/22/03/image_08032025_22_03_15_9955.jpg', 2), ('/home/nano/Desktop/images/08032025/22/02/image_08032025_22_03_05_9930.jpg', 2), ('/home/nano/Desktop/images/08032025/22/02/image_08032025_22_02_55_9944.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/22/03/image_08032025_22_03_45_9924.jpg', '/home/nano/Desktop/images/08032025/22/03/image_08032025_22_03_36_10936.jpg', '/home/nano/Desktop/images/08032025/22/03/image_08032025_22_03_25_9923.jpg', '/home/nano/Desktop/images/08032025/22/03/image_08032025_22_03_15_9955.jpg', '/home/nano/Desktop/images/08032025/22/02/image_08032025_22_03_05_9930.jpg', '/home/nano/Desktop/images/08032025/22/02/image_08032025_22_02_55_9944.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/22/03/image_08032025_22_03_45_9924.jpg
/home/nano/Desktop/images/08032025/22/03/image_08032025_22_03_36_10936.jpg
/home/nano/Desktop/images/08032025/22/03/image_08032025_22_03_25_9923.jpg
/home/nano/Desktop/images/08032025/22/03/image_08032025_22_03_15_9955.jpg
/home/nano/Desktop/images/08032025/22/02/image_08032025_22_03_05_9930.jpg
/home/nano/Desktop/images/08032025/22/02/image_08032025_22_02_55_9944.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1342026086","1342026049","1342025992","1342025986","1342025939","1342025989"],"photo_ids_order":["1342025939","1342025986","1342025989","1342025992","1342026049","1342026086"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/e0968947749119302302897b225e05e9.jpg","text":"TemporaryFile(/tmp/multipartBody3454988637995816308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741467873087,"filename":"image_08032025_22_02_55_9944.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/a4840d9e6a651ea7e4ef28c14014b472.jpg","text":"TemporaryFile(/tmp/multipartBody904708685596832467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741467873087,"filename":"image_08032025_22_03_05_9930.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/e8850054e5081081bab458be24c21565.jpg","text":"TemporaryFile(/tmp/multipartBody4782766680893489400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741467873087,"filename":"image_08032025_22_03_15_9955.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/63e207f6793878d2fb1c543cd4099e01.jpg","text":"TemporaryFile(/tmp/multipartBody751212488288660553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741467873087,"filename":"image_08032025_22_03_36_10936.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/b4f7ba3489d8c062311f2056afa503d9.jpg","text":"TemporaryFile(/tmp/multipartBody5103721813390400282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741467873087,"filename":"image_08032025_22_03_45_9924.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/59b3f480f3b75f4b19c098a04bcf942a.jpg","text":"TemporaryFile(/tmp/multipartBody4618506764198652600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741467873087,"filename":"image_08032025_22_03_25_9923.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1342025989","file1":"1342025986","file0":"1342025939","file4":"1342026049","file5":"1342026086","file3":"1342025992"},"map_files_photo_id_array":[{"photo_id":"1342026086","filename":"file5"},{"photo_id":"1342025989","filename":"file2"},{"photo_id":"1342026049","filename":"file4"},{"photo_id":"1342025986","filename":"file1"},{"photo_id":"1342025939","filename":"file0"},{"photo_id":"1342025992","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1342026086":["hashtag1","hashtag2"]},{"1342026049":["hashtag1","hashtag2"]},{"1342025992":["hashtag1","hashtag2"]},{"1342025986":["hashtag1","hashtag2"]},{"1342025939":["hashtag1","hashtag2"]},{"1342025989":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1342026086, 1342026049, 1342025992, 1342025986, 1342025939, 1342025989)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.90972137451172 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 22:04:32.769354
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/22/04/image_08032025_22_04_45_9923.jpg', 2), ('/home/nano/Desktop/images/08032025/22/04/image_08032025_22_04_35_9941.jpg', 2), ('/home/nano/Desktop/images/08032025/22/04/image_08032025_22_04_25_9927.jpg', 2), ('/home/nano/Desktop/images/08032025/22/04/image_08032025_22_04_15_9927.jpg', 2), ('/home/nano/Desktop/images/08032025/22/03/image_08032025_22_04_05_9942.jpg', 2), ('/home/nano/Desktop/images/08032025/22/03/image_08032025_22_03_55_9927.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/22/04/image_08032025_22_04_45_9923.jpg', '/home/nano/Desktop/images/08032025/22/04/image_08032025_22_04_35_9941.jpg', '/home/nano/Desktop/images/08032025/22/04/image_08032025_22_04_25_9927.jpg', '/home/nano/Desktop/images/08032025/22/04/image_08032025_22_04_15_9927.jpg', '/home/nano/Desktop/images/08032025/22/03/image_08032025_22_04_05_9942.jpg', '/home/nano/Desktop/images/08032025/22/03/image_08032025_22_03_55_9927.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/22/04/image_08032025_22_04_45_9923.jpg
/home/nano/Desktop/images/08032025/22/04/image_08032025_22_04_35_9941.jpg
/home/nano/Desktop/images/08032025/22/04/image_08032025_22_04_25_9927.jpg
/home/nano/Desktop/images/08032025/22/04/image_08032025_22_04_15_9927.jpg
/home/nano/Desktop/images/08032025/22/03/image_08032025_22_04_05_9942.jpg
/home/nano/Desktop/images/08032025/22/03/image_08032025_22_03_55_9927.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.32964348793029785 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 marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 22:05:02.170452
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/22/04/image_08032025_22_04_45_9923.jpg', 2), ('/home/nano/Desktop/images/08032025/22/04/image_08032025_22_04_35_9941.jpg', 2), ('/home/nano/Desktop/images/08032025/22/04/image_08032025_22_04_25_9927.jpg', 2), ('/home/nano/Desktop/images/08032025/22/04/image_08032025_22_04_15_9927.jpg', 2), ('/home/nano/Desktop/images/08032025/22/03/image_08032025_22_04_05_9942.jpg', 2), ('/home/nano/Desktop/images/08032025/22/03/image_08032025_22_03_55_9927.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/22/04/image_08032025_22_04_45_9923.jpg', '/home/nano/Desktop/images/08032025/22/04/image_08032025_22_04_35_9941.jpg', '/home/nano/Desktop/images/08032025/22/04/image_08032025_22_04_25_9927.jpg', '/home/nano/Desktop/images/08032025/22/04/image_08032025_22_04_15_9927.jpg', '/home/nano/Desktop/images/08032025/22/03/image_08032025_22_04_05_9942.jpg', '/home/nano/Desktop/images/08032025/22/03/image_08032025_22_03_55_9927.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/22/04/image_08032025_22_04_45_9923.jpg
/home/nano/Desktop/images/08032025/22/04/image_08032025_22_04_35_9941.jpg
/home/nano/Desktop/images/08032025/22/04/image_08032025_22_04_25_9927.jpg
/home/nano/Desktop/images/08032025/22/04/image_08032025_22_04_15_9927.jpg
/home/nano/Desktop/images/08032025/22/03/image_08032025_22_04_05_9942.jpg
/home/nano/Desktop/images/08032025/22/03/image_08032025_22_03_55_9927.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1342026669","1342026657","1342026711","1342026767","1342026682","1342026727"],"photo_ids_order":["1342026657","1342026669","1342026682","1342026711","1342026727","1342026767"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/43a15dfa60fc4d3309ead2b928c61eb5.jpg","text":"TemporaryFile(/tmp/multipartBody8005882085946621569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741467962647,"filename":"image_08032025_22_04_35_9941.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/2f1de7022eac61e9a64b94b145ca9e32.jpg","text":"TemporaryFile(/tmp/multipartBody1116140495701848106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741467962647,"filename":"image_08032025_22_04_45_9923.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/4a512788c960ed0c8a706b5bfd5b0ce9.jpg","text":"TemporaryFile(/tmp/multipartBody2346802857395414158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741467962647,"filename":"image_08032025_22_04_15_9927.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/d2e0a0ab9dcdbaf036d9ca97a68b1c3b.jpg","text":"TemporaryFile(/tmp/multipartBody4787971941042284815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741467962647,"filename":"image_08032025_22_03_55_9927.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/7c6c5d77ba982fd8d1cf83b261176575.jpg","text":"TemporaryFile(/tmp/multipartBody4929556255725416482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741467962647,"filename":"image_08032025_22_04_25_9927.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/c43368b07ef8bf3a750ed6bd83464ba7.jpg","text":"TemporaryFile(/tmp/multipartBody9046653608987742675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741467962647,"filename":"image_08032025_22_04_05_9942.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1342026682","file1":"1342026669","file0":"1342026657","file4":"1342026727","file5":"1342026767","file3":"1342026711"},"map_files_photo_id_array":[{"photo_id":"1342026767","filename":"file5"},{"photo_id":"1342026682","filename":"file2"},{"photo_id":"1342026727","filename":"file4"},{"photo_id":"1342026669","filename":"file1"},{"photo_id":"1342026657","filename":"file0"},{"photo_id":"1342026711","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1342026669":["hashtag1","hashtag2"]},{"1342026657":["hashtag1","hashtag2"]},{"1342026711":["hashtag1","hashtag2"]},{"1342026767":["hashtag1","hashtag2"]},{"1342026682":["hashtag1","hashtag2"]},{"1342026727":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1342026669, 1342026657, 1342026711, 1342026767, 1342026682, 1342026727)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.70099449157715 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 22:06:02.492942
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/22/05/image_08032025_22_05_45_9924.jpg', 2), ('/home/nano/Desktop/images/08032025/22/05/image_08032025_22_05_35_9926.jpg', 2), ('/home/nano/Desktop/images/08032025/22/05/image_08032025_22_05_25_9922.jpg', 2), ('/home/nano/Desktop/images/08032025/22/05/image_08032025_22_05_15_9926.jpg', 2), ('/home/nano/Desktop/images/08032025/22/04/image_08032025_22_05_05_9943.jpg', 2), ('/home/nano/Desktop/images/08032025/22/04/image_08032025_22_04_55_9926.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/22/05/image_08032025_22_05_45_9924.jpg', '/home/nano/Desktop/images/08032025/22/05/image_08032025_22_05_35_9926.jpg', '/home/nano/Desktop/images/08032025/22/05/image_08032025_22_05_25_9922.jpg', '/home/nano/Desktop/images/08032025/22/05/image_08032025_22_05_15_9926.jpg', '/home/nano/Desktop/images/08032025/22/04/image_08032025_22_05_05_9943.jpg', '/home/nano/Desktop/images/08032025/22/04/image_08032025_22_04_55_9926.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/22/05/image_08032025_22_05_45_9924.jpg
/home/nano/Desktop/images/08032025/22/05/image_08032025_22_05_35_9926.jpg
/home/nano/Desktop/images/08032025/22/05/image_08032025_22_05_25_9922.jpg
/home/nano/Desktop/images/08032025/22/05/image_08032025_22_05_15_9926.jpg
/home/nano/Desktop/images/08032025/22/04/image_08032025_22_05_05_9943.jpg
/home/nano/Desktop/images/08032025/22/04/image_08032025_22_04_55_9926.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1342026978","1342026974","1342027025","1342027004","1342027034","1342026988"],"photo_ids_order":["1342026974","1342026978","1342026988","1342027004","1342027025","1342027034"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/31a0f9ae7f9adfdfacfc0e7078dbae6d.jpg","text":"TemporaryFile(/tmp/multipartBody8907705425213371476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741468022924,"filename":"image_08032025_22_05_35_9926.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/bb3da8015fba5c22cbcc15842e1191f6.jpg","text":"TemporaryFile(/tmp/multipartBody7209280655923854075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741468022924,"filename":"image_08032025_22_05_45_9924.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/86b28c21f8ff09cd6ad2a97363cb5219.jpg","text":"TemporaryFile(/tmp/multipartBody4611254469456396795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741468022924,"filename":"image_08032025_22_05_05_9943.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/4c9b9ea27345ecba4832051b28620395.jpg","text":"TemporaryFile(/tmp/multipartBody2124606892828076710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741468022924,"filename":"image_08032025_22_05_15_9926.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/e352c4774571d3508dab46e3738cd882.jpg","text":"TemporaryFile(/tmp/multipartBody7917281121606295949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741468022924,"filename":"image_08032025_22_04_55_9926.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/689cfc36f4fe5f93d589cf9a3169a627.jpg","text":"TemporaryFile(/tmp/multipartBody5660747124462320157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741468022924,"filename":"image_08032025_22_05_25_9922.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1342026988","file1":"1342026978","file0":"1342026974","file4":"1342027025","file5":"1342027034","file3":"1342027004"},"map_files_photo_id_array":[{"photo_id":"1342027034","filename":"file5"},{"photo_id":"1342026988","filename":"file2"},{"photo_id":"1342027025","filename":"file4"},{"photo_id":"1342026978","filename":"file1"},{"photo_id":"1342026974","filename":"file0"},{"photo_id":"1342027004","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1342026978":["hashtag1","hashtag2"]},{"1342026974":["hashtag1","hashtag2"]},{"1342027025":["hashtag1","hashtag2"]},{"1342027004":["hashtag1","hashtag2"]},{"1342027034":["hashtag1","hashtag2"]},{"1342026988":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1342026978, 1342026974, 1342027025, 1342027004, 1342027034, 1342026988)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.685927867889404 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 22:07:02.612436
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/22/06/image_08032025_22_06_45_9930.jpg', 2), ('/home/nano/Desktop/images/08032025/22/06/image_08032025_22_06_35_9935.jpg', 2), ('/home/nano/Desktop/images/08032025/22/06/image_08032025_22_06_25_9923.jpg', 2), ('/home/nano/Desktop/images/08032025/22/06/image_08032025_22_06_15_9944.jpg', 2), ('/home/nano/Desktop/images/08032025/22/05/image_08032025_22_06_05_9928.jpg', 2), ('/home/nano/Desktop/images/08032025/22/05/image_08032025_22_05_56_10930.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/22/06/image_08032025_22_06_45_9930.jpg', '/home/nano/Desktop/images/08032025/22/06/image_08032025_22_06_35_9935.jpg', '/home/nano/Desktop/images/08032025/22/06/image_08032025_22_06_25_9923.jpg', '/home/nano/Desktop/images/08032025/22/06/image_08032025_22_06_15_9944.jpg', '/home/nano/Desktop/images/08032025/22/05/image_08032025_22_06_05_9928.jpg', '/home/nano/Desktop/images/08032025/22/05/image_08032025_22_05_56_10930.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/22/06/image_08032025_22_06_45_9930.jpg
/home/nano/Desktop/images/08032025/22/06/image_08032025_22_06_35_9935.jpg
/home/nano/Desktop/images/08032025/22/06/image_08032025_22_06_25_9923.jpg
/home/nano/Desktop/images/08032025/22/06/image_08032025_22_06_15_9944.jpg
/home/nano/Desktop/images/08032025/22/05/image_08032025_22_06_05_9928.jpg
/home/nano/Desktop/images/08032025/22/05/image_08032025_22_05_56_10930.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1342027125","1342027119","1342027121","1342027130","1342027127","1342027123"],"photo_ids_order":["1342027119","1342027121","1342027123","1342027125","1342027127","1342027130"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/e8c55a3eb8e47825a68a17557cd0e084.jpg","text":"TemporaryFile(/tmp/multipartBody7924951119658443423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741468083263,"filename":"image_08032025_22_06_15_9944.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/c1def670e30a712f6c97d4b6b66450ff.jpg","text":"TemporaryFile(/tmp/multipartBody8666834983606728972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741468083263,"filename":"image_08032025_22_06_45_9930.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/fb0719117e4a1c1abfa4a1343c963fff.jpg","text":"TemporaryFile(/tmp/multipartBody2106705275392728894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741468083263,"filename":"image_08032025_22_06_35_9935.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/23bdde82bc8a917a979bb24068480be3.jpg","text":"TemporaryFile(/tmp/multipartBody8491846328432127983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741468083263,"filename":"image_08032025_22_05_56_10930.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/a07ed4d8c474e7f9bc7090caa225f4e8.jpg","text":"TemporaryFile(/tmp/multipartBody3317969829245095004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741468083263,"filename":"image_08032025_22_06_05_9928.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/5ea43815788f3dc066680044620f7a31.jpg","text":"TemporaryFile(/tmp/multipartBody1651444947820225020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741468083263,"filename":"image_08032025_22_06_25_9923.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1342027123","file1":"1342027121","file0":"1342027119","file4":"1342027127","file5":"1342027130","file3":"1342027125"},"map_files_photo_id_array":[{"photo_id":"1342027130","filename":"file5"},{"photo_id":"1342027123","filename":"file2"},{"photo_id":"1342027127","filename":"file4"},{"photo_id":"1342027121","filename":"file1"},{"photo_id":"1342027119","filename":"file0"},{"photo_id":"1342027125","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1342027125":["hashtag1","hashtag2"]},{"1342027119":["hashtag1","hashtag2"]},{"1342027121":["hashtag1","hashtag2"]},{"1342027130":["hashtag1","hashtag2"]},{"1342027127":["hashtag1","hashtag2"]},{"1342027123":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1342027125, 1342027119, 1342027121, 1342027130, 1342027127, 1342027123)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.71697497367859 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 22:08:02.739446
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/22/07/image_08032025_22_07_45_9925.jpg', 2), ('/home/nano/Desktop/images/08032025/22/07/image_08032025_22_07_35_9919.jpg', 2), ('/home/nano/Desktop/images/08032025/22/07/image_08032025_22_07_25_9926.jpg', 2), ('/home/nano/Desktop/images/08032025/22/07/image_08032025_22_07_15_9945.jpg', 2), ('/home/nano/Desktop/images/08032025/22/06/image_08032025_22_07_05_9957.jpg', 2), ('/home/nano/Desktop/images/08032025/22/06/image_08032025_22_06_55_9923.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/22/07/image_08032025_22_07_45_9925.jpg', '/home/nano/Desktop/images/08032025/22/07/image_08032025_22_07_35_9919.jpg', '/home/nano/Desktop/images/08032025/22/07/image_08032025_22_07_25_9926.jpg', '/home/nano/Desktop/images/08032025/22/07/image_08032025_22_07_15_9945.jpg', '/home/nano/Desktop/images/08032025/22/06/image_08032025_22_07_05_9957.jpg', '/home/nano/Desktop/images/08032025/22/06/image_08032025_22_06_55_9923.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/22/07/image_08032025_22_07_45_9925.jpg
/home/nano/Desktop/images/08032025/22/07/image_08032025_22_07_35_9919.jpg
/home/nano/Desktop/images/08032025/22/07/image_08032025_22_07_25_9926.jpg
/home/nano/Desktop/images/08032025/22/07/image_08032025_22_07_15_9945.jpg
/home/nano/Desktop/images/08032025/22/06/image_08032025_22_07_05_9957.jpg
/home/nano/Desktop/images/08032025/22/06/image_08032025_22_06_55_9923.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1342027280","1342027274","1342027268","1342027178","1342027232","1342027219"],"photo_ids_order":["1342027178","1342027219","1342027232","1342027268","1342027274","1342027280"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/8d29cb16bdb403ea3a1deba41e22d74e.jpg","text":"TemporaryFile(/tmp/multipartBody9076943690016694621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741468143170,"filename":"image_08032025_22_06_55_9923.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/6adbf48645a0090d1f6087a50a1a6629.jpg","text":"TemporaryFile(/tmp/multipartBody562885758648748238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741468143170,"filename":"image_08032025_22_07_05_9957.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/1f912ded733510fef17016721f11090d.jpg","text":"TemporaryFile(/tmp/multipartBody5909370867410687982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741468143170,"filename":"image_08032025_22_07_15_9945.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/0ed432d3fc7cb7987e5f9a68995f4dff.jpg","text":"TemporaryFile(/tmp/multipartBody4408946016469120867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741468143170,"filename":"image_08032025_22_07_45_9925.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/5553eeb5c108a14b521f9ab2d3d428af.jpg","text":"TemporaryFile(/tmp/multipartBody166687345066706985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741468143170,"filename":"image_08032025_22_07_25_9926.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/6086f63a17bb369fabd08bc9dc6e5457.jpg","text":"TemporaryFile(/tmp/multipartBody11840039036405069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741468143170,"filename":"image_08032025_22_07_35_9919.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1342027232","file1":"1342027219","file0":"1342027178","file4":"1342027274","file5":"1342027280","file3":"1342027268"},"map_files_photo_id_array":[{"photo_id":"1342027280","filename":"file5"},{"photo_id":"1342027232","filename":"file2"},{"photo_id":"1342027274","filename":"file4"},{"photo_id":"1342027219","filename":"file1"},{"photo_id":"1342027178","filename":"file0"},{"photo_id":"1342027268","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1342027280":["hashtag1","hashtag2"]},{"1342027274":["hashtag1","hashtag2"]},{"1342027268":["hashtag1","hashtag2"]},{"1342027178":["hashtag1","hashtag2"]},{"1342027232":["hashtag1","hashtag2"]},{"1342027219":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1342027280, 1342027274, 1342027268, 1342027178, 1342027232, 1342027219)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.312278747558594 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 22:09:03.087576
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/22/08/image_08032025_22_08_45_9927.jpg', 2), ('/home/nano/Desktop/images/08032025/22/08/image_08032025_22_08_35_9924.jpg', 2), ('/home/nano/Desktop/images/08032025/22/08/image_08032025_22_08_26_9951.jpg', 2), ('/home/nano/Desktop/images/08032025/22/08/image_08032025_22_08_16_10931.jpg', 2), ('/home/nano/Desktop/images/08032025/22/07/image_08032025_22_08_05_9933.jpg', 2), ('/home/nano/Desktop/images/08032025/22/07/image_08032025_22_07_55_9923.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/22/08/image_08032025_22_08_45_9927.jpg', '/home/nano/Desktop/images/08032025/22/08/image_08032025_22_08_35_9924.jpg', '/home/nano/Desktop/images/08032025/22/08/image_08032025_22_08_26_9951.jpg', '/home/nano/Desktop/images/08032025/22/08/image_08032025_22_08_16_10931.jpg', '/home/nano/Desktop/images/08032025/22/07/image_08032025_22_08_05_9933.jpg', '/home/nano/Desktop/images/08032025/22/07/image_08032025_22_07_55_9923.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/22/08/image_08032025_22_08_45_9927.jpg
/home/nano/Desktop/images/08032025/22/08/image_08032025_22_08_35_9924.jpg
/home/nano/Desktop/images/08032025/22/08/image_08032025_22_08_26_9951.jpg
/home/nano/Desktop/images/08032025/22/08/image_08032025_22_08_16_10931.jpg
/home/nano/Desktop/images/08032025/22/07/image_08032025_22_08_05_9933.jpg
/home/nano/Desktop/images/08032025/22/07/image_08032025_22_07_55_9923.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1342027422","1342027382","1342027401","1342027364","1342027400","1342027429"],"photo_ids_order":["1342027364","1342027382","1342027400","1342027401","1342027422","1342027429"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/eeca483d565b43272d60854d77255908.jpg","text":"TemporaryFile(/tmp/multipartBody7249748721459087360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741468203537,"filename":"image_08032025_22_08_05_9933.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/5d8584fcd95850f5b5173eb76d1473e0.jpg","text":"TemporaryFile(/tmp/multipartBody1694377434092777084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741468203537,"filename":"image_08032025_22_08_35_9924.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/e87e4b389015ff51acaf3e9eb040d489.jpg","text":"TemporaryFile(/tmp/multipartBody3739925476641925764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741468203537,"filename":"image_08032025_22_08_16_10931.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/c28a366a9ddb5c5049b01a5103ec3762.jpg","text":"TemporaryFile(/tmp/multipartBody6398490460981463666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741468203537,"filename":"image_08032025_22_08_45_9927.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/fbf14fd328c58f2ce43c44b8e9f1e3b7.jpg","text":"TemporaryFile(/tmp/multipartBody1855140065688681920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741468203537,"filename":"image_08032025_22_08_26_9951.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/6b0e079dd19a820b78497a746bced8d8.jpg","text":"TemporaryFile(/tmp/multipartBody5407002625215545321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741468203537,"filename":"image_08032025_22_07_55_9923.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1342027400","file1":"1342027382","file0":"1342027364","file4":"1342027422","file5":"1342027429","file3":"1342027401"},"map_files_photo_id_array":[{"photo_id":"1342027429","filename":"file5"},{"photo_id":"1342027400","filename":"file2"},{"photo_id":"1342027422","filename":"file4"},{"photo_id":"1342027382","filename":"file1"},{"photo_id":"1342027364","filename":"file0"},{"photo_id":"1342027401","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1342027422":["hashtag1","hashtag2"]},{"1342027382":["hashtag1","hashtag2"]},{"1342027401":["hashtag1","hashtag2"]},{"1342027364":["hashtag1","hashtag2"]},{"1342027400":["hashtag1","hashtag2"]},{"1342027429":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1342027422, 1342027382, 1342027401, 1342027364, 1342027400, 1342027429)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.73685383796692 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 22:10:02.897538
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/22/09/image_08032025_22_09_45_9920.jpg', 2), ('/home/nano/Desktop/images/08032025/22/09/image_08032025_22_09_35_9924.jpg', 2), ('/home/nano/Desktop/images/08032025/22/09/image_08032025_22_09_25_9924.jpg', 2), ('/home/nano/Desktop/images/08032025/22/09/image_08032025_22_09_15_9926.jpg', 2), ('/home/nano/Desktop/images/08032025/22/08/image_08032025_22_09_05_9932.jpg', 2), ('/home/nano/Desktop/images/08032025/22/08/image_08032025_22_08_55_9923.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/22/09/image_08032025_22_09_45_9920.jpg', '/home/nano/Desktop/images/08032025/22/09/image_08032025_22_09_35_9924.jpg', '/home/nano/Desktop/images/08032025/22/09/image_08032025_22_09_25_9924.jpg', '/home/nano/Desktop/images/08032025/22/09/image_08032025_22_09_15_9926.jpg', '/home/nano/Desktop/images/08032025/22/08/image_08032025_22_09_05_9932.jpg', '/home/nano/Desktop/images/08032025/22/08/image_08032025_22_08_55_9923.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/22/09/image_08032025_22_09_45_9920.jpg
/home/nano/Desktop/images/08032025/22/09/image_08032025_22_09_35_9924.jpg
/home/nano/Desktop/images/08032025/22/09/image_08032025_22_09_25_9924.jpg
/home/nano/Desktop/images/08032025/22/09/image_08032025_22_09_15_9926.jpg
/home/nano/Desktop/images/08032025/22/08/image_08032025_22_09_05_9932.jpg
/home/nano/Desktop/images/08032025/22/08/image_08032025_22_08_55_9923.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1342027656","1342027803","1342027934","1342027784","1342027864","1342027726"],"photo_ids_order":["1342027656","1342027726","1342027784","1342027803","1342027864","1342027934"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/768e7e4b0cb3f9b8284524b311cee5e1.jpg","text":"TemporaryFile(/tmp/multipartBody7498148951084209949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741468263326,"filename":"image_08032025_22_09_45_9920.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/922dfe7c05dccd5e3a83dfcc8b83ba23.jpg","text":"TemporaryFile(/tmp/multipartBody8396860428510267419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741468263326,"filename":"image_08032025_22_09_15_9926.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/58c8fd0080ae46c92c51d229dc48ff59.jpg","text":"TemporaryFile(/tmp/multipartBody7400155635328951172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741468263326,"filename":"image_08032025_22_08_55_9923.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/ff9c31d7207ad2ce07589f762bb4087d.jpg","text":"TemporaryFile(/tmp/multipartBody1370698516992952470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741468263326,"filename":"image_08032025_22_09_25_9924.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/7dda7bb4652a86114ba83c323d52c785.jpg","text":"TemporaryFile(/tmp/multipartBody2927627219062175835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741468263326,"filename":"image_08032025_22_09_05_9932.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/2f0df60d96b19993ae9934296682291d.jpg","text":"TemporaryFile(/tmp/multipartBody4561945913418092980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741468263326,"filename":"image_08032025_22_09_35_9924.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1342027784","file1":"1342027726","file0":"1342027656","file4":"1342027864","file5":"1342027934","file3":"1342027803"},"map_files_photo_id_array":[{"photo_id":"1342027934","filename":"file5"},{"photo_id":"1342027784","filename":"file2"},{"photo_id":"1342027864","filename":"file4"},{"photo_id":"1342027726","filename":"file1"},{"photo_id":"1342027656","filename":"file0"},{"photo_id":"1342027803","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1342027656":["hashtag1","hashtag2"]},{"1342027803":["hashtag1","hashtag2"]},{"1342027934":["hashtag1","hashtag2"]},{"1342027784":["hashtag1","hashtag2"]},{"1342027864":["hashtag1","hashtag2"]},{"1342027726":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1342027656, 1342027803, 1342027934, 1342027784, 1342027864, 1342027726)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.84035634994507 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 22:11:03.057219
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/22/10/image_08032025_22_10_46_10933.jpg', 2), ('/home/nano/Desktop/images/08032025/22/10/image_08032025_22_10_35_9925.jpg', 2), ('/home/nano/Desktop/images/08032025/22/10/image_08032025_22_10_25_9955.jpg', 2), ('/home/nano/Desktop/images/08032025/22/10/image_08032025_22_10_15_9927.jpg', 2), ('/home/nano/Desktop/images/08032025/22/09/image_08032025_22_10_05_9947.jpg', 2), ('/home/nano/Desktop/images/08032025/22/09/image_08032025_22_09_55_9945.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/22/10/image_08032025_22_10_46_10933.jpg', '/home/nano/Desktop/images/08032025/22/10/image_08032025_22_10_35_9925.jpg', '/home/nano/Desktop/images/08032025/22/10/image_08032025_22_10_25_9955.jpg', '/home/nano/Desktop/images/08032025/22/10/image_08032025_22_10_15_9927.jpg', '/home/nano/Desktop/images/08032025/22/09/image_08032025_22_10_05_9947.jpg', '/home/nano/Desktop/images/08032025/22/09/image_08032025_22_09_55_9945.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/22/10/image_08032025_22_10_46_10933.jpg
/home/nano/Desktop/images/08032025/22/10/image_08032025_22_10_35_9925.jpg
/home/nano/Desktop/images/08032025/22/10/image_08032025_22_10_25_9955.jpg
/home/nano/Desktop/images/08032025/22/10/image_08032025_22_10_15_9927.jpg
/home/nano/Desktop/images/08032025/22/09/image_08032025_22_10_05_9947.jpg
/home/nano/Desktop/images/08032025/22/09/image_08032025_22_09_55_9945.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1342028386","1342028281","1342028257","1342028338","1342028445","1342028415"],"photo_ids_order":["1342028257","1342028281","1342028338","1342028386","1342028415","1342028445"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/674641ebf91cd2523a70b48441daa8ba.jpg","text":"TemporaryFile(/tmp/multipartBody9054169178100497085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741468323495,"filename":"image_08032025_22_10_15_9927.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/b2a4b43ecf1e7cb4eb475be0670c2333.jpg","text":"TemporaryFile(/tmp/multipartBody3765625809024297175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741468323495,"filename":"image_08032025_22_10_35_9925.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/fd34d916a8b7f6053caf377f1716372c.jpg","text":"TemporaryFile(/tmp/multipartBody4562004979868163065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741468323495,"filename":"image_08032025_22_10_46_10933.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/de86c77db26133c42231c3bd6dd7b22a.jpg","text":"TemporaryFile(/tmp/multipartBody2513283071928960717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741468323495,"filename":"image_08032025_22_10_25_9955.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/f26a7f2b79af0c4af520d6e1c75718ec.jpg","text":"TemporaryFile(/tmp/multipartBody6318117355051272557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741468323495,"filename":"image_08032025_22_09_55_9945.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/c54f3588be13c40d5c0476a8d038e6fb.jpg","text":"TemporaryFile(/tmp/multipartBody2615749872842931510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741468323495,"filename":"image_08032025_22_10_05_9947.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1342028338","file1":"1342028281","file0":"1342028257","file4":"1342028415","file5":"1342028445","file3":"1342028386"},"map_files_photo_id_array":[{"photo_id":"1342028445","filename":"file5"},{"photo_id":"1342028338","filename":"file2"},{"photo_id":"1342028415","filename":"file4"},{"photo_id":"1342028281","filename":"file1"},{"photo_id":"1342028257","filename":"file0"},{"photo_id":"1342028386","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1342028386":["hashtag1","hashtag2"]},{"1342028281":["hashtag1","hashtag2"]},{"1342028257":["hashtag1","hashtag2"]},{"1342028338":["hashtag1","hashtag2"]},{"1342028445":["hashtag1","hashtag2"]},{"1342028415":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1342028386, 1342028281, 1342028257, 1342028338, 1342028445, 1342028415)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.45371389389038 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 22:12:03.214787
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/22/11/image_08032025_22_11_45_9928.jpg', 2), ('/home/nano/Desktop/images/08032025/22/11/image_08032025_22_11_35_9932.jpg', 2), ('/home/nano/Desktop/images/08032025/22/11/image_08032025_22_11_25_9939.jpg', 2), ('/home/nano/Desktop/images/08032025/22/11/image_08032025_22_11_15_9929.jpg', 2), ('/home/nano/Desktop/images/08032025/22/10/image_08032025_22_11_05_9944.jpg', 2), ('/home/nano/Desktop/images/08032025/22/10/image_08032025_22_10_56_9927.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/22/11/image_08032025_22_11_45_9928.jpg', '/home/nano/Desktop/images/08032025/22/11/image_08032025_22_11_35_9932.jpg', '/home/nano/Desktop/images/08032025/22/11/image_08032025_22_11_25_9939.jpg', '/home/nano/Desktop/images/08032025/22/11/image_08032025_22_11_15_9929.jpg', '/home/nano/Desktop/images/08032025/22/10/image_08032025_22_11_05_9944.jpg', '/home/nano/Desktop/images/08032025/22/10/image_08032025_22_10_56_9927.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/22/11/image_08032025_22_11_45_9928.jpg
/home/nano/Desktop/images/08032025/22/11/image_08032025_22_11_35_9932.jpg
/home/nano/Desktop/images/08032025/22/11/image_08032025_22_11_25_9939.jpg
/home/nano/Desktop/images/08032025/22/11/image_08032025_22_11_15_9929.jpg
/home/nano/Desktop/images/08032025/22/10/image_08032025_22_11_05_9944.jpg
/home/nano/Desktop/images/08032025/22/10/image_08032025_22_10_56_9927.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1342028555","1342028623","1342028602","1342028580","1342028643","1342028649"],"photo_ids_order":["1342028555","1342028580","1342028602","1342028623","1342028643","1342028649"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/898347f2de4e7da5ab8544822d0d0638.jpg","text":"TemporaryFile(/tmp/multipartBody8212075622178359571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741468383675,"filename":"image_08032025_22_11_45_9928.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/cbc34c1251a1a1527e031e322d917afc.jpg","text":"TemporaryFile(/tmp/multipartBody5836863396747975472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741468383675,"filename":"image_08032025_22_11_15_9929.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/6aa1c8729af560e7e5f41d00c1e2b812.jpg","text":"TemporaryFile(/tmp/multipartBody303964762442566420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741468383675,"filename":"image_08032025_22_11_25_9939.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/38db9188e5a550d5a062daa27a759472.jpg","text":"TemporaryFile(/tmp/multipartBody4231673166967888044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741468383675,"filename":"image_08032025_22_11_35_9932.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/c08b6b667cf15682c6759cd9ebe7da48.jpg","text":"TemporaryFile(/tmp/multipartBody3914039760511031959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741468383675,"filename":"image_08032025_22_11_05_9944.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/ba4ad0fdf8e106dfce1e1570f37c2b5c.jpg","text":"TemporaryFile(/tmp/multipartBody5475362308899338102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741468383675,"filename":"image_08032025_22_10_56_9927.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1342028602","file1":"1342028580","file0":"1342028555","file4":"1342028643","file5":"1342028649","file3":"1342028623"},"map_files_photo_id_array":[{"photo_id":"1342028649","filename":"file5"},{"photo_id":"1342028602","filename":"file2"},{"photo_id":"1342028643","filename":"file4"},{"photo_id":"1342028580","filename":"file1"},{"photo_id":"1342028555","filename":"file0"},{"photo_id":"1342028623","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1342028555":["hashtag1","hashtag2"]},{"1342028623":["hashtag1","hashtag2"]},{"1342028602":["hashtag1","hashtag2"]},{"1342028580":["hashtag1","hashtag2"]},{"1342028643":["hashtag1","hashtag2"]},{"1342028649":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1342028555, 1342028623, 1342028602, 1342028580, 1342028643, 1342028649)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.51740002632141 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 22:13:03.108067
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/22/12/image_08032025_22_12_45_9924.jpg', 2), ('/home/nano/Desktop/images/08032025/22/12/image_08032025_22_12_35_9921.jpg', 2), ('/home/nano/Desktop/images/08032025/22/12/image_08032025_22_12_25_9926.jpg', 2), ('/home/nano/Desktop/images/08032025/22/12/image_08032025_22_12_15_9925.jpg', 2), ('/home/nano/Desktop/images/08032025/22/11/image_08032025_22_12_05_9934.jpg', 2), ('/home/nano/Desktop/images/08032025/22/11/image_08032025_22_11_55_9941.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/22/12/image_08032025_22_12_45_9924.jpg', '/home/nano/Desktop/images/08032025/22/12/image_08032025_22_12_35_9921.jpg', '/home/nano/Desktop/images/08032025/22/12/image_08032025_22_12_25_9926.jpg', '/home/nano/Desktop/images/08032025/22/12/image_08032025_22_12_15_9925.jpg', '/home/nano/Desktop/images/08032025/22/11/image_08032025_22_12_05_9934.jpg', '/home/nano/Desktop/images/08032025/22/11/image_08032025_22_11_55_9941.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/22/12/image_08032025_22_12_45_9924.jpg
/home/nano/Desktop/images/08032025/22/12/image_08032025_22_12_35_9921.jpg
/home/nano/Desktop/images/08032025/22/12/image_08032025_22_12_25_9926.jpg
/home/nano/Desktop/images/08032025/22/12/image_08032025_22_12_15_9925.jpg
/home/nano/Desktop/images/08032025/22/11/image_08032025_22_12_05_9934.jpg
/home/nano/Desktop/images/08032025/22/11/image_08032025_22_11_55_9941.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1342028888","1342028912","1342028890","1342028911","1342028914","1342028904"],"photo_ids_order":["1342028888","1342028890","1342028904","1342028911","1342028912","1342028914"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/65edc87aed485acd6dce46b475c44d42.jpg","text":"TemporaryFile(/tmp/multipartBody1989924733173548394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741468443526,"filename":"image_08032025_22_12_45_9924.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/f763b5892b308d3fa27b60d18e3e420c.jpg","text":"TemporaryFile(/tmp/multipartBody4860737626174965708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741468443526,"filename":"image_08032025_22_12_05_9934.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/a580914a058e01050997e3a6eb07bfce.jpg","text":"TemporaryFile(/tmp/multipartBody1633833196689547631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741468443526,"filename":"image_08032025_22_12_35_9921.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/edf49447bcd707490ce9164669fac961.jpg","text":"TemporaryFile(/tmp/multipartBody2734644607758217795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741468443526,"filename":"image_08032025_22_12_15_9925.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/c8d4851562b06d708b598212a06966f4.jpg","text":"TemporaryFile(/tmp/multipartBody6213472682984010320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741468443526,"filename":"image_08032025_22_11_55_9941.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/b98166b566d71d97f24d2b87f6423fd2.jpg","text":"TemporaryFile(/tmp/multipartBody3192082355462451473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741468443526,"filename":"image_08032025_22_12_25_9926.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1342028904","file1":"1342028890","file0":"1342028888","file4":"1342028912","file5":"1342028914","file3":"1342028911"},"map_files_photo_id_array":[{"photo_id":"1342028914","filename":"file5"},{"photo_id":"1342028904","filename":"file2"},{"photo_id":"1342028912","filename":"file4"},{"photo_id":"1342028890","filename":"file1"},{"photo_id":"1342028888","filename":"file0"},{"photo_id":"1342028911","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1342028888":["hashtag1","hashtag2"]},{"1342028912":["hashtag1","hashtag2"]},{"1342028890":["hashtag1","hashtag2"]},{"1342028911":["hashtag1","hashtag2"]},{"1342028914":["hashtag1","hashtag2"]},{"1342028904":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1342028888, 1342028912, 1342028890, 1342028911, 1342028914, 1342028904)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.230167865753174 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 22:14:02.713433
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/22/13/image_08032025_22_13_45_9930.jpg', 2), ('/home/nano/Desktop/images/08032025/22/13/image_08032025_22_13_35_9921.jpg', 2), ('/home/nano/Desktop/images/08032025/22/13/image_08032025_22_13_25_9923.jpg', 2), ('/home/nano/Desktop/images/08032025/22/13/image_08032025_22_13_16_10925.jpg', 2), ('/home/nano/Desktop/images/08032025/22/12/image_08032025_22_13_05_9936.jpg', 2), ('/home/nano/Desktop/images/08032025/22/12/image_08032025_22_12_55_9926.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/22/13/image_08032025_22_13_45_9930.jpg', '/home/nano/Desktop/images/08032025/22/13/image_08032025_22_13_35_9921.jpg', '/home/nano/Desktop/images/08032025/22/13/image_08032025_22_13_25_9923.jpg', '/home/nano/Desktop/images/08032025/22/13/image_08032025_22_13_16_10925.jpg', '/home/nano/Desktop/images/08032025/22/12/image_08032025_22_13_05_9936.jpg', '/home/nano/Desktop/images/08032025/22/12/image_08032025_22_12_55_9926.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/22/13/image_08032025_22_13_45_9930.jpg
/home/nano/Desktop/images/08032025/22/13/image_08032025_22_13_35_9921.jpg
/home/nano/Desktop/images/08032025/22/13/image_08032025_22_13_25_9923.jpg
/home/nano/Desktop/images/08032025/22/13/image_08032025_22_13_16_10925.jpg
/home/nano/Desktop/images/08032025/22/12/image_08032025_22_13_05_9936.jpg
/home/nano/Desktop/images/08032025/22/12/image_08032025_22_12_55_9926.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1342028948","1342028971","1342028947","1342028973","1342028946","1342028949"],"photo_ids_order":["1342028946","1342028947","1342028948","1342028949","1342028971","1342028973"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/2c54e267a4bcd516c2a241334c3252b8.jpg","text":"TemporaryFile(/tmp/multipartBody6813562588954478378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741468503167,"filename":"image_08032025_22_13_25_9923.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/79fc23dc1577768e1529300b9d86c3a1.jpg","text":"TemporaryFile(/tmp/multipartBody6779735154647268600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741468503167,"filename":"image_08032025_22_13_05_9936.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/7313f602db6b978742d37877b6f888df.jpg","text":"TemporaryFile(/tmp/multipartBody3316225865368830077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741468503167,"filename":"image_08032025_22_13_35_9921.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/f29b216a681acae1b77bce3ab411b5c7.jpg","text":"TemporaryFile(/tmp/multipartBody6447464754124982091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741468503167,"filename":"image_08032025_22_12_55_9926.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/9312c26e398c3b69decfa1704232f97e.jpg","text":"TemporaryFile(/tmp/multipartBody7586725197375778089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741468503167,"filename":"image_08032025_22_13_45_9930.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/12eef859db7a321e5e5b918ac85f3f42.jpg","text":"TemporaryFile(/tmp/multipartBody340635438288578160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741468503167,"filename":"image_08032025_22_13_16_10925.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1342028948","file1":"1342028947","file0":"1342028946","file4":"1342028971","file5":"1342028973","file3":"1342028949"},"map_files_photo_id_array":[{"photo_id":"1342028973","filename":"file5"},{"photo_id":"1342028948","filename":"file2"},{"photo_id":"1342028971","filename":"file4"},{"photo_id":"1342028947","filename":"file1"},{"photo_id":"1342028946","filename":"file0"},{"photo_id":"1342028949","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1342028948":["hashtag1","hashtag2"]},{"1342028971":["hashtag1","hashtag2"]},{"1342028947":["hashtag1","hashtag2"]},{"1342028973":["hashtag1","hashtag2"]},{"1342028946":["hashtag1","hashtag2"]},{"1342028949":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1342028948, 1342028971, 1342028947, 1342028973, 1342028946, 1342028949)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.452786684036255 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 22:15:02.509118
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/22/14/image_08032025_22_14_45_9926.jpg', 2), ('/home/nano/Desktop/images/08032025/22/14/image_08032025_22_14_35_9927.jpg', 2), ('/home/nano/Desktop/images/08032025/22/14/image_08032025_22_14_25_9924.jpg', 2), ('/home/nano/Desktop/images/08032025/22/14/image_08032025_22_14_15_9926.jpg', 2), ('/home/nano/Desktop/images/08032025/22/13/image_08032025_22_14_05_9939.jpg', 2), ('/home/nano/Desktop/images/08032025/22/13/image_08032025_22_13_55_9928.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/22/14/image_08032025_22_14_45_9926.jpg', '/home/nano/Desktop/images/08032025/22/14/image_08032025_22_14_35_9927.jpg', '/home/nano/Desktop/images/08032025/22/14/image_08032025_22_14_25_9924.jpg', '/home/nano/Desktop/images/08032025/22/14/image_08032025_22_14_15_9926.jpg', '/home/nano/Desktop/images/08032025/22/13/image_08032025_22_14_05_9939.jpg', '/home/nano/Desktop/images/08032025/22/13/image_08032025_22_13_55_9928.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/22/14/image_08032025_22_14_45_9926.jpg
/home/nano/Desktop/images/08032025/22/14/image_08032025_22_14_35_9927.jpg
/home/nano/Desktop/images/08032025/22/14/image_08032025_22_14_25_9924.jpg
/home/nano/Desktop/images/08032025/22/14/image_08032025_22_14_15_9926.jpg
/home/nano/Desktop/images/08032025/22/13/image_08032025_22_14_05_9939.jpg
/home/nano/Desktop/images/08032025/22/13/image_08032025_22_13_55_9928.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1342029236","1342029179","1342029415","1342029118","1342029365","1342029303"],"photo_ids_order":["1342029118","1342029179","1342029236","1342029303","1342029365","1342029415"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/942c13988d234998e3ce647f580a5c2c.jpg","text":"TemporaryFile(/tmp/multipartBody5739141320886331160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741468562945,"filename":"image_08032025_22_14_25_9924.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/826989cbb42758e9ef7fe0e2981371fa.jpg","text":"TemporaryFile(/tmp/multipartBody6934542436294694580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741468562945,"filename":"image_08032025_22_14_35_9927.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/af165b05fd1193f73273a19c58932d11.jpg","text":"TemporaryFile(/tmp/multipartBody9098783822809228953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741468562945,"filename":"image_08032025_22_13_55_9928.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/c8911734c80ce5f136445d3e4a7337a1.jpg","text":"TemporaryFile(/tmp/multipartBody9155520017122597911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741468562945,"filename":"image_08032025_22_14_45_9926.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/a65d43efa7ce5de9703acaa4e2b051ad.jpg","text":"TemporaryFile(/tmp/multipartBody5540477844502626897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741468562945,"filename":"image_08032025_22_14_05_9939.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/b91337ee51db35a6330a15635ce40c70.jpg","text":"TemporaryFile(/tmp/multipartBody8918033584020220188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741468562945,"filename":"image_08032025_22_14_15_9926.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1342029236","file1":"1342029179","file0":"1342029118","file4":"1342029365","file5":"1342029415","file3":"1342029303"},"map_files_photo_id_array":[{"photo_id":"1342029415","filename":"file5"},{"photo_id":"1342029236","filename":"file2"},{"photo_id":"1342029365","filename":"file4"},{"photo_id":"1342029179","filename":"file1"},{"photo_id":"1342029118","filename":"file0"},{"photo_id":"1342029303","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1342029236":["hashtag1","hashtag2"]},{"1342029179":["hashtag1","hashtag2"]},{"1342029415":["hashtag1","hashtag2"]},{"1342029118":["hashtag1","hashtag2"]},{"1342029365":["hashtag1","hashtag2"]},{"1342029303":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1342029236, 1342029179, 1342029415, 1342029118, 1342029365, 1342029303)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.23490071296692 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 22:16:02.572536
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/22/15/image_08032025_22_15_46_9940.jpg', 2), ('/home/nano/Desktop/images/08032025/22/15/image_08032025_22_15_36_10932.jpg', 2), ('/home/nano/Desktop/images/08032025/22/15/image_08032025_22_15_25_9923.jpg', 2), ('/home/nano/Desktop/images/08032025/22/15/image_08032025_22_15_15_9928.jpg', 2), ('/home/nano/Desktop/images/08032025/22/14/image_08032025_22_15_05_9946.jpg', 2), ('/home/nano/Desktop/images/08032025/22/14/image_08032025_22_14_55_9949.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/22/15/image_08032025_22_15_46_9940.jpg', '/home/nano/Desktop/images/08032025/22/15/image_08032025_22_15_36_10932.jpg', '/home/nano/Desktop/images/08032025/22/15/image_08032025_22_15_25_9923.jpg', '/home/nano/Desktop/images/08032025/22/15/image_08032025_22_15_15_9928.jpg', '/home/nano/Desktop/images/08032025/22/14/image_08032025_22_15_05_9946.jpg', '/home/nano/Desktop/images/08032025/22/14/image_08032025_22_14_55_9949.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/22/15/image_08032025_22_15_46_9940.jpg
/home/nano/Desktop/images/08032025/22/15/image_08032025_22_15_36_10932.jpg
/home/nano/Desktop/images/08032025/22/15/image_08032025_22_15_25_9923.jpg
/home/nano/Desktop/images/08032025/22/15/image_08032025_22_15_15_9928.jpg
/home/nano/Desktop/images/08032025/22/14/image_08032025_22_15_05_9946.jpg
/home/nano/Desktop/images/08032025/22/14/image_08032025_22_14_55_9949.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1342029752","1342029803","1342029802","1342029751","1342029801","1342029770"],"photo_ids_order":["1342029751","1342029752","1342029770","1342029801","1342029802","1342029803"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/b545a1747c97d2b9f0ac4697b99f4fa2.jpg","text":"TemporaryFile(/tmp/multipartBody8706592590724929767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741468623010,"filename":"image_08032025_22_15_36_10932.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/66a096dd692636d0c6f56cc33eba2199.jpg","text":"TemporaryFile(/tmp/multipartBody7159322403876031296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741468623010,"filename":"image_08032025_22_14_55_9949.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/f37a389c76947981f3fcb27805ea6b5a.jpg","text":"TemporaryFile(/tmp/multipartBody8820909252844077486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741468623010,"filename":"image_08032025_22_15_05_9946.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/8b04b0f9b62cb31263a578d249c26833.jpg","text":"TemporaryFile(/tmp/multipartBody3629664148108452276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741468623010,"filename":"image_08032025_22_15_46_9940.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/d6025b09beacfb1230ec084bb899ead5.jpg","text":"TemporaryFile(/tmp/multipartBody4283349018668328420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741468623010,"filename":"image_08032025_22_15_15_9928.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/d718bfd12aa4533b77a00a1122abfd51.jpg","text":"TemporaryFile(/tmp/multipartBody7617543216345278719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741468623010,"filename":"image_08032025_22_15_25_9923.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1342029770","file1":"1342029752","file0":"1342029751","file4":"1342029802","file5":"1342029803","file3":"1342029801"},"map_files_photo_id_array":[{"photo_id":"1342029803","filename":"file5"},{"photo_id":"1342029770","filename":"file2"},{"photo_id":"1342029802","filename":"file4"},{"photo_id":"1342029752","filename":"file1"},{"photo_id":"1342029751","filename":"file0"},{"photo_id":"1342029801","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1342029752":["hashtag1","hashtag2"]},{"1342029803":["hashtag1","hashtag2"]},{"1342029802":["hashtag1","hashtag2"]},{"1342029751":["hashtag1","hashtag2"]},{"1342029801":["hashtag1","hashtag2"]},{"1342029770":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1342029752, 1342029803, 1342029802, 1342029751, 1342029801, 1342029770)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.6281623840332 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 22:17:02.690148
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/22/16/image_08032025_22_16_45_9938.jpg', 2), ('/home/nano/Desktop/images/08032025/22/16/image_08032025_22_16_35_9929.jpg', 2), ('/home/nano/Desktop/images/08032025/22/16/image_08032025_22_16_25_9927.jpg', 2), ('/home/nano/Desktop/images/08032025/22/16/image_08032025_22_16_15_9925.jpg', 2), ('/home/nano/Desktop/images/08032025/22/15/image_08032025_22_16_05_9944.jpg', 2), ('/home/nano/Desktop/images/08032025/22/15/image_08032025_22_15_55_9925.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/22/16/image_08032025_22_16_45_9938.jpg', '/home/nano/Desktop/images/08032025/22/16/image_08032025_22_16_35_9929.jpg', '/home/nano/Desktop/images/08032025/22/16/image_08032025_22_16_25_9927.jpg', '/home/nano/Desktop/images/08032025/22/16/image_08032025_22_16_15_9925.jpg', '/home/nano/Desktop/images/08032025/22/15/image_08032025_22_16_05_9944.jpg', '/home/nano/Desktop/images/08032025/22/15/image_08032025_22_15_55_9925.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/22/16/image_08032025_22_16_45_9938.jpg
/home/nano/Desktop/images/08032025/22/16/image_08032025_22_16_35_9929.jpg
/home/nano/Desktop/images/08032025/22/16/image_08032025_22_16_25_9927.jpg
/home/nano/Desktop/images/08032025/22/16/image_08032025_22_16_15_9925.jpg
/home/nano/Desktop/images/08032025/22/15/image_08032025_22_16_05_9944.jpg
/home/nano/Desktop/images/08032025/22/15/image_08032025_22_15_55_9925.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1342029845","1342029821","1342029847","1342029862","1342029823","1342029858"],"photo_ids_order":["1342029821","1342029823","1342029845","1342029847","1342029858","1342029862"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/cbd69cd387fc29271946f042f50392d8.jpg","text":"TemporaryFile(/tmp/multipartBody7530250855392220840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741468683110,"filename":"image_08032025_22_16_25_9927.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/19a8c0e31309ab61f1efcdbed99a10bb.jpg","text":"TemporaryFile(/tmp/multipartBody3430223383261144950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741468683110,"filename":"image_08032025_22_16_45_9938.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/3c1ae9f9fac99eaaab1ae31fb9ff29a7.jpg","text":"TemporaryFile(/tmp/multipartBody2962169109491779305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741468683110,"filename":"image_08032025_22_16_15_9925.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/005ae5980365a03b8eedec7621c648d6.jpg","text":"TemporaryFile(/tmp/multipartBody1670238290778185366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741468683110,"filename":"image_08032025_22_15_55_9925.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/1914c97d64a9a63e85a2b71890fb6604.jpg","text":"TemporaryFile(/tmp/multipartBody5635700800855885312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741468683110,"filename":"image_08032025_22_16_35_9929.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/d8aa40fbd2bcc1e2f61e6be2443e1953.jpg","text":"TemporaryFile(/tmp/multipartBody3336255362196062317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741468683110,"filename":"image_08032025_22_16_05_9944.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1342029845","file1":"1342029823","file0":"1342029821","file4":"1342029858","file5":"1342029862","file3":"1342029847"},"map_files_photo_id_array":[{"photo_id":"1342029862","filename":"file5"},{"photo_id":"1342029845","filename":"file2"},{"photo_id":"1342029858","filename":"file4"},{"photo_id":"1342029823","filename":"file1"},{"photo_id":"1342029821","filename":"file0"},{"photo_id":"1342029847","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1342029845":["hashtag1","hashtag2"]},{"1342029821":["hashtag1","hashtag2"]},{"1342029847":["hashtag1","hashtag2"]},{"1342029862":["hashtag1","hashtag2"]},{"1342029823":["hashtag1","hashtag2"]},{"1342029858":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1342029845, 1342029821, 1342029847, 1342029862, 1342029823, 1342029858)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.92870283126831 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 22:18:02.867252
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/22/18/image_08032025_22_18_35_9921.jpg', 2), ('/home/nano/Desktop/images/08032025/22/17/image_08032025_22_17_45_9921.jpg', 2), ('/home/nano/Desktop/images/08032025/22/17/image_08032025_22_17_35_9925.jpg', 2), ('/home/nano/Desktop/images/08032025/22/17/image_08032025_22_17_25_9921.jpg', 2), ('/home/nano/Desktop/images/08032025/22/17/image_08032025_22_17_15_9919.jpg', 2), ('/home/nano/Desktop/images/08032025/22/16/image_08032025_22_17_05_9939.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/22/18/image_08032025_22_18_35_9921.jpg', '/home/nano/Desktop/images/08032025/22/17/image_08032025_22_17_45_9921.jpg', '/home/nano/Desktop/images/08032025/22/17/image_08032025_22_17_35_9925.jpg', '/home/nano/Desktop/images/08032025/22/17/image_08032025_22_17_25_9921.jpg', '/home/nano/Desktop/images/08032025/22/17/image_08032025_22_17_15_9919.jpg', '/home/nano/Desktop/images/08032025/22/16/image_08032025_22_17_05_9939.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/22/18/image_08032025_22_18_35_9921.jpg
/home/nano/Desktop/images/08032025/22/17/image_08032025_22_17_45_9921.jpg
/home/nano/Desktop/images/08032025/22/17/image_08032025_22_17_35_9925.jpg
/home/nano/Desktop/images/08032025/22/17/image_08032025_22_17_25_9921.jpg
/home/nano/Desktop/images/08032025/22/17/image_08032025_22_17_15_9919.jpg
/home/nano/Desktop/images/08032025/22/16/image_08032025_22_17_05_9939.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1342029905","1342029981","1342029975","1342029909","1342029986","1342029983"],"photo_ids_order":["1342029905","1342029909","1342029975","1342029981","1342029983","1342029986"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/20468cb1b5b8cf72afe8f32b0d647755.jpg","text":"TemporaryFile(/tmp/multipartBody2104628143633155909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741468743293,"filename":"image_08032025_22_18_35_9921.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/1feabc81888c689015bc574363d56eea.jpg","text":"TemporaryFile(/tmp/multipartBody5987314087930143833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741468743293,"filename":"image_08032025_22_17_25_9921.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/196f42c2721c3b13e90806270f105869.jpg","text":"TemporaryFile(/tmp/multipartBody5716981977694874290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741468743293,"filename":"image_08032025_22_17_35_9925.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/e70b25da5d9d39ac10fc0e3ad0408380.jpg","text":"TemporaryFile(/tmp/multipartBody4471489942296050216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741468743293,"filename":"image_08032025_22_17_45_9921.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/7119a6f2e046717e57dc76a15ffa7df1.jpg","text":"TemporaryFile(/tmp/multipartBody4028657548482175098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741468743293,"filename":"image_08032025_22_17_05_9939.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/7143b345713f15130f14056e3f4cb725.jpg","text":"TemporaryFile(/tmp/multipartBody2822867261864049961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741468743293,"filename":"image_08032025_22_17_15_9919.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1342029975","file1":"1342029909","file0":"1342029905","file4":"1342029983","file5":"1342029986","file3":"1342029981"},"map_files_photo_id_array":[{"photo_id":"1342029986","filename":"file5"},{"photo_id":"1342029975","filename":"file2"},{"photo_id":"1342029983","filename":"file4"},{"photo_id":"1342029909","filename":"file1"},{"photo_id":"1342029905","filename":"file0"},{"photo_id":"1342029981","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1342029905":["hashtag1","hashtag2"]},{"1342029981":["hashtag1","hashtag2"]},{"1342029975":["hashtag1","hashtag2"]},{"1342029909":["hashtag1","hashtag2"]},{"1342029986":["hashtag1","hashtag2"]},{"1342029983":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1342029905, 1342029981, 1342029975, 1342029909, 1342029986, 1342029983)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.19966125488281 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 22:19:02.921233
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/22/18/image_08032025_22_18_45_9927.jpg', 2), ('/home/nano/Desktop/images/08032025/22/18/image_08032025_22_18_25_9932.jpg', 2), ('/home/nano/Desktop/images/08032025/22/18/image_08032025_22_18_15_9928.jpg', 2), ('/home/nano/Desktop/images/08032025/22/17/image_08032025_22_18_06_9951.jpg', 2), ('/home/nano/Desktop/images/08032025/22/17/image_08032025_22_17_56_10933.jpg', 2), ('/home/nano/Desktop/images/08032025/22/16/image_08032025_22_16_55_9922.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/22/18/image_08032025_22_18_45_9927.jpg', '/home/nano/Desktop/images/08032025/22/18/image_08032025_22_18_25_9932.jpg', '/home/nano/Desktop/images/08032025/22/18/image_08032025_22_18_15_9928.jpg', '/home/nano/Desktop/images/08032025/22/17/image_08032025_22_18_06_9951.jpg', '/home/nano/Desktop/images/08032025/22/17/image_08032025_22_17_56_10933.jpg', '/home/nano/Desktop/images/08032025/22/16/image_08032025_22_16_55_9922.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/22/18/image_08032025_22_18_45_9927.jpg
/home/nano/Desktop/images/08032025/22/18/image_08032025_22_18_25_9932.jpg
/home/nano/Desktop/images/08032025/22/18/image_08032025_22_18_15_9928.jpg
/home/nano/Desktop/images/08032025/22/17/image_08032025_22_18_06_9951.jpg
/home/nano/Desktop/images/08032025/22/17/image_08032025_22_17_56_10933.jpg
/home/nano/Desktop/images/08032025/22/16/image_08032025_22_16_55_9922.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1342030407","1342030289","1342030447","1342030333","1342030437","1342030446"],"photo_ids_order":["1342030289","1342030333","1342030407","1342030437","1342030446","1342030447"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/490ba67f33bec08d6334f404430939ae.jpg","text":"TemporaryFile(/tmp/multipartBody2985748295776319044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741468803361,"filename":"image_08032025_22_18_15_9928.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/49441fb76ad0c481d44464741196170d.jpg","text":"TemporaryFile(/tmp/multipartBody2542053130770941333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741468803361,"filename":"image_08032025_22_18_45_9927.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/6a33220dacc7bb8cb324b6db3d1b8fc1.jpg","text":"TemporaryFile(/tmp/multipartBody5673672360415798362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741468803361,"filename":"image_08032025_22_16_55_9922.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/edfe822b801c5f1c9070729eca771801.jpg","text":"TemporaryFile(/tmp/multipartBody4523178653686066948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741468803361,"filename":"image_08032025_22_18_25_9932.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/3340de6dee1d5600d86ce87b09db302e.jpg","text":"TemporaryFile(/tmp/multipartBody4046208205826997101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741468803361,"filename":"image_08032025_22_18_06_9951.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/487472000f4185abd13332c10e383946.jpg","text":"TemporaryFile(/tmp/multipartBody549448309973473690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741468803361,"filename":"image_08032025_22_17_56_10933.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1342030407","file1":"1342030333","file0":"1342030289","file4":"1342030446","file5":"1342030447","file3":"1342030437"},"map_files_photo_id_array":[{"photo_id":"1342030447","filename":"file5"},{"photo_id":"1342030407","filename":"file2"},{"photo_id":"1342030446","filename":"file4"},{"photo_id":"1342030333","filename":"file1"},{"photo_id":"1342030289","filename":"file0"},{"photo_id":"1342030437","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1342030407":["hashtag1","hashtag2"]},{"1342030289":["hashtag1","hashtag2"]},{"1342030447":["hashtag1","hashtag2"]},{"1342030333":["hashtag1","hashtag2"]},{"1342030437":["hashtag1","hashtag2"]},{"1342030446":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1342030407, 1342030289, 1342030447, 1342030333, 1342030437, 1342030446)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.440476179122925 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 22:20:02.952185
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/22/19/image_08032025_22_19_45_9921.jpg', 2), ('/home/nano/Desktop/images/08032025/22/19/image_08032025_22_19_35_9925.jpg', 2), ('/home/nano/Desktop/images/08032025/22/19/image_08032025_22_19_25_9925.jpg', 2), ('/home/nano/Desktop/images/08032025/22/19/image_08032025_22_19_15_9952.jpg', 2), ('/home/nano/Desktop/images/08032025/22/18/image_08032025_22_19_05_9934.jpg', 2), ('/home/nano/Desktop/images/08032025/22/18/image_08032025_22_18_55_9922.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/22/19/image_08032025_22_19_45_9921.jpg', '/home/nano/Desktop/images/08032025/22/19/image_08032025_22_19_35_9925.jpg', '/home/nano/Desktop/images/08032025/22/19/image_08032025_22_19_25_9925.jpg', '/home/nano/Desktop/images/08032025/22/19/image_08032025_22_19_15_9952.jpg', '/home/nano/Desktop/images/08032025/22/18/image_08032025_22_19_05_9934.jpg', '/home/nano/Desktop/images/08032025/22/18/image_08032025_22_18_55_9922.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/22/19/image_08032025_22_19_45_9921.jpg
/home/nano/Desktop/images/08032025/22/19/image_08032025_22_19_35_9925.jpg
/home/nano/Desktop/images/08032025/22/19/image_08032025_22_19_25_9925.jpg
/home/nano/Desktop/images/08032025/22/19/image_08032025_22_19_15_9952.jpg
/home/nano/Desktop/images/08032025/22/18/image_08032025_22_19_05_9934.jpg
/home/nano/Desktop/images/08032025/22/18/image_08032025_22_18_55_9922.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1342030512","1342030556","1342030540","1342030578","1342030533","1342030602"],"photo_ids_order":["1342030512","1342030533","1342030540","1342030556","1342030578","1342030602"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/b3b34f5593b1aafb00e4cb1093c3e2f6.jpg","text":"TemporaryFile(/tmp/multipartBody570070687264775045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741468863368,"filename":"image_08032025_22_19_45_9921.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/82c5ee1a3ceaa0ccd75e7930752f765a.jpg","text":"TemporaryFile(/tmp/multipartBody4738509983371337418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741468863368,"filename":"image_08032025_22_19_15_9952.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/5bf0e09e20c7c454bbadf80da6f979a6.jpg","text":"TemporaryFile(/tmp/multipartBody8203297116909341972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741468863368,"filename":"image_08032025_22_19_25_9925.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/cdf6e87b820e27cc71cbe69e6b1b6309.jpg","text":"TemporaryFile(/tmp/multipartBody3274513800172174354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741468863368,"filename":"image_08032025_22_19_05_9934.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/11f6689e7855c5bf342da4b2ec665662.jpg","text":"TemporaryFile(/tmp/multipartBody3650193276705564926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741468863368,"filename":"image_08032025_22_19_35_9925.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/fcbecb1cb2a411e5f6a02f62d7d6dce4.jpg","text":"TemporaryFile(/tmp/multipartBody6612193319290313468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741468863368,"filename":"image_08032025_22_18_55_9922.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1342030540","file1":"1342030533","file0":"1342030512","file4":"1342030578","file5":"1342030602","file3":"1342030556"},"map_files_photo_id_array":[{"photo_id":"1342030602","filename":"file5"},{"photo_id":"1342030540","filename":"file2"},{"photo_id":"1342030578","filename":"file4"},{"photo_id":"1342030533","filename":"file1"},{"photo_id":"1342030512","filename":"file0"},{"photo_id":"1342030556","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1342030512":["hashtag1","hashtag2"]},{"1342030556":["hashtag1","hashtag2"]},{"1342030540":["hashtag1","hashtag2"]},{"1342030578":["hashtag1","hashtag2"]},{"1342030533":["hashtag1","hashtag2"]},{"1342030602":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1342030512, 1342030556, 1342030540, 1342030578, 1342030533, 1342030602)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.76688838005066 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 22:21:03.002390
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/22/20/image_08032025_22_20_45_9923.jpg', 2), ('/home/nano/Desktop/images/08032025/22/20/image_08032025_22_20_36_10943.jpg', 2), ('/home/nano/Desktop/images/08032025/22/20/image_08032025_22_20_25_9921.jpg', 2), ('/home/nano/Desktop/images/08032025/22/20/image_08032025_22_20_15_9950.jpg', 2), ('/home/nano/Desktop/images/08032025/22/19/image_08032025_22_20_05_9956.jpg', 2), ('/home/nano/Desktop/images/08032025/22/19/image_08032025_22_19_55_9923.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/22/20/image_08032025_22_20_45_9923.jpg', '/home/nano/Desktop/images/08032025/22/20/image_08032025_22_20_36_10943.jpg', '/home/nano/Desktop/images/08032025/22/20/image_08032025_22_20_25_9921.jpg', '/home/nano/Desktop/images/08032025/22/20/image_08032025_22_20_15_9950.jpg', '/home/nano/Desktop/images/08032025/22/19/image_08032025_22_20_05_9956.jpg', '/home/nano/Desktop/images/08032025/22/19/image_08032025_22_19_55_9923.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/22/20/image_08032025_22_20_45_9923.jpg
/home/nano/Desktop/images/08032025/22/20/image_08032025_22_20_36_10943.jpg
/home/nano/Desktop/images/08032025/22/20/image_08032025_22_20_25_9921.jpg
/home/nano/Desktop/images/08032025/22/20/image_08032025_22_20_15_9950.jpg
/home/nano/Desktop/images/08032025/22/19/image_08032025_22_20_05_9956.jpg
/home/nano/Desktop/images/08032025/22/19/image_08032025_22_19_55_9923.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1342030902","1342030742","1342030826","1342030932","1342030749","1342030716"],"photo_ids_order":["1342030716","1342030742","1342030749","1342030826","1342030902","1342030932"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/f39297034b12e9cc932769afd172177a.jpg","text":"TemporaryFile(/tmp/multipartBody7180042970273666648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741468923443,"filename":"image_08032025_22_20_05_9956.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/907cc486a05fee9a62998c2f952549bc.jpg","text":"TemporaryFile(/tmp/multipartBody6027186068660183296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741468923443,"filename":"image_08032025_22_20_36_10943.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/e592f80e4857092a3d3ab0cc929e7940.jpg","text":"TemporaryFile(/tmp/multipartBody5138191574842921475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741468923443,"filename":"image_08032025_22_20_15_9950.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/9f158a0feaab709d5b348d3fbc6764fa.jpg","text":"TemporaryFile(/tmp/multipartBody7157031022845439311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741468923443,"filename":"image_08032025_22_19_55_9923.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/0e7e5a0327ebb40dfdd7f94a28b5f388.jpg","text":"TemporaryFile(/tmp/multipartBody8216380594655343740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741468923443,"filename":"image_08032025_22_20_25_9921.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/3a1a92b5e8981c0ca2d187e10e4aa439.jpg","text":"TemporaryFile(/tmp/multipartBody3019363339505208466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741468923443,"filename":"image_08032025_22_20_45_9923.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1342030749","file1":"1342030742","file0":"1342030716","file4":"1342030902","file5":"1342030932","file3":"1342030826"},"map_files_photo_id_array":[{"photo_id":"1342030932","filename":"file5"},{"photo_id":"1342030749","filename":"file2"},{"photo_id":"1342030902","filename":"file4"},{"photo_id":"1342030742","filename":"file1"},{"photo_id":"1342030716","filename":"file0"},{"photo_id":"1342030826","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1342030902":["hashtag1","hashtag2"]},{"1342030742":["hashtag1","hashtag2"]},{"1342030826":["hashtag1","hashtag2"]},{"1342030932":["hashtag1","hashtag2"]},{"1342030749":["hashtag1","hashtag2"]},{"1342030716":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1342030902, 1342030742, 1342030826, 1342030932, 1342030749, 1342030716)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.10361170768738 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 22:22:03.308423
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/22/21/image_08032025_22_21_45_9919.jpg', 2), ('/home/nano/Desktop/images/08032025/22/21/image_08032025_22_21_35_9922.jpg', 2), ('/home/nano/Desktop/images/08032025/22/21/image_08032025_22_21_25_9925.jpg', 2), ('/home/nano/Desktop/images/08032025/22/21/image_08032025_22_21_15_9921.jpg', 2), ('/home/nano/Desktop/images/08032025/22/20/image_08032025_22_21_05_10017.jpg', 2), ('/home/nano/Desktop/images/08032025/22/20/image_08032025_22_20_55_9925.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/22/21/image_08032025_22_21_45_9919.jpg', '/home/nano/Desktop/images/08032025/22/21/image_08032025_22_21_35_9922.jpg', '/home/nano/Desktop/images/08032025/22/21/image_08032025_22_21_25_9925.jpg', '/home/nano/Desktop/images/08032025/22/21/image_08032025_22_21_15_9921.jpg', '/home/nano/Desktop/images/08032025/22/20/image_08032025_22_21_05_10017.jpg', '/home/nano/Desktop/images/08032025/22/20/image_08032025_22_20_55_9925.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/22/21/image_08032025_22_21_45_9919.jpg
/home/nano/Desktop/images/08032025/22/21/image_08032025_22_21_35_9922.jpg
/home/nano/Desktop/images/08032025/22/21/image_08032025_22_21_25_9925.jpg
/home/nano/Desktop/images/08032025/22/21/image_08032025_22_21_15_9921.jpg
/home/nano/Desktop/images/08032025/22/20/image_08032025_22_21_05_10017.jpg
/home/nano/Desktop/images/08032025/22/20/image_08032025_22_20_55_9925.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1342030979","1342030970","1342030976","1342030975","1342030989","1342030980"],"photo_ids_order":["1342030970","1342030975","1342030976","1342030979","1342030980","1342030989"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/e3dce3b98bd7f7654f9ab44f050d6265.jpg","text":"TemporaryFile(/tmp/multipartBody8088178102783434067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741468983735,"filename":"image_08032025_22_21_15_9921.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/801126e066e06b5d7c68682d3886a396.jpg","text":"TemporaryFile(/tmp/multipartBody898715624847436015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741468983735,"filename":"image_08032025_22_21_45_9919.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/efcc93c4b12ac6917d9ee9c1b06dac0f.jpg","text":"TemporaryFile(/tmp/multipartBody8798746925165882180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741468983735,"filename":"image_08032025_22_21_25_9925.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/207e406f8f2576116668c7ca95555a23.jpg","text":"TemporaryFile(/tmp/multipartBody4085250951602056451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741468983735,"filename":"image_08032025_22_21_35_9922.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/599574791661f38d158da1f2013d1743.jpg","text":"TemporaryFile(/tmp/multipartBody4441516143581064319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741468983735,"filename":"image_08032025_22_20_55_9925.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/669cf6606b6b7942e08a698625c4e6ee.jpg","text":"TemporaryFile(/tmp/multipartBody8813555298802115940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741468983735,"filename":"image_08032025_22_21_05_10017.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1342030976","file1":"1342030975","file0":"1342030970","file4":"1342030980","file5":"1342030989","file3":"1342030979"},"map_files_photo_id_array":[{"photo_id":"1342030989","filename":"file5"},{"photo_id":"1342030976","filename":"file2"},{"photo_id":"1342030980","filename":"file4"},{"photo_id":"1342030975","filename":"file1"},{"photo_id":"1342030970","filename":"file0"},{"photo_id":"1342030979","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1342030979":["hashtag1","hashtag2"]},{"1342030970":["hashtag1","hashtag2"]},{"1342030976":["hashtag1","hashtag2"]},{"1342030975":["hashtag1","hashtag2"]},{"1342030989":["hashtag1","hashtag2"]},{"1342030980":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1342030979, 1342030970, 1342030976, 1342030975, 1342030989, 1342030980)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.10525369644165 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 22:23:02.391685
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/22/22/image_08032025_22_22_45_9928.jpg', 2), ('/home/nano/Desktop/images/08032025/22/22/image_08032025_22_22_35_9930.jpg', 2), ('/home/nano/Desktop/images/08032025/22/22/image_08032025_22_22_25_9920.jpg', 2), ('/home/nano/Desktop/images/08032025/22/22/image_08032025_22_22_15_9922.jpg', 2), ('/home/nano/Desktop/images/08032025/22/21/image_08032025_22_22_05_9944.jpg', 2), ('/home/nano/Desktop/images/08032025/22/21/image_08032025_22_21_55_9920.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/22/22/image_08032025_22_22_45_9928.jpg', '/home/nano/Desktop/images/08032025/22/22/image_08032025_22_22_35_9930.jpg', '/home/nano/Desktop/images/08032025/22/22/image_08032025_22_22_25_9920.jpg', '/home/nano/Desktop/images/08032025/22/22/image_08032025_22_22_15_9922.jpg', '/home/nano/Desktop/images/08032025/22/21/image_08032025_22_22_05_9944.jpg', '/home/nano/Desktop/images/08032025/22/21/image_08032025_22_21_55_9920.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/22/22/image_08032025_22_22_45_9928.jpg
/home/nano/Desktop/images/08032025/22/22/image_08032025_22_22_35_9930.jpg
/home/nano/Desktop/images/08032025/22/22/image_08032025_22_22_25_9920.jpg
/home/nano/Desktop/images/08032025/22/22/image_08032025_22_22_15_9922.jpg
/home/nano/Desktop/images/08032025/22/21/image_08032025_22_22_05_9944.jpg
/home/nano/Desktop/images/08032025/22/21/image_08032025_22_21_55_9920.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1342031231","1342031230","1342031218","1342031277","1342031154","1342031232"],"photo_ids_order":["1342031154","1342031218","1342031230","1342031231","1342031232","1342031277"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/9efea86124e445473cf24e595b8109ff.jpg","text":"TemporaryFile(/tmp/multipartBody2362277704474160736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741469042834,"filename":"image_08032025_22_22_15_9922.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/015e3667c521a7da6ac6f0cc611ca9f5.jpg","text":"TemporaryFile(/tmp/multipartBody6168396664102895221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741469042834,"filename":"image_08032025_22_22_25_9920.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/b3b6d8bf5c735b53908c93541bee5d72.jpg","text":"TemporaryFile(/tmp/multipartBody5896841774020219951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741469042834,"filename":"image_08032025_22_22_35_9930.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/d25167953f7931b36e03f871825c766d.jpg","text":"TemporaryFile(/tmp/multipartBody938943114859217911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741469042834,"filename":"image_08032025_22_21_55_9920.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/602b75ca88586bbbc705bb6406bb7b68.jpg","text":"TemporaryFile(/tmp/multipartBody3036022386831541471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741469042834,"filename":"image_08032025_22_22_45_9928.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/35de02960f6aae700351d299217a05a9.jpg","text":"TemporaryFile(/tmp/multipartBody1233921836782220872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741469042834,"filename":"image_08032025_22_22_05_9944.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1342031230","file1":"1342031218","file0":"1342031154","file4":"1342031232","file5":"1342031277","file3":"1342031231"},"map_files_photo_id_array":[{"photo_id":"1342031277","filename":"file5"},{"photo_id":"1342031230","filename":"file2"},{"photo_id":"1342031232","filename":"file4"},{"photo_id":"1342031218","filename":"file1"},{"photo_id":"1342031154","filename":"file0"},{"photo_id":"1342031231","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1342031231":["hashtag1","hashtag2"]},{"1342031230":["hashtag1","hashtag2"]},{"1342031218":["hashtag1","hashtag2"]},{"1342031277":["hashtag1","hashtag2"]},{"1342031154":["hashtag1","hashtag2"]},{"1342031232":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1342031231, 1342031230, 1342031218, 1342031277, 1342031154, 1342031232)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.720664978027344 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 22:24:02.533688
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/22/23/image_08032025_22_23_45_9949.jpg', 2), ('/home/nano/Desktop/images/08032025/22/23/image_08032025_22_23_35_9922.jpg', 2), ('/home/nano/Desktop/images/08032025/22/23/image_08032025_22_23_25_9925.jpg', 2), ('/home/nano/Desktop/images/08032025/22/23/image_08032025_22_23_15_9928.jpg', 2), ('/home/nano/Desktop/images/08032025/22/22/image_08032025_22_23_06_9951.jpg', 2), ('/home/nano/Desktop/images/08032025/22/22/image_08032025_22_22_56_10932.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/22/23/image_08032025_22_23_45_9949.jpg', '/home/nano/Desktop/images/08032025/22/23/image_08032025_22_23_35_9922.jpg', '/home/nano/Desktop/images/08032025/22/23/image_08032025_22_23_25_9925.jpg', '/home/nano/Desktop/images/08032025/22/23/image_08032025_22_23_15_9928.jpg', '/home/nano/Desktop/images/08032025/22/22/image_08032025_22_23_06_9951.jpg', '/home/nano/Desktop/images/08032025/22/22/image_08032025_22_22_56_10932.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/22/23/image_08032025_22_23_45_9949.jpg
/home/nano/Desktop/images/08032025/22/23/image_08032025_22_23_35_9922.jpg
/home/nano/Desktop/images/08032025/22/23/image_08032025_22_23_25_9925.jpg
/home/nano/Desktop/images/08032025/22/23/image_08032025_22_23_15_9928.jpg
/home/nano/Desktop/images/08032025/22/22/image_08032025_22_23_06_9951.jpg
/home/nano/Desktop/images/08032025/22/22/image_08032025_22_22_56_10932.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1342031444","1342031479","1342031533","1342031592","1342031427","1342031468"],"photo_ids_order":["1342031427","1342031444","1342031468","1342031479","1342031533","1342031592"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/e581a71df816a8b16b0d8bbe65fdfe10.jpg","text":"TemporaryFile(/tmp/multipartBody718233064588129835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741469102959,"filename":"image_08032025_22_23_35_9922.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/b305cb06787f2ffd383bd5cdd0bc5ae2.jpg","text":"TemporaryFile(/tmp/multipartBody7489360816903088374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741469102959,"filename":"image_08032025_22_23_15_9928.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/263b2094d7b2396c19194c13849c9c77.jpg","text":"TemporaryFile(/tmp/multipartBody1823405040944327480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741469102959,"filename":"image_08032025_22_23_06_9951.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/1f4df67fa9f03e685c4a238dbc8570fc.jpg","text":"TemporaryFile(/tmp/multipartBody2698857908399959664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741469102959,"filename":"image_08032025_22_22_56_10932.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/fa41f95e97631c5b7abd9cf0d531781d.jpg","text":"TemporaryFile(/tmp/multipartBody8184857127555381868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741469102959,"filename":"image_08032025_22_23_45_9949.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/b07ed6c009e2d3fd8665d889b931019e.jpg","text":"TemporaryFile(/tmp/multipartBody3660502632187234488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741469102959,"filename":"image_08032025_22_23_25_9925.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1342031468","file1":"1342031444","file0":"1342031427","file4":"1342031533","file5":"1342031592","file3":"1342031479"},"map_files_photo_id_array":[{"photo_id":"1342031592","filename":"file5"},{"photo_id":"1342031468","filename":"file2"},{"photo_id":"1342031533","filename":"file4"},{"photo_id":"1342031444","filename":"file1"},{"photo_id":"1342031427","filename":"file0"},{"photo_id":"1342031479","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1342031444":["hashtag1","hashtag2"]},{"1342031479":["hashtag1","hashtag2"]},{"1342031533":["hashtag1","hashtag2"]},{"1342031592":["hashtag1","hashtag2"]},{"1342031427":["hashtag1","hashtag2"]},{"1342031468":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1342031444, 1342031479, 1342031533, 1342031592, 1342031427, 1342031468)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.043004274368286 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 22:25:02.659509
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/22/24/image_08032025_22_24_45_9930.jpg', 2), ('/home/nano/Desktop/images/08032025/22/24/image_08032025_22_24_35_9914.jpg', 2), ('/home/nano/Desktop/images/08032025/22/24/image_08032025_22_24_25_9922.jpg', 2), ('/home/nano/Desktop/images/08032025/22/24/image_08032025_22_24_15_9922.jpg', 2), ('/home/nano/Desktop/images/08032025/22/23/image_08032025_22_24_05_9941.jpg', 2), ('/home/nano/Desktop/images/08032025/22/23/image_08032025_22_23_55_9929.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/22/24/image_08032025_22_24_45_9930.jpg', '/home/nano/Desktop/images/08032025/22/24/image_08032025_22_24_35_9914.jpg', '/home/nano/Desktop/images/08032025/22/24/image_08032025_22_24_25_9922.jpg', '/home/nano/Desktop/images/08032025/22/24/image_08032025_22_24_15_9922.jpg', '/home/nano/Desktop/images/08032025/22/23/image_08032025_22_24_05_9941.jpg', '/home/nano/Desktop/images/08032025/22/23/image_08032025_22_23_55_9929.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/22/24/image_08032025_22_24_45_9930.jpg
/home/nano/Desktop/images/08032025/22/24/image_08032025_22_24_35_9914.jpg
/home/nano/Desktop/images/08032025/22/24/image_08032025_22_24_25_9922.jpg
/home/nano/Desktop/images/08032025/22/24/image_08032025_22_24_15_9922.jpg
/home/nano/Desktop/images/08032025/22/23/image_08032025_22_24_05_9941.jpg
/home/nano/Desktop/images/08032025/22/23/image_08032025_22_23_55_9929.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1342031770","1342031752","1342031749","1342031771","1342031780","1342031753"],"photo_ids_order":["1342031749","1342031752","1342031753","1342031770","1342031771","1342031780"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/ad797cc3e17d6650fe062031220050a0.jpg","text":"TemporaryFile(/tmp/multipartBody2132797941252330070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741469163706,"filename":"image_08032025_22_24_15_9922.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/cfbdd8ff23a2fdccc7c6c506d1574472.jpg","text":"TemporaryFile(/tmp/multipartBody5062334130981437146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741469163706,"filename":"image_08032025_22_24_35_9914.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/d5dbf6e4803d3880a7f694a84a9aa580.jpg","text":"TemporaryFile(/tmp/multipartBody2234125818345034014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741469163706,"filename":"image_08032025_22_24_45_9930.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/e9223d018c77a7b2c5539dd3324cd24c.jpg","text":"TemporaryFile(/tmp/multipartBody3813400910723798234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741469163706,"filename":"image_08032025_22_24_05_9941.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/04efde60c4efd72b9ea3e0b436170e48.jpg","text":"TemporaryFile(/tmp/multipartBody3609646927315059737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741469163706,"filename":"image_08032025_22_23_55_9929.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/646e5d49ef3fb5fd33c0f8b62ca75be7.jpg","text":"TemporaryFile(/tmp/multipartBody1625404311994351975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741469163706,"filename":"image_08032025_22_24_25_9922.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1342031753","file1":"1342031752","file0":"1342031749","file4":"1342031771","file5":"1342031780","file3":"1342031770"},"map_files_photo_id_array":[{"photo_id":"1342031780","filename":"file5"},{"photo_id":"1342031753","filename":"file2"},{"photo_id":"1342031771","filename":"file4"},{"photo_id":"1342031752","filename":"file1"},{"photo_id":"1342031749","filename":"file0"},{"photo_id":"1342031770","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1342031770":["hashtag1","hashtag2"]},{"1342031752":["hashtag1","hashtag2"]},{"1342031749":["hashtag1","hashtag2"]},{"1342031771":["hashtag1","hashtag2"]},{"1342031780":["hashtag1","hashtag2"]},{"1342031753":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1342031770, 1342031752, 1342031749, 1342031771, 1342031780, 1342031753)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.40992331504822 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 22:26:02.691554
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/22/25/image_08032025_22_25_45_9922.jpg', 2), ('/home/nano/Desktop/images/08032025/22/25/image_08032025_22_25_35_9924.jpg', 2), ('/home/nano/Desktop/images/08032025/22/25/image_08032025_22_25_26_10932.jpg', 2), ('/home/nano/Desktop/images/08032025/22/25/image_08032025_22_25_15_9950.jpg', 2), ('/home/nano/Desktop/images/08032025/22/24/image_08032025_22_25_05_9933.jpg', 2), ('/home/nano/Desktop/images/08032025/22/24/image_08032025_22_24_55_9928.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/22/25/image_08032025_22_25_45_9922.jpg', '/home/nano/Desktop/images/08032025/22/25/image_08032025_22_25_35_9924.jpg', '/home/nano/Desktop/images/08032025/22/25/image_08032025_22_25_26_10932.jpg', '/home/nano/Desktop/images/08032025/22/25/image_08032025_22_25_15_9950.jpg', '/home/nano/Desktop/images/08032025/22/24/image_08032025_22_25_05_9933.jpg', '/home/nano/Desktop/images/08032025/22/24/image_08032025_22_24_55_9928.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/22/25/image_08032025_22_25_45_9922.jpg
/home/nano/Desktop/images/08032025/22/25/image_08032025_22_25_35_9924.jpg
/home/nano/Desktop/images/08032025/22/25/image_08032025_22_25_26_10932.jpg
/home/nano/Desktop/images/08032025/22/25/image_08032025_22_25_15_9950.jpg
/home/nano/Desktop/images/08032025/22/24/image_08032025_22_25_05_9933.jpg
/home/nano/Desktop/images/08032025/22/24/image_08032025_22_24_55_9928.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1342031893","1342031911","1342031886","1342031894","1342031891","1342031885"],"photo_ids_order":["1342031885","1342031886","1342031891","1342031893","1342031894","1342031911"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/8a6de214f5ab54e2479d0f5b86f50a54.jpg","text":"TemporaryFile(/tmp/multipartBody2423328625085771061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741469223139,"filename":"image_08032025_22_25_15_9950.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/5f9be8ec213eef51d22fe7220c9e9c7d.jpg","text":"TemporaryFile(/tmp/multipartBody3957683403289955538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741469223139,"filename":"image_08032025_22_24_55_9928.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/57f4fe45158aeab934a6c25b75095550.jpg","text":"TemporaryFile(/tmp/multipartBody3619774604948229035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741469223139,"filename":"image_08032025_22_25_35_9924.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/465b12167b2ce2e01a4b85cbb83106ab.jpg","text":"TemporaryFile(/tmp/multipartBody6467492148881707723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741469223139,"filename":"image_08032025_22_25_05_9933.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/80a0cf3f0049fb818e8444940cd3d552.jpg","text":"TemporaryFile(/tmp/multipartBody4312297997841429498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741469223139,"filename":"image_08032025_22_25_26_10932.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/df620ba53570a04debd70c02618c3e17.jpg","text":"TemporaryFile(/tmp/multipartBody8090164925769439351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741469223139,"filename":"image_08032025_22_25_45_9922.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1342031891","file1":"1342031886","file0":"1342031885","file4":"1342031894","file5":"1342031911","file3":"1342031893"},"map_files_photo_id_array":[{"photo_id":"1342031911","filename":"file5"},{"photo_id":"1342031891","filename":"file2"},{"photo_id":"1342031894","filename":"file4"},{"photo_id":"1342031886","filename":"file1"},{"photo_id":"1342031885","filename":"file0"},{"photo_id":"1342031893","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1342031893":["hashtag1","hashtag2"]},{"1342031911":["hashtag1","hashtag2"]},{"1342031886":["hashtag1","hashtag2"]},{"1342031894":["hashtag1","hashtag2"]},{"1342031891":["hashtag1","hashtag2"]},{"1342031885":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1342031893, 1342031911, 1342031886, 1342031894, 1342031891, 1342031885)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.401763677597046 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 22:27:02.840496
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/22/26/image_08032025_22_26_45_9942.jpg', 2), ('/home/nano/Desktop/images/08032025/22/26/image_08032025_22_26_35_9924.jpg', 2), ('/home/nano/Desktop/images/08032025/22/26/image_08032025_22_26_25_9924.jpg', 2), ('/home/nano/Desktop/images/08032025/22/26/image_08032025_22_26_15_9921.jpg', 2), ('/home/nano/Desktop/images/08032025/22/25/image_08032025_22_26_05_9951.jpg', 2), ('/home/nano/Desktop/images/08032025/22/25/image_08032025_22_25_55_9924.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/22/26/image_08032025_22_26_45_9942.jpg', '/home/nano/Desktop/images/08032025/22/26/image_08032025_22_26_35_9924.jpg', '/home/nano/Desktop/images/08032025/22/26/image_08032025_22_26_25_9924.jpg', '/home/nano/Desktop/images/08032025/22/26/image_08032025_22_26_15_9921.jpg', '/home/nano/Desktop/images/08032025/22/25/image_08032025_22_26_05_9951.jpg', '/home/nano/Desktop/images/08032025/22/25/image_08032025_22_25_55_9924.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/22/26/image_08032025_22_26_45_9942.jpg
/home/nano/Desktop/images/08032025/22/26/image_08032025_22_26_35_9924.jpg
/home/nano/Desktop/images/08032025/22/26/image_08032025_22_26_25_9924.jpg
/home/nano/Desktop/images/08032025/22/26/image_08032025_22_26_15_9921.jpg
/home/nano/Desktop/images/08032025/22/25/image_08032025_22_26_05_9951.jpg
/home/nano/Desktop/images/08032025/22/25/image_08032025_22_25_55_9924.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1342032190","1342032163","1342032205","1342032237","1342032111","1342032263"],"photo_ids_order":["1342032111","1342032163","1342032190","1342032205","1342032237","1342032263"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/40a2e6304c54344144da29c821394033.jpg","text":"TemporaryFile(/tmp/multipartBody4611950967053615501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741469283294,"filename":"image_08032025_22_26_25_9924.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/fad9d4c73de9a466ed4362d9da5b931b.jpg","text":"TemporaryFile(/tmp/multipartBody4877421765928050803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741469283294,"filename":"image_08032025_22_26_35_9924.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/02c217899d7c91498691793070d42ae3.jpg","text":"TemporaryFile(/tmp/multipartBody8058302622786870316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741469283294,"filename":"image_08032025_22_26_15_9921.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/c4ae39040538cebaf55659d130862f07.jpg","text":"TemporaryFile(/tmp/multipartBody4975639709654342499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741469283294,"filename":"image_08032025_22_26_05_9951.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/f47337e0bd5ebc699005d16acd3ae31c.jpg","text":"TemporaryFile(/tmp/multipartBody5300881857250924438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741469283294,"filename":"image_08032025_22_26_45_9942.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/01d827ad57d1c3445b0bbfe8104d8f9c.jpg","text":"TemporaryFile(/tmp/multipartBody2603886972302380012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741469283294,"filename":"image_08032025_22_25_55_9924.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1342032190","file1":"1342032163","file0":"1342032111","file4":"1342032237","file5":"1342032263","file3":"1342032205"},"map_files_photo_id_array":[{"photo_id":"1342032263","filename":"file5"},{"photo_id":"1342032190","filename":"file2"},{"photo_id":"1342032237","filename":"file4"},{"photo_id":"1342032163","filename":"file1"},{"photo_id":"1342032111","filename":"file0"},{"photo_id":"1342032205","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1342032190":["hashtag1","hashtag2"]},{"1342032163":["hashtag1","hashtag2"]},{"1342032205":["hashtag1","hashtag2"]},{"1342032237":["hashtag1","hashtag2"]},{"1342032111":["hashtag1","hashtag2"]},{"1342032263":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1342032190, 1342032163, 1342032205, 1342032237, 1342032111, 1342032263)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.32363939285278 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 22:28:02.929927
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/22/27/image_08032025_22_27_46_10934.jpg', 2), ('/home/nano/Desktop/images/08032025/22/27/image_08032025_22_27_35_9923.jpg', 2), ('/home/nano/Desktop/images/08032025/22/27/image_08032025_22_27_25_9927.jpg', 2), ('/home/nano/Desktop/images/08032025/22/27/image_08032025_22_27_15_9924.jpg', 2), ('/home/nano/Desktop/images/08032025/22/26/image_08032025_22_27_05_9931.jpg', 2), ('/home/nano/Desktop/images/08032025/22/26/image_08032025_22_26_55_9935.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/22/27/image_08032025_22_27_46_10934.jpg', '/home/nano/Desktop/images/08032025/22/27/image_08032025_22_27_35_9923.jpg', '/home/nano/Desktop/images/08032025/22/27/image_08032025_22_27_25_9927.jpg', '/home/nano/Desktop/images/08032025/22/27/image_08032025_22_27_15_9924.jpg', '/home/nano/Desktop/images/08032025/22/26/image_08032025_22_27_05_9931.jpg', '/home/nano/Desktop/images/08032025/22/26/image_08032025_22_26_55_9935.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/22/27/image_08032025_22_27_46_10934.jpg
/home/nano/Desktop/images/08032025/22/27/image_08032025_22_27_35_9923.jpg
/home/nano/Desktop/images/08032025/22/27/image_08032025_22_27_25_9927.jpg
/home/nano/Desktop/images/08032025/22/27/image_08032025_22_27_15_9924.jpg
/home/nano/Desktop/images/08032025/22/26/image_08032025_22_27_05_9931.jpg
/home/nano/Desktop/images/08032025/22/26/image_08032025_22_26_55_9935.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.3420279026031494 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 marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 22:28:32.328491
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/22/28/image_08032025_22_28_45_9925.jpg', 2), ('/home/nano/Desktop/images/08032025/22/28/image_08032025_22_28_35_9925.jpg', 2), ('/home/nano/Desktop/images/08032025/22/28/image_08032025_22_28_25_9927.jpg', 2), ('/home/nano/Desktop/images/08032025/22/28/image_08032025_22_28_15_9921.jpg', 2), ('/home/nano/Desktop/images/08032025/22/27/image_08032025_22_28_05_9947.jpg', 2), ('/home/nano/Desktop/images/08032025/22/27/image_08032025_22_27_56_9926.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/22/28/image_08032025_22_28_45_9925.jpg', '/home/nano/Desktop/images/08032025/22/28/image_08032025_22_28_35_9925.jpg', '/home/nano/Desktop/images/08032025/22/28/image_08032025_22_28_25_9927.jpg', '/home/nano/Desktop/images/08032025/22/28/image_08032025_22_28_15_9921.jpg', '/home/nano/Desktop/images/08032025/22/27/image_08032025_22_28_05_9947.jpg', '/home/nano/Desktop/images/08032025/22/27/image_08032025_22_27_56_9926.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/22/28/image_08032025_22_28_45_9925.jpg
/home/nano/Desktop/images/08032025/22/28/image_08032025_22_28_35_9925.jpg
/home/nano/Desktop/images/08032025/22/28/image_08032025_22_28_25_9927.jpg
/home/nano/Desktop/images/08032025/22/28/image_08032025_22_28_15_9921.jpg
/home/nano/Desktop/images/08032025/22/27/image_08032025_22_28_05_9947.jpg
/home/nano/Desktop/images/08032025/22/27/image_08032025_22_27_56_9926.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1342032967","1342033077","1342033137","1342033215","1342033166","1342032860"],"photo_ids_order":["1342032860","1342032967","1342033077","1342033137","1342033166","1342033215"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/f29f1b2462cc975e32cb0dee3134772b.jpg","text":"TemporaryFile(/tmp/multipartBody267749744376860671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741469372883,"filename":"image_08032025_22_28_35_9925.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/48dd39f851186973d45e300ab4ddd7d1.jpg","text":"TemporaryFile(/tmp/multipartBody4805130972373732282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741469372883,"filename":"image_08032025_22_28_25_9927.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/e302ca724f1b66835bc9d1dbef1b218d.jpg","text":"TemporaryFile(/tmp/multipartBody2853368229889967986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741469372883,"filename":"image_08032025_22_28_15_9921.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/629859dd0f2353af204f733a753fd3eb.jpg","text":"TemporaryFile(/tmp/multipartBody4360599334863624638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741469372883,"filename":"image_08032025_22_27_56_9926.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/fcd11c1910b58e6f72586de7613f9357.jpg","text":"TemporaryFile(/tmp/multipartBody8610567118453726791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741469372883,"filename":"image_08032025_22_28_05_9947.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/ac2778285672cf7e450fc0c55710ff3f.jpg","text":"TemporaryFile(/tmp/multipartBody6623379065991505008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741469372883,"filename":"image_08032025_22_28_45_9925.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1342033077","file1":"1342032967","file0":"1342032860","file4":"1342033166","file5":"1342033215","file3":"1342033137"},"map_files_photo_id_array":[{"photo_id":"1342033215","filename":"file5"},{"photo_id":"1342033077","filename":"file2"},{"photo_id":"1342033166","filename":"file4"},{"photo_id":"1342032967","filename":"file1"},{"photo_id":"1342032860","filename":"file0"},{"photo_id":"1342033137","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1342032967":["hashtag1","hashtag2"]},{"1342033077":["hashtag1","hashtag2"]},{"1342033137":["hashtag1","hashtag2"]},{"1342033215":["hashtag1","hashtag2"]},{"1342033166":["hashtag1","hashtag2"]},{"1342032860":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1342032967, 1342033077, 1342033137, 1342033215, 1342033166, 1342032860)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.40384888648987 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 22:29:32.425893
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/22/29/image_08032025_22_29_45_9926.jpg', 2), ('/home/nano/Desktop/images/08032025/22/29/image_08032025_22_29_35_9922.jpg', 2), ('/home/nano/Desktop/images/08032025/22/29/image_08032025_22_29_25_9946.jpg', 2), ('/home/nano/Desktop/images/08032025/22/29/image_08032025_22_29_15_9928.jpg', 2), ('/home/nano/Desktop/images/08032025/22/28/image_08032025_22_29_05_9937.jpg', 2), ('/home/nano/Desktop/images/08032025/22/28/image_08032025_22_28_55_9924.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/22/29/image_08032025_22_29_45_9926.jpg', '/home/nano/Desktop/images/08032025/22/29/image_08032025_22_29_35_9922.jpg', '/home/nano/Desktop/images/08032025/22/29/image_08032025_22_29_25_9946.jpg', '/home/nano/Desktop/images/08032025/22/29/image_08032025_22_29_15_9928.jpg', '/home/nano/Desktop/images/08032025/22/28/image_08032025_22_29_05_9937.jpg', '/home/nano/Desktop/images/08032025/22/28/image_08032025_22_28_55_9924.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/22/29/image_08032025_22_29_45_9926.jpg
/home/nano/Desktop/images/08032025/22/29/image_08032025_22_29_35_9922.jpg
/home/nano/Desktop/images/08032025/22/29/image_08032025_22_29_25_9946.jpg
/home/nano/Desktop/images/08032025/22/29/image_08032025_22_29_15_9928.jpg
/home/nano/Desktop/images/08032025/22/28/image_08032025_22_29_05_9937.jpg
/home/nano/Desktop/images/08032025/22/28/image_08032025_22_28_55_9924.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1342033531","1342033606","1342033515","1342033553","1342033634","1342033597"],"photo_ids_order":["1342033515","1342033531","1342033553","1342033597","1342033606","1342033634"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/f74c903d8feaab3080bd2e7f2e6bd258.jpg","text":"TemporaryFile(/tmp/multipartBody8929629530624653435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741469432967,"filename":"image_08032025_22_29_35_9922.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/3162b966948ad1fd84b5eecbcc6c8005.jpg","text":"TemporaryFile(/tmp/multipartBody8539047058564561360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741469432967,"filename":"image_08032025_22_29_05_9937.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/15edcc0215eec4de5aae0db919d2b6ea.jpg","text":"TemporaryFile(/tmp/multipartBody6421464178415797400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741469432967,"filename":"image_08032025_22_29_45_9926.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/0e8cf5a449c1a4f20018355f3731d69b.jpg","text":"TemporaryFile(/tmp/multipartBody4247727733197569684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741469432967,"filename":"image_08032025_22_29_25_9946.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/87982b95f274753dfb37cd858d9783b2.jpg","text":"TemporaryFile(/tmp/multipartBody6049368238863270481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741469432967,"filename":"image_08032025_22_28_55_9924.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/1699fb6bd884410aa28bc3b634efb313.jpg","text":"TemporaryFile(/tmp/multipartBody4372299071702724807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741469432967,"filename":"image_08032025_22_29_15_9928.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1342033553","file1":"1342033531","file0":"1342033515","file4":"1342033606","file5":"1342033634","file3":"1342033597"},"map_files_photo_id_array":[{"photo_id":"1342033634","filename":"file5"},{"photo_id":"1342033553","filename":"file2"},{"photo_id":"1342033606","filename":"file4"},{"photo_id":"1342033531","filename":"file1"},{"photo_id":"1342033515","filename":"file0"},{"photo_id":"1342033597","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1342033531":["hashtag1","hashtag2"]},{"1342033606":["hashtag1","hashtag2"]},{"1342033515":["hashtag1","hashtag2"]},{"1342033553":["hashtag1","hashtag2"]},{"1342033634":["hashtag1","hashtag2"]},{"1342033597":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1342033531, 1342033606, 1342033515, 1342033553, 1342033634, 1342033597)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.401535511016846 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 22:30:32.539478
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/22/30/image_08032025_22_30_45_9927.jpg', 2), ('/home/nano/Desktop/images/08032025/22/30/image_08032025_22_30_35_9924.jpg', 2), ('/home/nano/Desktop/images/08032025/22/30/image_08032025_22_30_25_9927.jpg', 2), ('/home/nano/Desktop/images/08032025/22/30/image_08032025_22_30_16_10948.jpg', 2), ('/home/nano/Desktop/images/08032025/22/29/image_08032025_22_30_05_9955.jpg', 2), ('/home/nano/Desktop/images/08032025/22/29/image_08032025_22_29_55_9919.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/22/30/image_08032025_22_30_45_9927.jpg', '/home/nano/Desktop/images/08032025/22/30/image_08032025_22_30_35_9924.jpg', '/home/nano/Desktop/images/08032025/22/30/image_08032025_22_30_25_9927.jpg', '/home/nano/Desktop/images/08032025/22/30/image_08032025_22_30_16_10948.jpg', '/home/nano/Desktop/images/08032025/22/29/image_08032025_22_30_05_9955.jpg', '/home/nano/Desktop/images/08032025/22/29/image_08032025_22_29_55_9919.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/22/30/image_08032025_22_30_45_9927.jpg
/home/nano/Desktop/images/08032025/22/30/image_08032025_22_30_35_9924.jpg
/home/nano/Desktop/images/08032025/22/30/image_08032025_22_30_25_9927.jpg
/home/nano/Desktop/images/08032025/22/30/image_08032025_22_30_16_10948.jpg
/home/nano/Desktop/images/08032025/22/29/image_08032025_22_30_05_9955.jpg
/home/nano/Desktop/images/08032025/22/29/image_08032025_22_29_55_9919.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1342033900","1342033903","1342033872","1342033875","1342033869","1342033867"],"photo_ids_order":["1342033867","1342033869","1342033872","1342033875","1342033900","1342033903"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/6959cc829828053baa4bddbd68f93ca6.jpg","text":"TemporaryFile(/tmp/multipartBody3306174502835709219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741469493069,"filename":"image_08032025_22_30_05_9955.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/a1cf234e353349962cb6bdac1b1b6511.jpg","text":"TemporaryFile(/tmp/multipartBody3359228262022711609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741469493069,"filename":"image_08032025_22_29_55_9919.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/efd7ad5ccc93f951e363ea6111e2b6b7.jpg","text":"TemporaryFile(/tmp/multipartBody3316669380522624175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741469493069,"filename":"image_08032025_22_30_25_9927.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/85cc77ec7f4b5190a379d0aea9835322.jpg","text":"TemporaryFile(/tmp/multipartBody8776171899587243888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741469493069,"filename":"image_08032025_22_30_16_10948.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/5833f6565ea782ca0c1091c78fdd0bc6.jpg","text":"TemporaryFile(/tmp/multipartBody3591187026351872017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741469493069,"filename":"image_08032025_22_30_35_9924.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/0a526b0899606967325cb003f0be5e75.jpg","text":"TemporaryFile(/tmp/multipartBody4264425186552301816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741469493069,"filename":"image_08032025_22_30_45_9927.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1342033872","file1":"1342033869","file0":"1342033867","file4":"1342033900","file5":"1342033903","file3":"1342033875"},"map_files_photo_id_array":[{"photo_id":"1342033903","filename":"file5"},{"photo_id":"1342033872","filename":"file2"},{"photo_id":"1342033900","filename":"file4"},{"photo_id":"1342033869","filename":"file1"},{"photo_id":"1342033867","filename":"file0"},{"photo_id":"1342033875","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1342033900":["hashtag1","hashtag2"]},{"1342033903":["hashtag1","hashtag2"]},{"1342033872":["hashtag1","hashtag2"]},{"1342033875":["hashtag1","hashtag2"]},{"1342033869":["hashtag1","hashtag2"]},{"1342033867":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1342033900, 1342033903, 1342033872, 1342033875, 1342033869, 1342033867)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.27662920951843 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 22:31:32.634079
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/22/31/image_08032025_22_31_45_9924.jpg', 2), ('/home/nano/Desktop/images/08032025/22/31/image_08032025_22_31_35_9926.jpg', 2), ('/home/nano/Desktop/images/08032025/22/31/image_08032025_22_31_25_9921.jpg', 2), ('/home/nano/Desktop/images/08032025/22/31/image_08032025_22_31_15_9926.jpg', 2), ('/home/nano/Desktop/images/08032025/22/30/image_08032025_22_31_05_9946.jpg', 2), ('/home/nano/Desktop/images/08032025/22/30/image_08032025_22_30_55_9928.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/22/31/image_08032025_22_31_45_9924.jpg', '/home/nano/Desktop/images/08032025/22/31/image_08032025_22_31_35_9926.jpg', '/home/nano/Desktop/images/08032025/22/31/image_08032025_22_31_25_9921.jpg', '/home/nano/Desktop/images/08032025/22/31/image_08032025_22_31_15_9926.jpg', '/home/nano/Desktop/images/08032025/22/30/image_08032025_22_31_05_9946.jpg', '/home/nano/Desktop/images/08032025/22/30/image_08032025_22_30_55_9928.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/22/31/image_08032025_22_31_45_9924.jpg
/home/nano/Desktop/images/08032025/22/31/image_08032025_22_31_35_9926.jpg
/home/nano/Desktop/images/08032025/22/31/image_08032025_22_31_25_9921.jpg
/home/nano/Desktop/images/08032025/22/31/image_08032025_22_31_15_9926.jpg
/home/nano/Desktop/images/08032025/22/30/image_08032025_22_31_05_9946.jpg
/home/nano/Desktop/images/08032025/22/30/image_08032025_22_30_55_9928.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1342034127","1342034222","1342034117","1342034086","1342034068","1342034164"],"photo_ids_order":["1342034068","1342034086","1342034117","1342034127","1342034164","1342034222"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/1f9087319c10f2683df1467b82e94f28.jpg","text":"TemporaryFile(/tmp/multipartBody3197622470757281154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741469553201,"filename":"image_08032025_22_31_15_9926.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/229171603a897b5412a879c9a8eca1ff.jpg","text":"TemporaryFile(/tmp/multipartBody6511417477501477172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741469553201,"filename":"image_08032025_22_30_55_9928.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/38dc113575e86a3cee1efd88bd7bdfe9.jpg","text":"TemporaryFile(/tmp/multipartBody7597384403951688504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741469553201,"filename":"image_08032025_22_31_25_9921.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/f17ef73ce4202907df52723fff70cf49.jpg","text":"TemporaryFile(/tmp/multipartBody6068720090012297747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741469553201,"filename":"image_08032025_22_31_35_9926.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/ba3a9c5f2ac0eea849361b00260cb6ca.jpg","text":"TemporaryFile(/tmp/multipartBody5296731040110075058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741469553201,"filename":"image_08032025_22_31_45_9924.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/03748f1c2d87e6e7915929232e5172a1.jpg","text":"TemporaryFile(/tmp/multipartBody9163110276417031712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741469553201,"filename":"image_08032025_22_31_05_9946.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1342034117","file1":"1342034086","file0":"1342034068","file4":"1342034164","file5":"1342034222","file3":"1342034127"},"map_files_photo_id_array":[{"photo_id":"1342034222","filename":"file5"},{"photo_id":"1342034117","filename":"file2"},{"photo_id":"1342034164","filename":"file4"},{"photo_id":"1342034086","filename":"file1"},{"photo_id":"1342034068","filename":"file0"},{"photo_id":"1342034127","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1342034127":["hashtag1","hashtag2"]},{"1342034222":["hashtag1","hashtag2"]},{"1342034117":["hashtag1","hashtag2"]},{"1342034086":["hashtag1","hashtag2"]},{"1342034068":["hashtag1","hashtag2"]},{"1342034164":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1342034127, 1342034222, 1342034117, 1342034086, 1342034068, 1342034164)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.70545744895935 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 22:32:32.738431
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/22/32/image_08032025_22_32_46_10938.jpg', 2), ('/home/nano/Desktop/images/08032025/22/32/image_08032025_22_32_35_9925.jpg', 2), ('/home/nano/Desktop/images/08032025/22/32/image_08032025_22_32_25_9926.jpg', 2), ('/home/nano/Desktop/images/08032025/22/32/image_08032025_22_32_15_9946.jpg', 2), ('/home/nano/Desktop/images/08032025/22/31/image_08032025_22_32_05_9940.jpg', 2), ('/home/nano/Desktop/images/08032025/22/31/image_08032025_22_31_55_9926.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/22/32/image_08032025_22_32_46_10938.jpg', '/home/nano/Desktop/images/08032025/22/32/image_08032025_22_32_35_9925.jpg', '/home/nano/Desktop/images/08032025/22/32/image_08032025_22_32_25_9926.jpg', '/home/nano/Desktop/images/08032025/22/32/image_08032025_22_32_15_9946.jpg', '/home/nano/Desktop/images/08032025/22/31/image_08032025_22_32_05_9940.jpg', '/home/nano/Desktop/images/08032025/22/31/image_08032025_22_31_55_9926.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/22/32/image_08032025_22_32_46_10938.jpg
/home/nano/Desktop/images/08032025/22/32/image_08032025_22_32_35_9925.jpg
/home/nano/Desktop/images/08032025/22/32/image_08032025_22_32_25_9926.jpg
/home/nano/Desktop/images/08032025/22/32/image_08032025_22_32_15_9946.jpg
/home/nano/Desktop/images/08032025/22/31/image_08032025_22_32_05_9940.jpg
/home/nano/Desktop/images/08032025/22/31/image_08032025_22_31_55_9926.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1342034735","1342034603","1342034698","1342034653","1342034629","1342034784"],"photo_ids_order":["1342034603","1342034629","1342034653","1342034698","1342034735","1342034784"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/efce04cd73555a14766500e88eec4f56.jpg","text":"TemporaryFile(/tmp/multipartBody6302512838681006049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741469613321,"filename":"image_08032025_22_32_05_9940.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/458204bb947c955b7451e70fa715059c.jpg","text":"TemporaryFile(/tmp/multipartBody8011054076269293221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741469613321,"filename":"image_08032025_22_32_46_10938.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/b9e79b2439fd99d5937cf4b4c81a2368.jpg","text":"TemporaryFile(/tmp/multipartBody9054741140378209972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741469613321,"filename":"image_08032025_22_32_15_9946.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/af1e0e9c54bb4618e41cbeb5d3e6bfa1.jpg","text":"TemporaryFile(/tmp/multipartBody6893598020711454171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741469613321,"filename":"image_08032025_22_32_25_9926.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/0a24a6db06a343329c321fd5e344bf0e.jpg","text":"TemporaryFile(/tmp/multipartBody8779495753343360935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741469613321,"filename":"image_08032025_22_32_35_9925.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/a822dba7ef7f84fb1546f96e10337b65.jpg","text":"TemporaryFile(/tmp/multipartBody8957252196132245845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741469613321,"filename":"image_08032025_22_31_55_9926.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1342034653","file1":"1342034629","file0":"1342034603","file4":"1342034735","file5":"1342034784","file3":"1342034698"},"map_files_photo_id_array":[{"photo_id":"1342034784","filename":"file5"},{"photo_id":"1342034653","filename":"file2"},{"photo_id":"1342034735","filename":"file4"},{"photo_id":"1342034629","filename":"file1"},{"photo_id":"1342034603","filename":"file0"},{"photo_id":"1342034698","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1342034735":["hashtag1","hashtag2"]},{"1342034603":["hashtag1","hashtag2"]},{"1342034698":["hashtag1","hashtag2"]},{"1342034653":["hashtag1","hashtag2"]},{"1342034629":["hashtag1","hashtag2"]},{"1342034784":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1342034735, 1342034603, 1342034698, 1342034653, 1342034629, 1342034784)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.24499320983887 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 22:33:31.866359
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/22/33/image_08032025_22_33_45_9923.jpg', 2), ('/home/nano/Desktop/images/08032025/22/33/image_08032025_22_33_35_9927.jpg', 2), ('/home/nano/Desktop/images/08032025/22/33/image_08032025_22_33_25_9941.jpg', 2), ('/home/nano/Desktop/images/08032025/22/33/image_08032025_22_33_15_9922.jpg', 2), ('/home/nano/Desktop/images/08032025/22/32/image_08032025_22_33_05_9958.jpg', 2), ('/home/nano/Desktop/images/08032025/22/32/image_08032025_22_32_55_9921.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/22/33/image_08032025_22_33_45_9923.jpg', '/home/nano/Desktop/images/08032025/22/33/image_08032025_22_33_35_9927.jpg', '/home/nano/Desktop/images/08032025/22/33/image_08032025_22_33_25_9941.jpg', '/home/nano/Desktop/images/08032025/22/33/image_08032025_22_33_15_9922.jpg', '/home/nano/Desktop/images/08032025/22/32/image_08032025_22_33_05_9958.jpg', '/home/nano/Desktop/images/08032025/22/32/image_08032025_22_32_55_9921.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/22/33/image_08032025_22_33_45_9923.jpg
/home/nano/Desktop/images/08032025/22/33/image_08032025_22_33_35_9927.jpg
/home/nano/Desktop/images/08032025/22/33/image_08032025_22_33_25_9941.jpg
/home/nano/Desktop/images/08032025/22/33/image_08032025_22_33_15_9922.jpg
/home/nano/Desktop/images/08032025/22/32/image_08032025_22_33_05_9958.jpg
/home/nano/Desktop/images/08032025/22/32/image_08032025_22_32_55_9921.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1342035060","1342035117","1342034993","1342035014","1342034927","1342034929"],"photo_ids_order":["1342034927","1342034929","1342034993","1342035014","1342035060","1342035117"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/b1a38b5742ad1e26100c7a3a125096fa.jpg","text":"TemporaryFile(/tmp/multipartBody7286015534226287358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741469672287,"filename":"image_08032025_22_33_05_9958.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/eb2ed905230f932712e0d36e85b6c3b8.jpg","text":"TemporaryFile(/tmp/multipartBody1692022076405090533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741469672287,"filename":"image_08032025_22_32_55_9921.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/c0c67a3eded809d225d41a5f45f717f0.jpg","text":"TemporaryFile(/tmp/multipartBody4905858953810913014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741469672287,"filename":"image_08032025_22_33_25_9941.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/a6420208142db2ce421f04e78b260eea.jpg","text":"TemporaryFile(/tmp/multipartBody4486071978620055824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741469672287,"filename":"image_08032025_22_33_15_9922.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/cd83384328fb0065ba2aa26c00509ece.jpg","text":"TemporaryFile(/tmp/multipartBody4554424683424050424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741469672287,"filename":"image_08032025_22_33_45_9923.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/270e847d236b4f31c6e2df38e0941373.jpg","text":"TemporaryFile(/tmp/multipartBody4337320669628945526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741469672287,"filename":"image_08032025_22_33_35_9927.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1342034993","file1":"1342034929","file0":"1342034927","file4":"1342035060","file5":"1342035117","file3":"1342035014"},"map_files_photo_id_array":[{"photo_id":"1342035117","filename":"file5"},{"photo_id":"1342034993","filename":"file2"},{"photo_id":"1342035060","filename":"file4"},{"photo_id":"1342034929","filename":"file1"},{"photo_id":"1342034927","filename":"file0"},{"photo_id":"1342035014","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1342035060":["hashtag1","hashtag2"]},{"1342035117":["hashtag1","hashtag2"]},{"1342034993":["hashtag1","hashtag2"]},{"1342035014":["hashtag1","hashtag2"]},{"1342034927":["hashtag1","hashtag2"]},{"1342034929":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1342035060, 1342035117, 1342034993, 1342035014, 1342034927, 1342034929)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.48741698265076 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 22:34:31.952516
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/22/34/image_08032025_22_34_45_9925.jpg', 2), ('/home/nano/Desktop/images/08032025/22/34/image_08032025_22_34_35_9923.jpg', 2), ('/home/nano/Desktop/images/08032025/22/34/image_08032025_22_34_25_9941.jpg', 2), ('/home/nano/Desktop/images/08032025/22/34/image_08032025_22_34_15_9923.jpg', 2), ('/home/nano/Desktop/images/08032025/22/33/image_08032025_22_34_05_9934.jpg', 2), ('/home/nano/Desktop/images/08032025/22/33/image_08032025_22_33_55_9922.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/22/34/image_08032025_22_34_45_9925.jpg', '/home/nano/Desktop/images/08032025/22/34/image_08032025_22_34_35_9923.jpg', '/home/nano/Desktop/images/08032025/22/34/image_08032025_22_34_25_9941.jpg', '/home/nano/Desktop/images/08032025/22/34/image_08032025_22_34_15_9923.jpg', '/home/nano/Desktop/images/08032025/22/33/image_08032025_22_34_05_9934.jpg', '/home/nano/Desktop/images/08032025/22/33/image_08032025_22_33_55_9922.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/22/34/image_08032025_22_34_45_9925.jpg
/home/nano/Desktop/images/08032025/22/34/image_08032025_22_34_35_9923.jpg
/home/nano/Desktop/images/08032025/22/34/image_08032025_22_34_25_9941.jpg
/home/nano/Desktop/images/08032025/22/34/image_08032025_22_34_15_9923.jpg
/home/nano/Desktop/images/08032025/22/33/image_08032025_22_34_05_9934.jpg
/home/nano/Desktop/images/08032025/22/33/image_08032025_22_33_55_9922.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1342035450","1342035419","1342035445","1342035454","1342035393","1342035453"],"photo_ids_order":["1342035393","1342035419","1342035445","1342035450","1342035453","1342035454"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/48fdcefd963b6c1d3aa98b1e0146b39e.jpg","text":"TemporaryFile(/tmp/multipartBody6928609945085284483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741469732538,"filename":"image_08032025_22_34_15_9923.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/c032ec85966b0acba1fff6de09bf5e9b.jpg","text":"TemporaryFile(/tmp/multipartBody6426247276969667305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741469732538,"filename":"image_08032025_22_34_35_9923.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/461350b54cd0dd9e83f35a45c132b6f3.jpg","text":"TemporaryFile(/tmp/multipartBody7679525633598247600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741469732538,"filename":"image_08032025_22_34_25_9941.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/bdcb12b0bc18cc94ec6b16015abba9ec.jpg","text":"TemporaryFile(/tmp/multipartBody5526053778323486866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741469732538,"filename":"image_08032025_22_33_55_9922.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/9f1bb5797b764129ec27f174177cdc31.jpg","text":"TemporaryFile(/tmp/multipartBody3116589279265776546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741469732538,"filename":"image_08032025_22_34_45_9925.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/3a39ade8c3f882884df90fe0abbd9b21.jpg","text":"TemporaryFile(/tmp/multipartBody3203021552455494656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741469732538,"filename":"image_08032025_22_34_05_9934.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1342035445","file1":"1342035419","file0":"1342035393","file4":"1342035453","file5":"1342035454","file3":"1342035450"},"map_files_photo_id_array":[{"photo_id":"1342035454","filename":"file5"},{"photo_id":"1342035445","filename":"file2"},{"photo_id":"1342035453","filename":"file4"},{"photo_id":"1342035419","filename":"file1"},{"photo_id":"1342035393","filename":"file0"},{"photo_id":"1342035450","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1342035450":["hashtag1","hashtag2"]},{"1342035419":["hashtag1","hashtag2"]},{"1342035445":["hashtag1","hashtag2"]},{"1342035454":["hashtag1","hashtag2"]},{"1342035393":["hashtag1","hashtag2"]},{"1342035453":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1342035450, 1342035419, 1342035445, 1342035454, 1342035393, 1342035453)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.63146090507507 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 22:35:32.057516
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/22/35/image_08032025_22_35_45_9928.jpg', 2), ('/home/nano/Desktop/images/08032025/22/35/image_08032025_22_35_35_9929.jpg', 2), ('/home/nano/Desktop/images/08032025/22/35/image_08032025_22_35_25_9926.jpg', 2), ('/home/nano/Desktop/images/08032025/22/35/image_08032025_22_35_15_9921.jpg', 2), ('/home/nano/Desktop/images/08032025/22/34/image_08032025_22_35_06_10950.jpg', 2), ('/home/nano/Desktop/images/08032025/22/34/image_08032025_22_34_55_9926.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/22/35/image_08032025_22_35_45_9928.jpg', '/home/nano/Desktop/images/08032025/22/35/image_08032025_22_35_35_9929.jpg', '/home/nano/Desktop/images/08032025/22/35/image_08032025_22_35_25_9926.jpg', '/home/nano/Desktop/images/08032025/22/35/image_08032025_22_35_15_9921.jpg', '/home/nano/Desktop/images/08032025/22/34/image_08032025_22_35_06_10950.jpg', '/home/nano/Desktop/images/08032025/22/34/image_08032025_22_34_55_9926.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/22/35/image_08032025_22_35_45_9928.jpg
/home/nano/Desktop/images/08032025/22/35/image_08032025_22_35_35_9929.jpg
/home/nano/Desktop/images/08032025/22/35/image_08032025_22_35_25_9926.jpg
/home/nano/Desktop/images/08032025/22/35/image_08032025_22_35_15_9921.jpg
/home/nano/Desktop/images/08032025/22/34/image_08032025_22_35_06_10950.jpg
/home/nano/Desktop/images/08032025/22/34/image_08032025_22_34_55_9926.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1342035849","1342035828","1342035794","1342035874","1342035619","1342035576"],"photo_ids_order":["1342035576","1342035619","1342035794","1342035828","1342035849","1342035874"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/ca2532d5401eb2a043508e47e88b82d2.jpg","text":"TemporaryFile(/tmp/multipartBody4948773044774658585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741469792619,"filename":"image_08032025_22_35_06_10950.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/1c9505a8fee5802ad3354732376282f6.jpg","text":"TemporaryFile(/tmp/multipartBody7921959738502096369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741469792619,"filename":"image_08032025_22_35_15_9921.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/72e3a10287fc7c4c6bcd7ba0fc227583.jpg","text":"TemporaryFile(/tmp/multipartBody8182873250448465761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741469792619,"filename":"image_08032025_22_35_25_9926.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/c7689bcc2db0873c2d80131278293e11.jpg","text":"TemporaryFile(/tmp/multipartBody8735613047824567186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741469792619,"filename":"image_08032025_22_34_55_9926.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/e9c3ac1efd762950c1f6159b90d26a1e.jpg","text":"TemporaryFile(/tmp/multipartBody8860091191849734163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741469792619,"filename":"image_08032025_22_35_35_9929.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/d3e59433aaafbd41a35c9f240a3e166f.jpg","text":"TemporaryFile(/tmp/multipartBody5465121991892764000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741469792619,"filename":"image_08032025_22_35_45_9928.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1342035794","file1":"1342035619","file0":"1342035576","file4":"1342035849","file5":"1342035874","file3":"1342035828"},"map_files_photo_id_array":[{"photo_id":"1342035874","filename":"file5"},{"photo_id":"1342035794","filename":"file2"},{"photo_id":"1342035849","filename":"file4"},{"photo_id":"1342035619","filename":"file1"},{"photo_id":"1342035576","filename":"file0"},{"photo_id":"1342035828","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1342035849":["hashtag1","hashtag2"]},{"1342035828":["hashtag1","hashtag2"]},{"1342035794":["hashtag1","hashtag2"]},{"1342035874":["hashtag1","hashtag2"]},{"1342035619":["hashtag1","hashtag2"]},{"1342035576":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1342035849, 1342035828, 1342035794, 1342035874, 1342035619, 1342035576)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.87676453590393 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 22:36:32.178160
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/22/36/image_08032025_22_36_55_9923.jpg', 2), ('/home/nano/Desktop/images/08032025/22/36/image_08032025_22_36_35_9945.jpg', 2), ('/home/nano/Desktop/images/08032025/22/36/image_08032025_22_36_25_9926.jpg', 2), ('/home/nano/Desktop/images/08032025/22/36/image_08032025_22_36_15_9924.jpg', 2), ('/home/nano/Desktop/images/08032025/22/35/image_08032025_22_36_05_9945.jpg', 2), ('/home/nano/Desktop/images/08032025/22/35/image_08032025_22_35_55_9925.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/22/36/image_08032025_22_36_55_9923.jpg', '/home/nano/Desktop/images/08032025/22/36/image_08032025_22_36_35_9945.jpg', '/home/nano/Desktop/images/08032025/22/36/image_08032025_22_36_25_9926.jpg', '/home/nano/Desktop/images/08032025/22/36/image_08032025_22_36_15_9924.jpg', '/home/nano/Desktop/images/08032025/22/35/image_08032025_22_36_05_9945.jpg', '/home/nano/Desktop/images/08032025/22/35/image_08032025_22_35_55_9925.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/22/36/image_08032025_22_36_55_9923.jpg
/home/nano/Desktop/images/08032025/22/36/image_08032025_22_36_35_9945.jpg
/home/nano/Desktop/images/08032025/22/36/image_08032025_22_36_25_9926.jpg
/home/nano/Desktop/images/08032025/22/36/image_08032025_22_36_15_9924.jpg
/home/nano/Desktop/images/08032025/22/35/image_08032025_22_36_05_9945.jpg
/home/nano/Desktop/images/08032025/22/35/image_08032025_22_35_55_9925.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1342036022","1342036000","1342036030","1342036003","1342036032","1342036029"],"photo_ids_order":["1342036000","1342036003","1342036022","1342036029","1342036030","1342036032"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/f0401980849f0f22aca0952d3109abd7.jpg","text":"TemporaryFile(/tmp/multipartBody1553557289252540493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741469852715,"filename":"image_08032025_22_36_25_9926.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/3a34d1eca3766cd371997432dc260694.jpg","text":"TemporaryFile(/tmp/multipartBody8214850898791842313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741469852715,"filename":"image_08032025_22_36_55_9923.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/892d7925ae9c73d2c976ae17bb6c7e3a.jpg","text":"TemporaryFile(/tmp/multipartBody6124939973232757546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741469852715,"filename":"image_08032025_22_36_05_9945.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/8bb303d850ff3a2ddee40377a4046fd2.jpg","text":"TemporaryFile(/tmp/multipartBody1902603866125678304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741469852715,"filename":"image_08032025_22_36_35_9945.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/e5e90091f960174c82f80cdb33bc208e.jpg","text":"TemporaryFile(/tmp/multipartBody5615504349180474284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741469852715,"filename":"image_08032025_22_35_55_9925.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/0c0f6a0de9d5dfe16793e461b68bb098.jpg","text":"TemporaryFile(/tmp/multipartBody2958764477801023870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741469852715,"filename":"image_08032025_22_36_15_9924.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1342036022","file1":"1342036003","file0":"1342036000","file4":"1342036030","file5":"1342036032","file3":"1342036029"},"map_files_photo_id_array":[{"photo_id":"1342036032","filename":"file5"},{"photo_id":"1342036022","filename":"file2"},{"photo_id":"1342036030","filename":"file4"},{"photo_id":"1342036003","filename":"file1"},{"photo_id":"1342036000","filename":"file0"},{"photo_id":"1342036029","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1342036022":["hashtag1","hashtag2"]},{"1342036000":["hashtag1","hashtag2"]},{"1342036030":["hashtag1","hashtag2"]},{"1342036003":["hashtag1","hashtag2"]},{"1342036032":["hashtag1","hashtag2"]},{"1342036029":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1342036022, 1342036000, 1342036030, 1342036003, 1342036032, 1342036029)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.39380121231079 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 22:37:32.340064
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/22/37/image_08032025_22_37_45_9931.jpg', 2), ('/home/nano/Desktop/images/08032025/22/37/image_08032025_22_37_36_9927.jpg', 2), ('/home/nano/Desktop/images/08032025/22/37/image_08032025_22_37_26_10938.jpg', 2), ('/home/nano/Desktop/images/08032025/22/37/image_08032025_22_37_15_9921.jpg', 2), ('/home/nano/Desktop/images/08032025/22/36/image_08032025_22_37_05_9929.jpg', 2), ('/home/nano/Desktop/images/08032025/22/36/image_08032025_22_36_45_9928.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/22/37/image_08032025_22_37_45_9931.jpg', '/home/nano/Desktop/images/08032025/22/37/image_08032025_22_37_36_9927.jpg', '/home/nano/Desktop/images/08032025/22/37/image_08032025_22_37_26_10938.jpg', '/home/nano/Desktop/images/08032025/22/37/image_08032025_22_37_15_9921.jpg', '/home/nano/Desktop/images/08032025/22/36/image_08032025_22_37_05_9929.jpg', '/home/nano/Desktop/images/08032025/22/36/image_08032025_22_36_45_9928.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/22/37/image_08032025_22_37_45_9931.jpg
/home/nano/Desktop/images/08032025/22/37/image_08032025_22_37_36_9927.jpg
/home/nano/Desktop/images/08032025/22/37/image_08032025_22_37_26_10938.jpg
/home/nano/Desktop/images/08032025/22/37/image_08032025_22_37_15_9921.jpg
/home/nano/Desktop/images/08032025/22/36/image_08032025_22_37_05_9929.jpg
/home/nano/Desktop/images/08032025/22/36/image_08032025_22_36_45_9928.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1342036160","1342036161","1342036155","1342036158","1342036152","1342036110"],"photo_ids_order":["1342036110","1342036152","1342036155","1342036158","1342036160","1342036161"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/c0c1ecbb548b33379326f56c3c94623a.jpg","text":"TemporaryFile(/tmp/multipartBody169280202345901144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741469912884,"filename":"image_08032025_22_37_05_9929.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/12b25fb9e888a3cabc921012a6e2e1c8.jpg","text":"TemporaryFile(/tmp/multipartBody1780504777528905784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741469912884,"filename":"image_08032025_22_36_45_9928.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/dc1a91a1ad83557d6df76c6c24eaaf6a.jpg","text":"TemporaryFile(/tmp/multipartBody4067955330190801930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741469912884,"filename":"image_08032025_22_37_26_10938.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/9bda5e9189e144abeac2c6f9b9cd1fd4.jpg","text":"TemporaryFile(/tmp/multipartBody8725300668120794940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741469912884,"filename":"image_08032025_22_37_15_9921.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/6b335b867b1bb7ceb65b254d94708245.jpg","text":"TemporaryFile(/tmp/multipartBody918029157661567137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741469912884,"filename":"image_08032025_22_37_36_9927.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/509e5ae13272453561fcb6af9f9b5103.jpg","text":"TemporaryFile(/tmp/multipartBody3679954138199901140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741469912884,"filename":"image_08032025_22_37_45_9931.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1342036155","file1":"1342036152","file0":"1342036110","file4":"1342036160","file5":"1342036161","file3":"1342036158"},"map_files_photo_id_array":[{"photo_id":"1342036161","filename":"file5"},{"photo_id":"1342036155","filename":"file2"},{"photo_id":"1342036160","filename":"file4"},{"photo_id":"1342036152","filename":"file1"},{"photo_id":"1342036110","filename":"file0"},{"photo_id":"1342036158","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1342036160":["hashtag1","hashtag2"]},{"1342036161":["hashtag1","hashtag2"]},{"1342036155":["hashtag1","hashtag2"]},{"1342036158":["hashtag1","hashtag2"]},{"1342036152":["hashtag1","hashtag2"]},{"1342036110":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1342036160, 1342036161, 1342036155, 1342036158, 1342036152, 1342036110)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.53198790550232 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 22:38:32.469728
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/22/38/image_08032025_22_38_45_9925.jpg', 2), ('/home/nano/Desktop/images/08032025/22/38/image_08032025_22_38_35_9928.jpg', 2), ('/home/nano/Desktop/images/08032025/22/38/image_08032025_22_38_25_9953.jpg', 2), ('/home/nano/Desktop/images/08032025/22/38/image_08032025_22_38_15_9928.jpg', 2), ('/home/nano/Desktop/images/08032025/22/37/image_08032025_22_38_05_9940.jpg', 2), ('/home/nano/Desktop/images/08032025/22/37/image_08032025_22_37_55_9930.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/22/38/image_08032025_22_38_45_9925.jpg', '/home/nano/Desktop/images/08032025/22/38/image_08032025_22_38_35_9928.jpg', '/home/nano/Desktop/images/08032025/22/38/image_08032025_22_38_25_9953.jpg', '/home/nano/Desktop/images/08032025/22/38/image_08032025_22_38_15_9928.jpg', '/home/nano/Desktop/images/08032025/22/37/image_08032025_22_38_05_9940.jpg', '/home/nano/Desktop/images/08032025/22/37/image_08032025_22_37_55_9930.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/22/38/image_08032025_22_38_45_9925.jpg
/home/nano/Desktop/images/08032025/22/38/image_08032025_22_38_35_9928.jpg
/home/nano/Desktop/images/08032025/22/38/image_08032025_22_38_25_9953.jpg
/home/nano/Desktop/images/08032025/22/38/image_08032025_22_38_15_9928.jpg
/home/nano/Desktop/images/08032025/22/37/image_08032025_22_38_05_9940.jpg
/home/nano/Desktop/images/08032025/22/37/image_08032025_22_37_55_9930.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1342036265","1342036274","1342036291","1342036264","1342036267","1342036289"],"photo_ids_order":["1342036264","1342036265","1342036267","1342036274","1342036289","1342036291"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/d367ea19f6b5b85bc1fe692c2485fd77.jpg","text":"TemporaryFile(/tmp/multipartBody6312596651171581226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741469973002,"filename":"image_08032025_22_38_35_9928.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/a7b61e01f986d5157599d974054d3df8.jpg","text":"TemporaryFile(/tmp/multipartBody5790839767425400333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741469973002,"filename":"image_08032025_22_38_15_9928.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/e20c6a8da434413582f986075280f7ac.jpg","text":"TemporaryFile(/tmp/multipartBody6589538793520277150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741469973002,"filename":"image_08032025_22_37_55_9930.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/48c2d4b64559f7c662f44e0ab6db431f.jpg","text":"TemporaryFile(/tmp/multipartBody5422429587147247214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741469973002,"filename":"image_08032025_22_38_45_9925.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/729420fa156c5f94576b806f87ecab12.jpg","text":"TemporaryFile(/tmp/multipartBody3555896429641220430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741469973002,"filename":"image_08032025_22_38_25_9953.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/96ed215da4d0862955fcd528cee0adba.jpg","text":"TemporaryFile(/tmp/multipartBody3339212121599280510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741469973002,"filename":"image_08032025_22_38_05_9940.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1342036267","file1":"1342036265","file0":"1342036264","file4":"1342036289","file5":"1342036291","file3":"1342036274"},"map_files_photo_id_array":[{"photo_id":"1342036291","filename":"file5"},{"photo_id":"1342036267","filename":"file2"},{"photo_id":"1342036289","filename":"file4"},{"photo_id":"1342036265","filename":"file1"},{"photo_id":"1342036264","filename":"file0"},{"photo_id":"1342036274","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1342036265":["hashtag1","hashtag2"]},{"1342036274":["hashtag1","hashtag2"]},{"1342036291":["hashtag1","hashtag2"]},{"1342036264":["hashtag1","hashtag2"]},{"1342036267":["hashtag1","hashtag2"]},{"1342036289":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1342036265, 1342036274, 1342036291, 1342036264, 1342036267, 1342036289)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.08451223373413 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 22:39:32.543091
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/22/39/image_08032025_22_39_45_9929.jpg', 2), ('/home/nano/Desktop/images/08032025/22/39/image_08032025_22_39_35_9923.jpg', 2), ('/home/nano/Desktop/images/08032025/22/39/image_08032025_22_39_25_9924.jpg', 2), ('/home/nano/Desktop/images/08032025/22/39/image_08032025_22_39_15_9939.jpg', 2), ('/home/nano/Desktop/images/08032025/22/38/image_08032025_22_39_05_9929.jpg', 2), ('/home/nano/Desktop/images/08032025/22/38/image_08032025_22_38_55_9926.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/22/39/image_08032025_22_39_45_9929.jpg', '/home/nano/Desktop/images/08032025/22/39/image_08032025_22_39_35_9923.jpg', '/home/nano/Desktop/images/08032025/22/39/image_08032025_22_39_25_9924.jpg', '/home/nano/Desktop/images/08032025/22/39/image_08032025_22_39_15_9939.jpg', '/home/nano/Desktop/images/08032025/22/38/image_08032025_22_39_05_9929.jpg', '/home/nano/Desktop/images/08032025/22/38/image_08032025_22_38_55_9926.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/22/39/image_08032025_22_39_45_9929.jpg
/home/nano/Desktop/images/08032025/22/39/image_08032025_22_39_35_9923.jpg
/home/nano/Desktop/images/08032025/22/39/image_08032025_22_39_25_9924.jpg
/home/nano/Desktop/images/08032025/22/39/image_08032025_22_39_15_9939.jpg
/home/nano/Desktop/images/08032025/22/38/image_08032025_22_39_05_9929.jpg
/home/nano/Desktop/images/08032025/22/38/image_08032025_22_38_55_9926.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1342036445","1342036511","1342036508","1342036492","1342036480","1342036504"],"photo_ids_order":["1342036445","1342036480","1342036492","1342036504","1342036508","1342036511"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/9a06f61a714cb823b143aa8684f823f2.jpg","text":"TemporaryFile(/tmp/multipartBody8446984188115751972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741470033122,"filename":"image_08032025_22_39_45_9929.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/3ea68d29bc2fbfaae4b6759fdcf2e713.jpg","text":"TemporaryFile(/tmp/multipartBody1241386847712629192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741470033122,"filename":"image_08032025_22_38_55_9926.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/2d30a9ee908c198e2489c379fe360c42.jpg","text":"TemporaryFile(/tmp/multipartBody4943879269889081302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741470033122,"filename":"image_08032025_22_39_05_9929.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/46071879269000a41a5bb3e7d0b72875.jpg","text":"TemporaryFile(/tmp/multipartBody6195210654711696615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741470033122,"filename":"image_08032025_22_39_25_9924.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/bf7cf32217ab7e698c0dd1b4d2bbeb50.jpg","text":"TemporaryFile(/tmp/multipartBody879584260403545800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741470033122,"filename":"image_08032025_22_39_35_9923.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/24c5eb5bc67ca95739602fd6f3b14505.jpg","text":"TemporaryFile(/tmp/multipartBody4606750349708149646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741470033122,"filename":"image_08032025_22_39_15_9939.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1342036492","file1":"1342036480","file0":"1342036445","file4":"1342036508","file5":"1342036511","file3":"1342036504"},"map_files_photo_id_array":[{"photo_id":"1342036511","filename":"file5"},{"photo_id":"1342036492","filename":"file2"},{"photo_id":"1342036508","filename":"file4"},{"photo_id":"1342036480","filename":"file1"},{"photo_id":"1342036445","filename":"file0"},{"photo_id":"1342036504","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1342036445":["hashtag1","hashtag2"]},{"1342036511":["hashtag1","hashtag2"]},{"1342036508":["hashtag1","hashtag2"]},{"1342036492":["hashtag1","hashtag2"]},{"1342036480":["hashtag1","hashtag2"]},{"1342036504":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1342036445, 1342036511, 1342036508, 1342036492, 1342036480, 1342036504)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.80467081069946 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 22:40:32.657406
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/22/40/image_08032025_22_40_45_9925.jpg', 2), ('/home/nano/Desktop/images/08032025/22/40/image_08032025_22_40_35_9921.jpg', 2), ('/home/nano/Desktop/images/08032025/22/40/image_08032025_22_40_25_9926.jpg', 2), ('/home/nano/Desktop/images/08032025/22/40/image_08032025_22_40_15_9931.jpg', 2), ('/home/nano/Desktop/images/08032025/22/39/image_08032025_22_40_06_9963.jpg', 2), ('/home/nano/Desktop/images/08032025/22/39/image_08032025_22_39_56_10955.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/22/40/image_08032025_22_40_45_9925.jpg', '/home/nano/Desktop/images/08032025/22/40/image_08032025_22_40_35_9921.jpg', '/home/nano/Desktop/images/08032025/22/40/image_08032025_22_40_25_9926.jpg', '/home/nano/Desktop/images/08032025/22/40/image_08032025_22_40_15_9931.jpg', '/home/nano/Desktop/images/08032025/22/39/image_08032025_22_40_06_9963.jpg', '/home/nano/Desktop/images/08032025/22/39/image_08032025_22_39_56_10955.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/22/40/image_08032025_22_40_45_9925.jpg
/home/nano/Desktop/images/08032025/22/40/image_08032025_22_40_35_9921.jpg
/home/nano/Desktop/images/08032025/22/40/image_08032025_22_40_25_9926.jpg
/home/nano/Desktop/images/08032025/22/40/image_08032025_22_40_15_9931.jpg
/home/nano/Desktop/images/08032025/22/39/image_08032025_22_40_06_9963.jpg
/home/nano/Desktop/images/08032025/22/39/image_08032025_22_39_56_10955.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1342036940","1342036751","1342037008","1342036596","1342036665","1342036848"],"photo_ids_order":["1342036596","1342036665","1342036751","1342036848","1342036940","1342037008"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/70a50ef804fe55bcc0a316fa16b1c40f.jpg","text":"TemporaryFile(/tmp/multipartBody5962406290342865151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741470093240,"filename":"image_08032025_22_40_06_9963.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/a67c0bc076171d5b3e1b9c6bf1a60c47.jpg","text":"TemporaryFile(/tmp/multipartBody2070981164014180383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741470093240,"filename":"image_08032025_22_40_25_9926.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/29a457819c0f50cc1b36fc197f6927b2.jpg","text":"TemporaryFile(/tmp/multipartBody4057868253694645171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741470093240,"filename":"image_08032025_22_39_56_10955.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/4d73fe40bccc71bb7e5ffe18fd50e23e.jpg","text":"TemporaryFile(/tmp/multipartBody7284017778292556706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741470093240,"filename":"image_08032025_22_40_45_9925.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/f54e5f1534b0c847ef3e5b3a10400219.jpg","text":"TemporaryFile(/tmp/multipartBody5480205686519848356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741470093240,"filename":"image_08032025_22_40_35_9921.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/5d2d744e622bee9627ebd8dd55e8715d.jpg","text":"TemporaryFile(/tmp/multipartBody8173021060755170817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741470093240,"filename":"image_08032025_22_40_15_9931.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1342036751","file1":"1342036665","file0":"1342036596","file4":"1342036940","file5":"1342037008","file3":"1342036848"},"map_files_photo_id_array":[{"photo_id":"1342037008","filename":"file5"},{"photo_id":"1342036751","filename":"file2"},{"photo_id":"1342036940","filename":"file4"},{"photo_id":"1342036665","filename":"file1"},{"photo_id":"1342036596","filename":"file0"},{"photo_id":"1342036848","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1342036940":["hashtag1","hashtag2"]},{"1342036751":["hashtag1","hashtag2"]},{"1342037008":["hashtag1","hashtag2"]},{"1342036596":["hashtag1","hashtag2"]},{"1342036665":["hashtag1","hashtag2"]},{"1342036848":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1342036940, 1342036751, 1342037008, 1342036596, 1342036665, 1342036848)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.66983151435852 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 22:41:31.786678
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/22/41/image_08032025_22_41_45_9927.jpg', 2), ('/home/nano/Desktop/images/08032025/22/41/image_08032025_22_41_35_9927.jpg', 2), ('/home/nano/Desktop/images/08032025/22/41/image_08032025_22_41_25_9926.jpg', 2), ('/home/nano/Desktop/images/08032025/22/41/image_08032025_22_41_15_9925.jpg', 2), ('/home/nano/Desktop/images/08032025/22/40/image_08032025_22_41_05_9931.jpg', 2), ('/home/nano/Desktop/images/08032025/22/40/image_08032025_22_40_55_9924.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/22/41/image_08032025_22_41_45_9927.jpg', '/home/nano/Desktop/images/08032025/22/41/image_08032025_22_41_35_9927.jpg', '/home/nano/Desktop/images/08032025/22/41/image_08032025_22_41_25_9926.jpg', '/home/nano/Desktop/images/08032025/22/41/image_08032025_22_41_15_9925.jpg', '/home/nano/Desktop/images/08032025/22/40/image_08032025_22_41_05_9931.jpg', '/home/nano/Desktop/images/08032025/22/40/image_08032025_22_40_55_9924.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/22/41/image_08032025_22_41_45_9927.jpg
/home/nano/Desktop/images/08032025/22/41/image_08032025_22_41_35_9927.jpg
/home/nano/Desktop/images/08032025/22/41/image_08032025_22_41_25_9926.jpg
/home/nano/Desktop/images/08032025/22/41/image_08032025_22_41_15_9925.jpg
/home/nano/Desktop/images/08032025/22/40/image_08032025_22_41_05_9931.jpg
/home/nano/Desktop/images/08032025/22/40/image_08032025_22_40_55_9924.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1342037191","1342037161","1342037184","1342037169","1342037195","1342037165"],"photo_ids_order":["1342037161","1342037165","1342037169","1342037184","1342037191","1342037195"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/c5ed4f1c017ec89df4ee1f64633bfcae.jpg","text":"TemporaryFile(/tmp/multipartBody1327355444753583284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741470152234,"filename":"image_08032025_22_41_05_9931.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/e603e67ec273a69706e92a1934888891.jpg","text":"TemporaryFile(/tmp/multipartBody5801041910410339380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741470152234,"filename":"image_08032025_22_41_45_9927.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/a3bea44f65ee786e74afdb58211efc1e.jpg","text":"TemporaryFile(/tmp/multipartBody5081362569992639936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741470152234,"filename":"image_08032025_22_41_15_9925.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/860e7c9415449c41dfe10bdade01b4c3.jpg","text":"TemporaryFile(/tmp/multipartBody7873377491100884741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741470152234,"filename":"image_08032025_22_41_25_9926.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/5ac1687163ff8bb2a791ef8d3a5d1c5d.jpg","text":"TemporaryFile(/tmp/multipartBody4722231834470417307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741470152234,"filename":"image_08032025_22_40_55_9924.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/b316264d1ea1ec6e71708440b400df8c.jpg","text":"TemporaryFile(/tmp/multipartBody7509106681181430235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741470152234,"filename":"image_08032025_22_41_35_9927.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1342037169","file1":"1342037165","file0":"1342037161","file4":"1342037191","file5":"1342037195","file3":"1342037184"},"map_files_photo_id_array":[{"photo_id":"1342037195","filename":"file5"},{"photo_id":"1342037169","filename":"file2"},{"photo_id":"1342037191","filename":"file4"},{"photo_id":"1342037165","filename":"file1"},{"photo_id":"1342037161","filename":"file0"},{"photo_id":"1342037184","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1342037191":["hashtag1","hashtag2"]},{"1342037161":["hashtag1","hashtag2"]},{"1342037184":["hashtag1","hashtag2"]},{"1342037169":["hashtag1","hashtag2"]},{"1342037195":["hashtag1","hashtag2"]},{"1342037165":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1342037191, 1342037161, 1342037184, 1342037169, 1342037195, 1342037165)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.410733699798584 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 22:42:31.945047
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/22/42/image_08032025_22_42_45_9938.jpg', 2), ('/home/nano/Desktop/images/08032025/22/42/image_08032025_22_42_35_9926.jpg', 2), ('/home/nano/Desktop/images/08032025/22/42/image_08032025_22_42_26_10938.jpg', 2), ('/home/nano/Desktop/images/08032025/22/42/image_08032025_22_42_15_9930.jpg', 2), ('/home/nano/Desktop/images/08032025/22/41/image_08032025_22_42_05_9940.jpg', 2), ('/home/nano/Desktop/images/08032025/22/41/image_08032025_22_41_55_9951.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/22/42/image_08032025_22_42_45_9938.jpg', '/home/nano/Desktop/images/08032025/22/42/image_08032025_22_42_35_9926.jpg', '/home/nano/Desktop/images/08032025/22/42/image_08032025_22_42_26_10938.jpg', '/home/nano/Desktop/images/08032025/22/42/image_08032025_22_42_15_9930.jpg', '/home/nano/Desktop/images/08032025/22/41/image_08032025_22_42_05_9940.jpg', '/home/nano/Desktop/images/08032025/22/41/image_08032025_22_41_55_9951.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/22/42/image_08032025_22_42_45_9938.jpg
/home/nano/Desktop/images/08032025/22/42/image_08032025_22_42_35_9926.jpg
/home/nano/Desktop/images/08032025/22/42/image_08032025_22_42_26_10938.jpg
/home/nano/Desktop/images/08032025/22/42/image_08032025_22_42_15_9930.jpg
/home/nano/Desktop/images/08032025/22/41/image_08032025_22_42_05_9940.jpg
/home/nano/Desktop/images/08032025/22/41/image_08032025_22_41_55_9951.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1342037299","1342037272","1342037280","1342037265","1342037268","1342037276"],"photo_ids_order":["1342037265","1342037268","1342037272","1342037276","1342037280","1342037299"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/58429fe08193769b26f526a81311ba50.jpg","text":"TemporaryFile(/tmp/multipartBody1490751303989791464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741470212456,"filename":"image_08032025_22_41_55_9951.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/c54adfaf1d6bab2910ef66cb559b23f6.jpg","text":"TemporaryFile(/tmp/multipartBody5447748690974463237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741470212456,"filename":"image_08032025_22_42_26_10938.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/bb7321965768051fd5eebb6498c68623.jpg","text":"TemporaryFile(/tmp/multipartBody6159496794556918613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741470212456,"filename":"image_08032025_22_42_05_9940.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/cefab3dbda23aec07099c321d98203e2.jpg","text":"TemporaryFile(/tmp/multipartBody7113911766821666801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741470212456,"filename":"image_08032025_22_42_45_9938.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/7878d363b72801a7fcd395c682e12d9c.jpg","text":"TemporaryFile(/tmp/multipartBody5461411220538441354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741470212456,"filename":"image_08032025_22_42_35_9926.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/322de52e2cd166019f832c14bde00637.jpg","text":"TemporaryFile(/tmp/multipartBody4791452745280793938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741470212456,"filename":"image_08032025_22_42_15_9930.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1342037272","file1":"1342037268","file0":"1342037265","file4":"1342037280","file5":"1342037299","file3":"1342037276"},"map_files_photo_id_array":[{"photo_id":"1342037299","filename":"file5"},{"photo_id":"1342037272","filename":"file2"},{"photo_id":"1342037280","filename":"file4"},{"photo_id":"1342037268","filename":"file1"},{"photo_id":"1342037265","filename":"file0"},{"photo_id":"1342037276","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1342037299":["hashtag1","hashtag2"]},{"1342037272":["hashtag1","hashtag2"]},{"1342037280":["hashtag1","hashtag2"]},{"1342037265":["hashtag1","hashtag2"]},{"1342037268":["hashtag1","hashtag2"]},{"1342037276":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1342037299, 1342037272, 1342037280, 1342037265, 1342037268, 1342037276)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.187044620513916 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 22:43:32.031076
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/22/43/image_08032025_22_43_45_9921.jpg', 2), ('/home/nano/Desktop/images/08032025/22/43/image_08032025_22_43_35_9930.jpg', 2), ('/home/nano/Desktop/images/08032025/22/43/image_08032025_22_43_25_9932.jpg', 2), ('/home/nano/Desktop/images/08032025/22/43/image_08032025_22_43_15_9924.jpg', 2), ('/home/nano/Desktop/images/08032025/22/42/image_08032025_22_43_05_9931.jpg', 2), ('/home/nano/Desktop/images/08032025/22/42/image_08032025_22_42_55_9929.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/22/43/image_08032025_22_43_45_9921.jpg', '/home/nano/Desktop/images/08032025/22/43/image_08032025_22_43_35_9930.jpg', '/home/nano/Desktop/images/08032025/22/43/image_08032025_22_43_25_9932.jpg', '/home/nano/Desktop/images/08032025/22/43/image_08032025_22_43_15_9924.jpg', '/home/nano/Desktop/images/08032025/22/42/image_08032025_22_43_05_9931.jpg', '/home/nano/Desktop/images/08032025/22/42/image_08032025_22_42_55_9929.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/22/43/image_08032025_22_43_45_9921.jpg
/home/nano/Desktop/images/08032025/22/43/image_08032025_22_43_35_9930.jpg
/home/nano/Desktop/images/08032025/22/43/image_08032025_22_43_25_9932.jpg
/home/nano/Desktop/images/08032025/22/43/image_08032025_22_43_15_9924.jpg
/home/nano/Desktop/images/08032025/22/42/image_08032025_22_43_05_9931.jpg
/home/nano/Desktop/images/08032025/22/42/image_08032025_22_42_55_9929.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1342037382","1342037376","1342037379","1342037370","1342037373","1342037367"],"photo_ids_order":["1342037367","1342037370","1342037373","1342037376","1342037379","1342037382"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/51266d594491f5afc2807789f283171e.jpg","text":"TemporaryFile(/tmp/multipartBody2599522843985275624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741470272460,"filename":"image_08032025_22_42_55_9929.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/0cef43eeb78eabf9a3550d65b4353310.jpg","text":"TemporaryFile(/tmp/multipartBody3865991241344598615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741470272460,"filename":"image_08032025_22_43_15_9924.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/b85113cd52406a12221764b39abc5743.jpg","text":"TemporaryFile(/tmp/multipartBody1754689676268811308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741470272460,"filename":"image_08032025_22_43_05_9931.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/75338e5ccec56bcae123d226f4394e5b.jpg","text":"TemporaryFile(/tmp/multipartBody3272570132962392021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741470272460,"filename":"image_08032025_22_43_35_9930.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/e735abe3d863ef315a88cb2f995cec03.jpg","text":"TemporaryFile(/tmp/multipartBody7207537372267265008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741470272460,"filename":"image_08032025_22_43_25_9932.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/56af7b759e58f7be0ec9821983f24aab.jpg","text":"TemporaryFile(/tmp/multipartBody6524492405171718382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741470272460,"filename":"image_08032025_22_43_45_9921.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1342037373","file1":"1342037370","file0":"1342037367","file4":"1342037379","file5":"1342037382","file3":"1342037376"},"map_files_photo_id_array":[{"photo_id":"1342037382","filename":"file5"},{"photo_id":"1342037373","filename":"file2"},{"photo_id":"1342037379","filename":"file4"},{"photo_id":"1342037370","filename":"file1"},{"photo_id":"1342037367","filename":"file0"},{"photo_id":"1342037376","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1342037382":["hashtag1","hashtag2"]},{"1342037376":["hashtag1","hashtag2"]},{"1342037379":["hashtag1","hashtag2"]},{"1342037370":["hashtag1","hashtag2"]},{"1342037373":["hashtag1","hashtag2"]},{"1342037367":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1342037382, 1342037376, 1342037379, 1342037370, 1342037373, 1342037367)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.71206259727478 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 22:44:32.139216
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/22/44/image_08032025_22_44_45_9929.jpg', 2), ('/home/nano/Desktop/images/08032025/22/44/image_08032025_22_44_35_9936.jpg', 2), ('/home/nano/Desktop/images/08032025/22/44/image_08032025_22_44_25_9951.jpg', 2), ('/home/nano/Desktop/images/08032025/22/44/image_08032025_22_44_15_9944.jpg', 2), ('/home/nano/Desktop/images/08032025/22/43/image_08032025_22_44_05_9952.jpg', 2), ('/home/nano/Desktop/images/08032025/22/43/image_08032025_22_43_55_9924.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/22/44/image_08032025_22_44_45_9929.jpg', '/home/nano/Desktop/images/08032025/22/44/image_08032025_22_44_35_9936.jpg', '/home/nano/Desktop/images/08032025/22/44/image_08032025_22_44_25_9951.jpg', '/home/nano/Desktop/images/08032025/22/44/image_08032025_22_44_15_9944.jpg', '/home/nano/Desktop/images/08032025/22/43/image_08032025_22_44_05_9952.jpg', '/home/nano/Desktop/images/08032025/22/43/image_08032025_22_43_55_9924.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/22/44/image_08032025_22_44_45_9929.jpg
/home/nano/Desktop/images/08032025/22/44/image_08032025_22_44_35_9936.jpg
/home/nano/Desktop/images/08032025/22/44/image_08032025_22_44_25_9951.jpg
/home/nano/Desktop/images/08032025/22/44/image_08032025_22_44_15_9944.jpg
/home/nano/Desktop/images/08032025/22/43/image_08032025_22_44_05_9952.jpg
/home/nano/Desktop/images/08032025/22/43/image_08032025_22_43_55_9924.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1342037575","1342037481","1342037571","1342037454","1342037517","1342037549"],"photo_ids_order":["1342037454","1342037481","1342037517","1342037549","1342037571","1342037575"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/5d62241d2f1e56385645ccc6bddd99b1.jpg","text":"TemporaryFile(/tmp/multipartBody5520448776606933431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741470332569,"filename":"image_08032025_22_43_55_9924.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/d149d2240a7803da50374ec3123eac0e.jpg","text":"TemporaryFile(/tmp/multipartBody3975888656562544252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741470332569,"filename":"image_08032025_22_44_35_9936.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/043a5599328203258b855f8d6531d3fd.jpg","text":"TemporaryFile(/tmp/multipartBody5731378178408267496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741470332569,"filename":"image_08032025_22_44_05_9952.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/d314f644739a15b233d9edf7901aa219.jpg","text":"TemporaryFile(/tmp/multipartBody2333815271320939904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741470332569,"filename":"image_08032025_22_44_45_9929.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/6b2e14a63e29c51d5a4f9135a9b15c04.jpg","text":"TemporaryFile(/tmp/multipartBody4132682683276063419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741470332569,"filename":"image_08032025_22_44_25_9951.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/850dbc6b5436178b88555a9314339d41.jpg","text":"TemporaryFile(/tmp/multipartBody6099379334233003185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741470332569,"filename":"image_08032025_22_44_15_9944.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1342037517","file1":"1342037481","file0":"1342037454","file4":"1342037571","file5":"1342037575","file3":"1342037549"},"map_files_photo_id_array":[{"photo_id":"1342037575","filename":"file5"},{"photo_id":"1342037517","filename":"file2"},{"photo_id":"1342037571","filename":"file4"},{"photo_id":"1342037481","filename":"file1"},{"photo_id":"1342037454","filename":"file0"},{"photo_id":"1342037549","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1342037575":["hashtag1","hashtag2"]},{"1342037481":["hashtag1","hashtag2"]},{"1342037571":["hashtag1","hashtag2"]},{"1342037454":["hashtag1","hashtag2"]},{"1342037517":["hashtag1","hashtag2"]},{"1342037549":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1342037575, 1342037481, 1342037571, 1342037454, 1342037517, 1342037549)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.8391010761261 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 22:45:32.240177
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/22/45/image_08032025_22_45_45_9923.jpg', 2), ('/home/nano/Desktop/images/08032025/22/45/image_08032025_22_45_35_9929.jpg', 2), ('/home/nano/Desktop/images/08032025/22/45/image_08032025_22_45_25_9924.jpg', 2), ('/home/nano/Desktop/images/08032025/22/45/image_08032025_22_45_15_9929.jpg', 2), ('/home/nano/Desktop/images/08032025/22/44/image_08032025_22_45_06_9943.jpg', 2), ('/home/nano/Desktop/images/08032025/22/44/image_08032025_22_44_56_10940.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/22/45/image_08032025_22_45_45_9923.jpg', '/home/nano/Desktop/images/08032025/22/45/image_08032025_22_45_35_9929.jpg', '/home/nano/Desktop/images/08032025/22/45/image_08032025_22_45_25_9924.jpg', '/home/nano/Desktop/images/08032025/22/45/image_08032025_22_45_15_9929.jpg', '/home/nano/Desktop/images/08032025/22/44/image_08032025_22_45_06_9943.jpg', '/home/nano/Desktop/images/08032025/22/44/image_08032025_22_44_56_10940.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/22/45/image_08032025_22_45_45_9923.jpg
/home/nano/Desktop/images/08032025/22/45/image_08032025_22_45_35_9929.jpg
/home/nano/Desktop/images/08032025/22/45/image_08032025_22_45_25_9924.jpg
/home/nano/Desktop/images/08032025/22/45/image_08032025_22_45_15_9929.jpg
/home/nano/Desktop/images/08032025/22/44/image_08032025_22_45_06_9943.jpg
/home/nano/Desktop/images/08032025/22/44/image_08032025_22_44_56_10940.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1342037668","1342037673","1342037667","1342037676","1342037637","1342037660"],"photo_ids_order":["1342037637","1342037660","1342037667","1342037668","1342037673","1342037676"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/3e48284ab5b4b72211d2e013fe58111b.jpg","text":"TemporaryFile(/tmp/multipartBody535598028716678844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741470392649,"filename":"image_08032025_22_45_15_9929.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/ca85ae0696202699325d32354e40104c.jpg","text":"TemporaryFile(/tmp/multipartBody2449370721406767123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741470392649,"filename":"image_08032025_22_45_06_9943.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/47231209eacc1004a91706ed6f4193cd.jpg","text":"TemporaryFile(/tmp/multipartBody7698765581716393414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741470392649,"filename":"image_08032025_22_45_25_9924.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/aece385ba5a2597cc920bc4a0dd87b22.jpg","text":"TemporaryFile(/tmp/multipartBody8459003430386298325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741470392649,"filename":"image_08032025_22_44_56_10940.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/df32b0f4e3ffd60795e624c381fa32e6.jpg","text":"TemporaryFile(/tmp/multipartBody6103884419394662575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741470392649,"filename":"image_08032025_22_45_45_9923.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/875dd755a6e418921ed9a554b90ff4b3.jpg","text":"TemporaryFile(/tmp/multipartBody6674826355905183781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741470392649,"filename":"image_08032025_22_45_35_9929.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1342037667","file1":"1342037660","file0":"1342037637","file4":"1342037673","file5":"1342037676","file3":"1342037668"},"map_files_photo_id_array":[{"photo_id":"1342037676","filename":"file5"},{"photo_id":"1342037667","filename":"file2"},{"photo_id":"1342037673","filename":"file4"},{"photo_id":"1342037660","filename":"file1"},{"photo_id":"1342037637","filename":"file0"},{"photo_id":"1342037668","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1342037668":["hashtag1","hashtag2"]},{"1342037673":["hashtag1","hashtag2"]},{"1342037667":["hashtag1","hashtag2"]},{"1342037676":["hashtag1","hashtag2"]},{"1342037637":["hashtag1","hashtag2"]},{"1342037660":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1342037668, 1342037673, 1342037667, 1342037676, 1342037637, 1342037660)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.846484661102295 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 22:46:32.381837
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/22/46/image_08032025_22_46_45_9930.jpg', 2), ('/home/nano/Desktop/images/08032025/22/46/image_08032025_22_46_35_9927.jpg', 2), ('/home/nano/Desktop/images/08032025/22/46/image_08032025_22_46_25_9926.jpg', 2), ('/home/nano/Desktop/images/08032025/22/46/image_08032025_22_46_15_9946.jpg', 2), ('/home/nano/Desktop/images/08032025/22/45/image_08032025_22_46_05_9946.jpg', 2), ('/home/nano/Desktop/images/08032025/22/45/image_08032025_22_45_55_9927.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/22/46/image_08032025_22_46_45_9930.jpg', '/home/nano/Desktop/images/08032025/22/46/image_08032025_22_46_35_9927.jpg', '/home/nano/Desktop/images/08032025/22/46/image_08032025_22_46_25_9926.jpg', '/home/nano/Desktop/images/08032025/22/46/image_08032025_22_46_15_9946.jpg', '/home/nano/Desktop/images/08032025/22/45/image_08032025_22_46_05_9946.jpg', '/home/nano/Desktop/images/08032025/22/45/image_08032025_22_45_55_9927.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/22/46/image_08032025_22_46_45_9930.jpg
/home/nano/Desktop/images/08032025/22/46/image_08032025_22_46_35_9927.jpg
/home/nano/Desktop/images/08032025/22/46/image_08032025_22_46_25_9926.jpg
/home/nano/Desktop/images/08032025/22/46/image_08032025_22_46_15_9946.jpg
/home/nano/Desktop/images/08032025/22/45/image_08032025_22_46_05_9946.jpg
/home/nano/Desktop/images/08032025/22/45/image_08032025_22_45_55_9927.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1342038028","1342037839","1342037908","1342037790","1342037769","1342037808"],"photo_ids_order":["1342037769","1342037790","1342037808","1342037839","1342037908","1342038028"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/a1c24bc339fe05c1cb0845aee86a74a2.jpg","text":"TemporaryFile(/tmp/multipartBody8192213431230692077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741470452833,"filename":"image_08032025_22_45_55_9927.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/4c6c728ed9578e0d30c08a1191b0be30.jpg","text":"TemporaryFile(/tmp/multipartBody6866362053712511359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741470452833,"filename":"image_08032025_22_46_15_9946.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/f2404a0258942f798113e9173979e8b7.jpg","text":"TemporaryFile(/tmp/multipartBody6429158983665790565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741470452833,"filename":"image_08032025_22_46_05_9946.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/57706f3cfb6ade2f864f7634643db19c.jpg","text":"TemporaryFile(/tmp/multipartBody1682947796142702056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741470452833,"filename":"image_08032025_22_46_35_9927.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/45cf7d08919c8dcf089bd506541a3559.jpg","text":"TemporaryFile(/tmp/multipartBody2476850591725497244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741470452833,"filename":"image_08032025_22_46_45_9930.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/899e714732a5c19959924628282f597b.jpg","text":"TemporaryFile(/tmp/multipartBody5868007946381478071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741470452833,"filename":"image_08032025_22_46_25_9926.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1342037808","file1":"1342037790","file0":"1342037769","file4":"1342037908","file5":"1342038028","file3":"1342037839"},"map_files_photo_id_array":[{"photo_id":"1342038028","filename":"file5"},{"photo_id":"1342037808","filename":"file2"},{"photo_id":"1342037908","filename":"file4"},{"photo_id":"1342037790","filename":"file1"},{"photo_id":"1342037769","filename":"file0"},{"photo_id":"1342037839","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1342038028":["hashtag1","hashtag2"]},{"1342037839":["hashtag1","hashtag2"]},{"1342037908":["hashtag1","hashtag2"]},{"1342037790":["hashtag1","hashtag2"]},{"1342037769":["hashtag1","hashtag2"]},{"1342037808":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1342038028, 1342037839, 1342037908, 1342037790, 1342037769, 1342037808)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.55848407745361 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 22:47:32.480755
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/22/47/image_08032025_22_47_45_9930.jpg', 2), ('/home/nano/Desktop/images/08032025/22/47/image_08032025_22_47_35_9934.jpg', 2), ('/home/nano/Desktop/images/08032025/22/47/image_08032025_22_47_26_10935.jpg', 2), ('/home/nano/Desktop/images/08032025/22/47/image_08032025_22_47_15_9932.jpg', 2), ('/home/nano/Desktop/images/08032025/22/46/image_08032025_22_47_05_9946.jpg', 2), ('/home/nano/Desktop/images/08032025/22/46/image_08032025_22_46_55_9921.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/22/47/image_08032025_22_47_45_9930.jpg', '/home/nano/Desktop/images/08032025/22/47/image_08032025_22_47_35_9934.jpg', '/home/nano/Desktop/images/08032025/22/47/image_08032025_22_47_26_10935.jpg', '/home/nano/Desktop/images/08032025/22/47/image_08032025_22_47_15_9932.jpg', '/home/nano/Desktop/images/08032025/22/46/image_08032025_22_47_05_9946.jpg', '/home/nano/Desktop/images/08032025/22/46/image_08032025_22_46_55_9921.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/22/47/image_08032025_22_47_45_9930.jpg
/home/nano/Desktop/images/08032025/22/47/image_08032025_22_47_35_9934.jpg
/home/nano/Desktop/images/08032025/22/47/image_08032025_22_47_26_10935.jpg
/home/nano/Desktop/images/08032025/22/47/image_08032025_22_47_15_9932.jpg
/home/nano/Desktop/images/08032025/22/46/image_08032025_22_47_05_9946.jpg
/home/nano/Desktop/images/08032025/22/46/image_08032025_22_46_55_9921.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1342038397","1342038451","1342038418","1342038489","1342038348","1342038513"],"photo_ids_order":["1342038348","1342038397","1342038418","1342038451","1342038489","1342038513"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/6b8f76b63bffff52d5454918c67e0c8b.jpg","text":"TemporaryFile(/tmp/multipartBody7784210827062013926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741470512916,"filename":"image_08032025_22_47_35_9934.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/8da700c95c69d220a311ef5d4c5531b1.jpg","text":"TemporaryFile(/tmp/multipartBody5872783323256523754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741470512916,"filename":"image_08032025_22_47_15_9932.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/987e85cce752fc47293aeaee0a766b87.jpg","text":"TemporaryFile(/tmp/multipartBody6973310522534131679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741470512916,"filename":"image_08032025_22_47_26_10935.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/8b03b13a9714c227aa6c8fb9c436f754.jpg","text":"TemporaryFile(/tmp/multipartBody1537697291029489141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741470512916,"filename":"image_08032025_22_47_05_9946.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/b3a6cc73e0d4ea9e32627d387ae07944.jpg","text":"TemporaryFile(/tmp/multipartBody4361030635339405133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741470512916,"filename":"image_08032025_22_47_45_9930.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/49e5e51858b7514277e43d923225a61b.jpg","text":"TemporaryFile(/tmp/multipartBody5304045228501096132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741470512916,"filename":"image_08032025_22_46_55_9921.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1342038418","file1":"1342038397","file0":"1342038348","file4":"1342038489","file5":"1342038513","file3":"1342038451"},"map_files_photo_id_array":[{"photo_id":"1342038513","filename":"file5"},{"photo_id":"1342038418","filename":"file2"},{"photo_id":"1342038489","filename":"file4"},{"photo_id":"1342038397","filename":"file1"},{"photo_id":"1342038348","filename":"file0"},{"photo_id":"1342038451","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1342038397":["hashtag1","hashtag2"]},{"1342038451":["hashtag1","hashtag2"]},{"1342038418":["hashtag1","hashtag2"]},{"1342038489":["hashtag1","hashtag2"]},{"1342038348":["hashtag1","hashtag2"]},{"1342038513":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1342038397, 1342038451, 1342038418, 1342038489, 1342038348, 1342038513)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.56308102607727 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 22:48:32.574151
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/22/48/image_08032025_22_48_45_9926.jpg', 2), ('/home/nano/Desktop/images/08032025/22/48/image_08032025_22_48_35_9926.jpg', 2), ('/home/nano/Desktop/images/08032025/22/48/image_08032025_22_48_25_9928.jpg', 2), ('/home/nano/Desktop/images/08032025/22/48/image_08032025_22_48_15_9924.jpg', 2), ('/home/nano/Desktop/images/08032025/22/47/image_08032025_22_48_05_9946.jpg', 2), ('/home/nano/Desktop/images/08032025/22/47/image_08032025_22_47_55_9926.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/22/48/image_08032025_22_48_45_9926.jpg', '/home/nano/Desktop/images/08032025/22/48/image_08032025_22_48_35_9926.jpg', '/home/nano/Desktop/images/08032025/22/48/image_08032025_22_48_25_9928.jpg', '/home/nano/Desktop/images/08032025/22/48/image_08032025_22_48_15_9924.jpg', '/home/nano/Desktop/images/08032025/22/47/image_08032025_22_48_05_9946.jpg', '/home/nano/Desktop/images/08032025/22/47/image_08032025_22_47_55_9926.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/22/48/image_08032025_22_48_45_9926.jpg
/home/nano/Desktop/images/08032025/22/48/image_08032025_22_48_35_9926.jpg
/home/nano/Desktop/images/08032025/22/48/image_08032025_22_48_25_9928.jpg
/home/nano/Desktop/images/08032025/22/48/image_08032025_22_48_15_9924.jpg
/home/nano/Desktop/images/08032025/22/47/image_08032025_22_48_05_9946.jpg
/home/nano/Desktop/images/08032025/22/47/image_08032025_22_47_55_9926.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1342038694","1342038681","1342038607","1342038693","1342038636","1342038659"],"photo_ids_order":["1342038607","1342038636","1342038659","1342038681","1342038693","1342038694"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/26f638a4d915fd6732948b42cca81c3c.jpg","text":"TemporaryFile(/tmp/multipartBody2826074920064675876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741470573001,"filename":"image_08032025_22_47_55_9926.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/e0d48c3a1aa1390673d0e780e6c1f5e6.jpg","text":"TemporaryFile(/tmp/multipartBody7469415563499529364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741470573001,"filename":"image_08032025_22_48_15_9924.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/3d6c70069c4e3c6eb89f8bb53aa70065.jpg","text":"TemporaryFile(/tmp/multipartBody935016834642998500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741470573001,"filename":"image_08032025_22_48_45_9926.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/f06a3c0a18352c597c14cd17aa80a5e8.jpg","text":"TemporaryFile(/tmp/multipartBody6122958246134823377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741470573001,"filename":"image_08032025_22_48_05_9946.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/765f4883d41788eb665f5568c1e38c24.jpg","text":"TemporaryFile(/tmp/multipartBody8572078548776157121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741470573001,"filename":"image_08032025_22_48_35_9926.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/d80d344a9cc65e5e5f137792a812a822.jpg","text":"TemporaryFile(/tmp/multipartBody136408617473176704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741470573001,"filename":"image_08032025_22_48_25_9928.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1342038659","file1":"1342038636","file0":"1342038607","file4":"1342038693","file5":"1342038694","file3":"1342038681"},"map_files_photo_id_array":[{"photo_id":"1342038694","filename":"file5"},{"photo_id":"1342038659","filename":"file2"},{"photo_id":"1342038693","filename":"file4"},{"photo_id":"1342038636","filename":"file1"},{"photo_id":"1342038607","filename":"file0"},{"photo_id":"1342038681","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1342038694":["hashtag1","hashtag2"]},{"1342038681":["hashtag1","hashtag2"]},{"1342038607":["hashtag1","hashtag2"]},{"1342038693":["hashtag1","hashtag2"]},{"1342038636":["hashtag1","hashtag2"]},{"1342038659":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1342038694, 1342038681, 1342038607, 1342038693, 1342038636, 1342038659)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.20989274978638 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 22:49:32.728441
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/22/49/image_08032025_22_49_45_9929.jpg', 2), ('/home/nano/Desktop/images/08032025/22/49/image_08032025_22_49_35_9928.jpg', 2), ('/home/nano/Desktop/images/08032025/22/49/image_08032025_22_49_25_9958.jpg', 2), ('/home/nano/Desktop/images/08032025/22/49/image_08032025_22_49_15_9934.jpg', 2), ('/home/nano/Desktop/images/08032025/22/48/image_08032025_22_49_05_9950.jpg', 2), ('/home/nano/Desktop/images/08032025/22/48/image_08032025_22_48_55_9929.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/22/49/image_08032025_22_49_45_9929.jpg', '/home/nano/Desktop/images/08032025/22/49/image_08032025_22_49_35_9928.jpg', '/home/nano/Desktop/images/08032025/22/49/image_08032025_22_49_25_9958.jpg', '/home/nano/Desktop/images/08032025/22/49/image_08032025_22_49_15_9934.jpg', '/home/nano/Desktop/images/08032025/22/48/image_08032025_22_49_05_9950.jpg', '/home/nano/Desktop/images/08032025/22/48/image_08032025_22_48_55_9929.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/22/49/image_08032025_22_49_45_9929.jpg
/home/nano/Desktop/images/08032025/22/49/image_08032025_22_49_35_9928.jpg
/home/nano/Desktop/images/08032025/22/49/image_08032025_22_49_25_9958.jpg
/home/nano/Desktop/images/08032025/22/49/image_08032025_22_49_15_9934.jpg
/home/nano/Desktop/images/08032025/22/48/image_08032025_22_49_05_9950.jpg
/home/nano/Desktop/images/08032025/22/48/image_08032025_22_48_55_9929.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1342038792","1342038744","1342038788","1342038773","1342038746","1342038778"],"photo_ids_order":["1342038744","1342038746","1342038773","1342038778","1342038788","1342038792"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/0d477311121786e23521dabb199bb149.jpg","text":"TemporaryFile(/tmp/multipartBody7971442732415934509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741470633140,"filename":"image_08032025_22_48_55_9929.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/a57ff5642f17bc66190da50cd9129f6c.jpg","text":"TemporaryFile(/tmp/multipartBody4771629205265509723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741470633140,"filename":"image_08032025_22_49_45_9929.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/1fbd59c0487248690fd016646d39c6c5.jpg","text":"TemporaryFile(/tmp/multipartBody1386305018220429853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741470633140,"filename":"image_08032025_22_49_05_9950.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/1ff72b1f1895137c1c482fb1470ace64.jpg","text":"TemporaryFile(/tmp/multipartBody961657490407539358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741470633140,"filename":"image_08032025_22_49_25_9958.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/1a6380e5a6ff20f8f1ac3b601e5e3ba4.jpg","text":"TemporaryFile(/tmp/multipartBody8523115063302167697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741470633140,"filename":"image_08032025_22_49_35_9928.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/af1ef5861cad744ff2bc02790f326777.jpg","text":"TemporaryFile(/tmp/multipartBody3428226943432107350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741470633140,"filename":"image_08032025_22_49_15_9934.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1342038773","file1":"1342038746","file0":"1342038744","file4":"1342038788","file5":"1342038792","file3":"1342038778"},"map_files_photo_id_array":[{"photo_id":"1342038792","filename":"file5"},{"photo_id":"1342038773","filename":"file2"},{"photo_id":"1342038788","filename":"file4"},{"photo_id":"1342038746","filename":"file1"},{"photo_id":"1342038744","filename":"file0"},{"photo_id":"1342038778","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1342038792":["hashtag1","hashtag2"]},{"1342038744":["hashtag1","hashtag2"]},{"1342038788":["hashtag1","hashtag2"]},{"1342038773":["hashtag1","hashtag2"]},{"1342038746":["hashtag1","hashtag2"]},{"1342038778":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1342038792, 1342038744, 1342038788, 1342038773, 1342038746, 1342038778)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.13269662857056 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 22:50:31.854262
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/22/50/image_08032025_22_50_45_9937.jpg', 2), ('/home/nano/Desktop/images/08032025/22/50/image_08032025_22_50_35_9926.jpg', 2), ('/home/nano/Desktop/images/08032025/22/50/image_08032025_22_50_25_9931.jpg', 2), ('/home/nano/Desktop/images/08032025/22/50/image_08032025_22_50_15_9928.jpg', 2), ('/home/nano/Desktop/images/08032025/22/49/image_08032025_22_50_06_9937.jpg', 2), ('/home/nano/Desktop/images/08032025/22/49/image_08032025_22_49_56_10937.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/22/50/image_08032025_22_50_45_9937.jpg', '/home/nano/Desktop/images/08032025/22/50/image_08032025_22_50_35_9926.jpg', '/home/nano/Desktop/images/08032025/22/50/image_08032025_22_50_25_9931.jpg', '/home/nano/Desktop/images/08032025/22/50/image_08032025_22_50_15_9928.jpg', '/home/nano/Desktop/images/08032025/22/49/image_08032025_22_50_06_9937.jpg', '/home/nano/Desktop/images/08032025/22/49/image_08032025_22_49_56_10937.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/22/50/image_08032025_22_50_45_9937.jpg
/home/nano/Desktop/images/08032025/22/50/image_08032025_22_50_35_9926.jpg
/home/nano/Desktop/images/08032025/22/50/image_08032025_22_50_25_9931.jpg
/home/nano/Desktop/images/08032025/22/50/image_08032025_22_50_15_9928.jpg
/home/nano/Desktop/images/08032025/22/49/image_08032025_22_50_06_9937.jpg
/home/nano/Desktop/images/08032025/22/49/image_08032025_22_49_56_10937.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1342038901","1342038858","1342038887","1342038848","1342038935","1342038905"],"photo_ids_order":["1342038848","1342038858","1342038887","1342038901","1342038905","1342038935"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/cbdc511b0ca5ca9baaff9ea87ba4f49b.jpg","text":"TemporaryFile(/tmp/multipartBody8738075756928850931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741470692271,"filename":"image_08032025_22_50_15_9928.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/473ddebe329605e5bed4b3e894c99776.jpg","text":"TemporaryFile(/tmp/multipartBody4769876986062393183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741470692271,"filename":"image_08032025_22_50_35_9926.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/3c9d6964ae0d0279e51fcff3996b0473.jpg","text":"TemporaryFile(/tmp/multipartBody6848768807263941460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741470692271,"filename":"image_08032025_22_50_25_9931.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/338ab52ad7be2f0c74f34441c0a4d6a4.jpg","text":"TemporaryFile(/tmp/multipartBody5443597085930543968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741470692271,"filename":"image_08032025_22_50_45_9937.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/658b7b772e9213fb7a5f9d731f208b76.jpg","text":"TemporaryFile(/tmp/multipartBody4376104491130520130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741470692271,"filename":"image_08032025_22_49_56_10937.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/3901003c8b76c7414c10e7d0059f6a80.jpg","text":"TemporaryFile(/tmp/multipartBody5955732868575940856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741470692271,"filename":"image_08032025_22_50_06_9937.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1342038887","file1":"1342038858","file0":"1342038848","file4":"1342038905","file5":"1342038935","file3":"1342038901"},"map_files_photo_id_array":[{"photo_id":"1342038935","filename":"file5"},{"photo_id":"1342038887","filename":"file2"},{"photo_id":"1342038905","filename":"file4"},{"photo_id":"1342038858","filename":"file1"},{"photo_id":"1342038848","filename":"file0"},{"photo_id":"1342038901","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1342038901":["hashtag1","hashtag2"]},{"1342038858":["hashtag1","hashtag2"]},{"1342038887":["hashtag1","hashtag2"]},{"1342038848":["hashtag1","hashtag2"]},{"1342038935":["hashtag1","hashtag2"]},{"1342038905":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1342038901, 1342038858, 1342038887, 1342038848, 1342038935, 1342038905)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.668625593185425 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 22:51:31.958073
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/22/51/image_08032025_22_51_45_9927.jpg', 2), ('/home/nano/Desktop/images/08032025/22/51/image_08032025_22_51_35_9924.jpg', 2), ('/home/nano/Desktop/images/08032025/22/51/image_08032025_22_51_25_9928.jpg', 2), ('/home/nano/Desktop/images/08032025/22/51/image_08032025_22_51_15_9930.jpg', 2), ('/home/nano/Desktop/images/08032025/22/50/image_08032025_22_51_05_9933.jpg', 2), ('/home/nano/Desktop/images/08032025/22/50/image_08032025_22_50_55_9947.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/22/51/image_08032025_22_51_45_9927.jpg', '/home/nano/Desktop/images/08032025/22/51/image_08032025_22_51_35_9924.jpg', '/home/nano/Desktop/images/08032025/22/51/image_08032025_22_51_25_9928.jpg', '/home/nano/Desktop/images/08032025/22/51/image_08032025_22_51_15_9930.jpg', '/home/nano/Desktop/images/08032025/22/50/image_08032025_22_51_05_9933.jpg', '/home/nano/Desktop/images/08032025/22/50/image_08032025_22_50_55_9947.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/22/51/image_08032025_22_51_45_9927.jpg
/home/nano/Desktop/images/08032025/22/51/image_08032025_22_51_35_9924.jpg
/home/nano/Desktop/images/08032025/22/51/image_08032025_22_51_25_9928.jpg
/home/nano/Desktop/images/08032025/22/51/image_08032025_22_51_15_9930.jpg
/home/nano/Desktop/images/08032025/22/50/image_08032025_22_51_05_9933.jpg
/home/nano/Desktop/images/08032025/22/50/image_08032025_22_50_55_9947.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1342039033","1342039036","1342039110","1342039262","1342039202","1342039030"],"photo_ids_order":["1342039030","1342039033","1342039036","1342039110","1342039202","1342039262"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/7a729d09ec49c3c785ae9c366419bbfe.jpg","text":"TemporaryFile(/tmp/multipartBody411579860752876363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741470752492,"filename":"image_08032025_22_51_35_9924.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/b6a7c9fff74e7ea7ac85d0b2f5bb95c2.jpg","text":"TemporaryFile(/tmp/multipartBody6223932479683422732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741470752492,"filename":"image_08032025_22_51_25_9928.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/7cb2ed8b4f135e6637a71715f897b793.jpg","text":"TemporaryFile(/tmp/multipartBody5979828921450360836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741470752492,"filename":"image_08032025_22_51_15_9930.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/6a2e737b32ac1f8ab1b74473078e0b26.jpg","text":"TemporaryFile(/tmp/multipartBody5732120169145500671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741470752492,"filename":"image_08032025_22_50_55_9947.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/ba9a1c7f13f47d3c93020f9d7480c363.jpg","text":"TemporaryFile(/tmp/multipartBody5390859031115420485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741470752492,"filename":"image_08032025_22_51_05_9933.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/1d32b397abd2589354fb398bbe17d4d7.jpg","text":"TemporaryFile(/tmp/multipartBody4678840504500570051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741470752492,"filename":"image_08032025_22_51_45_9927.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1342039036","file1":"1342039033","file0":"1342039030","file4":"1342039202","file5":"1342039262","file3":"1342039110"},"map_files_photo_id_array":[{"photo_id":"1342039262","filename":"file5"},{"photo_id":"1342039036","filename":"file2"},{"photo_id":"1342039202","filename":"file4"},{"photo_id":"1342039033","filename":"file1"},{"photo_id":"1342039030","filename":"file0"},{"photo_id":"1342039110","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1342039033":["hashtag1","hashtag2"]},{"1342039036":["hashtag1","hashtag2"]},{"1342039110":["hashtag1","hashtag2"]},{"1342039262":["hashtag1","hashtag2"]},{"1342039202":["hashtag1","hashtag2"]},{"1342039030":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1342039033, 1342039036, 1342039110, 1342039262, 1342039202, 1342039030)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.2079701423645 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 22:52:32.054465
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/22/52/image_08032025_22_52_45_9924.jpg', 2), ('/home/nano/Desktop/images/08032025/22/52/image_08032025_22_52_35_9923.jpg', 2), ('/home/nano/Desktop/images/08032025/22/52/image_08032025_22_52_26_10940.jpg', 2), ('/home/nano/Desktop/images/08032025/22/52/image_08032025_22_52_15_9931.jpg', 2), ('/home/nano/Desktop/images/08032025/22/51/image_08032025_22_52_05_9945.jpg', 2), ('/home/nano/Desktop/images/08032025/22/51/image_08032025_22_51_55_9925.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/22/52/image_08032025_22_52_45_9924.jpg', '/home/nano/Desktop/images/08032025/22/52/image_08032025_22_52_35_9923.jpg', '/home/nano/Desktop/images/08032025/22/52/image_08032025_22_52_26_10940.jpg', '/home/nano/Desktop/images/08032025/22/52/image_08032025_22_52_15_9931.jpg', '/home/nano/Desktop/images/08032025/22/51/image_08032025_22_52_05_9945.jpg', '/home/nano/Desktop/images/08032025/22/51/image_08032025_22_51_55_9925.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/22/52/image_08032025_22_52_45_9924.jpg
/home/nano/Desktop/images/08032025/22/52/image_08032025_22_52_35_9923.jpg
/home/nano/Desktop/images/08032025/22/52/image_08032025_22_52_26_10940.jpg
/home/nano/Desktop/images/08032025/22/52/image_08032025_22_52_15_9931.jpg
/home/nano/Desktop/images/08032025/22/51/image_08032025_22_52_05_9945.jpg
/home/nano/Desktop/images/08032025/22/51/image_08032025_22_51_55_9925.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1342039989","1342039974","1342039821","1342039993","1342039996","1342039942"],"photo_ids_order":["1342039821","1342039942","1342039974","1342039989","1342039993","1342039996"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/268ae50a100ff7c8abd7d716de00d69a.jpg","text":"TemporaryFile(/tmp/multipartBody793440943570573099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741470812586,"filename":"image_08032025_22_52_15_9931.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/1ffe017ca08a30161867d631c20c81bc.jpg","text":"TemporaryFile(/tmp/multipartBody7150239118346804959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741470812586,"filename":"image_08032025_22_52_26_10940.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/c137cc182f575708f55fae87f415ad1f.jpg","text":"TemporaryFile(/tmp/multipartBody6315015338841192529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741470812586,"filename":"image_08032025_22_52_45_9924.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/66da588541caf41506dfa9dde226581a.jpg","text":"TemporaryFile(/tmp/multipartBody8279505601218377567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741470812586,"filename":"image_08032025_22_52_05_9945.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/9b10abda58150da740908e3a64f6fa2a.jpg","text":"TemporaryFile(/tmp/multipartBody2449804700792180266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741470812586,"filename":"image_08032025_22_51_55_9925.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/ab88067402254882be93c9239c4cdae1.jpg","text":"TemporaryFile(/tmp/multipartBody396536720250812932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741470812586,"filename":"image_08032025_22_52_35_9923.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1342039974","file1":"1342039942","file0":"1342039821","file4":"1342039993","file5":"1342039996","file3":"1342039989"},"map_files_photo_id_array":[{"photo_id":"1342039996","filename":"file5"},{"photo_id":"1342039974","filename":"file2"},{"photo_id":"1342039993","filename":"file4"},{"photo_id":"1342039942","filename":"file1"},{"photo_id":"1342039821","filename":"file0"},{"photo_id":"1342039989","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1342039989":["hashtag1","hashtag2"]},{"1342039974":["hashtag1","hashtag2"]},{"1342039821":["hashtag1","hashtag2"]},{"1342039993":["hashtag1","hashtag2"]},{"1342039996":["hashtag1","hashtag2"]},{"1342039942":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1342039989, 1342039974, 1342039821, 1342039993, 1342039996, 1342039942)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.78936195373535 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 22:53:32.152331
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/22/53/image_08032025_22_53_45_9930.jpg', 2), ('/home/nano/Desktop/images/08032025/22/53/image_08032025_22_53_35_9930.jpg', 2), ('/home/nano/Desktop/images/08032025/22/53/image_08032025_22_53_25_9932.jpg', 2), ('/home/nano/Desktop/images/08032025/22/53/image_08032025_22_53_15_9926.jpg', 2), ('/home/nano/Desktop/images/08032025/22/52/image_08032025_22_53_05_9934.jpg', 2), ('/home/nano/Desktop/images/08032025/22/52/image_08032025_22_52_55_9924.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/22/53/image_08032025_22_53_45_9930.jpg', '/home/nano/Desktop/images/08032025/22/53/image_08032025_22_53_35_9930.jpg', '/home/nano/Desktop/images/08032025/22/53/image_08032025_22_53_25_9932.jpg', '/home/nano/Desktop/images/08032025/22/53/image_08032025_22_53_15_9926.jpg', '/home/nano/Desktop/images/08032025/22/52/image_08032025_22_53_05_9934.jpg', '/home/nano/Desktop/images/08032025/22/52/image_08032025_22_52_55_9924.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/22/53/image_08032025_22_53_45_9930.jpg
/home/nano/Desktop/images/08032025/22/53/image_08032025_22_53_35_9930.jpg
/home/nano/Desktop/images/08032025/22/53/image_08032025_22_53_25_9932.jpg
/home/nano/Desktop/images/08032025/22/53/image_08032025_22_53_15_9926.jpg
/home/nano/Desktop/images/08032025/22/52/image_08032025_22_53_05_9934.jpg
/home/nano/Desktop/images/08032025/22/52/image_08032025_22_52_55_9924.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1342040085","1342040082","1342040093","1342040096","1342040090","1342040087"],"photo_ids_order":["1342040082","1342040085","1342040087","1342040090","1342040093","1342040096"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/3fe90b8bf7efc6b9ce73e9bebf693bd4.jpg","text":"TemporaryFile(/tmp/multipartBody8439973912648349645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741470872723,"filename":"image_08032025_22_53_35_9930.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/53e087efa1854e5ed7425fd143b23bb7.jpg","text":"TemporaryFile(/tmp/multipartBody39749220900451803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741470872723,"filename":"image_08032025_22_53_45_9930.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/99bc128038d888b873fdba859ed607f4.jpg","text":"TemporaryFile(/tmp/multipartBody1875223247748719398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741470872723,"filename":"image_08032025_22_53_05_9934.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/11a73f60518d8f523bfd5855eca3aea1.jpg","text":"TemporaryFile(/tmp/multipartBody8548967976119130749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741470872723,"filename":"image_08032025_22_52_55_9924.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/8882775d4a8a0ce29347b38299cd7785.jpg","text":"TemporaryFile(/tmp/multipartBody1782058230858631099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741470872723,"filename":"image_08032025_22_53_15_9926.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/e3c02f410d827b147db7981245dd162b.jpg","text":"TemporaryFile(/tmp/multipartBody2022520329914964688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741470872723,"filename":"image_08032025_22_53_25_9932.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1342040087","file1":"1342040085","file0":"1342040082","file4":"1342040093","file5":"1342040096","file3":"1342040090"},"map_files_photo_id_array":[{"photo_id":"1342040096","filename":"file5"},{"photo_id":"1342040087","filename":"file2"},{"photo_id":"1342040093","filename":"file4"},{"photo_id":"1342040085","filename":"file1"},{"photo_id":"1342040082","filename":"file0"},{"photo_id":"1342040090","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1342040085":["hashtag1","hashtag2"]},{"1342040082":["hashtag1","hashtag2"]},{"1342040093":["hashtag1","hashtag2"]},{"1342040096":["hashtag1","hashtag2"]},{"1342040090":["hashtag1","hashtag2"]},{"1342040087":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1342040085, 1342040082, 1342040093, 1342040096, 1342040090, 1342040087)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.325505018234253 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 22:54:32.314868
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/22/54/image_08032025_22_54_45_9929.jpg', 2), ('/home/nano/Desktop/images/08032025/22/54/image_08032025_22_54_35_9931.jpg', 2), ('/home/nano/Desktop/images/08032025/22/54/image_08032025_22_54_25_9931.jpg', 2), ('/home/nano/Desktop/images/08032025/22/54/image_08032025_22_54_15_9927.jpg', 2), ('/home/nano/Desktop/images/08032025/22/53/image_08032025_22_54_05_9966.jpg', 2), ('/home/nano/Desktop/images/08032025/22/53/image_08032025_22_53_55_9927.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/22/54/image_08032025_22_54_45_9929.jpg', '/home/nano/Desktop/images/08032025/22/54/image_08032025_22_54_35_9931.jpg', '/home/nano/Desktop/images/08032025/22/54/image_08032025_22_54_25_9931.jpg', '/home/nano/Desktop/images/08032025/22/54/image_08032025_22_54_15_9927.jpg', '/home/nano/Desktop/images/08032025/22/53/image_08032025_22_54_05_9966.jpg', '/home/nano/Desktop/images/08032025/22/53/image_08032025_22_53_55_9927.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/22/54/image_08032025_22_54_45_9929.jpg
/home/nano/Desktop/images/08032025/22/54/image_08032025_22_54_35_9931.jpg
/home/nano/Desktop/images/08032025/22/54/image_08032025_22_54_25_9931.jpg
/home/nano/Desktop/images/08032025/22/54/image_08032025_22_54_15_9927.jpg
/home/nano/Desktop/images/08032025/22/53/image_08032025_22_54_05_9966.jpg
/home/nano/Desktop/images/08032025/22/53/image_08032025_22_53_55_9927.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1342040137","1342040106","1342040177","1342040168","1342040132","1342040135"],"photo_ids_order":["1342040106","1342040132","1342040135","1342040137","1342040168","1342040177"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/5acfaeea8c4b8f724fe551db65eed06c.jpg","text":"TemporaryFile(/tmp/multipartBody4047265789250974312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741470932837,"filename":"image_08032025_22_54_15_9927.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/ea5d883bfaf3e9aa6ded5e52d4f976c3.jpg","text":"TemporaryFile(/tmp/multipartBody1273636414594045136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741470932837,"filename":"image_08032025_22_54_45_9929.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/5003b01b4738489c4278a8d927077303.jpg","text":"TemporaryFile(/tmp/multipartBody3691205722572880660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741470932837,"filename":"image_08032025_22_53_55_9927.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/87a2570a2013dc898c62065b4c3845d0.jpg","text":"TemporaryFile(/tmp/multipartBody8880019612264588091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741470932837,"filename":"image_08032025_22_54_05_9966.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/768fe7fa23981f259aa4a7d0067bf971.jpg","text":"TemporaryFile(/tmp/multipartBody5798238294150763570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741470932837,"filename":"image_08032025_22_54_35_9931.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/cb6e45d092b355d857e1d0be3cf7025f.jpg","text":"TemporaryFile(/tmp/multipartBody1877374045061349595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741470932837,"filename":"image_08032025_22_54_25_9931.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1342040135","file1":"1342040132","file0":"1342040106","file4":"1342040168","file5":"1342040177","file3":"1342040137"},"map_files_photo_id_array":[{"photo_id":"1342040177","filename":"file5"},{"photo_id":"1342040135","filename":"file2"},{"photo_id":"1342040168","filename":"file4"},{"photo_id":"1342040132","filename":"file1"},{"photo_id":"1342040106","filename":"file0"},{"photo_id":"1342040137","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1342040137":["hashtag1","hashtag2"]},{"1342040106":["hashtag1","hashtag2"]},{"1342040177":["hashtag1","hashtag2"]},{"1342040168":["hashtag1","hashtag2"]},{"1342040132":["hashtag1","hashtag2"]},{"1342040135":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1342040137, 1342040106, 1342040177, 1342040168, 1342040132, 1342040135)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.80438470840454 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 22:55:32.417121
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/22/55/image_08032025_22_55_45_9929.jpg', 2), ('/home/nano/Desktop/images/08032025/22/55/image_08032025_22_55_35_9930.jpg', 2), ('/home/nano/Desktop/images/08032025/22/55/image_08032025_22_55_25_9928.jpg', 2), ('/home/nano/Desktop/images/08032025/22/55/image_08032025_22_55_15_9930.jpg', 2), ('/home/nano/Desktop/images/08032025/22/54/image_08032025_22_55_06_9950.jpg', 2), ('/home/nano/Desktop/images/08032025/22/54/image_08032025_22_54_56_10942.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/22/55/image_08032025_22_55_45_9929.jpg', '/home/nano/Desktop/images/08032025/22/55/image_08032025_22_55_35_9930.jpg', '/home/nano/Desktop/images/08032025/22/55/image_08032025_22_55_25_9928.jpg', '/home/nano/Desktop/images/08032025/22/55/image_08032025_22_55_15_9930.jpg', '/home/nano/Desktop/images/08032025/22/54/image_08032025_22_55_06_9950.jpg', '/home/nano/Desktop/images/08032025/22/54/image_08032025_22_54_56_10942.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/22/55/image_08032025_22_55_45_9929.jpg
/home/nano/Desktop/images/08032025/22/55/image_08032025_22_55_35_9930.jpg
/home/nano/Desktop/images/08032025/22/55/image_08032025_22_55_25_9928.jpg
/home/nano/Desktop/images/08032025/22/55/image_08032025_22_55_15_9930.jpg
/home/nano/Desktop/images/08032025/22/54/image_08032025_22_55_06_9950.jpg
/home/nano/Desktop/images/08032025/22/54/image_08032025_22_54_56_10942.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1342040659","1342040425","1342040506","1342040559","1342040480","1342040375"],"photo_ids_order":["1342040375","1342040425","1342040480","1342040506","1342040559","1342040659"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/85931f599e2fa06bdce950a738251f61.jpg","text":"TemporaryFile(/tmp/multipartBody8019030675258051422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741470992941,"filename":"image_08032025_22_54_56_10942.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/675fb85f13318a316b94691837a5a7dc.jpg","text":"TemporaryFile(/tmp/multipartBody5313048684646122033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741470992941,"filename":"image_08032025_22_55_35_9930.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/15acd79571e8d8f5ffadcd515b3a64b5.jpg","text":"TemporaryFile(/tmp/multipartBody2869325974131821881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741470992941,"filename":"image_08032025_22_55_15_9930.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/4e391ca7ecb72f3812c4a7bf67349a7f.jpg","text":"TemporaryFile(/tmp/multipartBody377792109103656905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741470992941,"filename":"image_08032025_22_55_06_9950.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/68aa3ce6ec08d0b4c79efdc7348914be.jpg","text":"TemporaryFile(/tmp/multipartBody2631213291934347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741470992941,"filename":"image_08032025_22_55_25_9928.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/5195ddb18a593298dc7a28ebc62daae5.jpg","text":"TemporaryFile(/tmp/multipartBody8760707685482444178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741470992941,"filename":"image_08032025_22_55_45_9929.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1342040480","file1":"1342040425","file0":"1342040375","file4":"1342040559","file5":"1342040659","file3":"1342040506"},"map_files_photo_id_array":[{"photo_id":"1342040659","filename":"file5"},{"photo_id":"1342040480","filename":"file2"},{"photo_id":"1342040559","filename":"file4"},{"photo_id":"1342040425","filename":"file1"},{"photo_id":"1342040375","filename":"file0"},{"photo_id":"1342040506","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1342040659":["hashtag1","hashtag2"]},{"1342040425":["hashtag1","hashtag2"]},{"1342040506":["hashtag1","hashtag2"]},{"1342040559":["hashtag1","hashtag2"]},{"1342040480":["hashtag1","hashtag2"]},{"1342040375":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1342040659, 1342040425, 1342040506, 1342040559, 1342040480, 1342040375)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.03722643852234 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 22:56:32.505125
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/22/56/image_08032025_22_56_45_9936.jpg', 2), ('/home/nano/Desktop/images/08032025/22/56/image_08032025_22_56_35_9931.jpg', 2), ('/home/nano/Desktop/images/08032025/22/56/image_08032025_22_56_25_9952.jpg', 2), ('/home/nano/Desktop/images/08032025/22/56/image_08032025_22_56_15_9948.jpg', 2), ('/home/nano/Desktop/images/08032025/22/55/image_08032025_22_56_05_9939.jpg', 2), ('/home/nano/Desktop/images/08032025/22/55/image_08032025_22_55_55_9931.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/22/56/image_08032025_22_56_45_9936.jpg', '/home/nano/Desktop/images/08032025/22/56/image_08032025_22_56_35_9931.jpg', '/home/nano/Desktop/images/08032025/22/56/image_08032025_22_56_25_9952.jpg', '/home/nano/Desktop/images/08032025/22/56/image_08032025_22_56_15_9948.jpg', '/home/nano/Desktop/images/08032025/22/55/image_08032025_22_56_05_9939.jpg', '/home/nano/Desktop/images/08032025/22/55/image_08032025_22_55_55_9931.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/22/56/image_08032025_22_56_45_9936.jpg
/home/nano/Desktop/images/08032025/22/56/image_08032025_22_56_35_9931.jpg
/home/nano/Desktop/images/08032025/22/56/image_08032025_22_56_25_9952.jpg
/home/nano/Desktop/images/08032025/22/56/image_08032025_22_56_15_9948.jpg
/home/nano/Desktop/images/08032025/22/55/image_08032025_22_56_05_9939.jpg
/home/nano/Desktop/images/08032025/22/55/image_08032025_22_55_55_9931.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1342041004","1342041024","1342040961","1342041074","1342040984","1342041049"],"photo_ids_order":["1342040961","1342040984","1342041004","1342041024","1342041049","1342041074"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/ee6321c89c905898eef4db7d43193303.jpg","text":"TemporaryFile(/tmp/multipartBody107023144069892098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741471053016,"filename":"image_08032025_22_56_25_9952.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/99838991d4fd8794ca4a6238adfc2e7f.jpg","text":"TemporaryFile(/tmp/multipartBody1867937827147513049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741471053016,"filename":"image_08032025_22_56_15_9948.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/2125453f0f5f3291434441c38fda9b83.jpg","text":"TemporaryFile(/tmp/multipartBody670683260302405149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741471053016,"filename":"image_08032025_22_56_45_9936.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/d86ff9dff4d18d36c5b0c7021b829eed.jpg","text":"TemporaryFile(/tmp/multipartBody3952150668700217014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741471053016,"filename":"image_08032025_22_55_55_9931.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/50ee6ca378e2b0d1f567bc1deddd8ef3.jpg","text":"TemporaryFile(/tmp/multipartBody9201566534136029105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741471053016,"filename":"image_08032025_22_56_35_9931.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/0fc3413a8f883303c98ad099e455f461.jpg","text":"TemporaryFile(/tmp/multipartBody8491602576224615247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741471053016,"filename":"image_08032025_22_56_05_9939.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1342041004","file1":"1342040984","file0":"1342040961","file4":"1342041049","file5":"1342041074","file3":"1342041024"},"map_files_photo_id_array":[{"photo_id":"1342041074","filename":"file5"},{"photo_id":"1342041004","filename":"file2"},{"photo_id":"1342041049","filename":"file4"},{"photo_id":"1342040984","filename":"file1"},{"photo_id":"1342040961","filename":"file0"},{"photo_id":"1342041024","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1342041004":["hashtag1","hashtag2"]},{"1342041024":["hashtag1","hashtag2"]},{"1342040961":["hashtag1","hashtag2"]},{"1342041074":["hashtag1","hashtag2"]},{"1342040984":["hashtag1","hashtag2"]},{"1342041049":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1342041004, 1342041024, 1342040961, 1342041074, 1342040984, 1342041049)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.472328901290894 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 22:57:32.604337
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/22/57/image_08032025_22_57_45_9940.jpg', 2), ('/home/nano/Desktop/images/08032025/22/57/image_08032025_22_57_36_10939.jpg', 2), ('/home/nano/Desktop/images/08032025/22/57/image_08032025_22_57_25_9925.jpg', 2), ('/home/nano/Desktop/images/08032025/22/57/image_08032025_22_57_15_9928.jpg', 2), ('/home/nano/Desktop/images/08032025/22/56/image_08032025_22_57_05_9942.jpg', 2), ('/home/nano/Desktop/images/08032025/22/56/image_08032025_22_56_55_9934.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/22/57/image_08032025_22_57_45_9940.jpg', '/home/nano/Desktop/images/08032025/22/57/image_08032025_22_57_36_10939.jpg', '/home/nano/Desktop/images/08032025/22/57/image_08032025_22_57_25_9925.jpg', '/home/nano/Desktop/images/08032025/22/57/image_08032025_22_57_15_9928.jpg', '/home/nano/Desktop/images/08032025/22/56/image_08032025_22_57_05_9942.jpg', '/home/nano/Desktop/images/08032025/22/56/image_08032025_22_56_55_9934.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/22/57/image_08032025_22_57_45_9940.jpg
/home/nano/Desktop/images/08032025/22/57/image_08032025_22_57_36_10939.jpg
/home/nano/Desktop/images/08032025/22/57/image_08032025_22_57_25_9925.jpg
/home/nano/Desktop/images/08032025/22/57/image_08032025_22_57_15_9928.jpg
/home/nano/Desktop/images/08032025/22/56/image_08032025_22_57_05_9942.jpg
/home/nano/Desktop/images/08032025/22/56/image_08032025_22_56_55_9934.jpg
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 22:59:03.390624
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/22/58/image_08032025_22_58_45_9943.jpg', 2), ('/home/nano/Desktop/images/08032025/22/58/image_08032025_22_58_35_9924.jpg', 2), ('/home/nano/Desktop/images/08032025/22/58/image_08032025_22_58_25_9930.jpg', 2), ('/home/nano/Desktop/images/08032025/22/58/image_08032025_22_58_15_9929.jpg', 2), ('/home/nano/Desktop/images/08032025/22/57/image_08032025_22_58_05_9943.jpg', 2), ('/home/nano/Desktop/images/08032025/22/57/image_08032025_22_57_55_9928.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/22/58/image_08032025_22_58_45_9943.jpg', '/home/nano/Desktop/images/08032025/22/58/image_08032025_22_58_35_9924.jpg', '/home/nano/Desktop/images/08032025/22/58/image_08032025_22_58_25_9930.jpg', '/home/nano/Desktop/images/08032025/22/58/image_08032025_22_58_15_9929.jpg', '/home/nano/Desktop/images/08032025/22/57/image_08032025_22_58_05_9943.jpg', '/home/nano/Desktop/images/08032025/22/57/image_08032025_22_57_55_9928.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/22/58/image_08032025_22_58_45_9943.jpg
/home/nano/Desktop/images/08032025/22/58/image_08032025_22_58_35_9924.jpg
/home/nano/Desktop/images/08032025/22/58/image_08032025_22_58_25_9930.jpg
/home/nano/Desktop/images/08032025/22/58/image_08032025_22_58_15_9929.jpg
/home/nano/Desktop/images/08032025/22/57/image_08032025_22_58_05_9943.jpg
/home/nano/Desktop/images/08032025/22/57/image_08032025_22_57_55_9928.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1342042052","1342041971","1342041893","1342041944","1342041917","1342041994"],"photo_ids_order":["1342041893","1342041917","1342041944","1342041971","1342041994","1342042052"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/0078445a137393e84dace3630beeb824.jpg","text":"TemporaryFile(/tmp/multipartBody3223880308588795725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741471203840,"filename":"image_08032025_22_57_55_9928.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/fd012013663425ead913782148c83a99.jpg","text":"TemporaryFile(/tmp/multipartBody298540424265060238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741471203840,"filename":"image_08032025_22_58_15_9929.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/4e0362be8bf644f57ae21d492d461b96.jpg","text":"TemporaryFile(/tmp/multipartBody7131765208409452199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741471203840,"filename":"image_08032025_22_58_45_9943.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/22b2b92330e6eee136e3277f3472de55.jpg","text":"TemporaryFile(/tmp/multipartBody3802798380926873961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741471203840,"filename":"image_08032025_22_58_25_9930.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/bbd1f1c256a1ba7c2892d766dad3ea3c.jpg","text":"TemporaryFile(/tmp/multipartBody8891069080642539607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741471203840,"filename":"image_08032025_22_58_35_9924.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/c0ccacafae9f15a345e94ef6a76254b5.jpg","text":"TemporaryFile(/tmp/multipartBody3426713720973365037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741471203840,"filename":"image_08032025_22_58_05_9943.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1342041944","file1":"1342041917","file0":"1342041893","file4":"1342041994","file5":"1342042052","file3":"1342041971"},"map_files_photo_id_array":[{"photo_id":"1342042052","filename":"file5"},{"photo_id":"1342041944","filename":"file2"},{"photo_id":"1342041994","filename":"file4"},{"photo_id":"1342041917","filename":"file1"},{"photo_id":"1342041893","filename":"file0"},{"photo_id":"1342041971","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1342042052":["hashtag1","hashtag2"]},{"1342041971":["hashtag1","hashtag2"]},{"1342041893":["hashtag1","hashtag2"]},{"1342041944":["hashtag1","hashtag2"]},{"1342041917":["hashtag1","hashtag2"]},{"1342041994":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1342042052, 1342041971, 1342041893, 1342041944, 1342041917, 1342041994)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.3166401386261 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 23:00:02.309416
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/22/59/image_08032025_22_59_45_9932.jpg', 2), ('/home/nano/Desktop/images/08032025/22/59/image_08032025_22_59_35_9922.jpg', 2), ('/home/nano/Desktop/images/08032025/22/59/image_08032025_22_59_25_9945.jpg', 2), ('/home/nano/Desktop/images/08032025/22/59/image_08032025_22_59_15_9958.jpg', 2), ('/home/nano/Desktop/images/08032025/22/58/image_08032025_22_59_05_9973.jpg', 2), ('/home/nano/Desktop/images/08032025/22/58/image_08032025_22_58_55_9953.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/22/59/image_08032025_22_59_45_9932.jpg', '/home/nano/Desktop/images/08032025/22/59/image_08032025_22_59_35_9922.jpg', '/home/nano/Desktop/images/08032025/22/59/image_08032025_22_59_25_9945.jpg', '/home/nano/Desktop/images/08032025/22/59/image_08032025_22_59_15_9958.jpg', '/home/nano/Desktop/images/08032025/22/58/image_08032025_22_59_05_9973.jpg', '/home/nano/Desktop/images/08032025/22/58/image_08032025_22_58_55_9953.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/22/59/image_08032025_22_59_45_9932.jpg
/home/nano/Desktop/images/08032025/22/59/image_08032025_22_59_35_9922.jpg
/home/nano/Desktop/images/08032025/22/59/image_08032025_22_59_25_9945.jpg
/home/nano/Desktop/images/08032025/22/59/image_08032025_22_59_15_9958.jpg
/home/nano/Desktop/images/08032025/22/58/image_08032025_22_59_05_9973.jpg
/home/nano/Desktop/images/08032025/22/58/image_08032025_22_58_55_9953.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1342042287","1342042254","1342042248","1342042257","1342042274","1342042282"],"photo_ids_order":["1342042248","1342042254","1342042257","1342042274","1342042282","1342042287"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/f11a02958e0a6eaf77adb7d26db3cc2e.jpg","text":"TemporaryFile(/tmp/multipartBody4678016977789083244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741471262758,"filename":"image_08032025_22_58_55_9953.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/a27522283340454fd3fc32cd7ed193fa.jpg","text":"TemporaryFile(/tmp/multipartBody3632498634128863771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741471262758,"filename":"image_08032025_22_59_35_9922.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/ae266b086c6a70a32191186d0777a90e.jpg","text":"TemporaryFile(/tmp/multipartBody1362527261414248120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741471262758,"filename":"image_08032025_22_59_45_9932.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/c0a2f06d8e5b229f9922107f874f2392.jpg","text":"TemporaryFile(/tmp/multipartBody6608423895779177269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741471262758,"filename":"image_08032025_22_59_25_9945.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/3f278bd938f70c6d888d3b56870fc962.jpg","text":"TemporaryFile(/tmp/multipartBody9094769640914747278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741471262758,"filename":"image_08032025_22_59_15_9958.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/a10428f2b44915fa93f1a6f2aa856034.jpg","text":"TemporaryFile(/tmp/multipartBody1489630505913464478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741471262758,"filename":"image_08032025_22_59_05_9973.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1342042257","file1":"1342042254","file0":"1342042248","file4":"1342042282","file5":"1342042287","file3":"1342042274"},"map_files_photo_id_array":[{"photo_id":"1342042287","filename":"file5"},{"photo_id":"1342042257","filename":"file2"},{"photo_id":"1342042282","filename":"file4"},{"photo_id":"1342042254","filename":"file1"},{"photo_id":"1342042248","filename":"file0"},{"photo_id":"1342042274","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1342042287":["hashtag1","hashtag2"]},{"1342042254":["hashtag1","hashtag2"]},{"1342042248":["hashtag1","hashtag2"]},{"1342042257":["hashtag1","hashtag2"]},{"1342042274":["hashtag1","hashtag2"]},{"1342042282":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1342042287, 1342042254, 1342042248, 1342042257, 1342042274, 1342042282)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.306095123291016 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 23:01:02.437261
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/23/00/image_08032025_23_00_45_9929.jpg', 2), ('/home/nano/Desktop/images/08032025/23/00/image_08032025_23_00_35_9928.jpg', 2), ('/home/nano/Desktop/images/08032025/23/00/image_08032025_23_00_26_10943.jpg', 2), ('/home/nano/Desktop/images/08032025/23/00/image_08032025_23_00_15_9964.jpg', 2), ('/home/nano/Desktop/images/08032025/22/59/image_08032025_23_00_05_9944.jpg', 2), ('/home/nano/Desktop/images/08032025/22/59/image_08032025_22_59_55_9927.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/23/00/image_08032025_23_00_45_9929.jpg', '/home/nano/Desktop/images/08032025/23/00/image_08032025_23_00_35_9928.jpg', '/home/nano/Desktop/images/08032025/23/00/image_08032025_23_00_26_10943.jpg', '/home/nano/Desktop/images/08032025/23/00/image_08032025_23_00_15_9964.jpg', '/home/nano/Desktop/images/08032025/22/59/image_08032025_23_00_05_9944.jpg', '/home/nano/Desktop/images/08032025/22/59/image_08032025_22_59_55_9927.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/23/00/image_08032025_23_00_45_9929.jpg
/home/nano/Desktop/images/08032025/23/00/image_08032025_23_00_35_9928.jpg
/home/nano/Desktop/images/08032025/23/00/image_08032025_23_00_26_10943.jpg
/home/nano/Desktop/images/08032025/23/00/image_08032025_23_00_15_9964.jpg
/home/nano/Desktop/images/08032025/22/59/image_08032025_23_00_05_9944.jpg
/home/nano/Desktop/images/08032025/22/59/image_08032025_22_59_55_9927.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1342042379","1342042343","1342042384","1342042381","1342042363","1342042351"],"photo_ids_order":["1342042343","1342042351","1342042363","1342042379","1342042381","1342042384"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/2583b6bdae9e1a1cded0cf2d9156a80e.jpg","text":"TemporaryFile(/tmp/multipartBody2009033824361930235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741471322877,"filename":"image_08032025_23_00_15_9964.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/8506727467d8995bab237e0138997b7c.jpg","text":"TemporaryFile(/tmp/multipartBody7663784517592436588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741471322877,"filename":"image_08032025_23_00_45_9929.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/9d7ef4cca12e7576e980fbcfc589f009.jpg","text":"TemporaryFile(/tmp/multipartBody427414261202793106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741471322877,"filename":"image_08032025_22_59_55_9927.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/1a9007464e839e3d8a97a75dea5f9f91.jpg","text":"TemporaryFile(/tmp/multipartBody5914007407576645648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741471322877,"filename":"image_08032025_23_00_05_9944.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/e470838b2a8622e95c59bb7124fb4583.jpg","text":"TemporaryFile(/tmp/multipartBody6907953025176821528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741471322877,"filename":"image_08032025_23_00_26_10943.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/e3737f317b03a1145ed2a9ad089965ff.jpg","text":"TemporaryFile(/tmp/multipartBody7994090798914952010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741471322877,"filename":"image_08032025_23_00_35_9928.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1342042363","file1":"1342042351","file0":"1342042343","file4":"1342042381","file5":"1342042384","file3":"1342042379"},"map_files_photo_id_array":[{"photo_id":"1342042384","filename":"file5"},{"photo_id":"1342042363","filename":"file2"},{"photo_id":"1342042381","filename":"file4"},{"photo_id":"1342042351","filename":"file1"},{"photo_id":"1342042343","filename":"file0"},{"photo_id":"1342042379","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1342042379":["hashtag1","hashtag2"]},{"1342042343":["hashtag1","hashtag2"]},{"1342042384":["hashtag1","hashtag2"]},{"1342042381":["hashtag1","hashtag2"]},{"1342042363":["hashtag1","hashtag2"]},{"1342042351":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1342042379, 1342042343, 1342042384, 1342042381, 1342042363, 1342042351)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.12860727310181 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 23:02:02.412394
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/23/01/image_08032025_23_01_45_9948.jpg', 2), ('/home/nano/Desktop/images/08032025/23/01/image_08032025_23_01_35_9930.jpg', 2), ('/home/nano/Desktop/images/08032025/23/01/image_08032025_23_01_25_9936.jpg', 2), ('/home/nano/Desktop/images/08032025/23/01/image_08032025_23_01_15_9929.jpg', 2), ('/home/nano/Desktop/images/08032025/23/00/image_08032025_23_01_05_9938.jpg', 2), ('/home/nano/Desktop/images/08032025/23/00/image_08032025_23_00_55_9957.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/23/01/image_08032025_23_01_45_9948.jpg', '/home/nano/Desktop/images/08032025/23/01/image_08032025_23_01_35_9930.jpg', '/home/nano/Desktop/images/08032025/23/01/image_08032025_23_01_25_9936.jpg', '/home/nano/Desktop/images/08032025/23/01/image_08032025_23_01_15_9929.jpg', '/home/nano/Desktop/images/08032025/23/00/image_08032025_23_01_05_9938.jpg', '/home/nano/Desktop/images/08032025/23/00/image_08032025_23_00_55_9957.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/23/01/image_08032025_23_01_45_9948.jpg
/home/nano/Desktop/images/08032025/23/01/image_08032025_23_01_35_9930.jpg
/home/nano/Desktop/images/08032025/23/01/image_08032025_23_01_25_9936.jpg
/home/nano/Desktop/images/08032025/23/01/image_08032025_23_01_15_9929.jpg
/home/nano/Desktop/images/08032025/23/00/image_08032025_23_01_05_9938.jpg
/home/nano/Desktop/images/08032025/23/00/image_08032025_23_00_55_9957.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1342043136","1342042860","1342042740","1342042491","1342042637","1342043017"],"photo_ids_order":["1342042491","1342042637","1342042740","1342042860","1342043017","1342043136"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/8ab9f810d69e5830a1a6f3827236ba27.jpg","text":"TemporaryFile(/tmp/multipartBody4278401469582709100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741471382849,"filename":"image_08032025_23_00_55_9957.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/0296e8892b3120b0472bb488f8526439.jpg","text":"TemporaryFile(/tmp/multipartBody1927228692232775430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741471382849,"filename":"image_08032025_23_01_15_9929.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/c1692fee18768ce166a112b9211b4108.jpg","text":"TemporaryFile(/tmp/multipartBody6501127591149755543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741471382849,"filename":"image_08032025_23_01_25_9936.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/d0bb8a3ba4fbef3bd863c46cb2c17bbb.jpg","text":"TemporaryFile(/tmp/multipartBody2854855299233501679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741471382849,"filename":"image_08032025_23_01_45_9948.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/83458cda1a418c2b239ecad9ce6df4e5.jpg","text":"TemporaryFile(/tmp/multipartBody1209433254595599842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741471382849,"filename":"image_08032025_23_01_35_9930.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/949c9dbaea98654d3a1a31c7620b0940.jpg","text":"TemporaryFile(/tmp/multipartBody2644417227679412218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741471382849,"filename":"image_08032025_23_01_05_9938.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1342042740","file1":"1342042637","file0":"1342042491","file4":"1342043017","file5":"1342043136","file3":"1342042860"},"map_files_photo_id_array":[{"photo_id":"1342043136","filename":"file5"},{"photo_id":"1342042740","filename":"file2"},{"photo_id":"1342043017","filename":"file4"},{"photo_id":"1342042637","filename":"file1"},{"photo_id":"1342042491","filename":"file0"},{"photo_id":"1342042860","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1342043136":["hashtag1","hashtag2"]},{"1342042860":["hashtag1","hashtag2"]},{"1342042740":["hashtag1","hashtag2"]},{"1342042491":["hashtag1","hashtag2"]},{"1342042637":["hashtag1","hashtag2"]},{"1342043017":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1342043136, 1342042860, 1342042740, 1342042491, 1342042637, 1342043017)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.66798782348633 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 23:03:02.524417
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/23/02/image_08032025_23_02_45_9930.jpg', 2), ('/home/nano/Desktop/images/08032025/23/02/image_08032025_23_02_35_9930.jpg', 2), ('/home/nano/Desktop/images/08032025/23/02/image_08032025_23_02_25_9926.jpg', 2), ('/home/nano/Desktop/images/08032025/23/02/image_08032025_23_02_15_9929.jpg', 2), ('/home/nano/Desktop/images/08032025/23/01/image_08032025_23_02_05_9931.jpg', 2), ('/home/nano/Desktop/images/08032025/23/01/image_08032025_23_01_55_9933.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/23/02/image_08032025_23_02_45_9930.jpg', '/home/nano/Desktop/images/08032025/23/02/image_08032025_23_02_35_9930.jpg', '/home/nano/Desktop/images/08032025/23/02/image_08032025_23_02_25_9926.jpg', '/home/nano/Desktop/images/08032025/23/02/image_08032025_23_02_15_9929.jpg', '/home/nano/Desktop/images/08032025/23/01/image_08032025_23_02_05_9931.jpg', '/home/nano/Desktop/images/08032025/23/01/image_08032025_23_01_55_9933.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/23/02/image_08032025_23_02_45_9930.jpg
/home/nano/Desktop/images/08032025/23/02/image_08032025_23_02_35_9930.jpg
/home/nano/Desktop/images/08032025/23/02/image_08032025_23_02_25_9926.jpg
/home/nano/Desktop/images/08032025/23/02/image_08032025_23_02_15_9929.jpg
/home/nano/Desktop/images/08032025/23/01/image_08032025_23_02_05_9931.jpg
/home/nano/Desktop/images/08032025/23/01/image_08032025_23_01_55_9933.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1342043511","1342043564","1342043567","1342043507","1342043509","1342043481"],"photo_ids_order":["1342043481","1342043507","1342043509","1342043511","1342043564","1342043567"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/84dfa6744f8d59afc16ac3e9a3fedfdb.jpg","text":"TemporaryFile(/tmp/multipartBody4458684250563019432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741471442966,"filename":"image_08032025_23_02_15_9929.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/d4b20fce58d4d4a2eb9a125666bb9050.jpg","text":"TemporaryFile(/tmp/multipartBody5385302256284038653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741471442966,"filename":"image_08032025_23_02_05_9931.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/b400b3f8fb88ef6e6ec96fd4bc9e571d.jpg","text":"TemporaryFile(/tmp/multipartBody6098277157523260703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741471442966,"filename":"image_08032025_23_01_55_9933.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/c89336366b77da8b88d27a3bf4fa4bcc.jpg","text":"TemporaryFile(/tmp/multipartBody3159887193284980579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741471442966,"filename":"image_08032025_23_02_35_9930.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/49964914faad19bb1f10a6f5af7873b6.jpg","text":"TemporaryFile(/tmp/multipartBody189843490193873134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741471442966,"filename":"image_08032025_23_02_25_9926.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/1ad152d696686dbaf29f1691a79e9e2f.jpg","text":"TemporaryFile(/tmp/multipartBody5900191132121156606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741471442966,"filename":"image_08032025_23_02_45_9930.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1342043509","file1":"1342043507","file0":"1342043481","file4":"1342043564","file5":"1342043567","file3":"1342043511"},"map_files_photo_id_array":[{"photo_id":"1342043567","filename":"file5"},{"photo_id":"1342043509","filename":"file2"},{"photo_id":"1342043564","filename":"file4"},{"photo_id":"1342043507","filename":"file1"},{"photo_id":"1342043481","filename":"file0"},{"photo_id":"1342043511","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1342043511":["hashtag1","hashtag2"]},{"1342043564":["hashtag1","hashtag2"]},{"1342043567":["hashtag1","hashtag2"]},{"1342043507":["hashtag1","hashtag2"]},{"1342043509":["hashtag1","hashtag2"]},{"1342043481":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1342043511, 1342043564, 1342043567, 1342043507, 1342043509, 1342043481)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.7051157951355 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 23:04:02.787482
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/23/03/image_08032025_23_03_45_9928.jpg', 2), ('/home/nano/Desktop/images/08032025/23/03/image_08032025_23_03_35_9924.jpg', 2), ('/home/nano/Desktop/images/08032025/23/03/image_08032025_23_03_25_9929.jpg', 2), ('/home/nano/Desktop/images/08032025/23/03/image_08032025_23_03_15_9922.jpg', 2), ('/home/nano/Desktop/images/08032025/23/02/image_08032025_23_03_06_9937.jpg', 2), ('/home/nano/Desktop/images/08032025/23/02/image_08032025_23_02_56_10939.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/23/03/image_08032025_23_03_45_9928.jpg', '/home/nano/Desktop/images/08032025/23/03/image_08032025_23_03_35_9924.jpg', '/home/nano/Desktop/images/08032025/23/03/image_08032025_23_03_25_9929.jpg', '/home/nano/Desktop/images/08032025/23/03/image_08032025_23_03_15_9922.jpg', '/home/nano/Desktop/images/08032025/23/02/image_08032025_23_03_06_9937.jpg', '/home/nano/Desktop/images/08032025/23/02/image_08032025_23_02_56_10939.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/23/03/image_08032025_23_03_45_9928.jpg
/home/nano/Desktop/images/08032025/23/03/image_08032025_23_03_35_9924.jpg
/home/nano/Desktop/images/08032025/23/03/image_08032025_23_03_25_9929.jpg
/home/nano/Desktop/images/08032025/23/03/image_08032025_23_03_15_9922.jpg
/home/nano/Desktop/images/08032025/23/02/image_08032025_23_03_06_9937.jpg
/home/nano/Desktop/images/08032025/23/02/image_08032025_23_02_56_10939.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1342043625","1342043627","1342043618","1342043620","1342043614","1342043616"],"photo_ids_order":["1342043614","1342043616","1342043618","1342043620","1342043625","1342043627"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/eae1861b94da96ebc8a7ccb86eb15b02.jpg","text":"TemporaryFile(/tmp/multipartBody6360213394925763569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741471503260,"filename":"image_08032025_23_03_06_9937.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/082a1499610158b76ecd02206ae67b1f.jpg","text":"TemporaryFile(/tmp/multipartBody7108460546296297435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741471503260,"filename":"image_08032025_23_02_56_10939.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/45afc9b7564e807dcc59a49308a2265c.jpg","text":"TemporaryFile(/tmp/multipartBody7716831429483431386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741471503260,"filename":"image_08032025_23_03_25_9929.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/5c1066d95d71ce1431f7acdf0de3259d.jpg","text":"TemporaryFile(/tmp/multipartBody7505998502973278267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741471503260,"filename":"image_08032025_23_03_15_9922.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/448006f98750a9f264cc7942b188606a.jpg","text":"TemporaryFile(/tmp/multipartBody5128819894132971396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741471503260,"filename":"image_08032025_23_03_45_9928.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/20db8625e3ca1793fa7d11659b760338.jpg","text":"TemporaryFile(/tmp/multipartBody5042303516778029350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741471503260,"filename":"image_08032025_23_03_35_9924.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1342043618","file1":"1342043616","file0":"1342043614","file4":"1342043625","file5":"1342043627","file3":"1342043620"},"map_files_photo_id_array":[{"photo_id":"1342043627","filename":"file5"},{"photo_id":"1342043618","filename":"file2"},{"photo_id":"1342043625","filename":"file4"},{"photo_id":"1342043616","filename":"file1"},{"photo_id":"1342043614","filename":"file0"},{"photo_id":"1342043620","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1342043625":["hashtag1","hashtag2"]},{"1342043627":["hashtag1","hashtag2"]},{"1342043618":["hashtag1","hashtag2"]},{"1342043620":["hashtag1","hashtag2"]},{"1342043614":["hashtag1","hashtag2"]},{"1342043616":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1342043625, 1342043627, 1342043618, 1342043620, 1342043614, 1342043616)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.31551957130432 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 23:05:02.914940
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/23/04/image_08032025_23_04_45_9935.jpg', 2), ('/home/nano/Desktop/images/08032025/23/04/image_08032025_23_04_35_9927.jpg', 2), ('/home/nano/Desktop/images/08032025/23/04/image_08032025_23_04_25_9952.jpg', 2), ('/home/nano/Desktop/images/08032025/23/04/image_08032025_23_04_15_9927.jpg', 2), ('/home/nano/Desktop/images/08032025/23/03/image_08032025_23_04_05_9929.jpg', 2), ('/home/nano/Desktop/images/08032025/23/03/image_08032025_23_03_55_9931.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/23/04/image_08032025_23_04_45_9935.jpg', '/home/nano/Desktop/images/08032025/23/04/image_08032025_23_04_35_9927.jpg', '/home/nano/Desktop/images/08032025/23/04/image_08032025_23_04_25_9952.jpg', '/home/nano/Desktop/images/08032025/23/04/image_08032025_23_04_15_9927.jpg', '/home/nano/Desktop/images/08032025/23/03/image_08032025_23_04_05_9929.jpg', '/home/nano/Desktop/images/08032025/23/03/image_08032025_23_03_55_9931.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/23/04/image_08032025_23_04_45_9935.jpg
/home/nano/Desktop/images/08032025/23/04/image_08032025_23_04_35_9927.jpg
/home/nano/Desktop/images/08032025/23/04/image_08032025_23_04_25_9952.jpg
/home/nano/Desktop/images/08032025/23/04/image_08032025_23_04_15_9927.jpg
/home/nano/Desktop/images/08032025/23/03/image_08032025_23_04_05_9929.jpg
/home/nano/Desktop/images/08032025/23/03/image_08032025_23_03_55_9931.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1342043718","1342043687","1342043726","1342043683","1342043728","1342043685"],"photo_ids_order":["1342043683","1342043685","1342043687","1342043718","1342043726","1342043728"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/1a5b752baedde50ba49348bd1385e0c5.jpg","text":"TemporaryFile(/tmp/multipartBody869135352158080585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741471563336,"filename":"image_08032025_23_04_15_9927.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/a2088c57974cef656a48538d350d2c69.jpg","text":"TemporaryFile(/tmp/multipartBody6051623258795653169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741471563336,"filename":"image_08032025_23_04_25_9952.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/e0cfbcfc8051f6b0ebb849eab5e14b29.jpg","text":"TemporaryFile(/tmp/multipartBody3111228704223415179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741471563336,"filename":"image_08032025_23_04_05_9929.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/42f36c6baf1cf6d6a5590b24465cc45b.jpg","text":"TemporaryFile(/tmp/multipartBody1770720404726304466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741471563336,"filename":"image_08032025_23_04_45_9935.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/b4f742d22aa5f09ef80a4acce8a5bc36.jpg","text":"TemporaryFile(/tmp/multipartBody1864348840924200804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741471563336,"filename":"image_08032025_23_03_55_9931.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/2060f38a67688c037bac3fad9104fcb8.jpg","text":"TemporaryFile(/tmp/multipartBody8518053747838504670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741471563336,"filename":"image_08032025_23_04_35_9927.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1342043687","file1":"1342043685","file0":"1342043683","file4":"1342043726","file5":"1342043728","file3":"1342043718"},"map_files_photo_id_array":[{"photo_id":"1342043728","filename":"file5"},{"photo_id":"1342043687","filename":"file2"},{"photo_id":"1342043726","filename":"file4"},{"photo_id":"1342043685","filename":"file1"},{"photo_id":"1342043683","filename":"file0"},{"photo_id":"1342043718","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1342043718":["hashtag1","hashtag2"]},{"1342043687":["hashtag1","hashtag2"]},{"1342043726":["hashtag1","hashtag2"]},{"1342043683":["hashtag1","hashtag2"]},{"1342043728":["hashtag1","hashtag2"]},{"1342043685":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1342043718, 1342043687, 1342043726, 1342043683, 1342043728, 1342043685)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.32074213027954 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 23:06:02.891738
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/23/05/image_08032025_23_05_45_9945.jpg', 2), ('/home/nano/Desktop/images/08032025/23/05/image_08032025_23_05_35_9931.jpg', 2), ('/home/nano/Desktop/images/08032025/23/05/image_08032025_23_05_26_10940.jpg', 2), ('/home/nano/Desktop/images/08032025/23/05/image_08032025_23_05_15_9934.jpg', 2), ('/home/nano/Desktop/images/08032025/23/04/image_08032025_23_05_05_9951.jpg', 2), ('/home/nano/Desktop/images/08032025/23/04/image_08032025_23_04_55_9923.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/23/05/image_08032025_23_05_45_9945.jpg', '/home/nano/Desktop/images/08032025/23/05/image_08032025_23_05_35_9931.jpg', '/home/nano/Desktop/images/08032025/23/05/image_08032025_23_05_26_10940.jpg', '/home/nano/Desktop/images/08032025/23/05/image_08032025_23_05_15_9934.jpg', '/home/nano/Desktop/images/08032025/23/04/image_08032025_23_05_05_9951.jpg', '/home/nano/Desktop/images/08032025/23/04/image_08032025_23_04_55_9923.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/23/05/image_08032025_23_05_45_9945.jpg
/home/nano/Desktop/images/08032025/23/05/image_08032025_23_05_35_9931.jpg
/home/nano/Desktop/images/08032025/23/05/image_08032025_23_05_26_10940.jpg
/home/nano/Desktop/images/08032025/23/05/image_08032025_23_05_15_9934.jpg
/home/nano/Desktop/images/08032025/23/04/image_08032025_23_05_05_9951.jpg
/home/nano/Desktop/images/08032025/23/04/image_08032025_23_04_55_9923.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1342043789","1342043825","1342043824","1342043803","1342043827","1342043787"],"photo_ids_order":["1342043787","1342043789","1342043803","1342043824","1342043825","1342043827"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/1d7725da60455419b1dd83786d54d8f4.jpg","text":"TemporaryFile(/tmp/multipartBody987354718474426704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741471623320,"filename":"image_08032025_23_05_35_9931.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/084a16ddc8ffd82bed26420a0ad742d7.jpg","text":"TemporaryFile(/tmp/multipartBody8153634561527225713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741471623320,"filename":"image_08032025_23_05_05_9951.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/8e7bd4fe533f7962440fcc13c8ff9509.jpg","text":"TemporaryFile(/tmp/multipartBody1279745610160146077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741471623320,"filename":"image_08032025_23_05_15_9934.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/9cde1d404f191a90991413f16771c3a6.jpg","text":"TemporaryFile(/tmp/multipartBody2156365909789708222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741471623320,"filename":"image_08032025_23_05_26_10940.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/188f4c63ac24683abb7df7c316355f68.jpg","text":"TemporaryFile(/tmp/multipartBody4583006107726322229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741471623320,"filename":"image_08032025_23_04_55_9923.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/eb23ab4054c51a8f6b59394e448a1e8f.jpg","text":"TemporaryFile(/tmp/multipartBody6266649812290795627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741471623320,"filename":"image_08032025_23_05_45_9945.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1342043803","file1":"1342043789","file0":"1342043787","file4":"1342043825","file5":"1342043827","file3":"1342043824"},"map_files_photo_id_array":[{"photo_id":"1342043827","filename":"file5"},{"photo_id":"1342043803","filename":"file2"},{"photo_id":"1342043825","filename":"file4"},{"photo_id":"1342043789","filename":"file1"},{"photo_id":"1342043787","filename":"file0"},{"photo_id":"1342043824","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1342043789":["hashtag1","hashtag2"]},{"1342043825":["hashtag1","hashtag2"]},{"1342043824":["hashtag1","hashtag2"]},{"1342043803":["hashtag1","hashtag2"]},{"1342043827":["hashtag1","hashtag2"]},{"1342043787":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1342043789, 1342043825, 1342043824, 1342043803, 1342043827, 1342043787)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.15576195716858 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 23:07:02.998490
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/23/06/image_08032025_23_06_45_9937.jpg', 2), ('/home/nano/Desktop/images/08032025/23/06/image_08032025_23_06_35_9933.jpg', 2), ('/home/nano/Desktop/images/08032025/23/06/image_08032025_23_06_25_9940.jpg', 2), ('/home/nano/Desktop/images/08032025/23/06/image_08032025_23_06_15_9957.jpg', 2), ('/home/nano/Desktop/images/08032025/23/05/image_08032025_23_06_05_9955.jpg', 2), ('/home/nano/Desktop/images/08032025/23/05/image_08032025_23_05_55_9946.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/23/06/image_08032025_23_06_45_9937.jpg', '/home/nano/Desktop/images/08032025/23/06/image_08032025_23_06_35_9933.jpg', '/home/nano/Desktop/images/08032025/23/06/image_08032025_23_06_25_9940.jpg', '/home/nano/Desktop/images/08032025/23/06/image_08032025_23_06_15_9957.jpg', '/home/nano/Desktop/images/08032025/23/05/image_08032025_23_06_05_9955.jpg', '/home/nano/Desktop/images/08032025/23/05/image_08032025_23_05_55_9946.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/23/06/image_08032025_23_06_45_9937.jpg
/home/nano/Desktop/images/08032025/23/06/image_08032025_23_06_35_9933.jpg
/home/nano/Desktop/images/08032025/23/06/image_08032025_23_06_25_9940.jpg
/home/nano/Desktop/images/08032025/23/06/image_08032025_23_06_15_9957.jpg
/home/nano/Desktop/images/08032025/23/05/image_08032025_23_06_05_9955.jpg
/home/nano/Desktop/images/08032025/23/05/image_08032025_23_05_55_9946.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1342044776","1342044944","1342044898","1342044675","1342044960","1342044954"],"photo_ids_order":["1342044675","1342044776","1342044898","1342044944","1342044954","1342044960"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/5df8f9e62568ec91cc56fc521d52dea0.jpg","text":"TemporaryFile(/tmp/multipartBody5858723788595199972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741471683442,"filename":"image_08032025_23_06_35_9933.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/9fcd66af45674a894c2301e4d712169e.jpg","text":"TemporaryFile(/tmp/multipartBody6811397281464921253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741471683442,"filename":"image_08032025_23_06_15_9957.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/f0c97618797fb14be8b7f52e31f2286a.jpg","text":"TemporaryFile(/tmp/multipartBody2936323586516396389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741471683442,"filename":"image_08032025_23_06_25_9940.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/b6134982533253fe10141affea946f88.jpg","text":"TemporaryFile(/tmp/multipartBody4504983286295111152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741471683442,"filename":"image_08032025_23_06_45_9937.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/8a45d4f689a23769eed1669c8a35712a.jpg","text":"TemporaryFile(/tmp/multipartBody351446709223749470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741471683442,"filename":"image_08032025_23_05_55_9946.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/8104645a30e4c24b448cd0a26b55f50b.jpg","text":"TemporaryFile(/tmp/multipartBody4610813172254517582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741471683442,"filename":"image_08032025_23_06_05_9955.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1342044898","file1":"1342044776","file0":"1342044675","file4":"1342044954","file5":"1342044960","file3":"1342044944"},"map_files_photo_id_array":[{"photo_id":"1342044960","filename":"file5"},{"photo_id":"1342044898","filename":"file2"},{"photo_id":"1342044954","filename":"file4"},{"photo_id":"1342044776","filename":"file1"},{"photo_id":"1342044675","filename":"file0"},{"photo_id":"1342044944","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1342044776":["hashtag1","hashtag2"]},{"1342044944":["hashtag1","hashtag2"]},{"1342044898":["hashtag1","hashtag2"]},{"1342044675":["hashtag1","hashtag2"]},{"1342044960":["hashtag1","hashtag2"]},{"1342044954":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1342044776, 1342044944, 1342044898, 1342044675, 1342044960, 1342044954)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.27428698539734 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 23:08:02.999993
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/23/07/image_08032025_23_07_45_9929.jpg', 2), ('/home/nano/Desktop/images/08032025/23/07/image_08032025_23_07_35_9923.jpg', 2), ('/home/nano/Desktop/images/08032025/23/07/image_08032025_23_07_25_9925.jpg', 2), ('/home/nano/Desktop/images/08032025/23/07/image_08032025_23_07_15_9927.jpg', 2), ('/home/nano/Desktop/images/08032025/23/06/image_08032025_23_07_05_9958.jpg', 2), ('/home/nano/Desktop/images/08032025/23/06/image_08032025_23_06_55_9948.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/23/07/image_08032025_23_07_45_9929.jpg', '/home/nano/Desktop/images/08032025/23/07/image_08032025_23_07_35_9923.jpg', '/home/nano/Desktop/images/08032025/23/07/image_08032025_23_07_25_9925.jpg', '/home/nano/Desktop/images/08032025/23/07/image_08032025_23_07_15_9927.jpg', '/home/nano/Desktop/images/08032025/23/06/image_08032025_23_07_05_9958.jpg', '/home/nano/Desktop/images/08032025/23/06/image_08032025_23_06_55_9948.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/23/07/image_08032025_23_07_45_9929.jpg
/home/nano/Desktop/images/08032025/23/07/image_08032025_23_07_35_9923.jpg
/home/nano/Desktop/images/08032025/23/07/image_08032025_23_07_25_9925.jpg
/home/nano/Desktop/images/08032025/23/07/image_08032025_23_07_15_9927.jpg
/home/nano/Desktop/images/08032025/23/06/image_08032025_23_07_05_9958.jpg
/home/nano/Desktop/images/08032025/23/06/image_08032025_23_06_55_9948.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1342045195","1342045156","1342045197","1342045233","1342045230","1342045154"],"photo_ids_order":["1342045154","1342045156","1342045195","1342045197","1342045230","1342045233"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/f5ec03499ba1e5130c0fe1b5bce5dd65.jpg","text":"TemporaryFile(/tmp/multipartBody1509615904027298397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741471743445,"filename":"image_08032025_23_07_25_9925.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/46926899af367aef023c197516da13ae.jpg","text":"TemporaryFile(/tmp/multipartBody5201415241630491659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741471743445,"filename":"image_08032025_23_07_35_9923.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/cb6cebe015bacfdf91b9e210cd3ad564.jpg","text":"TemporaryFile(/tmp/multipartBody5762040939980720968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741471743445,"filename":"image_08032025_23_07_15_9927.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/c3eb2817905c67b8c69c3889249e58ab.jpg","text":"TemporaryFile(/tmp/multipartBody7527160518400375323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741471743445,"filename":"image_08032025_23_06_55_9948.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/73465230e82f63b250492705bc88fe81.jpg","text":"TemporaryFile(/tmp/multipartBody1854888787067122311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741471743445,"filename":"image_08032025_23_07_05_9958.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/1ddf1625d4d26d0199aae2d8d111a3db.jpg","text":"TemporaryFile(/tmp/multipartBody8113634571781286886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741471743445,"filename":"image_08032025_23_07_45_9929.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1342045195","file1":"1342045156","file0":"1342045154","file4":"1342045230","file5":"1342045233","file3":"1342045197"},"map_files_photo_id_array":[{"photo_id":"1342045233","filename":"file5"},{"photo_id":"1342045195","filename":"file2"},{"photo_id":"1342045230","filename":"file4"},{"photo_id":"1342045156","filename":"file1"},{"photo_id":"1342045154","filename":"file0"},{"photo_id":"1342045197","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1342045195":["hashtag1","hashtag2"]},{"1342045156":["hashtag1","hashtag2"]},{"1342045197":["hashtag1","hashtag2"]},{"1342045233":["hashtag1","hashtag2"]},{"1342045230":["hashtag1","hashtag2"]},{"1342045154":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1342045195, 1342045156, 1342045197, 1342045233, 1342045230, 1342045154)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.19440197944641 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 23:09:03.568811
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/23/08/image_08032025_23_08_45_9933.jpg', 2), ('/home/nano/Desktop/images/08032025/23/08/image_08032025_23_08_35_9930.jpg', 2), ('/home/nano/Desktop/images/08032025/23/08/image_08032025_23_08_25_9928.jpg', 2), ('/home/nano/Desktop/images/08032025/23/08/image_08032025_23_08_16_10944.jpg', 2), ('/home/nano/Desktop/images/08032025/23/07/image_08032025_23_08_05_9946.jpg', 2), ('/home/nano/Desktop/images/08032025/23/07/image_08032025_23_07_55_9925.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/23/08/image_08032025_23_08_45_9933.jpg', '/home/nano/Desktop/images/08032025/23/08/image_08032025_23_08_35_9930.jpg', '/home/nano/Desktop/images/08032025/23/08/image_08032025_23_08_25_9928.jpg', '/home/nano/Desktop/images/08032025/23/08/image_08032025_23_08_16_10944.jpg', '/home/nano/Desktop/images/08032025/23/07/image_08032025_23_08_05_9946.jpg', '/home/nano/Desktop/images/08032025/23/07/image_08032025_23_07_55_9925.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/23/08/image_08032025_23_08_45_9933.jpg
/home/nano/Desktop/images/08032025/23/08/image_08032025_23_08_35_9930.jpg
/home/nano/Desktop/images/08032025/23/08/image_08032025_23_08_25_9928.jpg
/home/nano/Desktop/images/08032025/23/08/image_08032025_23_08_16_10944.jpg
/home/nano/Desktop/images/08032025/23/07/image_08032025_23_08_05_9946.jpg
/home/nano/Desktop/images/08032025/23/07/image_08032025_23_07_55_9925.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1342045303","1342045281","1342045309","1342045317","1342045302","1342045277"],"photo_ids_order":["1342045277","1342045281","1342045302","1342045303","1342045309","1342045317"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/bb98ef08d854901da5d4284573007caf.jpg","text":"TemporaryFile(/tmp/multipartBody7079211857572308933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741471803985,"filename":"image_08032025_23_08_16_10944.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/a4b50a3b5676ee2eece766396fddf4d9.jpg","text":"TemporaryFile(/tmp/multipartBody5934124215025161443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741471803985,"filename":"image_08032025_23_08_35_9930.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/cf24a89721f429df0b64f7dd5cb4cef3.jpg","text":"TemporaryFile(/tmp/multipartBody521348859386364357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741471803985,"filename":"image_08032025_23_08_05_9946.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/80c1fcb8ec70f6659b27bef0cdfbce0e.jpg","text":"TemporaryFile(/tmp/multipartBody8308573095024012932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741471803985,"filename":"image_08032025_23_07_55_9925.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/904e7d3f5d4f52c61072d6bf29abb7b0.jpg","text":"TemporaryFile(/tmp/multipartBody8314526003352583028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741471803985,"filename":"image_08032025_23_08_25_9928.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/c52197f705f0f539b83e72b93227c2c7.jpg","text":"TemporaryFile(/tmp/multipartBody8759942598128711852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741471803985,"filename":"image_08032025_23_08_45_9933.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1342045302","file1":"1342045281","file0":"1342045277","file4":"1342045309","file5":"1342045317","file3":"1342045303"},"map_files_photo_id_array":[{"photo_id":"1342045317","filename":"file5"},{"photo_id":"1342045302","filename":"file2"},{"photo_id":"1342045309","filename":"file4"},{"photo_id":"1342045281","filename":"file1"},{"photo_id":"1342045277","filename":"file0"},{"photo_id":"1342045303","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1342045303":["hashtag1","hashtag2"]},{"1342045281":["hashtag1","hashtag2"]},{"1342045309":["hashtag1","hashtag2"]},{"1342045317":["hashtag1","hashtag2"]},{"1342045302":["hashtag1","hashtag2"]},{"1342045277":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1342045303, 1342045281, 1342045309, 1342045317, 1342045302, 1342045277)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.79865288734436 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 23:10:02.348909
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/23/09/image_08032025_23_09_45_9948.jpg', 2), ('/home/nano/Desktop/images/08032025/23/09/image_08032025_23_09_35_9943.jpg', 2), ('/home/nano/Desktop/images/08032025/23/09/image_08032025_23_09_25_9929.jpg', 2), ('/home/nano/Desktop/images/08032025/23/09/image_08032025_23_09_15_9939.jpg', 2), ('/home/nano/Desktop/images/08032025/23/08/image_08032025_23_09_05_9944.jpg', 2), ('/home/nano/Desktop/images/08032025/23/08/image_08032025_23_08_55_9932.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/23/09/image_08032025_23_09_45_9948.jpg', '/home/nano/Desktop/images/08032025/23/09/image_08032025_23_09_35_9943.jpg', '/home/nano/Desktop/images/08032025/23/09/image_08032025_23_09_25_9929.jpg', '/home/nano/Desktop/images/08032025/23/09/image_08032025_23_09_15_9939.jpg', '/home/nano/Desktop/images/08032025/23/08/image_08032025_23_09_05_9944.jpg', '/home/nano/Desktop/images/08032025/23/08/image_08032025_23_08_55_9932.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/23/09/image_08032025_23_09_45_9948.jpg
/home/nano/Desktop/images/08032025/23/09/image_08032025_23_09_35_9943.jpg
/home/nano/Desktop/images/08032025/23/09/image_08032025_23_09_25_9929.jpg
/home/nano/Desktop/images/08032025/23/09/image_08032025_23_09_15_9939.jpg
/home/nano/Desktop/images/08032025/23/08/image_08032025_23_09_05_9944.jpg
/home/nano/Desktop/images/08032025/23/08/image_08032025_23_08_55_9932.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1342045609","1342045494","1342045581","1342045551","1342045496","1342045517"],"photo_ids_order":["1342045494","1342045496","1342045517","1342045551","1342045581","1342045609"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/68903cfc4913d36d128d0ffe826a3bff.jpg","text":"TemporaryFile(/tmp/multipartBody6735227716278454006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741471862781,"filename":"image_08032025_23_08_55_9932.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/2c611a4a5330e9211096aed9d9ab6b3c.jpg","text":"TemporaryFile(/tmp/multipartBody7080738085060864308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741471862781,"filename":"image_08032025_23_09_45_9948.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/12b900058dbbb1077577bc7d94fe1e7f.jpg","text":"TemporaryFile(/tmp/multipartBody8499618797066624922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741471862781,"filename":"image_08032025_23_09_05_9944.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/4bc9adac88f6c4a79d1a3b9de5582540.jpg","text":"TemporaryFile(/tmp/multipartBody2687313142529114635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741471862781,"filename":"image_08032025_23_09_15_9939.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/4c54de54331de0ca315ed8bb678e29a8.jpg","text":"TemporaryFile(/tmp/multipartBody5882976918273219223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741471862781,"filename":"image_08032025_23_09_35_9943.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/b6a0bf5b1182e5fae847515a08025a5e.jpg","text":"TemporaryFile(/tmp/multipartBody4697200580709005787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741471862781,"filename":"image_08032025_23_09_25_9929.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1342045517","file1":"1342045496","file0":"1342045494","file4":"1342045581","file5":"1342045609","file3":"1342045551"},"map_files_photo_id_array":[{"photo_id":"1342045609","filename":"file5"},{"photo_id":"1342045517","filename":"file2"},{"photo_id":"1342045581","filename":"file4"},{"photo_id":"1342045496","filename":"file1"},{"photo_id":"1342045494","filename":"file0"},{"photo_id":"1342045551","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1342045609":["hashtag1","hashtag2"]},{"1342045494":["hashtag1","hashtag2"]},{"1342045581":["hashtag1","hashtag2"]},{"1342045551":["hashtag1","hashtag2"]},{"1342045496":["hashtag1","hashtag2"]},{"1342045517":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1342045609, 1342045494, 1342045581, 1342045551, 1342045496, 1342045517)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.38515615463257 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 23:11:02.647750
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/23/10/image_08032025_23_10_45_9933.jpg', 2), ('/home/nano/Desktop/images/08032025/23/10/image_08032025_23_10_35_9949.jpg', 2), ('/home/nano/Desktop/images/08032025/23/10/image_08032025_23_10_25_9932.jpg', 2), ('/home/nano/Desktop/images/08032025/23/10/image_08032025_23_10_15_9932.jpg', 2), ('/home/nano/Desktop/images/08032025/23/09/image_08032025_23_10_05_9971.jpg', 2), ('/home/nano/Desktop/images/08032025/23/09/image_08032025_23_09_55_9930.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/23/10/image_08032025_23_10_45_9933.jpg', '/home/nano/Desktop/images/08032025/23/10/image_08032025_23_10_35_9949.jpg', '/home/nano/Desktop/images/08032025/23/10/image_08032025_23_10_25_9932.jpg', '/home/nano/Desktop/images/08032025/23/10/image_08032025_23_10_15_9932.jpg', '/home/nano/Desktop/images/08032025/23/09/image_08032025_23_10_05_9971.jpg', '/home/nano/Desktop/images/08032025/23/09/image_08032025_23_09_55_9930.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/23/10/image_08032025_23_10_45_9933.jpg
/home/nano/Desktop/images/08032025/23/10/image_08032025_23_10_35_9949.jpg
/home/nano/Desktop/images/08032025/23/10/image_08032025_23_10_25_9932.jpg
/home/nano/Desktop/images/08032025/23/10/image_08032025_23_10_15_9932.jpg
/home/nano/Desktop/images/08032025/23/09/image_08032025_23_10_05_9971.jpg
/home/nano/Desktop/images/08032025/23/09/image_08032025_23_09_55_9930.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1342046026","1342045963","1342045918","1342045983","1342045941","1342046006"],"photo_ids_order":["1342045918","1342045941","1342045963","1342045983","1342046006","1342046026"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/289657b07e8b3579b20d2e2b93e8c071.jpg","text":"TemporaryFile(/tmp/multipartBody9108331027486966516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741471923088,"filename":"image_08032025_23_09_55_9930.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/bd9fcbfe12bb54ee060d624592f9e4a8.jpg","text":"TemporaryFile(/tmp/multipartBody8064232626120019716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741471923088,"filename":"image_08032025_23_10_25_9932.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/33371e2d35c2a16cbf38d72b3a4f9fb5.jpg","text":"TemporaryFile(/tmp/multipartBody1001401704073681108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741471923088,"filename":"image_08032025_23_10_45_9933.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/50dfbaa3c7fb6f5a381256974904afcf.jpg","text":"TemporaryFile(/tmp/multipartBody5662500237528027962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741471923088,"filename":"image_08032025_23_10_15_9932.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/051df6aecb36060c4ab6361708675951.jpg","text":"TemporaryFile(/tmp/multipartBody5455464481672640994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741471923088,"filename":"image_08032025_23_10_35_9949.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/e6d48d084aa625d4ee8e4a9aaf4b3635.jpg","text":"TemporaryFile(/tmp/multipartBody4410104112516132248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741471923088,"filename":"image_08032025_23_10_05_9971.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1342045963","file1":"1342045941","file0":"1342045918","file4":"1342046006","file5":"1342046026","file3":"1342045983"},"map_files_photo_id_array":[{"photo_id":"1342046026","filename":"file5"},{"photo_id":"1342045963","filename":"file2"},{"photo_id":"1342046006","filename":"file4"},{"photo_id":"1342045941","filename":"file1"},{"photo_id":"1342045918","filename":"file0"},{"photo_id":"1342045983","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1342046026":["hashtag1","hashtag2"]},{"1342045963":["hashtag1","hashtag2"]},{"1342045918":["hashtag1","hashtag2"]},{"1342045983":["hashtag1","hashtag2"]},{"1342045941":["hashtag1","hashtag2"]},{"1342046006":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1342046026, 1342045963, 1342045918, 1342045983, 1342045941, 1342046006)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.2563214302063 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 23:12:02.699164
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/23/11/image_08032025_23_11_45_9954.jpg', 2), ('/home/nano/Desktop/images/08032025/23/11/image_08032025_23_11_35_9929.jpg', 2), ('/home/nano/Desktop/images/08032025/23/11/image_08032025_23_11_25_9930.jpg', 2), ('/home/nano/Desktop/images/08032025/23/11/image_08032025_23_11_15_9931.jpg', 2), ('/home/nano/Desktop/images/08032025/23/10/image_08032025_23_11_06_9941.jpg', 2), ('/home/nano/Desktop/images/08032025/23/10/image_08032025_23_10_56_10942.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/23/11/image_08032025_23_11_45_9954.jpg', '/home/nano/Desktop/images/08032025/23/11/image_08032025_23_11_35_9929.jpg', '/home/nano/Desktop/images/08032025/23/11/image_08032025_23_11_25_9930.jpg', '/home/nano/Desktop/images/08032025/23/11/image_08032025_23_11_15_9931.jpg', '/home/nano/Desktop/images/08032025/23/10/image_08032025_23_11_06_9941.jpg', '/home/nano/Desktop/images/08032025/23/10/image_08032025_23_10_56_10942.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/23/11/image_08032025_23_11_45_9954.jpg
/home/nano/Desktop/images/08032025/23/11/image_08032025_23_11_35_9929.jpg
/home/nano/Desktop/images/08032025/23/11/image_08032025_23_11_25_9930.jpg
/home/nano/Desktop/images/08032025/23/11/image_08032025_23_11_15_9931.jpg
/home/nano/Desktop/images/08032025/23/10/image_08032025_23_11_06_9941.jpg
/home/nano/Desktop/images/08032025/23/10/image_08032025_23_10_56_10942.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1342046251","1342046212","1342046319","1342046229","1342046279","1342046299"],"photo_ids_order":["1342046212","1342046229","1342046251","1342046279","1342046299","1342046319"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/52039da559d7346a71064089589a17dd.jpg","text":"TemporaryFile(/tmp/multipartBody6150748011721491817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741471983125,"filename":"image_08032025_23_11_25_9930.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/064d6d79a2726df62ab7918ae69a60c8.jpg","text":"TemporaryFile(/tmp/multipartBody4837206190907903673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741471983125,"filename":"image_08032025_23_11_45_9954.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/fbb9892308d986aabb9b84f5f24cf864.jpg","text":"TemporaryFile(/tmp/multipartBody3554800049278170495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741471983125,"filename":"image_08032025_23_10_56_10942.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/cdac8d2d406f469c4a84b8c686901ed4.jpg","text":"TemporaryFile(/tmp/multipartBody4992648886554565821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741471983125,"filename":"image_08032025_23_11_35_9929.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/8f24271fa72324dbd9382a30f50af006.jpg","text":"TemporaryFile(/tmp/multipartBody9123011877020130573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741471983125,"filename":"image_08032025_23_11_15_9931.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/d69c7a2ce8a530b246bd50d998fe2a67.jpg","text":"TemporaryFile(/tmp/multipartBody8343847114859691178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741471983125,"filename":"image_08032025_23_11_06_9941.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1342046251","file1":"1342046229","file0":"1342046212","file4":"1342046299","file5":"1342046319","file3":"1342046279"},"map_files_photo_id_array":[{"photo_id":"1342046319","filename":"file5"},{"photo_id":"1342046251","filename":"file2"},{"photo_id":"1342046299","filename":"file4"},{"photo_id":"1342046229","filename":"file1"},{"photo_id":"1342046212","filename":"file0"},{"photo_id":"1342046279","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1342046251":["hashtag1","hashtag2"]},{"1342046212":["hashtag1","hashtag2"]},{"1342046319":["hashtag1","hashtag2"]},{"1342046229":["hashtag1","hashtag2"]},{"1342046279":["hashtag1","hashtag2"]},{"1342046299":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1342046251, 1342046212, 1342046319, 1342046229, 1342046279, 1342046299)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.898033618927002 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 23:13:02.680157
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/23/12/image_08032025_23_12_45_9935.jpg', 2), ('/home/nano/Desktop/images/08032025/23/12/image_08032025_23_12_35_9939.jpg', 2), ('/home/nano/Desktop/images/08032025/23/12/image_08032025_23_12_25_9933.jpg', 2), ('/home/nano/Desktop/images/08032025/23/12/image_08032025_23_12_15_9933.jpg', 2), ('/home/nano/Desktop/images/08032025/23/11/image_08032025_23_12_05_9953.jpg', 2), ('/home/nano/Desktop/images/08032025/23/11/image_08032025_23_11_55_9950.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/23/12/image_08032025_23_12_45_9935.jpg', '/home/nano/Desktop/images/08032025/23/12/image_08032025_23_12_35_9939.jpg', '/home/nano/Desktop/images/08032025/23/12/image_08032025_23_12_25_9933.jpg', '/home/nano/Desktop/images/08032025/23/12/image_08032025_23_12_15_9933.jpg', '/home/nano/Desktop/images/08032025/23/11/image_08032025_23_12_05_9953.jpg', '/home/nano/Desktop/images/08032025/23/11/image_08032025_23_11_55_9950.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/23/12/image_08032025_23_12_45_9935.jpg
/home/nano/Desktop/images/08032025/23/12/image_08032025_23_12_35_9939.jpg
/home/nano/Desktop/images/08032025/23/12/image_08032025_23_12_25_9933.jpg
/home/nano/Desktop/images/08032025/23/12/image_08032025_23_12_15_9933.jpg
/home/nano/Desktop/images/08032025/23/11/image_08032025_23_12_05_9953.jpg
/home/nano/Desktop/images/08032025/23/11/image_08032025_23_11_55_9950.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1342046745","1342046694","1342046718","1342046666","1342046645","1342046752"],"photo_ids_order":["1342046645","1342046666","1342046694","1342046718","1342046745","1342046752"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/809b64023c2a39197c2532c76b2ac4ea.jpg","text":"TemporaryFile(/tmp/multipartBody8046644602180034720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741472043097,"filename":"image_08032025_23_12_05_9953.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/991b0872145e9458313437c408a2b6e5.jpg","text":"TemporaryFile(/tmp/multipartBody5043722448849860782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741472043097,"filename":"image_08032025_23_12_25_9933.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/19dcb1dc6d65cb80e9542e2581eb12b5.jpg","text":"TemporaryFile(/tmp/multipartBody8846319790369134229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741472043097,"filename":"image_08032025_23_12_15_9933.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/52c4438c4b81c9be8f9c4876d5d598c8.jpg","text":"TemporaryFile(/tmp/multipartBody6242830226761297690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741472043097,"filename":"image_08032025_23_12_35_9939.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/7971bcde2c10ed80bce365a351fde826.jpg","text":"TemporaryFile(/tmp/multipartBody6948928159924106405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741472043097,"filename":"image_08032025_23_12_45_9935.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/c817eb36358fbf7a5a70c9d6c2eefb96.jpg","text":"TemporaryFile(/tmp/multipartBody4352694840164432657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741472043097,"filename":"image_08032025_23_11_55_9950.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1342046694","file1":"1342046666","file0":"1342046645","file4":"1342046745","file5":"1342046752","file3":"1342046718"},"map_files_photo_id_array":[{"photo_id":"1342046752","filename":"file5"},{"photo_id":"1342046694","filename":"file2"},{"photo_id":"1342046745","filename":"file4"},{"photo_id":"1342046666","filename":"file1"},{"photo_id":"1342046645","filename":"file0"},{"photo_id":"1342046718","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1342046745":["hashtag1","hashtag2"]},{"1342046694":["hashtag1","hashtag2"]},{"1342046718":["hashtag1","hashtag2"]},{"1342046666":["hashtag1","hashtag2"]},{"1342046645":["hashtag1","hashtag2"]},{"1342046752":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1342046745, 1342046694, 1342046718, 1342046666, 1342046645, 1342046752)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.52993369102478 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 23:14:03.201894
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/23/13/image_08032025_23_13_46_10942.jpg', 2), ('/home/nano/Desktop/images/08032025/23/13/image_08032025_23_13_35_9930.jpg', 2), ('/home/nano/Desktop/images/08032025/23/13/image_08032025_23_13_25_9955.jpg', 2), ('/home/nano/Desktop/images/08032025/23/13/image_08032025_23_13_15_9955.jpg', 2), ('/home/nano/Desktop/images/08032025/23/12/image_08032025_23_13_05_9946.jpg', 2), ('/home/nano/Desktop/images/08032025/23/12/image_08032025_23_12_55_9939.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/23/13/image_08032025_23_13_46_10942.jpg', '/home/nano/Desktop/images/08032025/23/13/image_08032025_23_13_35_9930.jpg', '/home/nano/Desktop/images/08032025/23/13/image_08032025_23_13_25_9955.jpg', '/home/nano/Desktop/images/08032025/23/13/image_08032025_23_13_15_9955.jpg', '/home/nano/Desktop/images/08032025/23/12/image_08032025_23_13_05_9946.jpg', '/home/nano/Desktop/images/08032025/23/12/image_08032025_23_12_55_9939.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/23/13/image_08032025_23_13_46_10942.jpg
/home/nano/Desktop/images/08032025/23/13/image_08032025_23_13_35_9930.jpg
/home/nano/Desktop/images/08032025/23/13/image_08032025_23_13_25_9955.jpg
/home/nano/Desktop/images/08032025/23/13/image_08032025_23_13_15_9955.jpg
/home/nano/Desktop/images/08032025/23/12/image_08032025_23_13_05_9946.jpg
/home/nano/Desktop/images/08032025/23/12/image_08032025_23_12_55_9939.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1342047037","1342046907","1342046981","1342046939","1342047079","1342047046"],"photo_ids_order":["1342046907","1342046939","1342046981","1342047037","1342047046","1342047079"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/4c3082542ad44f55d2a30728d55a61ef.jpg","text":"TemporaryFile(/tmp/multipartBody1211708687414336737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741472103630,"filename":"image_08032025_23_13_15_9955.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/eee91f5ae728b6ee2e555040287798f8.jpg","text":"TemporaryFile(/tmp/multipartBody2282482053672856071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741472103630,"filename":"image_08032025_23_13_46_10942.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/a3496c7677d802fbc83331c0d1b5c049.jpg","text":"TemporaryFile(/tmp/multipartBody2540266389417571373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741472103630,"filename":"image_08032025_23_13_25_9955.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/b5902e5a830c4a7ed3ce0e4d89b959eb.jpg","text":"TemporaryFile(/tmp/multipartBody9036113447106531117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741472103630,"filename":"image_08032025_23_13_35_9930.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/3837250f884016d7020cf2e8b4ee591d.jpg","text":"TemporaryFile(/tmp/multipartBody8174529410802442622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741472103630,"filename":"image_08032025_23_12_55_9939.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/f228113c862b5cc371d30cf8d57b726d.jpg","text":"TemporaryFile(/tmp/multipartBody3976835211575597312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741472103630,"filename":"image_08032025_23_13_05_9946.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1342046981","file1":"1342046939","file0":"1342046907","file4":"1342047046","file5":"1342047079","file3":"1342047037"},"map_files_photo_id_array":[{"photo_id":"1342047079","filename":"file5"},{"photo_id":"1342046981","filename":"file2"},{"photo_id":"1342047046","filename":"file4"},{"photo_id":"1342046939","filename":"file1"},{"photo_id":"1342046907","filename":"file0"},{"photo_id":"1342047037","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1342047037":["hashtag1","hashtag2"]},{"1342046907":["hashtag1","hashtag2"]},{"1342046981":["hashtag1","hashtag2"]},{"1342046939":["hashtag1","hashtag2"]},{"1342047079":["hashtag1","hashtag2"]},{"1342047046":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1342047037, 1342046907, 1342046981, 1342046939, 1342047079, 1342047046)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.49841070175171 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 23:15:03.035456
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/23/14/image_08032025_23_14_45_9936.jpg', 2), ('/home/nano/Desktop/images/08032025/23/14/image_08032025_23_14_35_9933.jpg', 2), ('/home/nano/Desktop/images/08032025/23/14/image_08032025_23_14_25_9932.jpg', 2), ('/home/nano/Desktop/images/08032025/23/14/image_08032025_23_14_15_9931.jpg', 2), ('/home/nano/Desktop/images/08032025/23/13/image_08032025_23_14_05_9951.jpg', 2), ('/home/nano/Desktop/images/08032025/23/13/image_08032025_23_13_56_9936.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/23/14/image_08032025_23_14_45_9936.jpg', '/home/nano/Desktop/images/08032025/23/14/image_08032025_23_14_35_9933.jpg', '/home/nano/Desktop/images/08032025/23/14/image_08032025_23_14_25_9932.jpg', '/home/nano/Desktop/images/08032025/23/14/image_08032025_23_14_15_9931.jpg', '/home/nano/Desktop/images/08032025/23/13/image_08032025_23_14_05_9951.jpg', '/home/nano/Desktop/images/08032025/23/13/image_08032025_23_13_56_9936.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/23/14/image_08032025_23_14_45_9936.jpg
/home/nano/Desktop/images/08032025/23/14/image_08032025_23_14_35_9933.jpg
/home/nano/Desktop/images/08032025/23/14/image_08032025_23_14_25_9932.jpg
/home/nano/Desktop/images/08032025/23/14/image_08032025_23_14_15_9931.jpg
/home/nano/Desktop/images/08032025/23/13/image_08032025_23_14_05_9951.jpg
/home/nano/Desktop/images/08032025/23/13/image_08032025_23_13_56_9936.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1342047532","1342047483","1342047363","1342047407","1342047451","1342047424"],"photo_ids_order":["1342047363","1342047407","1342047424","1342047451","1342047483","1342047532"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/d5c15833c7f2640de6b8c164b6425f0d.jpg","text":"TemporaryFile(/tmp/multipartBody225866001553100180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741472163464,"filename":"image_08032025_23_13_56_9936.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/8261be566a6cec5a2240972af2de559a.jpg","text":"TemporaryFile(/tmp/multipartBody5115723085794413507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741472163464,"filename":"image_08032025_23_14_05_9951.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/540eb69b141c4d4d20ce66117f4af63d.jpg","text":"TemporaryFile(/tmp/multipartBody3386931829486346329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741472163464,"filename":"image_08032025_23_14_45_9936.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/eef0907ef10eade8816008547eec5fde.jpg","text":"TemporaryFile(/tmp/multipartBody8805827495006879151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741472163464,"filename":"image_08032025_23_14_35_9933.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/1f81a0b0bb5f2f9d8b1d3009a607e605.jpg","text":"TemporaryFile(/tmp/multipartBody2749436723513675714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741472163464,"filename":"image_08032025_23_14_15_9931.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/de2841b4c15a60e9ff0ef8471b59c48c.jpg","text":"TemporaryFile(/tmp/multipartBody4732524582859727454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741472163464,"filename":"image_08032025_23_14_25_9932.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1342047424","file1":"1342047407","file0":"1342047363","file4":"1342047483","file5":"1342047532","file3":"1342047451"},"map_files_photo_id_array":[{"photo_id":"1342047532","filename":"file5"},{"photo_id":"1342047424","filename":"file2"},{"photo_id":"1342047483","filename":"file4"},{"photo_id":"1342047407","filename":"file1"},{"photo_id":"1342047363","filename":"file0"},{"photo_id":"1342047451","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1342047532":["hashtag1","hashtag2"]},{"1342047483":["hashtag1","hashtag2"]},{"1342047363":["hashtag1","hashtag2"]},{"1342047407":["hashtag1","hashtag2"]},{"1342047451":["hashtag1","hashtag2"]},{"1342047424":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1342047532, 1342047483, 1342047363, 1342047407, 1342047451, 1342047424)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.147839307785034 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 23:16:02.972040
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/23/15/image_08032025_23_15_45_9953.jpg', 2), ('/home/nano/Desktop/images/08032025/23/15/image_08032025_23_15_35_9937.jpg', 2), ('/home/nano/Desktop/images/08032025/23/15/image_08032025_23_15_25_9981.jpg', 2), ('/home/nano/Desktop/images/08032025/23/15/image_08032025_23_15_15_9934.jpg', 2), ('/home/nano/Desktop/images/08032025/23/14/image_08032025_23_15_05_9964.jpg', 2), ('/home/nano/Desktop/images/08032025/23/14/image_08032025_23_14_55_9935.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/23/15/image_08032025_23_15_45_9953.jpg', '/home/nano/Desktop/images/08032025/23/15/image_08032025_23_15_35_9937.jpg', '/home/nano/Desktop/images/08032025/23/15/image_08032025_23_15_25_9981.jpg', '/home/nano/Desktop/images/08032025/23/15/image_08032025_23_15_15_9934.jpg', '/home/nano/Desktop/images/08032025/23/14/image_08032025_23_15_05_9964.jpg', '/home/nano/Desktop/images/08032025/23/14/image_08032025_23_14_55_9935.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/23/15/image_08032025_23_15_45_9953.jpg
/home/nano/Desktop/images/08032025/23/15/image_08032025_23_15_35_9937.jpg
/home/nano/Desktop/images/08032025/23/15/image_08032025_23_15_25_9981.jpg
/home/nano/Desktop/images/08032025/23/15/image_08032025_23_15_15_9934.jpg
/home/nano/Desktop/images/08032025/23/14/image_08032025_23_15_05_9964.jpg
/home/nano/Desktop/images/08032025/23/14/image_08032025_23_14_55_9935.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1342047783","1342047804","1342047794","1342047803","1342047806","1342047799"],"photo_ids_order":["1342047783","1342047794","1342047799","1342047803","1342047804","1342047806"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/ec4d71c6eff3dfaf477109c6aebc253a.jpg","text":"TemporaryFile(/tmp/multipartBody5994371705666314116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741472223410,"filename":"image_08032025_23_15_45_9953.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/3a874a1cd5d79e5fff1f9b791a172a34.jpg","text":"TemporaryFile(/tmp/multipartBody3737654487151493995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741472223410,"filename":"image_08032025_23_15_05_9964.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/bca615fca9a14dd169d1433a5e6ea62e.jpg","text":"TemporaryFile(/tmp/multipartBody561396730132427908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741472223410,"filename":"image_08032025_23_15_35_9937.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/e716d06b96a12c0472597f9d4367e4c5.jpg","text":"TemporaryFile(/tmp/multipartBody4642043110966512820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741472223410,"filename":"image_08032025_23_15_15_9934.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/68f4392cda6e9a7fa0bebf9a033ecac1.jpg","text":"TemporaryFile(/tmp/multipartBody8234977200563945180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741472223410,"filename":"image_08032025_23_14_55_9935.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/bcbe93c8847cb0413948961aca2b6932.jpg","text":"TemporaryFile(/tmp/multipartBody1470618580303001833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741472223410,"filename":"image_08032025_23_15_25_9981.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1342047799","file1":"1342047794","file0":"1342047783","file4":"1342047804","file5":"1342047806","file3":"1342047803"},"map_files_photo_id_array":[{"photo_id":"1342047806","filename":"file5"},{"photo_id":"1342047799","filename":"file2"},{"photo_id":"1342047804","filename":"file4"},{"photo_id":"1342047794","filename":"file1"},{"photo_id":"1342047783","filename":"file0"},{"photo_id":"1342047803","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1342047783":["hashtag1","hashtag2"]},{"1342047804":["hashtag1","hashtag2"]},{"1342047794":["hashtag1","hashtag2"]},{"1342047803":["hashtag1","hashtag2"]},{"1342047806":["hashtag1","hashtag2"]},{"1342047799":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1342047783, 1342047804, 1342047794, 1342047803, 1342047806, 1342047799)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.02920913696289 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 23:17:03.278275
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/23/16/image_08032025_23_16_46_10941.jpg', 2), ('/home/nano/Desktop/images/08032025/23/16/image_08032025_23_16_35_9931.jpg', 2), ('/home/nano/Desktop/images/08032025/23/16/image_08032025_23_16_25_9929.jpg', 2), ('/home/nano/Desktop/images/08032025/23/16/image_08032025_23_16_15_9936.jpg', 2), ('/home/nano/Desktop/images/08032025/23/15/image_08032025_23_16_05_9960.jpg', 2), ('/home/nano/Desktop/images/08032025/23/15/image_08032025_23_15_55_9934.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/23/16/image_08032025_23_16_46_10941.jpg', '/home/nano/Desktop/images/08032025/23/16/image_08032025_23_16_35_9931.jpg', '/home/nano/Desktop/images/08032025/23/16/image_08032025_23_16_25_9929.jpg', '/home/nano/Desktop/images/08032025/23/16/image_08032025_23_16_15_9936.jpg', '/home/nano/Desktop/images/08032025/23/15/image_08032025_23_16_05_9960.jpg', '/home/nano/Desktop/images/08032025/23/15/image_08032025_23_15_55_9934.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/23/16/image_08032025_23_16_46_10941.jpg
/home/nano/Desktop/images/08032025/23/16/image_08032025_23_16_35_9931.jpg
/home/nano/Desktop/images/08032025/23/16/image_08032025_23_16_25_9929.jpg
/home/nano/Desktop/images/08032025/23/16/image_08032025_23_16_15_9936.jpg
/home/nano/Desktop/images/08032025/23/15/image_08032025_23_16_05_9960.jpg
/home/nano/Desktop/images/08032025/23/15/image_08032025_23_15_55_9934.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1342047837","1342047831","1342047833","1342047827","1342047826","1342047829"],"photo_ids_order":["1342047826","1342047827","1342047829","1342047831","1342047833","1342047837"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/5ade4ab0e41c5641682fe07d204e81b7.jpg","text":"TemporaryFile(/tmp/multipartBody5125865890715828327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741472283695,"filename":"image_08032025_23_15_55_9934.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/15b1a045e89a61dfe1337818002aadc6.jpg","text":"TemporaryFile(/tmp/multipartBody1765749313403087330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741472283695,"filename":"image_08032025_23_16_15_9936.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/0bc745ffe5eda7885b449eea77b06133.jpg","text":"TemporaryFile(/tmp/multipartBody3422814001647293232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741472283695,"filename":"image_08032025_23_16_05_9960.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/58d9a34ae33864e54846f3ec41687922.jpg","text":"TemporaryFile(/tmp/multipartBody8524089620800819924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741472283695,"filename":"image_08032025_23_16_35_9931.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/b015fdbe97bfd2b29d40b581e63a5364.jpg","text":"TemporaryFile(/tmp/multipartBody9222519302182812393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741472283695,"filename":"image_08032025_23_16_46_10941.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/6cbea6206d6e71a268006a424e15239b.jpg","text":"TemporaryFile(/tmp/multipartBody4127535284275479673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741472283695,"filename":"image_08032025_23_16_25_9929.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1342047829","file1":"1342047827","file0":"1342047826","file4":"1342047833","file5":"1342047837","file3":"1342047831"},"map_files_photo_id_array":[{"photo_id":"1342047837","filename":"file5"},{"photo_id":"1342047829","filename":"file2"},{"photo_id":"1342047833","filename":"file4"},{"photo_id":"1342047827","filename":"file1"},{"photo_id":"1342047826","filename":"file0"},{"photo_id":"1342047831","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1342047837":["hashtag1","hashtag2"]},{"1342047831":["hashtag1","hashtag2"]},{"1342047833":["hashtag1","hashtag2"]},{"1342047827":["hashtag1","hashtag2"]},{"1342047826":["hashtag1","hashtag2"]},{"1342047829":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1342047837, 1342047831, 1342047833, 1342047827, 1342047826, 1342047829)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.09589242935181 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 23:18:03.375039
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/23/17/image_08032025_23_17_45_9932.jpg', 2), ('/home/nano/Desktop/images/08032025/23/17/image_08032025_23_17_35_9932.jpg', 2), ('/home/nano/Desktop/images/08032025/23/17/image_08032025_23_17_25_9930.jpg', 2), ('/home/nano/Desktop/images/08032025/23/17/image_08032025_23_17_15_9929.jpg', 2), ('/home/nano/Desktop/images/08032025/23/16/image_08032025_23_17_05_9937.jpg', 2), ('/home/nano/Desktop/images/08032025/23/16/image_08032025_23_16_55_9934.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/23/17/image_08032025_23_17_45_9932.jpg', '/home/nano/Desktop/images/08032025/23/17/image_08032025_23_17_35_9932.jpg', '/home/nano/Desktop/images/08032025/23/17/image_08032025_23_17_25_9930.jpg', '/home/nano/Desktop/images/08032025/23/17/image_08032025_23_17_15_9929.jpg', '/home/nano/Desktop/images/08032025/23/16/image_08032025_23_17_05_9937.jpg', '/home/nano/Desktop/images/08032025/23/16/image_08032025_23_16_55_9934.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/23/17/image_08032025_23_17_45_9932.jpg
/home/nano/Desktop/images/08032025/23/17/image_08032025_23_17_35_9932.jpg
/home/nano/Desktop/images/08032025/23/17/image_08032025_23_17_25_9930.jpg
/home/nano/Desktop/images/08032025/23/17/image_08032025_23_17_15_9929.jpg
/home/nano/Desktop/images/08032025/23/16/image_08032025_23_17_05_9937.jpg
/home/nano/Desktop/images/08032025/23/16/image_08032025_23_16_55_9934.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1342048458","1342048338","1342048433","1342048513","1342048402","1342048497"],"photo_ids_order":["1342048338","1342048402","1342048433","1342048458","1342048497","1342048513"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/99fccb5fd4779b40a84ca9806e668674.jpg","text":"TemporaryFile(/tmp/multipartBody3793800468573210089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741472343814,"filename":"image_08032025_23_17_15_9929.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/a349a62f62709ec605c0e286fef38b9e.jpg","text":"TemporaryFile(/tmp/multipartBody6093421912437296691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741472343814,"filename":"image_08032025_23_17_45_9932.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/3c3aa9ad043c1cdeda758da965f30f5a.jpg","text":"TemporaryFile(/tmp/multipartBody6654369109037908654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741472343814,"filename":"image_08032025_23_17_25_9930.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/933728cb7a2d3cf9dc5dfbf11400ac52.jpg","text":"TemporaryFile(/tmp/multipartBody1589807643315586575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741472343814,"filename":"image_08032025_23_16_55_9934.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/429bdb288ffd4df1bdecf331e2ddf1fd.jpg","text":"TemporaryFile(/tmp/multipartBody5865625997228183524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741472343814,"filename":"image_08032025_23_17_35_9932.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/0b7b9a51e9c679ac7f3f7d67fde42c36.jpg","text":"TemporaryFile(/tmp/multipartBody7191677451672352701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741472343814,"filename":"image_08032025_23_17_05_9937.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1342048433","file1":"1342048402","file0":"1342048338","file4":"1342048497","file5":"1342048513","file3":"1342048458"},"map_files_photo_id_array":[{"photo_id":"1342048513","filename":"file5"},{"photo_id":"1342048433","filename":"file2"},{"photo_id":"1342048497","filename":"file4"},{"photo_id":"1342048402","filename":"file1"},{"photo_id":"1342048338","filename":"file0"},{"photo_id":"1342048458","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1342048458":["hashtag1","hashtag2"]},{"1342048338":["hashtag1","hashtag2"]},{"1342048433":["hashtag1","hashtag2"]},{"1342048513":["hashtag1","hashtag2"]},{"1342048402":["hashtag1","hashtag2"]},{"1342048497":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1342048458, 1342048338, 1342048433, 1342048513, 1342048402, 1342048497)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.714325189590454 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 23:19:02.845944
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/23/18/image_08032025_23_18_45_9925.jpg', 2), ('/home/nano/Desktop/images/08032025/23/18/image_08032025_23_18_35_9936.jpg', 2), ('/home/nano/Desktop/images/08032025/23/18/image_08032025_23_18_25_9943.jpg', 2), ('/home/nano/Desktop/images/08032025/23/18/image_08032025_23_18_15_9959.jpg', 2), ('/home/nano/Desktop/images/08032025/23/17/image_08032025_23_18_05_9944.jpg', 2), ('/home/nano/Desktop/images/08032025/23/17/image_08032025_23_17_55_9931.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/23/18/image_08032025_23_18_45_9925.jpg', '/home/nano/Desktop/images/08032025/23/18/image_08032025_23_18_35_9936.jpg', '/home/nano/Desktop/images/08032025/23/18/image_08032025_23_18_25_9943.jpg', '/home/nano/Desktop/images/08032025/23/18/image_08032025_23_18_15_9959.jpg', '/home/nano/Desktop/images/08032025/23/17/image_08032025_23_18_05_9944.jpg', '/home/nano/Desktop/images/08032025/23/17/image_08032025_23_17_55_9931.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/23/18/image_08032025_23_18_45_9925.jpg
/home/nano/Desktop/images/08032025/23/18/image_08032025_23_18_35_9936.jpg
/home/nano/Desktop/images/08032025/23/18/image_08032025_23_18_25_9943.jpg
/home/nano/Desktop/images/08032025/23/18/image_08032025_23_18_15_9959.jpg
/home/nano/Desktop/images/08032025/23/17/image_08032025_23_18_05_9944.jpg
/home/nano/Desktop/images/08032025/23/17/image_08032025_23_17_55_9931.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1342048881","1342048815","1342048725","1342048871","1342048759","1342048770"],"photo_ids_order":["1342048725","1342048759","1342048770","1342048815","1342048871","1342048881"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/40acba923ff97c6dec3145921f676025.jpg","text":"TemporaryFile(/tmp/multipartBody6203061342118471880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741472403290,"filename":"image_08032025_23_17_55_9931.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/df7493064e64415605f9e61c383b2a1e.jpg","text":"TemporaryFile(/tmp/multipartBody5597347228884219823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741472403290,"filename":"image_08032025_23_18_15_9959.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/a841c060829bd26a9a527426b01737b0.jpg","text":"TemporaryFile(/tmp/multipartBody8779504207426232226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741472403290,"filename":"image_08032025_23_18_45_9925.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/fc5cdc406c25fd86c1c1dbd73e6dea4e.jpg","text":"TemporaryFile(/tmp/multipartBody7374974258106643221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741472403290,"filename":"image_08032025_23_18_05_9944.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/8a521686fa7e6d70258d2e672af50611.jpg","text":"TemporaryFile(/tmp/multipartBody5242475790931380942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741472403290,"filename":"image_08032025_23_18_35_9936.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/27215a9472266829239d780de7e0c0f9.jpg","text":"TemporaryFile(/tmp/multipartBody5349613282435954234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741472403290,"filename":"image_08032025_23_18_25_9943.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1342048770","file1":"1342048759","file0":"1342048725","file4":"1342048871","file5":"1342048881","file3":"1342048815"},"map_files_photo_id_array":[{"photo_id":"1342048881","filename":"file5"},{"photo_id":"1342048770","filename":"file2"},{"photo_id":"1342048871","filename":"file4"},{"photo_id":"1342048759","filename":"file1"},{"photo_id":"1342048725","filename":"file0"},{"photo_id":"1342048815","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1342048881":["hashtag1","hashtag2"]},{"1342048815":["hashtag1","hashtag2"]},{"1342048725":["hashtag1","hashtag2"]},{"1342048871":["hashtag1","hashtag2"]},{"1342048759":["hashtag1","hashtag2"]},{"1342048770":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1342048881, 1342048815, 1342048725, 1342048871, 1342048759, 1342048770)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.33259677886963 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 23:20:02.611210
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/23/19/image_08032025_23_19_45_9939.jpg', 2), ('/home/nano/Desktop/images/08032025/23/19/image_08032025_23_19_35_9937.jpg', 2), ('/home/nano/Desktop/images/08032025/23/19/image_08032025_23_19_26_9929.jpg', 2), ('/home/nano/Desktop/images/08032025/23/19/image_08032025_23_19_16_10942.jpg', 2), ('/home/nano/Desktop/images/08032025/23/18/image_08032025_23_19_05_9944.jpg', 2), ('/home/nano/Desktop/images/08032025/23/18/image_08032025_23_18_55_9934.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/23/19/image_08032025_23_19_45_9939.jpg', '/home/nano/Desktop/images/08032025/23/19/image_08032025_23_19_35_9937.jpg', '/home/nano/Desktop/images/08032025/23/19/image_08032025_23_19_26_9929.jpg', '/home/nano/Desktop/images/08032025/23/19/image_08032025_23_19_16_10942.jpg', '/home/nano/Desktop/images/08032025/23/18/image_08032025_23_19_05_9944.jpg', '/home/nano/Desktop/images/08032025/23/18/image_08032025_23_18_55_9934.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/23/19/image_08032025_23_19_45_9939.jpg
/home/nano/Desktop/images/08032025/23/19/image_08032025_23_19_35_9937.jpg
/home/nano/Desktop/images/08032025/23/19/image_08032025_23_19_26_9929.jpg
/home/nano/Desktop/images/08032025/23/19/image_08032025_23_19_16_10942.jpg
/home/nano/Desktop/images/08032025/23/18/image_08032025_23_19_05_9944.jpg
/home/nano/Desktop/images/08032025/23/18/image_08032025_23_18_55_9934.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.38399839401245117 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 marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 23:20:31.968084
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/23/20/image_08032025_23_20_45_9934.jpg', 2), ('/home/nano/Desktop/images/08032025/23/20/image_08032025_23_20_35_9935.jpg', 2), ('/home/nano/Desktop/images/08032025/23/20/image_08032025_23_20_25_9955.jpg', 2), ('/home/nano/Desktop/images/08032025/23/20/image_08032025_23_20_15_9936.jpg', 2), ('/home/nano/Desktop/images/08032025/23/19/image_08032025_23_20_05_9955.jpg', 2), ('/home/nano/Desktop/images/08032025/23/19/image_08032025_23_19_55_9932.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/23/20/image_08032025_23_20_45_9934.jpg', '/home/nano/Desktop/images/08032025/23/20/image_08032025_23_20_35_9935.jpg', '/home/nano/Desktop/images/08032025/23/20/image_08032025_23_20_25_9955.jpg', '/home/nano/Desktop/images/08032025/23/20/image_08032025_23_20_15_9936.jpg', '/home/nano/Desktop/images/08032025/23/19/image_08032025_23_20_05_9955.jpg', '/home/nano/Desktop/images/08032025/23/19/image_08032025_23_19_55_9932.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/23/20/image_08032025_23_20_45_9934.jpg
/home/nano/Desktop/images/08032025/23/20/image_08032025_23_20_35_9935.jpg
/home/nano/Desktop/images/08032025/23/20/image_08032025_23_20_25_9955.jpg
/home/nano/Desktop/images/08032025/23/20/image_08032025_23_20_15_9936.jpg
/home/nano/Desktop/images/08032025/23/19/image_08032025_23_20_05_9955.jpg
/home/nano/Desktop/images/08032025/23/19/image_08032025_23_19_55_9932.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1342049090","1342049066","1342049041","1342049206","1342049172","1342049130"],"photo_ids_order":["1342049041","1342049066","1342049090","1342049130","1342049172","1342049206"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/fdbf562cd788587936255e992cfcdbaf.jpg","text":"TemporaryFile(/tmp/multipartBody7858443172700847730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741472492393,"filename":"image_08032025_23_20_25_9955.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/9104290732127e9c61e113297c78a695.jpg","text":"TemporaryFile(/tmp/multipartBody2695950097287469128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741472492393,"filename":"image_08032025_23_20_35_9935.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/0dbbc1da5347c54560a8e8566361174d.jpg","text":"TemporaryFile(/tmp/multipartBody4039767315726912725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741472492393,"filename":"image_08032025_23_20_45_9934.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/21c2db770173ebe4432348409fa14f93.jpg","text":"TemporaryFile(/tmp/multipartBody4787480572265229886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741472492393,"filename":"image_08032025_23_19_55_9932.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/1264c997c32f61775079be45727469a1.jpg","text":"TemporaryFile(/tmp/multipartBody5797571983744575781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741472492393,"filename":"image_08032025_23_20_05_9955.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/585a761d1ac93ae8af52287317724c4d.jpg","text":"TemporaryFile(/tmp/multipartBody8937577639222226221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741472492393,"filename":"image_08032025_23_20_15_9936.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1342049090","file1":"1342049066","file0":"1342049041","file4":"1342049172","file5":"1342049206","file3":"1342049130"},"map_files_photo_id_array":[{"photo_id":"1342049206","filename":"file5"},{"photo_id":"1342049090","filename":"file2"},{"photo_id":"1342049172","filename":"file4"},{"photo_id":"1342049066","filename":"file1"},{"photo_id":"1342049041","filename":"file0"},{"photo_id":"1342049130","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1342049090":["hashtag1","hashtag2"]},{"1342049066":["hashtag1","hashtag2"]},{"1342049041":["hashtag1","hashtag2"]},{"1342049206":["hashtag1","hashtag2"]},{"1342049172":["hashtag1","hashtag2"]},{"1342049130":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1342049090, 1342049066, 1342049041, 1342049206, 1342049172, 1342049130)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.983609676361084 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 23:21:32.087477
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/23/21/image_08032025_23_21_45_9953.jpg', 2), ('/home/nano/Desktop/images/08032025/23/21/image_08032025_23_21_35_9936.jpg', 2), ('/home/nano/Desktop/images/08032025/23/21/image_08032025_23_21_25_9932.jpg', 2), ('/home/nano/Desktop/images/08032025/23/21/image_08032025_23_21_15_9934.jpg', 2), ('/home/nano/Desktop/images/08032025/23/20/image_08032025_23_21_05_9952.jpg', 2), ('/home/nano/Desktop/images/08032025/23/20/image_08032025_23_20_55_9936.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/23/21/image_08032025_23_21_45_9953.jpg', '/home/nano/Desktop/images/08032025/23/21/image_08032025_23_21_35_9936.jpg', '/home/nano/Desktop/images/08032025/23/21/image_08032025_23_21_25_9932.jpg', '/home/nano/Desktop/images/08032025/23/21/image_08032025_23_21_15_9934.jpg', '/home/nano/Desktop/images/08032025/23/20/image_08032025_23_21_05_9952.jpg', '/home/nano/Desktop/images/08032025/23/20/image_08032025_23_20_55_9936.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/23/21/image_08032025_23_21_45_9953.jpg
/home/nano/Desktop/images/08032025/23/21/image_08032025_23_21_35_9936.jpg
/home/nano/Desktop/images/08032025/23/21/image_08032025_23_21_25_9932.jpg
/home/nano/Desktop/images/08032025/23/21/image_08032025_23_21_15_9934.jpg
/home/nano/Desktop/images/08032025/23/20/image_08032025_23_21_05_9952.jpg
/home/nano/Desktop/images/08032025/23/20/image_08032025_23_20_55_9936.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1342049489","1342049488","1342049440","1342049413","1342049466","1342049388"],"photo_ids_order":["1342049388","1342049413","1342049440","1342049466","1342049488","1342049489"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/1bb6a28de41b3d00026c99d078bf7282.jpg","text":"TemporaryFile(/tmp/multipartBody367085127048039291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741472552515,"filename":"image_08032025_23_20_55_9936.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/5738bbbb58080d9ccfb4ef1553854380.jpg","text":"TemporaryFile(/tmp/multipartBody3905621828672958302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741472552515,"filename":"image_08032025_23_21_05_9952.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/eded3a88db6dedad44489f2fe498ea82.jpg","text":"TemporaryFile(/tmp/multipartBody7949272315078333256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741472552515,"filename":"image_08032025_23_21_25_9932.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/9226559da8239f8e767baa086b3d356b.jpg","text":"TemporaryFile(/tmp/multipartBody3257568407020731326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741472552515,"filename":"image_08032025_23_21_35_9936.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/6d0eadbd31bb88d14734637715e3bf07.jpg","text":"TemporaryFile(/tmp/multipartBody7684001363046747598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741472552515,"filename":"image_08032025_23_21_15_9934.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/4b8cf71cdeb9e3ff30a63729316d7d4c.jpg","text":"TemporaryFile(/tmp/multipartBody2856403481070474280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741472552515,"filename":"image_08032025_23_21_45_9953.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1342049440","file1":"1342049413","file0":"1342049388","file4":"1342049488","file5":"1342049489","file3":"1342049466"},"map_files_photo_id_array":[{"photo_id":"1342049489","filename":"file5"},{"photo_id":"1342049440","filename":"file2"},{"photo_id":"1342049488","filename":"file4"},{"photo_id":"1342049413","filename":"file1"},{"photo_id":"1342049388","filename":"file0"},{"photo_id":"1342049466","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1342049489":["hashtag1","hashtag2"]},{"1342049488":["hashtag1","hashtag2"]},{"1342049440":["hashtag1","hashtag2"]},{"1342049413":["hashtag1","hashtag2"]},{"1342049466":["hashtag1","hashtag2"]},{"1342049388":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1342049489, 1342049488, 1342049440, 1342049413, 1342049466, 1342049388)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.77521276473999 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 23:22:32.202316
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/23/22/image_08032025_23_22_45_9959.jpg', 2), ('/home/nano/Desktop/images/08032025/23/22/image_08032025_23_22_35_9951.jpg', 2), ('/home/nano/Desktop/images/08032025/23/22/image_08032025_23_22_25_9934.jpg', 2), ('/home/nano/Desktop/images/08032025/23/22/image_08032025_23_22_16_9933.jpg', 2), ('/home/nano/Desktop/images/08032025/23/21/image_08032025_23_22_06_10953.jpg', 2), ('/home/nano/Desktop/images/08032025/23/21/image_08032025_23_21_55_9936.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/23/22/image_08032025_23_22_45_9959.jpg', '/home/nano/Desktop/images/08032025/23/22/image_08032025_23_22_35_9951.jpg', '/home/nano/Desktop/images/08032025/23/22/image_08032025_23_22_25_9934.jpg', '/home/nano/Desktop/images/08032025/23/22/image_08032025_23_22_16_9933.jpg', '/home/nano/Desktop/images/08032025/23/21/image_08032025_23_22_06_10953.jpg', '/home/nano/Desktop/images/08032025/23/21/image_08032025_23_21_55_9936.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/23/22/image_08032025_23_22_45_9959.jpg
/home/nano/Desktop/images/08032025/23/22/image_08032025_23_22_35_9951.jpg
/home/nano/Desktop/images/08032025/23/22/image_08032025_23_22_25_9934.jpg
/home/nano/Desktop/images/08032025/23/22/image_08032025_23_22_16_9933.jpg
/home/nano/Desktop/images/08032025/23/21/image_08032025_23_22_06_10953.jpg
/home/nano/Desktop/images/08032025/23/21/image_08032025_23_21_55_9936.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1342049513","1342049507","1342049510","1342049504","1342049512","1342049517"],"photo_ids_order":["1342049504","1342049507","1342049510","1342049512","1342049513","1342049517"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/fb09d9b180dc76468eda4dad3eaf8b33.jpg","text":"TemporaryFile(/tmp/multipartBody4635383862254394398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741472612619,"filename":"image_08032025_23_22_06_10953.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/14054b4024602fae6b498f5177692e50.jpg","text":"TemporaryFile(/tmp/multipartBody8816272038013383572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741472612619,"filename":"image_08032025_23_22_35_9951.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/6a8a5a0c8400d4e59b06f0c824543e0d.jpg","text":"TemporaryFile(/tmp/multipartBody5790771590720264117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741472612619,"filename":"image_08032025_23_22_25_9934.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/5a073af834703ca60827ad97d28077dc.jpg","text":"TemporaryFile(/tmp/multipartBody91458156834685093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741472612619,"filename":"image_08032025_23_22_45_9959.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/1ea4e8b900f059219a876160e76e184d.jpg","text":"TemporaryFile(/tmp/multipartBody3066983892877838457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741472612619,"filename":"image_08032025_23_22_16_9933.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/d09bcfda03c76b99ee8dfaffece24e84.jpg","text":"TemporaryFile(/tmp/multipartBody4133395700480091011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741472612619,"filename":"image_08032025_23_21_55_9936.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1342049510","file1":"1342049507","file0":"1342049504","file4":"1342049513","file5":"1342049517","file3":"1342049512"},"map_files_photo_id_array":[{"photo_id":"1342049517","filename":"file5"},{"photo_id":"1342049510","filename":"file2"},{"photo_id":"1342049513","filename":"file4"},{"photo_id":"1342049507","filename":"file1"},{"photo_id":"1342049504","filename":"file0"},{"photo_id":"1342049512","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1342049513":["hashtag1","hashtag2"]},{"1342049507":["hashtag1","hashtag2"]},{"1342049510":["hashtag1","hashtag2"]},{"1342049504":["hashtag1","hashtag2"]},{"1342049512":["hashtag1","hashtag2"]},{"1342049517":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1342049513, 1342049507, 1342049510, 1342049504, 1342049512, 1342049517)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.53336524963379 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 23:23:32.300204
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/23/23/image_08032025_23_23_45_9936.jpg', 2), ('/home/nano/Desktop/images/08032025/23/23/image_08032025_23_23_35_9933.jpg', 2), ('/home/nano/Desktop/images/08032025/23/23/image_08032025_23_23_25_9950.jpg', 2), ('/home/nano/Desktop/images/08032025/23/23/image_08032025_23_23_15_9960.jpg', 2), ('/home/nano/Desktop/images/08032025/23/22/image_08032025_23_23_05_9942.jpg', 2), ('/home/nano/Desktop/images/08032025/23/22/image_08032025_23_22_55_9931.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/23/23/image_08032025_23_23_45_9936.jpg', '/home/nano/Desktop/images/08032025/23/23/image_08032025_23_23_35_9933.jpg', '/home/nano/Desktop/images/08032025/23/23/image_08032025_23_23_25_9950.jpg', '/home/nano/Desktop/images/08032025/23/23/image_08032025_23_23_15_9960.jpg', '/home/nano/Desktop/images/08032025/23/22/image_08032025_23_23_05_9942.jpg', '/home/nano/Desktop/images/08032025/23/22/image_08032025_23_22_55_9931.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/23/23/image_08032025_23_23_45_9936.jpg
/home/nano/Desktop/images/08032025/23/23/image_08032025_23_23_35_9933.jpg
/home/nano/Desktop/images/08032025/23/23/image_08032025_23_23_25_9950.jpg
/home/nano/Desktop/images/08032025/23/23/image_08032025_23_23_15_9960.jpg
/home/nano/Desktop/images/08032025/23/22/image_08032025_23_23_05_9942.jpg
/home/nano/Desktop/images/08032025/23/22/image_08032025_23_22_55_9931.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1342049607","1342049678","1342049590","1342049719","1342049658","1342049586"],"photo_ids_order":["1342049586","1342049590","1342049607","1342049658","1342049678","1342049719"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/f2565fcbcbb06609496b1bd1b57e3a68.jpg","text":"TemporaryFile(/tmp/multipartBody92593212058299574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741472672712,"filename":"image_08032025_23_23_25_9950.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/1df853e5afc01da2adc11da0743bcceb.jpg","text":"TemporaryFile(/tmp/multipartBody1608438596241525546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741472672712,"filename":"image_08032025_23_23_05_9942.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/5ee5742d632b6adff260bcbb74a65853.jpg","text":"TemporaryFile(/tmp/multipartBody9152483992855639569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741472672712,"filename":"image_08032025_23_23_35_9933.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/3926bcfb5050fee85ae36976c5cb1a88.jpg","text":"TemporaryFile(/tmp/multipartBody137696119129890211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741472672712,"filename":"image_08032025_23_22_55_9931.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/5ab5122c322ff54ae6fd611f64697520.jpg","text":"TemporaryFile(/tmp/multipartBody8923271433351552821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741472672712,"filename":"image_08032025_23_23_15_9960.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/e0c2c69d36089c89132ee1a29b2a7519.jpg","text":"TemporaryFile(/tmp/multipartBody3513034730925353745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741472672712,"filename":"image_08032025_23_23_45_9936.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1342049607","file1":"1342049590","file0":"1342049586","file4":"1342049678","file5":"1342049719","file3":"1342049658"},"map_files_photo_id_array":[{"photo_id":"1342049719","filename":"file5"},{"photo_id":"1342049607","filename":"file2"},{"photo_id":"1342049678","filename":"file4"},{"photo_id":"1342049590","filename":"file1"},{"photo_id":"1342049586","filename":"file0"},{"photo_id":"1342049658","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1342049607":["hashtag1","hashtag2"]},{"1342049678":["hashtag1","hashtag2"]},{"1342049590":["hashtag1","hashtag2"]},{"1342049719":["hashtag1","hashtag2"]},{"1342049658":["hashtag1","hashtag2"]},{"1342049586":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1342049607, 1342049678, 1342049590, 1342049719, 1342049658, 1342049586)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.446333169937134 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 23:24:32.405526
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/23/24/image_08032025_23_24_45_9935.jpg', 2), ('/home/nano/Desktop/images/08032025/23/24/image_08032025_23_24_35_9933.jpg', 2), ('/home/nano/Desktop/images/08032025/23/24/image_08032025_23_24_25_9928.jpg', 2), ('/home/nano/Desktop/images/08032025/23/24/image_08032025_23_24_15_9935.jpg', 2), ('/home/nano/Desktop/images/08032025/23/23/image_08032025_23_24_05_9957.jpg', 2), ('/home/nano/Desktop/images/08032025/23/23/image_08032025_23_23_55_9936.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/23/24/image_08032025_23_24_45_9935.jpg', '/home/nano/Desktop/images/08032025/23/24/image_08032025_23_24_35_9933.jpg', '/home/nano/Desktop/images/08032025/23/24/image_08032025_23_24_25_9928.jpg', '/home/nano/Desktop/images/08032025/23/24/image_08032025_23_24_15_9935.jpg', '/home/nano/Desktop/images/08032025/23/23/image_08032025_23_24_05_9957.jpg', '/home/nano/Desktop/images/08032025/23/23/image_08032025_23_23_55_9936.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/23/24/image_08032025_23_24_45_9935.jpg
/home/nano/Desktop/images/08032025/23/24/image_08032025_23_24_35_9933.jpg
/home/nano/Desktop/images/08032025/23/24/image_08032025_23_24_25_9928.jpg
/home/nano/Desktop/images/08032025/23/24/image_08032025_23_24_15_9935.jpg
/home/nano/Desktop/images/08032025/23/23/image_08032025_23_24_05_9957.jpg
/home/nano/Desktop/images/08032025/23/23/image_08032025_23_23_55_9936.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1342049959","1342049950","1342049935","1342049929","1342049910","1342049907"],"photo_ids_order":["1342049907","1342049910","1342049929","1342049935","1342049950","1342049959"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/c2b1625a2bf3eae0d3eb4982934959f3.jpg","text":"TemporaryFile(/tmp/multipartBody1125209245002910148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741472732835,"filename":"image_08032025_23_23_55_9936.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/d3917fd1503719e220b46e77bd33f8e6.jpg","text":"TemporaryFile(/tmp/multipartBody6344922299663864010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741472732835,"filename":"image_08032025_23_24_05_9957.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/b64b874b2ed9ea88cb1ea2c84071d4d5.jpg","text":"TemporaryFile(/tmp/multipartBody3065971864873320382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741472732835,"filename":"image_08032025_23_24_15_9935.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/88edc1ee3d3762a844056d94aa734049.jpg","text":"TemporaryFile(/tmp/multipartBody4886271359138357222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741472732835,"filename":"image_08032025_23_24_25_9928.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/e6f693b23b78c63bac894c2688067db6.jpg","text":"TemporaryFile(/tmp/multipartBody7008040274950771657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741472732835,"filename":"image_08032025_23_24_35_9933.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/dfda6f291aed78e6685dc405519275be.jpg","text":"TemporaryFile(/tmp/multipartBody3504436497936144461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741472732835,"filename":"image_08032025_23_24_45_9935.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1342049929","file1":"1342049910","file0":"1342049907","file4":"1342049950","file5":"1342049959","file3":"1342049935"},"map_files_photo_id_array":[{"photo_id":"1342049959","filename":"file5"},{"photo_id":"1342049929","filename":"file2"},{"photo_id":"1342049950","filename":"file4"},{"photo_id":"1342049910","filename":"file1"},{"photo_id":"1342049907","filename":"file0"},{"photo_id":"1342049935","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1342049959":["hashtag1","hashtag2"]},{"1342049950":["hashtag1","hashtag2"]},{"1342049935":["hashtag1","hashtag2"]},{"1342049929":["hashtag1","hashtag2"]},{"1342049910":["hashtag1","hashtag2"]},{"1342049907":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1342049959, 1342049950, 1342049935, 1342049929, 1342049910, 1342049907)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.367183685302734 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 23:25:32.501301
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/23/25/image_08032025_23_25_45_9938.jpg', 2), ('/home/nano/Desktop/images/08032025/23/25/image_08032025_23_25_35_9939.jpg', 2), ('/home/nano/Desktop/images/08032025/23/25/image_08032025_23_25_25_9935.jpg', 2), ('/home/nano/Desktop/images/08032025/23/25/image_08032025_23_25_15_9935.jpg', 2), ('/home/nano/Desktop/images/08032025/23/24/image_08032025_23_25_06_9952.jpg', 2), ('/home/nano/Desktop/images/08032025/23/24/image_08032025_23_24_56_10944.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/23/25/image_08032025_23_25_45_9938.jpg', '/home/nano/Desktop/images/08032025/23/25/image_08032025_23_25_35_9939.jpg', '/home/nano/Desktop/images/08032025/23/25/image_08032025_23_25_25_9935.jpg', '/home/nano/Desktop/images/08032025/23/25/image_08032025_23_25_15_9935.jpg', '/home/nano/Desktop/images/08032025/23/24/image_08032025_23_25_06_9952.jpg', '/home/nano/Desktop/images/08032025/23/24/image_08032025_23_24_56_10944.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/23/25/image_08032025_23_25_45_9938.jpg
/home/nano/Desktop/images/08032025/23/25/image_08032025_23_25_35_9939.jpg
/home/nano/Desktop/images/08032025/23/25/image_08032025_23_25_25_9935.jpg
/home/nano/Desktop/images/08032025/23/25/image_08032025_23_25_15_9935.jpg
/home/nano/Desktop/images/08032025/23/24/image_08032025_23_25_06_9952.jpg
/home/nano/Desktop/images/08032025/23/24/image_08032025_23_24_56_10944.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1342050165","1342050402","1342050309","1342050086","1342050058","1342050100"],"photo_ids_order":["1342050058","1342050086","1342050100","1342050165","1342050309","1342050402"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/d7faeebd9063fa244301f797741fb845.jpg","text":"TemporaryFile(/tmp/multipartBody5446263432332592387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741472792933,"filename":"image_08032025_23_25_15_9935.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/66b64a9af91eea641b41bb1521f43732.jpg","text":"TemporaryFile(/tmp/multipartBody898226031209073604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741472792933,"filename":"image_08032025_23_24_56_10944.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/5c069345b6bd16a8022e3e51b0ec6c28.jpg","text":"TemporaryFile(/tmp/multipartBody7225965943683327751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741472792933,"filename":"image_08032025_23_25_06_9952.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/747eb143e859bb5c725cfc1ccd2635ff.jpg","text":"TemporaryFile(/tmp/multipartBody5294485225234502487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741472792933,"filename":"image_08032025_23_25_35_9939.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/4af4012288b8c6480be05ea7a2f58437.jpg","text":"TemporaryFile(/tmp/multipartBody7116840034506517972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741472792933,"filename":"image_08032025_23_25_45_9938.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/fdae007051ec99c58cc4dd61b7fb72a4.jpg","text":"TemporaryFile(/tmp/multipartBody8502846465711738916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741472792933,"filename":"image_08032025_23_25_25_9935.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1342050100","file1":"1342050086","file0":"1342050058","file4":"1342050309","file5":"1342050402","file3":"1342050165"},"map_files_photo_id_array":[{"photo_id":"1342050402","filename":"file5"},{"photo_id":"1342050100","filename":"file2"},{"photo_id":"1342050309","filename":"file4"},{"photo_id":"1342050086","filename":"file1"},{"photo_id":"1342050058","filename":"file0"},{"photo_id":"1342050165","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1342050165":["hashtag1","hashtag2"]},{"1342050402":["hashtag1","hashtag2"]},{"1342050309":["hashtag1","hashtag2"]},{"1342050086":["hashtag1","hashtag2"]},{"1342050058":["hashtag1","hashtag2"]},{"1342050100":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1342050165, 1342050402, 1342050309, 1342050086, 1342050058, 1342050100)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.98084020614624 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 23:26:32.602720
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/23/26/image_08032025_23_26_45_9932.jpg', 2), ('/home/nano/Desktop/images/08032025/23/26/image_08032025_23_26_35_9935.jpg', 2), ('/home/nano/Desktop/images/08032025/23/26/image_08032025_23_26_25_9936.jpg', 2), ('/home/nano/Desktop/images/08032025/23/26/image_08032025_23_26_15_9931.jpg', 2), ('/home/nano/Desktop/images/08032025/23/25/image_08032025_23_26_05_9960.jpg', 2), ('/home/nano/Desktop/images/08032025/23/25/image_08032025_23_25_55_9931.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/23/26/image_08032025_23_26_45_9932.jpg', '/home/nano/Desktop/images/08032025/23/26/image_08032025_23_26_35_9935.jpg', '/home/nano/Desktop/images/08032025/23/26/image_08032025_23_26_25_9936.jpg', '/home/nano/Desktop/images/08032025/23/26/image_08032025_23_26_15_9931.jpg', '/home/nano/Desktop/images/08032025/23/25/image_08032025_23_26_05_9960.jpg', '/home/nano/Desktop/images/08032025/23/25/image_08032025_23_25_55_9931.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/23/26/image_08032025_23_26_45_9932.jpg
/home/nano/Desktop/images/08032025/23/26/image_08032025_23_26_35_9935.jpg
/home/nano/Desktop/images/08032025/23/26/image_08032025_23_26_25_9936.jpg
/home/nano/Desktop/images/08032025/23/26/image_08032025_23_26_15_9931.jpg
/home/nano/Desktop/images/08032025/23/25/image_08032025_23_26_05_9960.jpg
/home/nano/Desktop/images/08032025/23/25/image_08032025_23_25_55_9931.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1342051115","1342051123","1342051117","1342051132","1342051129","1342051120"],"photo_ids_order":["1342051115","1342051117","1342051120","1342051123","1342051129","1342051132"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/f32e25ca27e16f6b47d86a9a68bc52ce.jpg","text":"TemporaryFile(/tmp/multipartBody6606102401060836576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741472853040,"filename":"image_08032025_23_26_45_9932.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/a6d31f4d75adbf8ee81499a12943002f.jpg","text":"TemporaryFile(/tmp/multipartBody1000933131781235185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741472853040,"filename":"image_08032025_23_26_15_9931.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/4616f491c60f16466a45cebabd305892.jpg","text":"TemporaryFile(/tmp/multipartBody984734833304422661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741472853040,"filename":"image_08032025_23_26_35_9935.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/18e431abc057acfd1625db24e8d6414f.jpg","text":"TemporaryFile(/tmp/multipartBody7337887912223857632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741472853040,"filename":"image_08032025_23_25_55_9931.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/265ab2cba45c2182b915fbd1b9985d59.jpg","text":"TemporaryFile(/tmp/multipartBody4604973151280582661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741472853040,"filename":"image_08032025_23_26_05_9960.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/f58b631b451819bb25603ccc0993ac2a.jpg","text":"TemporaryFile(/tmp/multipartBody3561207469723970749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741472853040,"filename":"image_08032025_23_26_25_9936.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1342051120","file1":"1342051117","file0":"1342051115","file4":"1342051129","file5":"1342051132","file3":"1342051123"},"map_files_photo_id_array":[{"photo_id":"1342051132","filename":"file5"},{"photo_id":"1342051120","filename":"file2"},{"photo_id":"1342051129","filename":"file4"},{"photo_id":"1342051117","filename":"file1"},{"photo_id":"1342051115","filename":"file0"},{"photo_id":"1342051123","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1342051115":["hashtag1","hashtag2"]},{"1342051123":["hashtag1","hashtag2"]},{"1342051117":["hashtag1","hashtag2"]},{"1342051132":["hashtag1","hashtag2"]},{"1342051129":["hashtag1","hashtag2"]},{"1342051120":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1342051115, 1342051123, 1342051117, 1342051132, 1342051129, 1342051120)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.076273918151855 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 23:27:32.732490
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/23/27/image_08032025_23_27_46_10942.jpg', 2), ('/home/nano/Desktop/images/08032025/23/27/image_08032025_23_27_35_9935.jpg', 2), ('/home/nano/Desktop/images/08032025/23/27/image_08032025_23_27_25_9930.jpg', 2), ('/home/nano/Desktop/images/08032025/23/27/image_08032025_23_27_15_9937.jpg', 2), ('/home/nano/Desktop/images/08032025/23/26/image_08032025_23_27_05_9941.jpg', 2), ('/home/nano/Desktop/images/08032025/23/26/image_08032025_23_26_55_9930.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/23/27/image_08032025_23_27_46_10942.jpg', '/home/nano/Desktop/images/08032025/23/27/image_08032025_23_27_35_9935.jpg', '/home/nano/Desktop/images/08032025/23/27/image_08032025_23_27_25_9930.jpg', '/home/nano/Desktop/images/08032025/23/27/image_08032025_23_27_15_9937.jpg', '/home/nano/Desktop/images/08032025/23/26/image_08032025_23_27_05_9941.jpg', '/home/nano/Desktop/images/08032025/23/26/image_08032025_23_26_55_9930.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/23/27/image_08032025_23_27_46_10942.jpg
/home/nano/Desktop/images/08032025/23/27/image_08032025_23_27_35_9935.jpg
/home/nano/Desktop/images/08032025/23/27/image_08032025_23_27_25_9930.jpg
/home/nano/Desktop/images/08032025/23/27/image_08032025_23_27_15_9937.jpg
/home/nano/Desktop/images/08032025/23/26/image_08032025_23_27_05_9941.jpg
/home/nano/Desktop/images/08032025/23/26/image_08032025_23_26_55_9930.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1342051397","1342051451","1342051508","1342051432","1342051555","1342051530"],"photo_ids_order":["1342051397","1342051432","1342051451","1342051508","1342051530","1342051555"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/f8be380ca0874ed2f4b14747939911da.jpg","text":"TemporaryFile(/tmp/multipartBody3282568923482464516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741472913162,"filename":"image_08032025_23_27_46_10942.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/210913dd6d9e5a559c0f459b7ddb1c32.jpg","text":"TemporaryFile(/tmp/multipartBody5974288282776311283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741472913162,"filename":"image_08032025_23_27_25_9930.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/6c7322f44d4831dd6491247ed10f2514.jpg","text":"TemporaryFile(/tmp/multipartBody7367803653835296337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741472913162,"filename":"image_08032025_23_27_15_9937.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/499283ef2d8b25c5924f901f5ab832e7.jpg","text":"TemporaryFile(/tmp/multipartBody7236307141397742697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741472913162,"filename":"image_08032025_23_27_35_9935.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/7e16358037dd4a22c188d8b9b31f5ada.jpg","text":"TemporaryFile(/tmp/multipartBody5264000432855638358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741472913162,"filename":"image_08032025_23_26_55_9930.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/dee65f01b8e39810240b9c2f772c71ee.jpg","text":"TemporaryFile(/tmp/multipartBody1049421587057120795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741472913162,"filename":"image_08032025_23_27_05_9941.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1342051451","file1":"1342051432","file0":"1342051397","file4":"1342051530","file5":"1342051555","file3":"1342051508"},"map_files_photo_id_array":[{"photo_id":"1342051555","filename":"file5"},{"photo_id":"1342051451","filename":"file2"},{"photo_id":"1342051530","filename":"file4"},{"photo_id":"1342051432","filename":"file1"},{"photo_id":"1342051397","filename":"file0"},{"photo_id":"1342051508","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1342051397":["hashtag1","hashtag2"]},{"1342051451":["hashtag1","hashtag2"]},{"1342051508":["hashtag1","hashtag2"]},{"1342051432":["hashtag1","hashtag2"]},{"1342051555":["hashtag1","hashtag2"]},{"1342051530":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1342051397, 1342051451, 1342051508, 1342051432, 1342051555, 1342051530)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.99441957473755 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 23:28:31.829020
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/23/28/image_08032025_23_28_45_9946.jpg', 2), ('/home/nano/Desktop/images/08032025/23/28/image_08032025_23_28_35_9949.jpg', 2), ('/home/nano/Desktop/images/08032025/23/28/image_08032025_23_28_25_9934.jpg', 2), ('/home/nano/Desktop/images/08032025/23/28/image_08032025_23_28_15_9936.jpg', 2), ('/home/nano/Desktop/images/08032025/23/27/image_08032025_23_28_05_9968.jpg', 2), ('/home/nano/Desktop/images/08032025/23/27/image_08032025_23_27_55_9949.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/23/28/image_08032025_23_28_45_9946.jpg', '/home/nano/Desktop/images/08032025/23/28/image_08032025_23_28_35_9949.jpg', '/home/nano/Desktop/images/08032025/23/28/image_08032025_23_28_25_9934.jpg', '/home/nano/Desktop/images/08032025/23/28/image_08032025_23_28_15_9936.jpg', '/home/nano/Desktop/images/08032025/23/27/image_08032025_23_28_05_9968.jpg', '/home/nano/Desktop/images/08032025/23/27/image_08032025_23_27_55_9949.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/23/28/image_08032025_23_28_45_9946.jpg
/home/nano/Desktop/images/08032025/23/28/image_08032025_23_28_35_9949.jpg
/home/nano/Desktop/images/08032025/23/28/image_08032025_23_28_25_9934.jpg
/home/nano/Desktop/images/08032025/23/28/image_08032025_23_28_15_9936.jpg
/home/nano/Desktop/images/08032025/23/27/image_08032025_23_28_05_9968.jpg
/home/nano/Desktop/images/08032025/23/27/image_08032025_23_27_55_9949.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1342051682","1342051745","1342051681","1342051689","1342051659","1342051719"],"photo_ids_order":["1342051659","1342051681","1342051682","1342051689","1342051719","1342051745"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/2764dcfbc31a919a7d618fcf1896b06f.jpg","text":"TemporaryFile(/tmp/multipartBody6584232523806089990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741472972262,"filename":"image_08032025_23_28_25_9934.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/44655f405eb8d782d813d0c3046c56a4.jpg","text":"TemporaryFile(/tmp/multipartBody4364783703503038188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741472972262,"filename":"image_08032025_23_27_55_9949.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/ff0b2b0978146675a2b52dd207e57dd7.jpg","text":"TemporaryFile(/tmp/multipartBody1575851054863430936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741472972262,"filename":"image_08032025_23_28_35_9949.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/019ecb1444a580a234c14a8c0234581c.jpg","text":"TemporaryFile(/tmp/multipartBody2463690863015571996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741472972262,"filename":"image_08032025_23_28_15_9936.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/09991c900dde3149dbf5db41af606023.jpg","text":"TemporaryFile(/tmp/multipartBody8335438167226822100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741472972262,"filename":"image_08032025_23_28_45_9946.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/132a6c2c5eba55b279a932f3de363fb6.jpg","text":"TemporaryFile(/tmp/multipartBody5167281520892448936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741472972262,"filename":"image_08032025_23_28_05_9968.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1342051682","file1":"1342051681","file0":"1342051659","file4":"1342051719","file5":"1342051745","file3":"1342051689"},"map_files_photo_id_array":[{"photo_id":"1342051745","filename":"file5"},{"photo_id":"1342051682","filename":"file2"},{"photo_id":"1342051719","filename":"file4"},{"photo_id":"1342051681","filename":"file1"},{"photo_id":"1342051659","filename":"file0"},{"photo_id":"1342051689","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1342051682":["hashtag1","hashtag2"]},{"1342051745":["hashtag1","hashtag2"]},{"1342051681":["hashtag1","hashtag2"]},{"1342051689":["hashtag1","hashtag2"]},{"1342051659":["hashtag1","hashtag2"]},{"1342051719":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1342051682, 1342051745, 1342051681, 1342051689, 1342051659, 1342051719)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.23082971572876 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 23:29:31.943279
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/23/29/image_08032025_23_29_45_9928.jpg', 2), ('/home/nano/Desktop/images/08032025/23/29/image_08032025_23_29_35_9933.jpg', 2), ('/home/nano/Desktop/images/08032025/23/29/image_08032025_23_29_25_9934.jpg', 2), ('/home/nano/Desktop/images/08032025/23/29/image_08032025_23_29_15_9932.jpg', 2), ('/home/nano/Desktop/images/08032025/23/28/image_08032025_23_29_05_9938.jpg', 2), ('/home/nano/Desktop/images/08032025/23/28/image_08032025_23_28_55_9931.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/23/29/image_08032025_23_29_45_9928.jpg', '/home/nano/Desktop/images/08032025/23/29/image_08032025_23_29_35_9933.jpg', '/home/nano/Desktop/images/08032025/23/29/image_08032025_23_29_25_9934.jpg', '/home/nano/Desktop/images/08032025/23/29/image_08032025_23_29_15_9932.jpg', '/home/nano/Desktop/images/08032025/23/28/image_08032025_23_29_05_9938.jpg', '/home/nano/Desktop/images/08032025/23/28/image_08032025_23_28_55_9931.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/23/29/image_08032025_23_29_45_9928.jpg
/home/nano/Desktop/images/08032025/23/29/image_08032025_23_29_35_9933.jpg
/home/nano/Desktop/images/08032025/23/29/image_08032025_23_29_25_9934.jpg
/home/nano/Desktop/images/08032025/23/29/image_08032025_23_29_15_9932.jpg
/home/nano/Desktop/images/08032025/23/28/image_08032025_23_29_05_9938.jpg
/home/nano/Desktop/images/08032025/23/28/image_08032025_23_28_55_9931.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1342052257","1342052143","1342052317","1342052184","1342052370","1342052208"],"photo_ids_order":["1342052143","1342052184","1342052208","1342052257","1342052317","1342052370"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/456af7963060254b576497b27769eef2.jpg","text":"TemporaryFile(/tmp/multipartBody273211296557776530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741473032373,"filename":"image_08032025_23_29_15_9932.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/6c7f7c67415f3e23c8e085abc25154da.jpg","text":"TemporaryFile(/tmp/multipartBody4619135899854141737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741473032373,"filename":"image_08032025_23_29_45_9928.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/3f314b7b78ee220036ff0fbaaa0a9a0d.jpg","text":"TemporaryFile(/tmp/multipartBody1745713234978497775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741473032373,"filename":"image_08032025_23_29_05_9938.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/9b43916609f75c75359296193be8149b.jpg","text":"TemporaryFile(/tmp/multipartBody7998728445271133004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741473032373,"filename":"image_08032025_23_29_35_9933.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/bd4486626477de261e3a6c76cf902c50.jpg","text":"TemporaryFile(/tmp/multipartBody5147962200902205176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741473032373,"filename":"image_08032025_23_28_55_9931.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/0a74120992b935cae9befceb5e5d353a.jpg","text":"TemporaryFile(/tmp/multipartBody6706969823332091983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741473032373,"filename":"image_08032025_23_29_25_9934.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1342052208","file1":"1342052184","file0":"1342052143","file4":"1342052317","file5":"1342052370","file3":"1342052257"},"map_files_photo_id_array":[{"photo_id":"1342052370","filename":"file5"},{"photo_id":"1342052208","filename":"file2"},{"photo_id":"1342052317","filename":"file4"},{"photo_id":"1342052184","filename":"file1"},{"photo_id":"1342052143","filename":"file0"},{"photo_id":"1342052257","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1342052257":["hashtag1","hashtag2"]},{"1342052143":["hashtag1","hashtag2"]},{"1342052317":["hashtag1","hashtag2"]},{"1342052184":["hashtag1","hashtag2"]},{"1342052370":["hashtag1","hashtag2"]},{"1342052208":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1342052257, 1342052143, 1342052317, 1342052184, 1342052370, 1342052208)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.86691427230835 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 23:30:32.098088
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/23/30/image_08032025_23_30_45_9926.jpg', 2), ('/home/nano/Desktop/images/08032025/23/30/image_08032025_23_30_36_10940.jpg', 2), ('/home/nano/Desktop/images/08032025/23/30/image_08032025_23_30_25_9930.jpg', 2), ('/home/nano/Desktop/images/08032025/23/30/image_08032025_23_30_15_9954.jpg', 2), ('/home/nano/Desktop/images/08032025/23/29/image_08032025_23_30_05_9973.jpg', 2), ('/home/nano/Desktop/images/08032025/23/29/image_08032025_23_29_55_9929.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/23/30/image_08032025_23_30_45_9926.jpg', '/home/nano/Desktop/images/08032025/23/30/image_08032025_23_30_36_10940.jpg', '/home/nano/Desktop/images/08032025/23/30/image_08032025_23_30_25_9930.jpg', '/home/nano/Desktop/images/08032025/23/30/image_08032025_23_30_15_9954.jpg', '/home/nano/Desktop/images/08032025/23/29/image_08032025_23_30_05_9973.jpg', '/home/nano/Desktop/images/08032025/23/29/image_08032025_23_29_55_9929.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/23/30/image_08032025_23_30_45_9926.jpg
/home/nano/Desktop/images/08032025/23/30/image_08032025_23_30_36_10940.jpg
/home/nano/Desktop/images/08032025/23/30/image_08032025_23_30_25_9930.jpg
/home/nano/Desktop/images/08032025/23/30/image_08032025_23_30_15_9954.jpg
/home/nano/Desktop/images/08032025/23/29/image_08032025_23_30_05_9973.jpg
/home/nano/Desktop/images/08032025/23/29/image_08032025_23_29_55_9929.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1342052720","1342052671","1342052824","1342052803","1342052859","1342052868"],"photo_ids_order":["1342052671","1342052720","1342052803","1342052824","1342052859","1342052868"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/22812a439800b5648ed90c1215198172.jpg","text":"TemporaryFile(/tmp/multipartBody6919250544118245106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741473092507,"filename":"image_08032025_23_30_36_10940.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/a0a2acaffc7403ddb52bea56f7efb74b.jpg","text":"TemporaryFile(/tmp/multipartBody6844525897082258796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741473092507,"filename":"image_08032025_23_30_45_9926.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/629709ce2b7f836813948eb1a406547f.jpg","text":"TemporaryFile(/tmp/multipartBody6266406438465372451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741473092507,"filename":"image_08032025_23_30_15_9954.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/8148453c836be5afd4cc0f62fc2766b7.jpg","text":"TemporaryFile(/tmp/multipartBody2773688299879928774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741473092507,"filename":"image_08032025_23_30_25_9930.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/6162e0e35ddbaf5838715a15d2f44620.jpg","text":"TemporaryFile(/tmp/multipartBody1210183797885288374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741473092507,"filename":"image_08032025_23_30_05_9973.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/5b068b419ac9f434e1e091e5d7b76cba.jpg","text":"TemporaryFile(/tmp/multipartBody7910778363559276905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741473092507,"filename":"image_08032025_23_29_55_9929.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1342052803","file1":"1342052720","file0":"1342052671","file4":"1342052859","file5":"1342052868","file3":"1342052824"},"map_files_photo_id_array":[{"photo_id":"1342052868","filename":"file5"},{"photo_id":"1342052803","filename":"file2"},{"photo_id":"1342052859","filename":"file4"},{"photo_id":"1342052720","filename":"file1"},{"photo_id":"1342052671","filename":"file0"},{"photo_id":"1342052824","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1342052720":["hashtag1","hashtag2"]},{"1342052671":["hashtag1","hashtag2"]},{"1342052824":["hashtag1","hashtag2"]},{"1342052803":["hashtag1","hashtag2"]},{"1342052859":["hashtag1","hashtag2"]},{"1342052868":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1342052720, 1342052671, 1342052824, 1342052803, 1342052859, 1342052868)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.12261438369751 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 23:31:32.221062
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/23/31/image_08032025_23_31_45_9929.jpg', 2), ('/home/nano/Desktop/images/08032025/23/31/image_08032025_23_31_35_9927.jpg', 2), ('/home/nano/Desktop/images/08032025/23/31/image_08032025_23_31_25_9946.jpg', 2), ('/home/nano/Desktop/images/08032025/23/31/image_08032025_23_31_15_9929.jpg', 2), ('/home/nano/Desktop/images/08032025/23/30/image_08032025_23_31_05_9930.jpg', 2), ('/home/nano/Desktop/images/08032025/23/30/image_08032025_23_30_55_9925.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/23/31/image_08032025_23_31_45_9929.jpg', '/home/nano/Desktop/images/08032025/23/31/image_08032025_23_31_35_9927.jpg', '/home/nano/Desktop/images/08032025/23/31/image_08032025_23_31_25_9946.jpg', '/home/nano/Desktop/images/08032025/23/31/image_08032025_23_31_15_9929.jpg', '/home/nano/Desktop/images/08032025/23/30/image_08032025_23_31_05_9930.jpg', '/home/nano/Desktop/images/08032025/23/30/image_08032025_23_30_55_9925.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/23/31/image_08032025_23_31_45_9929.jpg
/home/nano/Desktop/images/08032025/23/31/image_08032025_23_31_35_9927.jpg
/home/nano/Desktop/images/08032025/23/31/image_08032025_23_31_25_9946.jpg
/home/nano/Desktop/images/08032025/23/31/image_08032025_23_31_15_9929.jpg
/home/nano/Desktop/images/08032025/23/30/image_08032025_23_31_05_9930.jpg
/home/nano/Desktop/images/08032025/23/30/image_08032025_23_30_55_9925.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1342053031","1342053055","1342053028","1342053036","1342053033","1342053062"],"photo_ids_order":["1342053028","1342053031","1342053033","1342053036","1342053055","1342053062"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/aa7f01778f7c5b4567b8b44429a298ab.jpg","text":"TemporaryFile(/tmp/multipartBody1774763078138293132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741473152674,"filename":"image_08032025_23_31_35_9927.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/ab797c516387296064a0fcba67489fdf.jpg","text":"TemporaryFile(/tmp/multipartBody8150394365323342621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741473152674,"filename":"image_08032025_23_31_05_9930.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/4882694533cf08bd6114cf240d7cd7cf.jpg","text":"TemporaryFile(/tmp/multipartBody6354391232744843639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741473152674,"filename":"image_08032025_23_31_45_9929.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/7d62632a94642417ea7a8e1c08c4ca93.jpg","text":"TemporaryFile(/tmp/multipartBody8019153754906621162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741473152674,"filename":"image_08032025_23_31_15_9929.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/12c6388624c64c0ed2d8b0665e4f363d.jpg","text":"TemporaryFile(/tmp/multipartBody2134399619018099667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741473152674,"filename":"image_08032025_23_31_25_9946.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/aeca9d99fea3cde8c1443a35f449564e.jpg","text":"TemporaryFile(/tmp/multipartBody110937331341511104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741473152674,"filename":"image_08032025_23_30_55_9925.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1342053033","file1":"1342053031","file0":"1342053028","file4":"1342053055","file5":"1342053062","file3":"1342053036"},"map_files_photo_id_array":[{"photo_id":"1342053062","filename":"file5"},{"photo_id":"1342053033","filename":"file2"},{"photo_id":"1342053055","filename":"file4"},{"photo_id":"1342053031","filename":"file1"},{"photo_id":"1342053028","filename":"file0"},{"photo_id":"1342053036","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1342053031":["hashtag1","hashtag2"]},{"1342053055":["hashtag1","hashtag2"]},{"1342053028":["hashtag1","hashtag2"]},{"1342053036":["hashtag1","hashtag2"]},{"1342053033":["hashtag1","hashtag2"]},{"1342053062":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1342053031, 1342053055, 1342053028, 1342053036, 1342053033, 1342053062)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.68086266517639 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 23:32:32.299448
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/23/32/image_08032025_23_32_45_9933.jpg', 2), ('/home/nano/Desktop/images/08032025/23/32/image_08032025_23_32_35_9947.jpg', 2), ('/home/nano/Desktop/images/08032025/23/32/image_08032025_23_32_25_9936.jpg', 2), ('/home/nano/Desktop/images/08032025/23/32/image_08032025_23_32_15_9934.jpg', 2), ('/home/nano/Desktop/images/08032025/23/31/image_08032025_23_32_05_9946.jpg', 2), ('/home/nano/Desktop/images/08032025/23/31/image_08032025_23_31_55_9929.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/23/32/image_08032025_23_32_45_9933.jpg', '/home/nano/Desktop/images/08032025/23/32/image_08032025_23_32_35_9947.jpg', '/home/nano/Desktop/images/08032025/23/32/image_08032025_23_32_25_9936.jpg', '/home/nano/Desktop/images/08032025/23/32/image_08032025_23_32_15_9934.jpg', '/home/nano/Desktop/images/08032025/23/31/image_08032025_23_32_05_9946.jpg', '/home/nano/Desktop/images/08032025/23/31/image_08032025_23_31_55_9929.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/23/32/image_08032025_23_32_45_9933.jpg
/home/nano/Desktop/images/08032025/23/32/image_08032025_23_32_35_9947.jpg
/home/nano/Desktop/images/08032025/23/32/image_08032025_23_32_25_9936.jpg
/home/nano/Desktop/images/08032025/23/32/image_08032025_23_32_15_9934.jpg
/home/nano/Desktop/images/08032025/23/31/image_08032025_23_32_05_9946.jpg
/home/nano/Desktop/images/08032025/23/31/image_08032025_23_31_55_9929.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1342053214","1342053291","1342053258","1342053191","1342053188","1342053233"],"photo_ids_order":["1342053188","1342053191","1342053214","1342053233","1342053258","1342053291"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/95c0e70858b7fbc172c0bf1c67fb4001.jpg","text":"TemporaryFile(/tmp/multipartBody3381085659950218135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741473212727,"filename":"image_08032025_23_32_25_9936.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/58bf8c5fb5f55d9dca84f44b403b1092.jpg","text":"TemporaryFile(/tmp/multipartBody4206395889397685466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741473212727,"filename":"image_08032025_23_31_55_9929.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/045a418dd9aa5e293872daa7e533c75f.jpg","text":"TemporaryFile(/tmp/multipartBody2533625916109463091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741473212727,"filename":"image_08032025_23_32_05_9946.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/e793ada420527915be78d8440d45bb34.jpg","text":"TemporaryFile(/tmp/multipartBody1645470463272423467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741473212727,"filename":"image_08032025_23_32_35_9947.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/5ef93b2d4406ad57edf3f1a5098c18f4.jpg","text":"TemporaryFile(/tmp/multipartBody2469153498886422102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741473212727,"filename":"image_08032025_23_32_45_9933.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/e3d0372573ebb5aca30c884eb6549452.jpg","text":"TemporaryFile(/tmp/multipartBody7767815129388575505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741473212727,"filename":"image_08032025_23_32_15_9934.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1342053214","file1":"1342053191","file0":"1342053188","file4":"1342053258","file5":"1342053291","file3":"1342053233"},"map_files_photo_id_array":[{"photo_id":"1342053291","filename":"file5"},{"photo_id":"1342053214","filename":"file2"},{"photo_id":"1342053258","filename":"file4"},{"photo_id":"1342053191","filename":"file1"},{"photo_id":"1342053188","filename":"file0"},{"photo_id":"1342053233","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1342053214":["hashtag1","hashtag2"]},{"1342053291":["hashtag1","hashtag2"]},{"1342053258":["hashtag1","hashtag2"]},{"1342053191":["hashtag1","hashtag2"]},{"1342053188":["hashtag1","hashtag2"]},{"1342053233":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1342053214, 1342053291, 1342053258, 1342053191, 1342053188, 1342053233)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.89266920089722 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 23:33:32.449920
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/23/33/image_08032025_23_33_45_9933.jpg', 2), ('/home/nano/Desktop/images/08032025/23/33/image_08032025_23_33_35_9935.jpg', 2), ('/home/nano/Desktop/images/08032025/23/33/image_08032025_23_33_25_9929.jpg', 2), ('/home/nano/Desktop/images/08032025/23/33/image_08032025_23_33_16_9930.jpg', 2), ('/home/nano/Desktop/images/08032025/23/32/image_08032025_23_33_06_10952.jpg', 2), ('/home/nano/Desktop/images/08032025/23/32/image_08032025_23_32_55_9934.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/23/33/image_08032025_23_33_45_9933.jpg', '/home/nano/Desktop/images/08032025/23/33/image_08032025_23_33_35_9935.jpg', '/home/nano/Desktop/images/08032025/23/33/image_08032025_23_33_25_9929.jpg', '/home/nano/Desktop/images/08032025/23/33/image_08032025_23_33_16_9930.jpg', '/home/nano/Desktop/images/08032025/23/32/image_08032025_23_33_06_10952.jpg', '/home/nano/Desktop/images/08032025/23/32/image_08032025_23_32_55_9934.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/23/33/image_08032025_23_33_45_9933.jpg
/home/nano/Desktop/images/08032025/23/33/image_08032025_23_33_35_9935.jpg
/home/nano/Desktop/images/08032025/23/33/image_08032025_23_33_25_9929.jpg
/home/nano/Desktop/images/08032025/23/33/image_08032025_23_33_16_9930.jpg
/home/nano/Desktop/images/08032025/23/32/image_08032025_23_33_06_10952.jpg
/home/nano/Desktop/images/08032025/23/32/image_08032025_23_32_55_9934.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1342054006","1342053655","1342053913","1342053794","1342053635","1342053704"],"photo_ids_order":["1342053635","1342053655","1342053704","1342053794","1342053913","1342054006"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/1b11cb4ca2f66444a3e9a5eecd8d44e7.jpg","text":"TemporaryFile(/tmp/multipartBody3998186076168465010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741473272885,"filename":"image_08032025_23_32_55_9934.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/b1df57b9e6a76007d75048476175d765.jpg","text":"TemporaryFile(/tmp/multipartBody2248773276843831699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741473272885,"filename":"image_08032025_23_33_35_9935.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/224b5fb54bea21ccc6d7343fed0f38ac.jpg","text":"TemporaryFile(/tmp/multipartBody2986085809802262041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741473272885,"filename":"image_08032025_23_33_06_10952.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/3eb8cb51066232410682d986853fa5e3.jpg","text":"TemporaryFile(/tmp/multipartBody8214600567776330204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741473272885,"filename":"image_08032025_23_33_16_9930.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/bf731670f80edfe00ae328ef8b4fc4f9.jpg","text":"TemporaryFile(/tmp/multipartBody5796948368147359719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741473272885,"filename":"image_08032025_23_33_45_9933.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/30904db7ecd299ad27e2ca638d567ee5.jpg","text":"TemporaryFile(/tmp/multipartBody968582199987460580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741473272885,"filename":"image_08032025_23_33_25_9929.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1342053704","file1":"1342053655","file0":"1342053635","file4":"1342053913","file5":"1342054006","file3":"1342053794"},"map_files_photo_id_array":[{"photo_id":"1342054006","filename":"file5"},{"photo_id":"1342053704","filename":"file2"},{"photo_id":"1342053913","filename":"file4"},{"photo_id":"1342053655","filename":"file1"},{"photo_id":"1342053635","filename":"file0"},{"photo_id":"1342053794","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1342054006":["hashtag1","hashtag2"]},{"1342053655":["hashtag1","hashtag2"]},{"1342053913":["hashtag1","hashtag2"]},{"1342053794":["hashtag1","hashtag2"]},{"1342053635":["hashtag1","hashtag2"]},{"1342053704":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1342054006, 1342053655, 1342053913, 1342053794, 1342053635, 1342053704)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.87023115158081 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 23:34:32.580916
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/23/34/image_08032025_23_34_45_9949.jpg', 2), ('/home/nano/Desktop/images/08032025/23/34/image_08032025_23_34_35_9934.jpg', 2), ('/home/nano/Desktop/images/08032025/23/34/image_08032025_23_34_25_9935.jpg', 2), ('/home/nano/Desktop/images/08032025/23/34/image_08032025_23_34_15_9934.jpg', 2), ('/home/nano/Desktop/images/08032025/23/33/image_08032025_23_34_05_9949.jpg', 2), ('/home/nano/Desktop/images/08032025/23/33/image_08032025_23_33_55_9927.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/23/34/image_08032025_23_34_45_9949.jpg', '/home/nano/Desktop/images/08032025/23/34/image_08032025_23_34_35_9934.jpg', '/home/nano/Desktop/images/08032025/23/34/image_08032025_23_34_25_9935.jpg', '/home/nano/Desktop/images/08032025/23/34/image_08032025_23_34_15_9934.jpg', '/home/nano/Desktop/images/08032025/23/33/image_08032025_23_34_05_9949.jpg', '/home/nano/Desktop/images/08032025/23/33/image_08032025_23_33_55_9927.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/23/34/image_08032025_23_34_45_9949.jpg
/home/nano/Desktop/images/08032025/23/34/image_08032025_23_34_35_9934.jpg
/home/nano/Desktop/images/08032025/23/34/image_08032025_23_34_25_9935.jpg
/home/nano/Desktop/images/08032025/23/34/image_08032025_23_34_15_9934.jpg
/home/nano/Desktop/images/08032025/23/33/image_08032025_23_34_05_9949.jpg
/home/nano/Desktop/images/08032025/23/33/image_08032025_23_33_55_9927.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1342054296","1342054300","1342054287","1342054311","1342054292","1342054319"],"photo_ids_order":["1342054287","1342054292","1342054296","1342054300","1342054311","1342054319"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/f8bb51ca3ede0f739010c5992a20b4a5.jpg","text":"TemporaryFile(/tmp/multipartBody6739303004049911767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741473332988,"filename":"image_08032025_23_34_25_9935.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/ced50bc13839f59df24810f0fb61263a.jpg","text":"TemporaryFile(/tmp/multipartBody2942458981030349252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741473332988,"filename":"image_08032025_23_34_15_9934.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/d286f820bec061614eaec0979c230485.jpg","text":"TemporaryFile(/tmp/multipartBody3852525511169922746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741473332988,"filename":"image_08032025_23_34_45_9949.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/e0b69c908136bb73a226a37f23a0413b.jpg","text":"TemporaryFile(/tmp/multipartBody4749443601607226029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741473332988,"filename":"image_08032025_23_34_05_9949.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/94dae0ef1fc048574448f8b0e17d5a61.jpg","text":"TemporaryFile(/tmp/multipartBody4497625304274348990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741473332988,"filename":"image_08032025_23_34_35_9934.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/b73ef58d3985ec2f08b8acfa26a795ff.jpg","text":"TemporaryFile(/tmp/multipartBody5929097095365606690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741473332988,"filename":"image_08032025_23_33_55_9927.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1342054296","file1":"1342054292","file0":"1342054287","file4":"1342054311","file5":"1342054319","file3":"1342054300"},"map_files_photo_id_array":[{"photo_id":"1342054319","filename":"file5"},{"photo_id":"1342054296","filename":"file2"},{"photo_id":"1342054311","filename":"file4"},{"photo_id":"1342054292","filename":"file1"},{"photo_id":"1342054287","filename":"file0"},{"photo_id":"1342054300","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1342054296":["hashtag1","hashtag2"]},{"1342054300":["hashtag1","hashtag2"]},{"1342054287":["hashtag1","hashtag2"]},{"1342054311":["hashtag1","hashtag2"]},{"1342054292":["hashtag1","hashtag2"]},{"1342054319":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1342054296, 1342054300, 1342054287, 1342054311, 1342054292, 1342054319)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.284668922424316 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 23:35:32.674420
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/23/35/image_08032025_23_35_45_9930.jpg', 2), ('/home/nano/Desktop/images/08032025/23/35/image_08032025_23_35_35_9933.jpg', 2), ('/home/nano/Desktop/images/08032025/23/35/image_08032025_23_35_25_9949.jpg', 2), ('/home/nano/Desktop/images/08032025/23/35/image_08032025_23_35_15_9960.jpg', 2), ('/home/nano/Desktop/images/08032025/23/34/image_08032025_23_35_05_9943.jpg', 2), ('/home/nano/Desktop/images/08032025/23/34/image_08032025_23_34_55_9930.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/23/35/image_08032025_23_35_45_9930.jpg', '/home/nano/Desktop/images/08032025/23/35/image_08032025_23_35_35_9933.jpg', '/home/nano/Desktop/images/08032025/23/35/image_08032025_23_35_25_9949.jpg', '/home/nano/Desktop/images/08032025/23/35/image_08032025_23_35_15_9960.jpg', '/home/nano/Desktop/images/08032025/23/34/image_08032025_23_35_05_9943.jpg', '/home/nano/Desktop/images/08032025/23/34/image_08032025_23_34_55_9930.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/23/35/image_08032025_23_35_45_9930.jpg
/home/nano/Desktop/images/08032025/23/35/image_08032025_23_35_35_9933.jpg
/home/nano/Desktop/images/08032025/23/35/image_08032025_23_35_25_9949.jpg
/home/nano/Desktop/images/08032025/23/35/image_08032025_23_35_15_9960.jpg
/home/nano/Desktop/images/08032025/23/34/image_08032025_23_35_05_9943.jpg
/home/nano/Desktop/images/08032025/23/34/image_08032025_23_34_55_9930.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1342054957","1342055008","1342055046","1342054949","1342054978","1342054916"],"photo_ids_order":["1342054916","1342054949","1342054957","1342054978","1342055008","1342055046"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/9447179a3f5372359b30cab288acbd8d.jpg","text":"TemporaryFile(/tmp/multipartBody405518589960052152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741473393084,"filename":"image_08032025_23_35_25_9949.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/069e833f95c42d45748b52bb9e8c9ad1.jpg","text":"TemporaryFile(/tmp/multipartBody5005776403079460644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741473393084,"filename":"image_08032025_23_35_05_9943.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/205f053ec329d9c37acc9aaa3f847ef0.jpg","text":"TemporaryFile(/tmp/multipartBody449274346195393356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741473393084,"filename":"image_08032025_23_34_55_9930.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/9e7670d389b466cd139ba3510169acd5.jpg","text":"TemporaryFile(/tmp/multipartBody8455477836725181474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741473393084,"filename":"image_08032025_23_35_35_9933.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/af094a2e6694ce959fccecd27dae4e12.jpg","text":"TemporaryFile(/tmp/multipartBody438727823837618598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741473393084,"filename":"image_08032025_23_35_15_9960.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/a121a4f6b499a65067cc9fc846096501.jpg","text":"TemporaryFile(/tmp/multipartBody2416135654513659843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741473393084,"filename":"image_08032025_23_35_45_9930.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1342054957","file1":"1342054949","file0":"1342054916","file4":"1342055008","file5":"1342055046","file3":"1342054978"},"map_files_photo_id_array":[{"photo_id":"1342055046","filename":"file5"},{"photo_id":"1342054957","filename":"file2"},{"photo_id":"1342055008","filename":"file4"},{"photo_id":"1342054949","filename":"file1"},{"photo_id":"1342054916","filename":"file0"},{"photo_id":"1342054978","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1342054957":["hashtag1","hashtag2"]},{"1342055008":["hashtag1","hashtag2"]},{"1342055046":["hashtag1","hashtag2"]},{"1342054949":["hashtag1","hashtag2"]},{"1342054978":["hashtag1","hashtag2"]},{"1342054916":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1342054957, 1342055008, 1342055046, 1342054949, 1342054978, 1342054916)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.65944290161133 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 23:36:31.790720
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/23/36/image_08032025_23_36_45_9926.jpg', 2), ('/home/nano/Desktop/images/08032025/23/36/image_08032025_23_36_35_9949.jpg', 2), ('/home/nano/Desktop/images/08032025/23/36/image_08032025_23_36_25_9933.jpg', 2), ('/home/nano/Desktop/images/08032025/23/36/image_08032025_23_36_15_9934.jpg', 2), ('/home/nano/Desktop/images/08032025/23/35/image_08032025_23_36_05_9935.jpg', 2), ('/home/nano/Desktop/images/08032025/23/35/image_08032025_23_35_56_10939.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/23/36/image_08032025_23_36_45_9926.jpg', '/home/nano/Desktop/images/08032025/23/36/image_08032025_23_36_35_9949.jpg', '/home/nano/Desktop/images/08032025/23/36/image_08032025_23_36_25_9933.jpg', '/home/nano/Desktop/images/08032025/23/36/image_08032025_23_36_15_9934.jpg', '/home/nano/Desktop/images/08032025/23/35/image_08032025_23_36_05_9935.jpg', '/home/nano/Desktop/images/08032025/23/35/image_08032025_23_35_56_10939.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/23/36/image_08032025_23_36_45_9926.jpg
/home/nano/Desktop/images/08032025/23/36/image_08032025_23_36_35_9949.jpg
/home/nano/Desktop/images/08032025/23/36/image_08032025_23_36_25_9933.jpg
/home/nano/Desktop/images/08032025/23/36/image_08032025_23_36_15_9934.jpg
/home/nano/Desktop/images/08032025/23/35/image_08032025_23_36_05_9935.jpg
/home/nano/Desktop/images/08032025/23/35/image_08032025_23_35_56_10939.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1342055487","1342055460","1342055396","1342055483","1342055390","1342055444"],"photo_ids_order":["1342055390","1342055396","1342055444","1342055460","1342055483","1342055487"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/31e610faf944c7a2af7690a83ba205ac.jpg","text":"TemporaryFile(/tmp/multipartBody8754085442115140542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741473452220,"filename":"image_08032025_23_35_56_10939.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/cce9e947d5225da6fc24251d6165d7d7.jpg","text":"TemporaryFile(/tmp/multipartBody1760690429958383102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741473452220,"filename":"image_08032025_23_36_15_9934.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/5280e95bd968c20c000581f89cca0904.jpg","text":"TemporaryFile(/tmp/multipartBody7756497761841220388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741473452220,"filename":"image_08032025_23_36_35_9949.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/692f808323a6787963333f082787ff26.jpg","text":"TemporaryFile(/tmp/multipartBody1060614930965075595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741473452220,"filename":"image_08032025_23_36_05_9935.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/c92d1f7f239d4027710a427428b80bc5.jpg","text":"TemporaryFile(/tmp/multipartBody6621060835498176428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741473452220,"filename":"image_08032025_23_36_45_9926.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/3ae51b873320eb24a60494d9b53477c3.jpg","text":"TemporaryFile(/tmp/multipartBody7613326145828580908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741473452220,"filename":"image_08032025_23_36_25_9933.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1342055444","file1":"1342055396","file0":"1342055390","file4":"1342055483","file5":"1342055487","file3":"1342055460"},"map_files_photo_id_array":[{"photo_id":"1342055487","filename":"file5"},{"photo_id":"1342055444","filename":"file2"},{"photo_id":"1342055483","filename":"file4"},{"photo_id":"1342055396","filename":"file1"},{"photo_id":"1342055390","filename":"file0"},{"photo_id":"1342055460","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1342055487":["hashtag1","hashtag2"]},{"1342055460":["hashtag1","hashtag2"]},{"1342055396":["hashtag1","hashtag2"]},{"1342055483":["hashtag1","hashtag2"]},{"1342055390":["hashtag1","hashtag2"]},{"1342055444":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1342055487, 1342055460, 1342055396, 1342055483, 1342055390, 1342055444)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.482511043548584 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 23:37:31.885162
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/23/37/image_08032025_23_37_45_9930.jpg', 2), ('/home/nano/Desktop/images/08032025/23/37/image_08032025_23_37_35_9936.jpg', 2), ('/home/nano/Desktop/images/08032025/23/37/image_08032025_23_37_25_9933.jpg', 2), ('/home/nano/Desktop/images/08032025/23/37/image_08032025_23_37_15_9932.jpg', 2), ('/home/nano/Desktop/images/08032025/23/36/image_08032025_23_37_05_9940.jpg', 2), ('/home/nano/Desktop/images/08032025/23/36/image_08032025_23_36_55_9931.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/23/37/image_08032025_23_37_45_9930.jpg', '/home/nano/Desktop/images/08032025/23/37/image_08032025_23_37_35_9936.jpg', '/home/nano/Desktop/images/08032025/23/37/image_08032025_23_37_25_9933.jpg', '/home/nano/Desktop/images/08032025/23/37/image_08032025_23_37_15_9932.jpg', '/home/nano/Desktop/images/08032025/23/36/image_08032025_23_37_05_9940.jpg', '/home/nano/Desktop/images/08032025/23/36/image_08032025_23_36_55_9931.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/23/37/image_08032025_23_37_45_9930.jpg
/home/nano/Desktop/images/08032025/23/37/image_08032025_23_37_35_9936.jpg
/home/nano/Desktop/images/08032025/23/37/image_08032025_23_37_25_9933.jpg
/home/nano/Desktop/images/08032025/23/37/image_08032025_23_37_15_9932.jpg
/home/nano/Desktop/images/08032025/23/36/image_08032025_23_37_05_9940.jpg
/home/nano/Desktop/images/08032025/23/36/image_08032025_23_36_55_9931.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1342055622","1342055633","1342055647","1342055641","1342055644","1342055617"],"photo_ids_order":["1342055617","1342055622","1342055633","1342055641","1342055644","1342055647"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/3508e87fc153f7449633cedb2b964302.jpg","text":"TemporaryFile(/tmp/multipartBody8084795620992613598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741473512306,"filename":"image_08032025_23_37_35_9936.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/cb64fd8181785b9bfc84cc4ffbbf3528.jpg","text":"TemporaryFile(/tmp/multipartBody1070962775657846963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741473512306,"filename":"image_08032025_23_37_25_9933.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/3c42d0618595ed8fcc2c8178cfdc0420.jpg","text":"TemporaryFile(/tmp/multipartBody3557639229139050586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741473512306,"filename":"image_08032025_23_36_55_9931.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/ccd6f43fbb23376a616adb0645a82a26.jpg","text":"TemporaryFile(/tmp/multipartBody4319178502205297685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741473512306,"filename":"image_08032025_23_37_15_9932.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/840d91da79161df927bee748394a9b9f.jpg","text":"TemporaryFile(/tmp/multipartBody6611017378759745908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741473512306,"filename":"image_08032025_23_37_05_9940.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/6728299a10735105e78ad76db5009317.jpg","text":"TemporaryFile(/tmp/multipartBody7938449035859403940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741473512306,"filename":"image_08032025_23_37_45_9930.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1342055633","file1":"1342055622","file0":"1342055617","file4":"1342055644","file5":"1342055647","file3":"1342055641"},"map_files_photo_id_array":[{"photo_id":"1342055647","filename":"file5"},{"photo_id":"1342055633","filename":"file2"},{"photo_id":"1342055644","filename":"file4"},{"photo_id":"1342055622","filename":"file1"},{"photo_id":"1342055617","filename":"file0"},{"photo_id":"1342055641","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1342055622":["hashtag1","hashtag2"]},{"1342055633":["hashtag1","hashtag2"]},{"1342055647":["hashtag1","hashtag2"]},{"1342055641":["hashtag1","hashtag2"]},{"1342055644":["hashtag1","hashtag2"]},{"1342055617":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1342055622, 1342055633, 1342055647, 1342055641, 1342055644, 1342055617)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.709299087524414 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 23:38:31.984592
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/23/38/image_08032025_23_38_45_9930.jpg', 2), ('/home/nano/Desktop/images/08032025/23/38/image_08032025_23_38_35_9929.jpg', 2), ('/home/nano/Desktop/images/08032025/23/38/image_08032025_23_38_26_10943.jpg', 2), ('/home/nano/Desktop/images/08032025/23/38/image_08032025_23_38_15_9933.jpg', 2), ('/home/nano/Desktop/images/08032025/23/37/image_08032025_23_38_05_9946.jpg', 2), ('/home/nano/Desktop/images/08032025/23/37/image_08032025_23_37_55_9930.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/23/38/image_08032025_23_38_45_9930.jpg', '/home/nano/Desktop/images/08032025/23/38/image_08032025_23_38_35_9929.jpg', '/home/nano/Desktop/images/08032025/23/38/image_08032025_23_38_26_10943.jpg', '/home/nano/Desktop/images/08032025/23/38/image_08032025_23_38_15_9933.jpg', '/home/nano/Desktop/images/08032025/23/37/image_08032025_23_38_05_9946.jpg', '/home/nano/Desktop/images/08032025/23/37/image_08032025_23_37_55_9930.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/23/38/image_08032025_23_38_45_9930.jpg
/home/nano/Desktop/images/08032025/23/38/image_08032025_23_38_35_9929.jpg
/home/nano/Desktop/images/08032025/23/38/image_08032025_23_38_26_10943.jpg
/home/nano/Desktop/images/08032025/23/38/image_08032025_23_38_15_9933.jpg
/home/nano/Desktop/images/08032025/23/37/image_08032025_23_38_05_9946.jpg
/home/nano/Desktop/images/08032025/23/37/image_08032025_23_37_55_9930.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1342055859","1342055867","1342055900","1342055863","1342055941","1342055920"],"photo_ids_order":["1342055859","1342055863","1342055867","1342055900","1342055920","1342055941"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/9a9e3ebf6993a570fd0b886f1f29a46b.jpg","text":"TemporaryFile(/tmp/multipartBody6946372763240391696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741473572389,"filename":"image_08032025_23_38_45_9930.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/ab46239301bf8c1626067c0a27139ff0.jpg","text":"TemporaryFile(/tmp/multipartBody6996773646930633343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741473572389,"filename":"image_08032025_23_38_26_10943.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/208fdc6d50e2b509ea268c9a0620f216.jpg","text":"TemporaryFile(/tmp/multipartBody2419807583918801248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741473572389,"filename":"image_08032025_23_38_15_9933.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/2530c59f5df6a25c5a5d4debe07dee77.jpg","text":"TemporaryFile(/tmp/multipartBody5027680380307313527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741473572389,"filename":"image_08032025_23_38_35_9929.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/e21ad184c9e4a750bdc8088b7a46aefc.jpg","text":"TemporaryFile(/tmp/multipartBody1901937261447190894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741473572389,"filename":"image_08032025_23_37_55_9930.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/b77551e48ccf5e18cabf5935327e68dd.jpg","text":"TemporaryFile(/tmp/multipartBody7488350587503738376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741473572389,"filename":"image_08032025_23_38_05_9946.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1342055867","file1":"1342055863","file0":"1342055859","file4":"1342055920","file5":"1342055941","file3":"1342055900"},"map_files_photo_id_array":[{"photo_id":"1342055941","filename":"file5"},{"photo_id":"1342055867","filename":"file2"},{"photo_id":"1342055920","filename":"file4"},{"photo_id":"1342055863","filename":"file1"},{"photo_id":"1342055859","filename":"file0"},{"photo_id":"1342055900","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1342055859":["hashtag1","hashtag2"]},{"1342055867":["hashtag1","hashtag2"]},{"1342055900":["hashtag1","hashtag2"]},{"1342055863":["hashtag1","hashtag2"]},{"1342055941":["hashtag1","hashtag2"]},{"1342055920":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1342055859, 1342055867, 1342055900, 1342055863, 1342055941, 1342055920)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.4079704284668 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 23:39:32.094284
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/23/39/image_08032025_23_39_45_9932.jpg', 2), ('/home/nano/Desktop/images/08032025/23/39/image_08032025_23_39_35_9930.jpg', 2), ('/home/nano/Desktop/images/08032025/23/39/image_08032025_23_39_25_9931.jpg', 2), ('/home/nano/Desktop/images/08032025/23/39/image_08032025_23_39_15_9932.jpg', 2), ('/home/nano/Desktop/images/08032025/23/38/image_08032025_23_39_05_9948.jpg', 2), ('/home/nano/Desktop/images/08032025/23/38/image_08032025_23_38_55_9933.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/23/39/image_08032025_23_39_45_9932.jpg', '/home/nano/Desktop/images/08032025/23/39/image_08032025_23_39_35_9930.jpg', '/home/nano/Desktop/images/08032025/23/39/image_08032025_23_39_25_9931.jpg', '/home/nano/Desktop/images/08032025/23/39/image_08032025_23_39_15_9932.jpg', '/home/nano/Desktop/images/08032025/23/38/image_08032025_23_39_05_9948.jpg', '/home/nano/Desktop/images/08032025/23/38/image_08032025_23_38_55_9933.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/23/39/image_08032025_23_39_45_9932.jpg
/home/nano/Desktop/images/08032025/23/39/image_08032025_23_39_35_9930.jpg
/home/nano/Desktop/images/08032025/23/39/image_08032025_23_39_25_9931.jpg
/home/nano/Desktop/images/08032025/23/39/image_08032025_23_39_15_9932.jpg
/home/nano/Desktop/images/08032025/23/38/image_08032025_23_39_05_9948.jpg
/home/nano/Desktop/images/08032025/23/38/image_08032025_23_38_55_9933.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1342056261","1342056210","1342056161","1342056134","1342056319","1342056270"],"photo_ids_order":["1342056134","1342056161","1342056210","1342056261","1342056270","1342056319"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/8ed732f0c94802a3ac6f9117893d4fdc.jpg","text":"TemporaryFile(/tmp/multipartBody4900059111718721398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741473632518,"filename":"image_08032025_23_39_15_9932.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/348adc595e9dc965b685e4ffdb09dde6.jpg","text":"TemporaryFile(/tmp/multipartBody7406806398309163493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741473632518,"filename":"image_08032025_23_39_25_9931.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/0ceafe1db3f1c21ff9ee246153eed77b.jpg","text":"TemporaryFile(/tmp/multipartBody1484256311238984979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741473632518,"filename":"image_08032025_23_39_35_9930.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/f7ceb71de4b1a50fcc0422e15dd4f3d9.jpg","text":"TemporaryFile(/tmp/multipartBody2775995552664763748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741473632518,"filename":"image_08032025_23_39_45_9932.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/bff175ab592dab35fbdb966097d205a3.jpg","text":"TemporaryFile(/tmp/multipartBody6915630117369439313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741473632518,"filename":"image_08032025_23_38_55_9933.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/107fd8b4fcef3fa521b72f8c9304112e.jpg","text":"TemporaryFile(/tmp/multipartBody5436124830430240838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741473632518,"filename":"image_08032025_23_39_05_9948.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1342056210","file1":"1342056161","file0":"1342056134","file4":"1342056270","file5":"1342056319","file3":"1342056261"},"map_files_photo_id_array":[{"photo_id":"1342056319","filename":"file5"},{"photo_id":"1342056210","filename":"file2"},{"photo_id":"1342056270","filename":"file4"},{"photo_id":"1342056161","filename":"file1"},{"photo_id":"1342056134","filename":"file0"},{"photo_id":"1342056261","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1342056261":["hashtag1","hashtag2"]},{"1342056210":["hashtag1","hashtag2"]},{"1342056161":["hashtag1","hashtag2"]},{"1342056134":["hashtag1","hashtag2"]},{"1342056319":["hashtag1","hashtag2"]},{"1342056270":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1342056261, 1342056210, 1342056161, 1342056134, 1342056319, 1342056270)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.2877893447876 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 23:40:32.225988
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/23/40/image_08032025_23_40_45_9933.jpg', 2), ('/home/nano/Desktop/images/08032025/23/40/image_08032025_23_40_35_9933.jpg', 2), ('/home/nano/Desktop/images/08032025/23/40/image_08032025_23_40_25_9933.jpg', 2), ('/home/nano/Desktop/images/08032025/23/40/image_08032025_23_40_15_9931.jpg', 2), ('/home/nano/Desktop/images/08032025/23/39/image_08032025_23_40_05_9943.jpg', 2), ('/home/nano/Desktop/images/08032025/23/39/image_08032025_23_39_55_9935.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/23/40/image_08032025_23_40_45_9933.jpg', '/home/nano/Desktop/images/08032025/23/40/image_08032025_23_40_35_9933.jpg', '/home/nano/Desktop/images/08032025/23/40/image_08032025_23_40_25_9933.jpg', '/home/nano/Desktop/images/08032025/23/40/image_08032025_23_40_15_9931.jpg', '/home/nano/Desktop/images/08032025/23/39/image_08032025_23_40_05_9943.jpg', '/home/nano/Desktop/images/08032025/23/39/image_08032025_23_39_55_9935.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/23/40/image_08032025_23_40_45_9933.jpg
/home/nano/Desktop/images/08032025/23/40/image_08032025_23_40_35_9933.jpg
/home/nano/Desktop/images/08032025/23/40/image_08032025_23_40_25_9933.jpg
/home/nano/Desktop/images/08032025/23/40/image_08032025_23_40_15_9931.jpg
/home/nano/Desktop/images/08032025/23/39/image_08032025_23_40_05_9943.jpg
/home/nano/Desktop/images/08032025/23/39/image_08032025_23_39_55_9935.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1342056525","1342056540","1342056516","1342056510","1342056536","1342056533"],"photo_ids_order":["1342056510","1342056516","1342056525","1342056533","1342056536","1342056540"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/8aa6cbb2a17d965d2eccc1009dde34d3.jpg","text":"TemporaryFile(/tmp/multipartBody7859547036116476737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741473692651,"filename":"image_08032025_23_40_25_9933.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/c42e804b476b3bcbab29de53b3ff6da0.jpg","text":"TemporaryFile(/tmp/multipartBody4762895309644572974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741473692651,"filename":"image_08032025_23_39_55_9935.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/28163b882dc630103aac2dc6891609bc.jpg","text":"TemporaryFile(/tmp/multipartBody2026615278851845574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741473692651,"filename":"image_08032025_23_40_35_9933.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/60c6775016caecbac7d9ecbc6aec44cd.jpg","text":"TemporaryFile(/tmp/multipartBody9185469130824219742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741473692651,"filename":"image_08032025_23_40_45_9933.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/133bf8e7ee3796e36fc8f9a410dbebb2.jpg","text":"TemporaryFile(/tmp/multipartBody6614032972892194052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741473692651,"filename":"image_08032025_23_40_05_9943.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/6ea931baee44fe66bd016da2fcbc71c4.jpg","text":"TemporaryFile(/tmp/multipartBody3898105619686863760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741473692651,"filename":"image_08032025_23_40_15_9931.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1342056525","file1":"1342056516","file0":"1342056510","file4":"1342056536","file5":"1342056540","file3":"1342056533"},"map_files_photo_id_array":[{"photo_id":"1342056540","filename":"file5"},{"photo_id":"1342056525","filename":"file2"},{"photo_id":"1342056536","filename":"file4"},{"photo_id":"1342056516","filename":"file1"},{"photo_id":"1342056510","filename":"file0"},{"photo_id":"1342056533","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1342056525":["hashtag1","hashtag2"]},{"1342056540":["hashtag1","hashtag2"]},{"1342056516":["hashtag1","hashtag2"]},{"1342056510":["hashtag1","hashtag2"]},{"1342056536":["hashtag1","hashtag2"]},{"1342056533":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1342056525, 1342056540, 1342056516, 1342056510, 1342056536, 1342056533)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.532212257385254 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 23:41:32.316977
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/23/41/image_08032025_23_41_45_9932.jpg', 2), ('/home/nano/Desktop/images/08032025/23/41/image_08032025_23_41_35_9932.jpg', 2), ('/home/nano/Desktop/images/08032025/23/41/image_08032025_23_41_25_9930.jpg', 2), ('/home/nano/Desktop/images/08032025/23/41/image_08032025_23_41_15_9931.jpg', 2), ('/home/nano/Desktop/images/08032025/23/40/image_08032025_23_41_06_9941.jpg', 2), ('/home/nano/Desktop/images/08032025/23/40/image_08032025_23_40_56_10936.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/23/41/image_08032025_23_41_45_9932.jpg', '/home/nano/Desktop/images/08032025/23/41/image_08032025_23_41_35_9932.jpg', '/home/nano/Desktop/images/08032025/23/41/image_08032025_23_41_25_9930.jpg', '/home/nano/Desktop/images/08032025/23/41/image_08032025_23_41_15_9931.jpg', '/home/nano/Desktop/images/08032025/23/40/image_08032025_23_41_06_9941.jpg', '/home/nano/Desktop/images/08032025/23/40/image_08032025_23_40_56_10936.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/23/41/image_08032025_23_41_45_9932.jpg
/home/nano/Desktop/images/08032025/23/41/image_08032025_23_41_35_9932.jpg
/home/nano/Desktop/images/08032025/23/41/image_08032025_23_41_25_9930.jpg
/home/nano/Desktop/images/08032025/23/41/image_08032025_23_41_15_9931.jpg
/home/nano/Desktop/images/08032025/23/40/image_08032025_23_41_06_9941.jpg
/home/nano/Desktop/images/08032025/23/40/image_08032025_23_40_56_10936.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1342056902","1342056731","1342056871","1342056754","1342056808","1342056777"],"photo_ids_order":["1342056731","1342056754","1342056777","1342056808","1342056871","1342056902"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/a317c4825489c6e94c55c173422a0bcb.jpg","text":"TemporaryFile(/tmp/multipartBody6634100164601659786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741473752725,"filename":"image_08032025_23_40_56_10936.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/ae5f6c5a1255866100a63e0c128bd19f.jpg","text":"TemporaryFile(/tmp/multipartBody8265451941926224700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741473752725,"filename":"image_08032025_23_41_45_9932.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/861a3f3d4f5a440b0da789a49d2be537.jpg","text":"TemporaryFile(/tmp/multipartBody7101874547375987966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741473752725,"filename":"image_08032025_23_41_06_9941.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/fbcf2f089d0a7298d86ec295ba18818a.jpg","text":"TemporaryFile(/tmp/multipartBody981085695402313629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741473752725,"filename":"image_08032025_23_41_35_9932.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/5da7318ec76152ddc8be2d2196764069.jpg","text":"TemporaryFile(/tmp/multipartBody2123247506964406183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741473752725,"filename":"image_08032025_23_41_15_9931.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/027e7caaa4cdce4d5f9336802cbb855a.jpg","text":"TemporaryFile(/tmp/multipartBody5280492315674364903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741473752725,"filename":"image_08032025_23_41_25_9930.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1342056777","file1":"1342056754","file0":"1342056731","file4":"1342056871","file5":"1342056902","file3":"1342056808"},"map_files_photo_id_array":[{"photo_id":"1342056902","filename":"file5"},{"photo_id":"1342056777","filename":"file2"},{"photo_id":"1342056871","filename":"file4"},{"photo_id":"1342056754","filename":"file1"},{"photo_id":"1342056731","filename":"file0"},{"photo_id":"1342056808","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1342056902":["hashtag1","hashtag2"]},{"1342056731":["hashtag1","hashtag2"]},{"1342056871":["hashtag1","hashtag2"]},{"1342056754":["hashtag1","hashtag2"]},{"1342056808":["hashtag1","hashtag2"]},{"1342056777":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1342056902, 1342056731, 1342056871, 1342056754, 1342056808, 1342056777)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.13837718963623 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 23:42:32.479813
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/23/42/image_08032025_23_42_45_9931.jpg', 2), ('/home/nano/Desktop/images/08032025/23/42/image_08032025_23_42_35_9950.jpg', 2), ('/home/nano/Desktop/images/08032025/23/42/image_08032025_23_42_25_9957.jpg', 2), ('/home/nano/Desktop/images/08032025/23/42/image_08032025_23_42_15_9961.jpg', 2), ('/home/nano/Desktop/images/08032025/23/41/image_08032025_23_42_05_9942.jpg', 2), ('/home/nano/Desktop/images/08032025/23/41/image_08032025_23_41_55_9932.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/23/42/image_08032025_23_42_45_9931.jpg', '/home/nano/Desktop/images/08032025/23/42/image_08032025_23_42_35_9950.jpg', '/home/nano/Desktop/images/08032025/23/42/image_08032025_23_42_25_9957.jpg', '/home/nano/Desktop/images/08032025/23/42/image_08032025_23_42_15_9961.jpg', '/home/nano/Desktop/images/08032025/23/41/image_08032025_23_42_05_9942.jpg', '/home/nano/Desktop/images/08032025/23/41/image_08032025_23_41_55_9932.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/23/42/image_08032025_23_42_45_9931.jpg
/home/nano/Desktop/images/08032025/23/42/image_08032025_23_42_35_9950.jpg
/home/nano/Desktop/images/08032025/23/42/image_08032025_23_42_25_9957.jpg
/home/nano/Desktop/images/08032025/23/42/image_08032025_23_42_15_9961.jpg
/home/nano/Desktop/images/08032025/23/41/image_08032025_23_42_05_9942.jpg
/home/nano/Desktop/images/08032025/23/41/image_08032025_23_41_55_9932.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1342056992","1342057145","1342057153","1342057036","1342057051","1342057045"],"photo_ids_order":["1342056992","1342057036","1342057045","1342057051","1342057145","1342057153"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/23b0a248908c1acc6c6e5331b59b18f6.jpg","text":"TemporaryFile(/tmp/multipartBody8903236180318585014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741473812902,"filename":"image_08032025_23_42_45_9931.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/7998416d3795d747c0d1006eff84c0a2.jpg","text":"TemporaryFile(/tmp/multipartBody6963326271443542905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741473812902,"filename":"image_08032025_23_42_05_9942.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/1c8b5970903a50ffb4e6b4fca9bb4e74.jpg","text":"TemporaryFile(/tmp/multipartBody250861528076364580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741473812902,"filename":"image_08032025_23_41_55_9932.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/03889581ae925712d1e170fe4d2480bf.jpg","text":"TemporaryFile(/tmp/multipartBody1752328460421945419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741473812902,"filename":"image_08032025_23_42_35_9950.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/6be42f35ccfcec71bf35f1958cc4f7ab.jpg","text":"TemporaryFile(/tmp/multipartBody4403365736471735004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741473812902,"filename":"image_08032025_23_42_15_9961.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/62d2ffb1881a7b7feeffb3c0cfb8b605.jpg","text":"TemporaryFile(/tmp/multipartBody3550077801792715424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741473812902,"filename":"image_08032025_23_42_25_9957.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1342057045","file1":"1342057036","file0":"1342056992","file4":"1342057145","file5":"1342057153","file3":"1342057051"},"map_files_photo_id_array":[{"photo_id":"1342057153","filename":"file5"},{"photo_id":"1342057045","filename":"file2"},{"photo_id":"1342057145","filename":"file4"},{"photo_id":"1342057036","filename":"file1"},{"photo_id":"1342056992","filename":"file0"},{"photo_id":"1342057051","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1342056992":["hashtag1","hashtag2"]},{"1342057145":["hashtag1","hashtag2"]},{"1342057153":["hashtag1","hashtag2"]},{"1342057036":["hashtag1","hashtag2"]},{"1342057051":["hashtag1","hashtag2"]},{"1342057045":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1342056992, 1342057145, 1342057153, 1342057036, 1342057051, 1342057045)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.14405393600464 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 23:43:32.560431
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/23/43/image_08032025_23_43_46_10945.jpg', 2), ('/home/nano/Desktop/images/08032025/23/43/image_08032025_23_43_35_9938.jpg', 2), ('/home/nano/Desktop/images/08032025/23/43/image_08032025_23_43_25_9931.jpg', 2), ('/home/nano/Desktop/images/08032025/23/43/image_08032025_23_43_15_9941.jpg', 2), ('/home/nano/Desktop/images/08032025/23/42/image_08032025_23_43_05_9937.jpg', 2), ('/home/nano/Desktop/images/08032025/23/42/image_08032025_23_42_55_9928.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/23/43/image_08032025_23_43_46_10945.jpg', '/home/nano/Desktop/images/08032025/23/43/image_08032025_23_43_35_9938.jpg', '/home/nano/Desktop/images/08032025/23/43/image_08032025_23_43_25_9931.jpg', '/home/nano/Desktop/images/08032025/23/43/image_08032025_23_43_15_9941.jpg', '/home/nano/Desktop/images/08032025/23/42/image_08032025_23_43_05_9937.jpg', '/home/nano/Desktop/images/08032025/23/42/image_08032025_23_42_55_9928.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/23/43/image_08032025_23_43_46_10945.jpg
/home/nano/Desktop/images/08032025/23/43/image_08032025_23_43_35_9938.jpg
/home/nano/Desktop/images/08032025/23/43/image_08032025_23_43_25_9931.jpg
/home/nano/Desktop/images/08032025/23/43/image_08032025_23_43_15_9941.jpg
/home/nano/Desktop/images/08032025/23/42/image_08032025_23_43_05_9937.jpg
/home/nano/Desktop/images/08032025/23/42/image_08032025_23_42_55_9928.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1342057317","1342057331","1342057333","1342057258","1342057251","1342057329"],"photo_ids_order":["1342057251","1342057258","1342057317","1342057329","1342057331","1342057333"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/14648407c9e0b85f258732c416e85b89.jpg","text":"TemporaryFile(/tmp/multipartBody2379669968056186206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741473872966,"filename":"image_08032025_23_43_25_9931.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/ef17b100165ca0d2a233f7c27afb72e9.jpg","text":"TemporaryFile(/tmp/multipartBody6832764184595842442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741473872966,"filename":"image_08032025_23_43_05_9937.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/91d7e04e603e0e67d3afba9ee4918d62.jpg","text":"TemporaryFile(/tmp/multipartBody339159151628457715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741473872966,"filename":"image_08032025_23_42_55_9928.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/afd21829b33f40aa262dbe12b6117ad2.jpg","text":"TemporaryFile(/tmp/multipartBody3278798947777874982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741473872966,"filename":"image_08032025_23_43_35_9938.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/4be5a17853ee40f7b10fe221c1ab01ad.jpg","text":"TemporaryFile(/tmp/multipartBody7234212243378731647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741473872966,"filename":"image_08032025_23_43_46_10945.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/3fb5ea6e4f9ca4a87e18023ee71931e7.jpg","text":"TemporaryFile(/tmp/multipartBody8727954121798148256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741473872966,"filename":"image_08032025_23_43_15_9941.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1342057317","file1":"1342057258","file0":"1342057251","file4":"1342057331","file5":"1342057333","file3":"1342057329"},"map_files_photo_id_array":[{"photo_id":"1342057333","filename":"file5"},{"photo_id":"1342057317","filename":"file2"},{"photo_id":"1342057331","filename":"file4"},{"photo_id":"1342057258","filename":"file1"},{"photo_id":"1342057251","filename":"file0"},{"photo_id":"1342057329","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1342057317":["hashtag1","hashtag2"]},{"1342057331":["hashtag1","hashtag2"]},{"1342057333":["hashtag1","hashtag2"]},{"1342057258":["hashtag1","hashtag2"]},{"1342057251":["hashtag1","hashtag2"]},{"1342057329":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1342057317, 1342057331, 1342057333, 1342057258, 1342057251, 1342057329)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.31108856201172 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 23:44:32.656741
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/23/44/image_08032025_23_44_45_9933.jpg', 2), ('/home/nano/Desktop/images/08032025/23/44/image_08032025_23_44_35_9935.jpg', 2), ('/home/nano/Desktop/images/08032025/23/44/image_08032025_23_44_25_9956.jpg', 2), ('/home/nano/Desktop/images/08032025/23/44/image_08032025_23_44_15_9937.jpg', 2), ('/home/nano/Desktop/images/08032025/23/43/image_08032025_23_44_05_9969.jpg', 2), ('/home/nano/Desktop/images/08032025/23/43/image_08032025_23_43_56_9954.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/23/44/image_08032025_23_44_45_9933.jpg', '/home/nano/Desktop/images/08032025/23/44/image_08032025_23_44_35_9935.jpg', '/home/nano/Desktop/images/08032025/23/44/image_08032025_23_44_25_9956.jpg', '/home/nano/Desktop/images/08032025/23/44/image_08032025_23_44_15_9937.jpg', '/home/nano/Desktop/images/08032025/23/43/image_08032025_23_44_05_9969.jpg', '/home/nano/Desktop/images/08032025/23/43/image_08032025_23_43_56_9954.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/23/44/image_08032025_23_44_45_9933.jpg
/home/nano/Desktop/images/08032025/23/44/image_08032025_23_44_35_9935.jpg
/home/nano/Desktop/images/08032025/23/44/image_08032025_23_44_25_9956.jpg
/home/nano/Desktop/images/08032025/23/44/image_08032025_23_44_15_9937.jpg
/home/nano/Desktop/images/08032025/23/43/image_08032025_23_44_05_9969.jpg
/home/nano/Desktop/images/08032025/23/43/image_08032025_23_43_56_9954.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1342057361","1342057363","1342057351","1342057356","1342057359","1342057353"],"photo_ids_order":["1342057351","1342057353","1342057356","1342057359","1342057361","1342057363"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/f3112f9fcad92bffeb922cb97aef9d95.jpg","text":"TemporaryFile(/tmp/multipartBody1958255903200236474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741473933066,"filename":"image_08032025_23_44_05_9969.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/d4122a783b75ae9a8ae67c40d2a1fd96.jpg","text":"TemporaryFile(/tmp/multipartBody3502200256973685777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741473933066,"filename":"image_08032025_23_43_56_9954.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/e2371c76a2b37ae6952663098e3dc71d.jpg","text":"TemporaryFile(/tmp/multipartBody7581232638484185713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741473933066,"filename":"image_08032025_23_44_45_9933.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/2e816663c5cfaa16ece44d08ccdd7eee.jpg","text":"TemporaryFile(/tmp/multipartBody3658260933890977132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741473933066,"filename":"image_08032025_23_44_25_9956.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/25759cb83249d50113271f7bcabf1eac.jpg","text":"TemporaryFile(/tmp/multipartBody3410977120384724666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741473933066,"filename":"image_08032025_23_44_15_9937.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/9547509284a69a0661e632240b9f549b.jpg","text":"TemporaryFile(/tmp/multipartBody3779545246833094569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741473933066,"filename":"image_08032025_23_44_35_9935.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1342057356","file1":"1342057353","file0":"1342057351","file4":"1342057361","file5":"1342057363","file3":"1342057359"},"map_files_photo_id_array":[{"photo_id":"1342057363","filename":"file5"},{"photo_id":"1342057356","filename":"file2"},{"photo_id":"1342057361","filename":"file4"},{"photo_id":"1342057353","filename":"file1"},{"photo_id":"1342057351","filename":"file0"},{"photo_id":"1342057359","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1342057361":["hashtag1","hashtag2"]},{"1342057363":["hashtag1","hashtag2"]},{"1342057351":["hashtag1","hashtag2"]},{"1342057356":["hashtag1","hashtag2"]},{"1342057359":["hashtag1","hashtag2"]},{"1342057353":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1342057361, 1342057363, 1342057351, 1342057356, 1342057359, 1342057353)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.27269172668457 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 23:45:31.750722
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/23/45/image_08032025_23_45_45_9932.jpg', 2), ('/home/nano/Desktop/images/08032025/23/45/image_08032025_23_45_35_9931.jpg', 2), ('/home/nano/Desktop/images/08032025/23/45/image_08032025_23_45_25_9932.jpg', 2), ('/home/nano/Desktop/images/08032025/23/45/image_08032025_23_45_15_9956.jpg', 2), ('/home/nano/Desktop/images/08032025/23/44/image_08032025_23_45_05_9943.jpg', 2), ('/home/nano/Desktop/images/08032025/23/44/image_08032025_23_44_55_9931.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/23/45/image_08032025_23_45_45_9932.jpg', '/home/nano/Desktop/images/08032025/23/45/image_08032025_23_45_35_9931.jpg', '/home/nano/Desktop/images/08032025/23/45/image_08032025_23_45_25_9932.jpg', '/home/nano/Desktop/images/08032025/23/45/image_08032025_23_45_15_9956.jpg', '/home/nano/Desktop/images/08032025/23/44/image_08032025_23_45_05_9943.jpg', '/home/nano/Desktop/images/08032025/23/44/image_08032025_23_44_55_9931.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/23/45/image_08032025_23_45_45_9932.jpg
/home/nano/Desktop/images/08032025/23/45/image_08032025_23_45_35_9931.jpg
/home/nano/Desktop/images/08032025/23/45/image_08032025_23_45_25_9932.jpg
/home/nano/Desktop/images/08032025/23/45/image_08032025_23_45_15_9956.jpg
/home/nano/Desktop/images/08032025/23/44/image_08032025_23_45_05_9943.jpg
/home/nano/Desktop/images/08032025/23/44/image_08032025_23_44_55_9931.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1342057421","1342057430","1342057432","1342057425","1342057434","1342057428"],"photo_ids_order":["1342057421","1342057425","1342057428","1342057430","1342057432","1342057434"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/31c9bd155506a0f5ed6d882f7fcae49d.jpg","text":"TemporaryFile(/tmp/multipartBody5982294472155001316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741473992174,"filename":"image_08032025_23_45_45_9932.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/ffcb4b348515fffbc09543dc46a6fc6f.jpg","text":"TemporaryFile(/tmp/multipartBody6299084093378813519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741473992174,"filename":"image_08032025_23_45_15_9956.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/b3849299b5b41b29f899ea583f53310c.jpg","text":"TemporaryFile(/tmp/multipartBody2575873206018959383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741473992174,"filename":"image_08032025_23_45_05_9943.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/59aebd7c1a7b7cfcedaf3818bad794d7.jpg","text":"TemporaryFile(/tmp/multipartBody1842206878688553212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741473992174,"filename":"image_08032025_23_45_35_9931.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/3e5529cb6b5d4db3462dd22f257ed444.jpg","text":"TemporaryFile(/tmp/multipartBody6359508697466526590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741473992174,"filename":"image_08032025_23_44_55_9931.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/920c9c2e22bd8496aea6db3563aba39c.jpg","text":"TemporaryFile(/tmp/multipartBody5922489331492434010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741473992174,"filename":"image_08032025_23_45_25_9932.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1342057428","file1":"1342057425","file0":"1342057421","file4":"1342057432","file5":"1342057434","file3":"1342057430"},"map_files_photo_id_array":[{"photo_id":"1342057434","filename":"file5"},{"photo_id":"1342057428","filename":"file2"},{"photo_id":"1342057432","filename":"file4"},{"photo_id":"1342057425","filename":"file1"},{"photo_id":"1342057421","filename":"file0"},{"photo_id":"1342057430","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1342057421":["hashtag1","hashtag2"]},{"1342057430":["hashtag1","hashtag2"]},{"1342057432":["hashtag1","hashtag2"]},{"1342057425":["hashtag1","hashtag2"]},{"1342057434":["hashtag1","hashtag2"]},{"1342057428":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1342057421, 1342057430, 1342057432, 1342057425, 1342057434, 1342057428)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.823174238204956 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 23:46:31.869796
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/23/46/image_08032025_23_46_46_9941.jpg', 2), ('/home/nano/Desktop/images/08032025/23/46/image_08032025_23_46_36_10942.jpg', 2), ('/home/nano/Desktop/images/08032025/23/46/image_08032025_23_46_25_9945.jpg', 2), ('/home/nano/Desktop/images/08032025/23/46/image_08032025_23_46_15_9942.jpg', 2), ('/home/nano/Desktop/images/08032025/23/45/image_08032025_23_46_05_9943.jpg', 2), ('/home/nano/Desktop/images/08032025/23/45/image_08032025_23_45_55_9933.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/23/46/image_08032025_23_46_46_9941.jpg', '/home/nano/Desktop/images/08032025/23/46/image_08032025_23_46_36_10942.jpg', '/home/nano/Desktop/images/08032025/23/46/image_08032025_23_46_25_9945.jpg', '/home/nano/Desktop/images/08032025/23/46/image_08032025_23_46_15_9942.jpg', '/home/nano/Desktop/images/08032025/23/45/image_08032025_23_46_05_9943.jpg', '/home/nano/Desktop/images/08032025/23/45/image_08032025_23_45_55_9933.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/23/46/image_08032025_23_46_46_9941.jpg
/home/nano/Desktop/images/08032025/23/46/image_08032025_23_46_36_10942.jpg
/home/nano/Desktop/images/08032025/23/46/image_08032025_23_46_25_9945.jpg
/home/nano/Desktop/images/08032025/23/46/image_08032025_23_46_15_9942.jpg
/home/nano/Desktop/images/08032025/23/45/image_08032025_23_46_05_9943.jpg
/home/nano/Desktop/images/08032025/23/45/image_08032025_23_45_55_9933.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1342057487","1342057542","1342057518","1342057527","1342057512","1342057506"],"photo_ids_order":["1342057487","1342057506","1342057512","1342057518","1342057527","1342057542"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/6f9cc04afa55e7417cadd0bf4211f19f.jpg","text":"TemporaryFile(/tmp/multipartBody6793903303398432024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741474052304,"filename":"image_08032025_23_46_46_9941.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/943c2eb32bee6cc31510db3dca52bf2f.jpg","text":"TemporaryFile(/tmp/multipartBody2921473143860916476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741474052304,"filename":"image_08032025_23_45_55_9933.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/5658bf815d008e7d7f1858a07294b2dd.jpg","text":"TemporaryFile(/tmp/multipartBody1429656495598342925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741474052304,"filename":"image_08032025_23_46_15_9942.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/4b72669a3c3999e53a796c5cfe12c52c.jpg","text":"TemporaryFile(/tmp/multipartBody60261095740484236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741474052304,"filename":"image_08032025_23_46_05_9943.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/44c8e7951897b9a8df219ae068ada39c.jpg","text":"TemporaryFile(/tmp/multipartBody3062388291192108967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741474052304,"filename":"image_08032025_23_46_25_9945.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/84e2cdd628d3eb88da405b948d25ca6a.jpg","text":"TemporaryFile(/tmp/multipartBody593402135318415151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741474052304,"filename":"image_08032025_23_46_36_10942.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1342057512","file1":"1342057506","file0":"1342057487","file4":"1342057527","file5":"1342057542","file3":"1342057518"},"map_files_photo_id_array":[{"photo_id":"1342057542","filename":"file5"},{"photo_id":"1342057512","filename":"file2"},{"photo_id":"1342057527","filename":"file4"},{"photo_id":"1342057506","filename":"file1"},{"photo_id":"1342057487","filename":"file0"},{"photo_id":"1342057518","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1342057487":["hashtag1","hashtag2"]},{"1342057542":["hashtag1","hashtag2"]},{"1342057518":["hashtag1","hashtag2"]},{"1342057527":["hashtag1","hashtag2"]},{"1342057512":["hashtag1","hashtag2"]},{"1342057506":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1342057487, 1342057542, 1342057518, 1342057527, 1342057512, 1342057506)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.36042094230652 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 23:47:31.952416
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/23/47/image_08032025_23_47_45_9933.jpg', 2), ('/home/nano/Desktop/images/08032025/23/47/image_08032025_23_47_35_9930.jpg', 2), ('/home/nano/Desktop/images/08032025/23/47/image_08032025_23_47_25_9936.jpg', 2), ('/home/nano/Desktop/images/08032025/23/47/image_08032025_23_47_15_9933.jpg', 2), ('/home/nano/Desktop/images/08032025/23/46/image_08032025_23_47_05_9935.jpg', 2), ('/home/nano/Desktop/images/08032025/23/46/image_08032025_23_46_55_9927.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/23/47/image_08032025_23_47_45_9933.jpg', '/home/nano/Desktop/images/08032025/23/47/image_08032025_23_47_35_9930.jpg', '/home/nano/Desktop/images/08032025/23/47/image_08032025_23_47_25_9936.jpg', '/home/nano/Desktop/images/08032025/23/47/image_08032025_23_47_15_9933.jpg', '/home/nano/Desktop/images/08032025/23/46/image_08032025_23_47_05_9935.jpg', '/home/nano/Desktop/images/08032025/23/46/image_08032025_23_46_55_9927.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/23/47/image_08032025_23_47_45_9933.jpg
/home/nano/Desktop/images/08032025/23/47/image_08032025_23_47_35_9930.jpg
/home/nano/Desktop/images/08032025/23/47/image_08032025_23_47_25_9936.jpg
/home/nano/Desktop/images/08032025/23/47/image_08032025_23_47_15_9933.jpg
/home/nano/Desktop/images/08032025/23/46/image_08032025_23_47_05_9935.jpg
/home/nano/Desktop/images/08032025/23/46/image_08032025_23_46_55_9927.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1342057988","1342057952","1342057916","1342057995","1342058013","1342057941"],"photo_ids_order":["1342057916","1342057941","1342057952","1342057988","1342057995","1342058013"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/e3d906bd8d96fecc0d3dbcc61c577e04.jpg","text":"TemporaryFile(/tmp/multipartBody3900421581232879542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741474112375,"filename":"image_08032025_23_47_15_9933.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/f5d248e22725284a808ce1d28764dd96.jpg","text":"TemporaryFile(/tmp/multipartBody3976786840243008968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741474112375,"filename":"image_08032025_23_47_25_9936.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/390affc19e90d3a80e7dc6865aa6f413.jpg","text":"TemporaryFile(/tmp/multipartBody4302893468067112325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741474112375,"filename":"image_08032025_23_47_45_9933.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/6f2d4190cee0c3bb2474fd91261f2526.jpg","text":"TemporaryFile(/tmp/multipartBody3547681424123762608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741474112375,"filename":"image_08032025_23_47_05_9935.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/d7bbea6e63c40b7d548bd901a1abf9c5.jpg","text":"TemporaryFile(/tmp/multipartBody2167281275234431274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741474112375,"filename":"image_08032025_23_46_55_9927.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/6b8fc4a5d5eff375ddf0215c6a387cd2.jpg","text":"TemporaryFile(/tmp/multipartBody3712638081808100940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741474112375,"filename":"image_08032025_23_47_35_9930.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1342057952","file1":"1342057941","file0":"1342057916","file4":"1342057995","file5":"1342058013","file3":"1342057988"},"map_files_photo_id_array":[{"photo_id":"1342058013","filename":"file5"},{"photo_id":"1342057952","filename":"file2"},{"photo_id":"1342057995","filename":"file4"},{"photo_id":"1342057941","filename":"file1"},{"photo_id":"1342057916","filename":"file0"},{"photo_id":"1342057988","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1342057988":["hashtag1","hashtag2"]},{"1342057952":["hashtag1","hashtag2"]},{"1342057916":["hashtag1","hashtag2"]},{"1342057995":["hashtag1","hashtag2"]},{"1342058013":["hashtag1","hashtag2"]},{"1342057941":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1342057988, 1342057952, 1342057916, 1342057995, 1342058013, 1342057941)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.45894503593445 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 23:48:32.108613
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/23/48/image_08032025_23_48_45_9934.jpg', 2), ('/home/nano/Desktop/images/08032025/23/48/image_08032025_23_48_35_9938.jpg', 2), ('/home/nano/Desktop/images/08032025/23/48/image_08032025_23_48_25_9937.jpg', 2), ('/home/nano/Desktop/images/08032025/23/48/image_08032025_23_48_15_9933.jpg', 2), ('/home/nano/Desktop/images/08032025/23/47/image_08032025_23_48_05_9938.jpg', 2), ('/home/nano/Desktop/images/08032025/23/47/image_08032025_23_47_55_9930.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/23/48/image_08032025_23_48_45_9934.jpg', '/home/nano/Desktop/images/08032025/23/48/image_08032025_23_48_35_9938.jpg', '/home/nano/Desktop/images/08032025/23/48/image_08032025_23_48_25_9937.jpg', '/home/nano/Desktop/images/08032025/23/48/image_08032025_23_48_15_9933.jpg', '/home/nano/Desktop/images/08032025/23/47/image_08032025_23_48_05_9938.jpg', '/home/nano/Desktop/images/08032025/23/47/image_08032025_23_47_55_9930.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/23/48/image_08032025_23_48_45_9934.jpg
/home/nano/Desktop/images/08032025/23/48/image_08032025_23_48_35_9938.jpg
/home/nano/Desktop/images/08032025/23/48/image_08032025_23_48_25_9937.jpg
/home/nano/Desktop/images/08032025/23/48/image_08032025_23_48_15_9933.jpg
/home/nano/Desktop/images/08032025/23/47/image_08032025_23_48_05_9938.jpg
/home/nano/Desktop/images/08032025/23/47/image_08032025_23_47_55_9930.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1342058315","1342058263","1342058146","1342058211","1342058375","1342058459"],"photo_ids_order":["1342058146","1342058211","1342058263","1342058315","1342058375","1342058459"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/35220865836c477fffdaa29155ad86bf.jpg","text":"TemporaryFile(/tmp/multipartBody2137986978063123849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741474172548,"filename":"image_08032025_23_48_15_9933.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/b010bb4488d39e1bfa6f777311717060.jpg","text":"TemporaryFile(/tmp/multipartBody858183940642936048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741474172548,"filename":"image_08032025_23_48_25_9937.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/057da46a33b89b953e1529aa229b9d5e.jpg","text":"TemporaryFile(/tmp/multipartBody1472619856925773659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741474172548,"filename":"image_08032025_23_48_45_9934.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/ff5875341f2063c2de582ad2eabd00cf.jpg","text":"TemporaryFile(/tmp/multipartBody7637632909084749384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741474172548,"filename":"image_08032025_23_48_35_9938.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/3ddce7f55811076beb69cbc29295eb5b.jpg","text":"TemporaryFile(/tmp/multipartBody7415884121980176343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741474172548,"filename":"image_08032025_23_48_05_9938.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/6a6c8460e5ea5c70d270c826deae9c2c.jpg","text":"TemporaryFile(/tmp/multipartBody1593020407166942459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741474172548,"filename":"image_08032025_23_47_55_9930.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1342058263","file1":"1342058211","file0":"1342058146","file4":"1342058375","file5":"1342058459","file3":"1342058315"},"map_files_photo_id_array":[{"photo_id":"1342058459","filename":"file5"},{"photo_id":"1342058263","filename":"file2"},{"photo_id":"1342058375","filename":"file4"},{"photo_id":"1342058211","filename":"file1"},{"photo_id":"1342058146","filename":"file0"},{"photo_id":"1342058315","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1342058315":["hashtag1","hashtag2"]},{"1342058263":["hashtag1","hashtag2"]},{"1342058146":["hashtag1","hashtag2"]},{"1342058211":["hashtag1","hashtag2"]},{"1342058375":["hashtag1","hashtag2"]},{"1342058459":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1342058315, 1342058263, 1342058146, 1342058211, 1342058375, 1342058459)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.19520449638367 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 23:49:32.198648
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/23/49/image_08032025_23_49_45_9932.jpg', 2), ('/home/nano/Desktop/images/08032025/23/49/image_08032025_23_49_35_9937.jpg', 2), ('/home/nano/Desktop/images/08032025/23/49/image_08032025_23_49_26_9936.jpg', 2), ('/home/nano/Desktop/images/08032025/23/49/image_08032025_23_49_16_10941.jpg', 2), ('/home/nano/Desktop/images/08032025/23/48/image_08032025_23_49_05_9949.jpg', 2), ('/home/nano/Desktop/images/08032025/23/48/image_08032025_23_48_55_9961.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/23/49/image_08032025_23_49_45_9932.jpg', '/home/nano/Desktop/images/08032025/23/49/image_08032025_23_49_35_9937.jpg', '/home/nano/Desktop/images/08032025/23/49/image_08032025_23_49_26_9936.jpg', '/home/nano/Desktop/images/08032025/23/49/image_08032025_23_49_16_10941.jpg', '/home/nano/Desktop/images/08032025/23/48/image_08032025_23_49_05_9949.jpg', '/home/nano/Desktop/images/08032025/23/48/image_08032025_23_48_55_9961.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/23/49/image_08032025_23_49_45_9932.jpg
/home/nano/Desktop/images/08032025/23/49/image_08032025_23_49_35_9937.jpg
/home/nano/Desktop/images/08032025/23/49/image_08032025_23_49_26_9936.jpg
/home/nano/Desktop/images/08032025/23/49/image_08032025_23_49_16_10941.jpg
/home/nano/Desktop/images/08032025/23/48/image_08032025_23_49_05_9949.jpg
/home/nano/Desktop/images/08032025/23/48/image_08032025_23_48_55_9961.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1342058764","1342058749","1342058667","1342058754","1342058709","1342058637"],"photo_ids_order":["1342058637","1342058667","1342058709","1342058749","1342058754","1342058764"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/474834b76f44d56dd1b0eead3256ed2e.jpg","text":"TemporaryFile(/tmp/multipartBody1602062928715480194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741474232602,"filename":"image_08032025_23_48_55_9961.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/f9251a3ec5556e06a3cd2ab64d57721e.jpg","text":"TemporaryFile(/tmp/multipartBody1944539129246872905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741474232602,"filename":"image_08032025_23_49_16_10941.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/c8d6567ab525abcc7fd815e3496de0df.jpg","text":"TemporaryFile(/tmp/multipartBody7876668720798816826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741474232602,"filename":"image_08032025_23_49_35_9937.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/f4f4c00e9f2796c827a598bac8969b8d.jpg","text":"TemporaryFile(/tmp/multipartBody5006686411274358282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741474232602,"filename":"image_08032025_23_49_05_9949.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/7d601164e903b551ba7e6c2518d12f30.jpg","text":"TemporaryFile(/tmp/multipartBody1093460060462894422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741474232602,"filename":"image_08032025_23_49_26_9936.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/b7e496a08d1be252f71cdbfca59865b9.jpg","text":"TemporaryFile(/tmp/multipartBody3756887082761155163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741474232602,"filename":"image_08032025_23_49_45_9932.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1342058709","file1":"1342058667","file0":"1342058637","file4":"1342058754","file5":"1342058764","file3":"1342058749"},"map_files_photo_id_array":[{"photo_id":"1342058764","filename":"file5"},{"photo_id":"1342058709","filename":"file2"},{"photo_id":"1342058754","filename":"file4"},{"photo_id":"1342058667","filename":"file1"},{"photo_id":"1342058637","filename":"file0"},{"photo_id":"1342058749","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1342058764":["hashtag1","hashtag2"]},{"1342058749":["hashtag1","hashtag2"]},{"1342058667":["hashtag1","hashtag2"]},{"1342058754":["hashtag1","hashtag2"]},{"1342058709":["hashtag1","hashtag2"]},{"1342058637":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1342058764, 1342058749, 1342058667, 1342058754, 1342058709, 1342058637)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.528327703475952 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 23:50:32.286116
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/23/50/image_08032025_23_50_45_9948.jpg', 2), ('/home/nano/Desktop/images/08032025/23/50/image_08032025_23_50_35_9936.jpg', 2), ('/home/nano/Desktop/images/08032025/23/50/image_08032025_23_50_25_9930.jpg', 2), ('/home/nano/Desktop/images/08032025/23/50/image_08032025_23_50_15_9935.jpg', 2), ('/home/nano/Desktop/images/08032025/23/49/image_08032025_23_50_05_9945.jpg', 2), ('/home/nano/Desktop/images/08032025/23/49/image_08032025_23_49_55_9934.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/23/50/image_08032025_23_50_45_9948.jpg', '/home/nano/Desktop/images/08032025/23/50/image_08032025_23_50_35_9936.jpg', '/home/nano/Desktop/images/08032025/23/50/image_08032025_23_50_25_9930.jpg', '/home/nano/Desktop/images/08032025/23/50/image_08032025_23_50_15_9935.jpg', '/home/nano/Desktop/images/08032025/23/49/image_08032025_23_50_05_9945.jpg', '/home/nano/Desktop/images/08032025/23/49/image_08032025_23_49_55_9934.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/23/50/image_08032025_23_50_45_9948.jpg
/home/nano/Desktop/images/08032025/23/50/image_08032025_23_50_35_9936.jpg
/home/nano/Desktop/images/08032025/23/50/image_08032025_23_50_25_9930.jpg
/home/nano/Desktop/images/08032025/23/50/image_08032025_23_50_15_9935.jpg
/home/nano/Desktop/images/08032025/23/49/image_08032025_23_50_05_9945.jpg
/home/nano/Desktop/images/08032025/23/49/image_08032025_23_49_55_9934.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1342058915","1342058893","1342058889","1342058897","1342058978","1342058945"],"photo_ids_order":["1342058889","1342058893","1342058897","1342058915","1342058945","1342058978"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/3f4a1a1e016a004e98f786a9bc520e1a.jpg","text":"TemporaryFile(/tmp/multipartBody498656159982004454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741474292714,"filename":"image_08032025_23_50_15_9935.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/695b52303efdf44b71cb545cb4e46646.jpg","text":"TemporaryFile(/tmp/multipartBody2419661347350332396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741474292714,"filename":"image_08032025_23_50_35_9936.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/5332f3a0a1324ff9c197e81fb81a58f2.jpg","text":"TemporaryFile(/tmp/multipartBody4584916143204122805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741474292714,"filename":"image_08032025_23_50_45_9948.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/3e8cc6d494823d51b523d8fe280f1f10.jpg","text":"TemporaryFile(/tmp/multipartBody2118386869674240361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741474292714,"filename":"image_08032025_23_50_25_9930.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/8f15e2eb7c1974634cec5705b90b5d69.jpg","text":"TemporaryFile(/tmp/multipartBody5172465148481263427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741474292714,"filename":"image_08032025_23_49_55_9934.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/75abf5a131d1dbad96652d14f260bf85.jpg","text":"TemporaryFile(/tmp/multipartBody8844738734692438202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741474292714,"filename":"image_08032025_23_50_05_9945.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1342058897","file1":"1342058893","file0":"1342058889","file4":"1342058945","file5":"1342058978","file3":"1342058915"},"map_files_photo_id_array":[{"photo_id":"1342058978","filename":"file5"},{"photo_id":"1342058897","filename":"file2"},{"photo_id":"1342058945","filename":"file4"},{"photo_id":"1342058893","filename":"file1"},{"photo_id":"1342058889","filename":"file0"},{"photo_id":"1342058915","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1342058915":["hashtag1","hashtag2"]},{"1342058893":["hashtag1","hashtag2"]},{"1342058889":["hashtag1","hashtag2"]},{"1342058897":["hashtag1","hashtag2"]},{"1342058978":["hashtag1","hashtag2"]},{"1342058945":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1342058915, 1342058893, 1342058889, 1342058897, 1342058978, 1342058945)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.0016143321991 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 23:51:32.391943
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/23/51/image_08032025_23_51_45_9934.jpg', 2), ('/home/nano/Desktop/images/08032025/23/51/image_08032025_23_51_35_9932.jpg', 2), ('/home/nano/Desktop/images/08032025/23/51/image_08032025_23_51_25_9934.jpg', 2), ('/home/nano/Desktop/images/08032025/23/51/image_08032025_23_51_15_9942.jpg', 2), ('/home/nano/Desktop/images/08032025/23/50/image_08032025_23_51_05_9944.jpg', 2), ('/home/nano/Desktop/images/08032025/23/50/image_08032025_23_50_55_9927.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/23/51/image_08032025_23_51_45_9934.jpg', '/home/nano/Desktop/images/08032025/23/51/image_08032025_23_51_35_9932.jpg', '/home/nano/Desktop/images/08032025/23/51/image_08032025_23_51_25_9934.jpg', '/home/nano/Desktop/images/08032025/23/51/image_08032025_23_51_15_9942.jpg', '/home/nano/Desktop/images/08032025/23/50/image_08032025_23_51_05_9944.jpg', '/home/nano/Desktop/images/08032025/23/50/image_08032025_23_50_55_9927.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/23/51/image_08032025_23_51_45_9934.jpg
/home/nano/Desktop/images/08032025/23/51/image_08032025_23_51_35_9932.jpg
/home/nano/Desktop/images/08032025/23/51/image_08032025_23_51_25_9934.jpg
/home/nano/Desktop/images/08032025/23/51/image_08032025_23_51_15_9942.jpg
/home/nano/Desktop/images/08032025/23/50/image_08032025_23_51_05_9944.jpg
/home/nano/Desktop/images/08032025/23/50/image_08032025_23_50_55_9927.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1342059175","1342059151","1342059195","1342059345","1342059299","1342059233"],"photo_ids_order":["1342059151","1342059175","1342059195","1342059233","1342059299","1342059345"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/2c99d23aa10ef907c0137ad7ac6b9966.jpg","text":"TemporaryFile(/tmp/multipartBody1492645804873557952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741474352824,"filename":"image_08032025_23_51_35_9932.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/fd31b175feca4f3235de5ce82334661d.jpg","text":"TemporaryFile(/tmp/multipartBody6265598610527031904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741474352824,"filename":"image_08032025_23_51_45_9934.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/a6441b9dd3c17c2dd943e84300b276ac.jpg","text":"TemporaryFile(/tmp/multipartBody2785359842424060315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741474352824,"filename":"image_08032025_23_51_25_9934.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/44bf7ab53a4cc4d7d75877a886286559.jpg","text":"TemporaryFile(/tmp/multipartBody1682686566563198759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741474352824,"filename":"image_08032025_23_50_55_9927.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/7486f4b662fda490a2919d62a5101449.jpg","text":"TemporaryFile(/tmp/multipartBody6707079897368512257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741474352824,"filename":"image_08032025_23_51_05_9944.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/88f4a351f609fc150bad795da9cd1a36.jpg","text":"TemporaryFile(/tmp/multipartBody3039797519009587160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741474352824,"filename":"image_08032025_23_51_15_9942.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1342059195","file1":"1342059175","file0":"1342059151","file4":"1342059299","file5":"1342059345","file3":"1342059233"},"map_files_photo_id_array":[{"photo_id":"1342059345","filename":"file5"},{"photo_id":"1342059195","filename":"file2"},{"photo_id":"1342059299","filename":"file4"},{"photo_id":"1342059175","filename":"file1"},{"photo_id":"1342059151","filename":"file0"},{"photo_id":"1342059233","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1342059175":["hashtag1","hashtag2"]},{"1342059151":["hashtag1","hashtag2"]},{"1342059195":["hashtag1","hashtag2"]},{"1342059345":["hashtag1","hashtag2"]},{"1342059299":["hashtag1","hashtag2"]},{"1342059233":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1342059175, 1342059151, 1342059195, 1342059345, 1342059299, 1342059233)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.72416925430298 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 23:52:32.481335
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/23/52/image_08032025_23_52_45_9935.jpg', 2), ('/home/nano/Desktop/images/08032025/23/52/image_08032025_23_52_35_9935.jpg', 2), ('/home/nano/Desktop/images/08032025/23/52/image_08032025_23_52_25_9934.jpg', 2), ('/home/nano/Desktop/images/08032025/23/52/image_08032025_23_52_15_9929.jpg', 2), ('/home/nano/Desktop/images/08032025/23/51/image_08032025_23_52_06_9948.jpg', 2), ('/home/nano/Desktop/images/08032025/23/51/image_08032025_23_51_56_10947.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/23/52/image_08032025_23_52_45_9935.jpg', '/home/nano/Desktop/images/08032025/23/52/image_08032025_23_52_35_9935.jpg', '/home/nano/Desktop/images/08032025/23/52/image_08032025_23_52_25_9934.jpg', '/home/nano/Desktop/images/08032025/23/52/image_08032025_23_52_15_9929.jpg', '/home/nano/Desktop/images/08032025/23/51/image_08032025_23_52_06_9948.jpg', '/home/nano/Desktop/images/08032025/23/51/image_08032025_23_51_56_10947.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/23/52/image_08032025_23_52_45_9935.jpg
/home/nano/Desktop/images/08032025/23/52/image_08032025_23_52_35_9935.jpg
/home/nano/Desktop/images/08032025/23/52/image_08032025_23_52_25_9934.jpg
/home/nano/Desktop/images/08032025/23/52/image_08032025_23_52_15_9929.jpg
/home/nano/Desktop/images/08032025/23/51/image_08032025_23_52_06_9948.jpg
/home/nano/Desktop/images/08032025/23/51/image_08032025_23_51_56_10947.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1342059678","1342059639","1342059683","1342059686","1342059680","1342059662"],"photo_ids_order":["1342059639","1342059662","1342059678","1342059680","1342059683","1342059686"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/8f2da6346ec67eb627b867f4a17a5ff3.jpg","text":"TemporaryFile(/tmp/multipartBody8732102667598633094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741474412889,"filename":"image_08032025_23_52_25_9934.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/d0010ad1de1e246a4b00a5add3e17375.jpg","text":"TemporaryFile(/tmp/multipartBody1116317640236930099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741474412889,"filename":"image_08032025_23_52_45_9935.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/0efb9049e5c20da2095f4764c8a10839.jpg","text":"TemporaryFile(/tmp/multipartBody3007958986529453706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741474412889,"filename":"image_08032025_23_52_06_9948.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/3dae267ce156f83ec373d2b3ce31f515.jpg","text":"TemporaryFile(/tmp/multipartBody1626827111636801551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741474412889,"filename":"image_08032025_23_51_56_10947.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/118cf07a6771b9ad24d2cdca408220c8.jpg","text":"TemporaryFile(/tmp/multipartBody2884601829766020759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741474412889,"filename":"image_08032025_23_52_15_9929.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/e591b89f69cc5063e350f67ed4451948.jpg","text":"TemporaryFile(/tmp/multipartBody2637568026295443388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741474412889,"filename":"image_08032025_23_52_35_9935.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1342059678","file1":"1342059662","file0":"1342059639","file4":"1342059683","file5":"1342059686","file3":"1342059680"},"map_files_photo_id_array":[{"photo_id":"1342059686","filename":"file5"},{"photo_id":"1342059678","filename":"file2"},{"photo_id":"1342059683","filename":"file4"},{"photo_id":"1342059662","filename":"file1"},{"photo_id":"1342059639","filename":"file0"},{"photo_id":"1342059680","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1342059678":["hashtag1","hashtag2"]},{"1342059639":["hashtag1","hashtag2"]},{"1342059683":["hashtag1","hashtag2"]},{"1342059686":["hashtag1","hashtag2"]},{"1342059680":["hashtag1","hashtag2"]},{"1342059662":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1342059678, 1342059639, 1342059683, 1342059686, 1342059680, 1342059662)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.83648681640625 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 23:53:32.596732
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/23/53/image_08032025_23_53_45_9940.jpg', 2), ('/home/nano/Desktop/images/08032025/23/53/image_08032025_23_53_35_9939.jpg', 2), ('/home/nano/Desktop/images/08032025/23/53/image_08032025_23_53_25_9934.jpg', 2), ('/home/nano/Desktop/images/08032025/23/53/image_08032025_23_53_15_9933.jpg', 2), ('/home/nano/Desktop/images/08032025/23/52/image_08032025_23_53_05_9941.jpg', 2), ('/home/nano/Desktop/images/08032025/23/52/image_08032025_23_52_55_9935.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/23/53/image_08032025_23_53_45_9940.jpg', '/home/nano/Desktop/images/08032025/23/53/image_08032025_23_53_35_9939.jpg', '/home/nano/Desktop/images/08032025/23/53/image_08032025_23_53_25_9934.jpg', '/home/nano/Desktop/images/08032025/23/53/image_08032025_23_53_15_9933.jpg', '/home/nano/Desktop/images/08032025/23/52/image_08032025_23_53_05_9941.jpg', '/home/nano/Desktop/images/08032025/23/52/image_08032025_23_52_55_9935.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/23/53/image_08032025_23_53_45_9940.jpg
/home/nano/Desktop/images/08032025/23/53/image_08032025_23_53_35_9939.jpg
/home/nano/Desktop/images/08032025/23/53/image_08032025_23_53_25_9934.jpg
/home/nano/Desktop/images/08032025/23/53/image_08032025_23_53_15_9933.jpg
/home/nano/Desktop/images/08032025/23/52/image_08032025_23_53_05_9941.jpg
/home/nano/Desktop/images/08032025/23/52/image_08032025_23_52_55_9935.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1342059823","1342059754","1342059748","1342059699","1342059703","1342059744"],"photo_ids_order":["1342059699","1342059703","1342059744","1342059748","1342059754","1342059823"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/62415cfb9a2dbf99b9cf51dd1ae799c9.jpg","text":"TemporaryFile(/tmp/multipartBody2021667849525807033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741474473005,"filename":"image_08032025_23_52_55_9935.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/81481461feefa7f88d2fcfd85dbc3cc8.jpg","text":"TemporaryFile(/tmp/multipartBody4760576830973531637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741474473005,"filename":"image_08032025_23_53_05_9941.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/f7bfc71fd71b835fb612fb6226eb3399.jpg","text":"TemporaryFile(/tmp/multipartBody4092892222242128970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741474473005,"filename":"image_08032025_23_53_15_9933.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/ac35f896cd7f0118584823ac07f2cae6.jpg","text":"TemporaryFile(/tmp/multipartBody502671236044707985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741474473005,"filename":"image_08032025_23_53_45_9940.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/96a2d0fb292060ffaea0c3f5c55a78cf.jpg","text":"TemporaryFile(/tmp/multipartBody2681556247535523198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741474473005,"filename":"image_08032025_23_53_35_9939.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/9f49db5317e2fecb18efcd63168d14fd.jpg","text":"TemporaryFile(/tmp/multipartBody663763299355702554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741474473005,"filename":"image_08032025_23_53_25_9934.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1342059744","file1":"1342059703","file0":"1342059699","file4":"1342059754","file5":"1342059823","file3":"1342059748"},"map_files_photo_id_array":[{"photo_id":"1342059823","filename":"file5"},{"photo_id":"1342059744","filename":"file2"},{"photo_id":"1342059754","filename":"file4"},{"photo_id":"1342059703","filename":"file1"},{"photo_id":"1342059699","filename":"file0"},{"photo_id":"1342059748","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1342059823":["hashtag1","hashtag2"]},{"1342059754":["hashtag1","hashtag2"]},{"1342059748":["hashtag1","hashtag2"]},{"1342059699":["hashtag1","hashtag2"]},{"1342059703":["hashtag1","hashtag2"]},{"1342059744":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1342059823, 1342059754, 1342059748, 1342059699, 1342059703, 1342059744)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 52.01319694519043 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 23:54:32.668072
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/23/54/image_08032025_23_54_46_10965.jpg', 2), ('/home/nano/Desktop/images/08032025/23/54/image_08032025_23_54_35_9935.jpg', 2), ('/home/nano/Desktop/images/08032025/23/54/image_08032025_23_54_25_9935.jpg', 2), ('/home/nano/Desktop/images/08032025/23/54/image_08032025_23_54_15_9937.jpg', 2), ('/home/nano/Desktop/images/08032025/23/53/image_08032025_23_54_05_9957.jpg', 2), ('/home/nano/Desktop/images/08032025/23/53/image_08032025_23_53_55_9935.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/23/54/image_08032025_23_54_46_10965.jpg', '/home/nano/Desktop/images/08032025/23/54/image_08032025_23_54_35_9935.jpg', '/home/nano/Desktop/images/08032025/23/54/image_08032025_23_54_25_9935.jpg', '/home/nano/Desktop/images/08032025/23/54/image_08032025_23_54_15_9937.jpg', '/home/nano/Desktop/images/08032025/23/53/image_08032025_23_54_05_9957.jpg', '/home/nano/Desktop/images/08032025/23/53/image_08032025_23_53_55_9935.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/23/54/image_08032025_23_54_46_10965.jpg
/home/nano/Desktop/images/08032025/23/54/image_08032025_23_54_35_9935.jpg
/home/nano/Desktop/images/08032025/23/54/image_08032025_23_54_25_9935.jpg
/home/nano/Desktop/images/08032025/23/54/image_08032025_23_54_15_9937.jpg
/home/nano/Desktop/images/08032025/23/53/image_08032025_23_54_05_9957.jpg
/home/nano/Desktop/images/08032025/23/53/image_08032025_23_53_55_9935.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1342060244","1342060403","1342060301","1342060285","1342060270","1342060437"],"photo_ids_order":["1342060244","1342060270","1342060285","1342060301","1342060403","1342060437"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/72ac1ffae1d48dbac83661227fa63641.jpg","text":"TemporaryFile(/tmp/multipartBody4037235299329375810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741474533098,"filename":"image_08032025_23_54_46_10965.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/5154c9969c7552774c54ead3200ff049.jpg","text":"TemporaryFile(/tmp/multipartBody7378637196115268782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741474533098,"filename":"image_08032025_23_54_05_9957.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/e3e7f8dc9a0e77d9a9264ecca9486605.jpg","text":"TemporaryFile(/tmp/multipartBody2580435302166230130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741474533098,"filename":"image_08032025_23_54_15_9937.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/f2daddf7c13b12366a9cc4398382d4e1.jpg","text":"TemporaryFile(/tmp/multipartBody641237917523742014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741474533098,"filename":"image_08032025_23_54_25_9935.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/9bfc232542e809b581506945a72aa2bc.jpg","text":"TemporaryFile(/tmp/multipartBody6636925894154723478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741474533098,"filename":"image_08032025_23_54_35_9935.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/9fe1e10cf300c8eb4bf70b05d54d52ac.jpg","text":"TemporaryFile(/tmp/multipartBody1946444601110938175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741474533098,"filename":"image_08032025_23_53_55_9935.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1342060285","file1":"1342060270","file0":"1342060244","file4":"1342060403","file5":"1342060437","file3":"1342060301"},"map_files_photo_id_array":[{"photo_id":"1342060437","filename":"file5"},{"photo_id":"1342060285","filename":"file2"},{"photo_id":"1342060403","filename":"file4"},{"photo_id":"1342060270","filename":"file1"},{"photo_id":"1342060244","filename":"file0"},{"photo_id":"1342060301","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1342060244":["hashtag1","hashtag2"]},{"1342060403":["hashtag1","hashtag2"]},{"1342060301":["hashtag1","hashtag2"]},{"1342060285":["hashtag1","hashtag2"]},{"1342060270":["hashtag1","hashtag2"]},{"1342060437":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1342060244, 1342060403, 1342060301, 1342060285, 1342060270, 1342060437)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.184921741485596 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 23:55:31.787587
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/23/55/image_08032025_23_55_45_9935.jpg', 2), ('/home/nano/Desktop/images/08032025/23/55/image_08032025_23_55_35_9933.jpg', 2), ('/home/nano/Desktop/images/08032025/23/55/image_08032025_23_55_25_9936.jpg', 2), ('/home/nano/Desktop/images/08032025/23/55/image_08032025_23_55_15_9936.jpg', 2), ('/home/nano/Desktop/images/08032025/23/54/image_08032025_23_55_05_9934.jpg', 2), ('/home/nano/Desktop/images/08032025/23/54/image_08032025_23_54_55_9937.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/23/55/image_08032025_23_55_45_9935.jpg', '/home/nano/Desktop/images/08032025/23/55/image_08032025_23_55_35_9933.jpg', '/home/nano/Desktop/images/08032025/23/55/image_08032025_23_55_25_9936.jpg', '/home/nano/Desktop/images/08032025/23/55/image_08032025_23_55_15_9936.jpg', '/home/nano/Desktop/images/08032025/23/54/image_08032025_23_55_05_9934.jpg', '/home/nano/Desktop/images/08032025/23/54/image_08032025_23_54_55_9937.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/23/55/image_08032025_23_55_45_9935.jpg
/home/nano/Desktop/images/08032025/23/55/image_08032025_23_55_35_9933.jpg
/home/nano/Desktop/images/08032025/23/55/image_08032025_23_55_25_9936.jpg
/home/nano/Desktop/images/08032025/23/55/image_08032025_23_55_15_9936.jpg
/home/nano/Desktop/images/08032025/23/54/image_08032025_23_55_05_9934.jpg
/home/nano/Desktop/images/08032025/23/54/image_08032025_23_54_55_9937.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1342060777","1342060618","1342060593","1342060818","1342060670","1342060646"],"photo_ids_order":["1342060593","1342060618","1342060646","1342060670","1342060777","1342060818"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/d16fda48ae80478137b424a485758682.jpg","text":"TemporaryFile(/tmp/multipartBody3435339077274587999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741474592213,"filename":"image_08032025_23_55_05_9934.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/036869429bbe30a91041cb88d88c9fed.jpg","text":"TemporaryFile(/tmp/multipartBody5716865368128131683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741474592213,"filename":"image_08032025_23_55_35_9933.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/76b3e309cb5c53437437c4580d82dd4e.jpg","text":"TemporaryFile(/tmp/multipartBody1264717914931577359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741474592213,"filename":"image_08032025_23_55_45_9935.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/85f2a64d631873e97e401d1a67825bb9.jpg","text":"TemporaryFile(/tmp/multipartBody989382224644275622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741474592213,"filename":"image_08032025_23_54_55_9937.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/e4601bcdf2a0bad2d0696059cdc89993.jpg","text":"TemporaryFile(/tmp/multipartBody7199511342026849949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741474592213,"filename":"image_08032025_23_55_15_9936.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/dd2e717d7dc0c0f517e1fa897c463d45.jpg","text":"TemporaryFile(/tmp/multipartBody9090259999044463086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741474592213,"filename":"image_08032025_23_55_25_9936.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1342060646","file1":"1342060618","file0":"1342060593","file4":"1342060777","file5":"1342060818","file3":"1342060670"},"map_files_photo_id_array":[{"photo_id":"1342060818","filename":"file5"},{"photo_id":"1342060646","filename":"file2"},{"photo_id":"1342060777","filename":"file4"},{"photo_id":"1342060618","filename":"file1"},{"photo_id":"1342060593","filename":"file0"},{"photo_id":"1342060670","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1342060777":["hashtag1","hashtag2"]},{"1342060618":["hashtag1","hashtag2"]},{"1342060593":["hashtag1","hashtag2"]},{"1342060818":["hashtag1","hashtag2"]},{"1342060670":["hashtag1","hashtag2"]},{"1342060646":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1342060777, 1342060618, 1342060593, 1342060818, 1342060670, 1342060646)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.08393955230713 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 23:56:31.886227
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/23/56/image_08032025_23_56_45_9933.jpg', 2), ('/home/nano/Desktop/images/08032025/23/56/image_08032025_23_56_35_9935.jpg', 2), ('/home/nano/Desktop/images/08032025/23/56/image_08032025_23_56_25_9930.jpg', 2), ('/home/nano/Desktop/images/08032025/23/56/image_08032025_23_56_15_9933.jpg', 2), ('/home/nano/Desktop/images/08032025/23/55/image_08032025_23_56_05_9936.jpg', 2), ('/home/nano/Desktop/images/08032025/23/55/image_08032025_23_55_55_9938.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/23/56/image_08032025_23_56_45_9933.jpg', '/home/nano/Desktop/images/08032025/23/56/image_08032025_23_56_35_9935.jpg', '/home/nano/Desktop/images/08032025/23/56/image_08032025_23_56_25_9930.jpg', '/home/nano/Desktop/images/08032025/23/56/image_08032025_23_56_15_9933.jpg', '/home/nano/Desktop/images/08032025/23/55/image_08032025_23_56_05_9936.jpg', '/home/nano/Desktop/images/08032025/23/55/image_08032025_23_55_55_9938.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/23/56/image_08032025_23_56_45_9933.jpg
/home/nano/Desktop/images/08032025/23/56/image_08032025_23_56_35_9935.jpg
/home/nano/Desktop/images/08032025/23/56/image_08032025_23_56_25_9930.jpg
/home/nano/Desktop/images/08032025/23/56/image_08032025_23_56_15_9933.jpg
/home/nano/Desktop/images/08032025/23/55/image_08032025_23_56_05_9936.jpg
/home/nano/Desktop/images/08032025/23/55/image_08032025_23_55_55_9938.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1342060925","1342061107","1342061151","1342061040","1342060929","1342060940"],"photo_ids_order":["1342060925","1342060929","1342060940","1342061040","1342061107","1342061151"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/5cd218a66996045c8093636daa3b970a.jpg","text":"TemporaryFile(/tmp/multipartBody7446788993837561635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741474652313,"filename":"image_08032025_23_56_45_9933.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/db4667b5e4825cbe825b830da657263f.jpg","text":"TemporaryFile(/tmp/multipartBody632379195907431296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741474652313,"filename":"image_08032025_23_56_05_9936.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/4b39fa2a7b884ece7d3fcbc0cef56a62.jpg","text":"TemporaryFile(/tmp/multipartBody9045591237205677145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741474652313,"filename":"image_08032025_23_55_55_9938.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/558cab420714276d424ca11d0557f229.jpg","text":"TemporaryFile(/tmp/multipartBody5173445508925584775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741474652313,"filename":"image_08032025_23_56_15_9933.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/b763eb4437b9e58170a41857c0433b8e.jpg","text":"TemporaryFile(/tmp/multipartBody4660952583875110051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741474652313,"filename":"image_08032025_23_56_35_9935.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/8/6a63c64b0f77853d977a9ca27673cf8d.jpg","text":"TemporaryFile(/tmp/multipartBody5833608678321531066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1741474652313,"filename":"image_08032025_23_56_25_9930.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1342060940","file1":"1342060929","file0":"1342060925","file4":"1342061107","file5":"1342061151","file3":"1342061040"},"map_files_photo_id_array":[{"photo_id":"1342061151","filename":"file5"},{"photo_id":"1342060940","filename":"file2"},{"photo_id":"1342061107","filename":"file4"},{"photo_id":"1342060929","filename":"file1"},{"photo_id":"1342060925","filename":"file0"},{"photo_id":"1342061040","filename":"file3"}],"portfolio_id":21163824,"hashtag_by_photo_ids":[{"1342060925":["hashtag1","hashtag2"]},{"1342061107":["hashtag1","hashtag2"]},{"1342061151":["hashtag1","hashtag2"]},{"1342061040":["hashtag1","hashtag2"]},{"1342060929":["hashtag1","hashtag2"]},{"1342060940":["hashtag1","hashtag2"]}],"comms":"Portfolio 21163824 used, photo_id : ArrayBuffer(1342060925, 1342061107, 1342061151, 1342061040, 1342060929, 1342060940)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.187273025512695 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n jetson_TEST_aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-08 23:57:32.043623
  port_id : 21163824
  datou_current_id : 2650154
in upload_from_sqlite, uploading in 21163824
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08032025/23/57/image_08032025_23_57_45_9934.jpg', 2), ('/home/nano/Desktop/images/08032025/23/57/image_08032025_23_57_36_9939.jpg', 2), ('/home/nano/Desktop/images/08032025/23/57/image_08032025_23_57_26_10967.jpg', 2), ('/home/nano/Desktop/images/08032025/23/57/image_08032025_23_57_15_9936.jpg', 2), ('/home/nano/Desktop/images/08032025/23/56/image_08032025_23_57_05_9954.jpg', 2), ('/home/nano/Desktop/images/08032025/23/56/image_08032025_23_56_55_9938.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08032025/23/57/image_08032025_23_57_45_9934.jpg', '/home/nano/Desktop/images/08032025/23/57/image_08032025_23_57_36_9939.jpg', '/home/nano/Desktop/images/08032025/23/57/image_08032025_23_57_26_10967.jpg', '/home/nano/Desktop/images/08032025/23/57/image_08032025_23_57_15_9936.jpg', '/home/nano/Desktop/images/08032025/23/56/image_08032025_23_57_05_9954.jpg', '/home/nano/Desktop/images/08032025/23/56/image_08032025_23_56_55_9938.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2650154&datou=0
/home/nano/Desktop/images/08032025/23/57/image_08032025_23_57_45_9934.jpg
/home/nano/Desktop/images/08032025/23/57/image_08032025_23_57_36_9939.jpg
/home/nano/Desktop/images/08032025/23/57/image_08032025_23_57_26_10967.jpg
/home/nano/Desktop/images/08032025/23/57/image_08032025_23_57_15_9936.jpg
/home/nano/Desktop/images/08032025/23/56/image_08032025_23_57_05_9954.jpg
/home/nano/Desktop/images/08032025/23/56/image_08032025_23_56_55_9938.jpg
 val : 1 : upload photos already in processing! 
